Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal working example for PDFLaTeX? #8

Open
hpvd opened this issue Aug 3, 2016 · 5 comments
Open

Minimal working example for PDFLaTeX? #8

hpvd opened this issue Aug 3, 2016 · 5 comments

Comments

@hpvd
Copy link

hpvd commented Aug 3, 2016

I'm looking for a minaml working example for Miktex+PDFLaTeX showing Fontawesome symbol.
Would be very helpful to have this in documentation...

\documentclass{article}
\usepackage{fontawesome}
\begin{document}
\section{test-section}
Test-text \faCheck test
\end{document}

is producing no pdf:

...
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\fontawesome\fontawesomesymbols-ge
neric.tex")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\fontawesome\fontawesomesymbols-pd
ftex.tex")) (Latex-Fontawsome-Test.aux)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\fontawesome\ufontawesometwo.fd")
[1{C:/Users/AdminMobil/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
(Latex-Fontawsome-Test.aux)Trying to make PK font FontAwesome--fontawesometwo at 600 DPI...
Running miktex-makemf.exe...

Sorry, but miktex-makemf did not succeed for the following reason:

  The FontAwesome--fontawesometwo source file could not be found.

The log file hopefully contains the information to get MiKTeX going again:

  C:/Users/AdminMobil/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makemf.log

You may want to visit the MiKTeX project page, if you need help.

Running ttf2pk.exe...

Sorry, but miktex-makepk did not succeed for the following reason:

  PK font FontAwesome--fontawesometwo could not be created.

The log file hopefully contains the information to get MiKTeX going again:

  C:/Users/AdminMobil/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makepk.log

You may want to visit the MiKTeX project page, if you need help.
 )
!pdfTeX error: pdflatex.exe (file FontAwesome--fontawesometwo): Font FontAwesom
e--fontawesometwo at 600 not found
 ==> Fatal error occurred, no output PDF file produced!

_____________________________________________________________________

 PDFLaTeX Compilation Report (Pages: 0)

 Errors: 1   Warnings: 0   Bad Boxes: 0
_____________________________________________________________________`

with
miktex-makepk.log

2016-08-03 16:12:53,178+0200 INFO  makex - Trying to make PK font FontAwesome--fontawesometwo at 600 DPI...
2016-08-03 16:12:53,200+0200 INFO  makex - Running miktex-makemf.exe...
2016-08-03 16:12:53,394+0200 INFO  makex - Running ttf2pk.exe...
2016-08-03 16:12:53,726+0200 FATAL miktex-makepk - PK font FontAwesome--fontawesometwo could not be created.

hmm are there any ideas on this?

Miktex is uptodate...

@hpvd hpvd changed the title Minimal working example for PDFLaTeX Minimal working example for PDFLaTeX? Aug 3, 2016
@miicha
Copy link

miicha commented Aug 19, 2016

I have/had the same problem.
At the moment I try to figure out the reason of the problem, but it has to do with file/folder permissions.
As a workaround it helped for me to:

  • open the miktex package manager (admin) and uninstall fontawesome
  • install fontawesome with non admin package manager

@frostybee
Copy link

@miicha what you suggested worked for me. Thanks!

@DapengLan
Copy link

@miicha It also works for me. Thanks!

@derlin
Copy link

derlin commented May 23, 2018

@miicha Great, thank you so much !

@jjalvarezl
Copy link

@miicha Thank you so much. It worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants