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

Get a lot of errors trying to compile the file with LaTeX installed #10

Open
nikitavoloboev opened this issue Jan 15, 2018 · 13 comments
Open

Comments

@nikitavoloboev
Copy link

nikitavoloboev commented Jan 15, 2018

I tried to compile the cv.tex file with Texpad. I have LaTeX installed that has XeTeX bundled as well.

I get many errors trying to compile the file though as shown below:

2018-01-15 at 21 23

I am not sure how to resolve them. Thank you for a lot for any help.

@nikitavoloboev
Copy link
Author

I have installed MacTex latest version for reference.

@nikitavoloboev
Copy link
Author

Also to note, I have not changed anything in cv.tex before trying to compile it.

@barrucadu
Copy link
Owner

This repository should be fairly self-contained, if you can tell Texpad to include files from extra-tex-files/, which it looks like it's currently not doing.

As a sanity check, are you able to compile with latexmk -xelatex -pdf cv.tex?

@nikitavoloboev
Copy link
Author

nikitavoloboev commented Jan 20, 2018

I get this running the command:

❯ latexmk -xelatex -pdf cv.tex
Use of uninitialized value $ENV{"TEXINPUTS"} in concatenation (.) or string at (eval 9) line 1, <GEN0> chunk 1.
Latexmk: This is Latexmk, John Collins, 19 Jan. 2017, version: 4.52c.
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': Rules & subrules not known to be previously run:
   pdflatex
Rule 'pdflatex': The following rules & subrules became out-of-date:
      'pdflatex'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  -recorder  "cv.tex"'
------------
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./cv.tex
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 84 language(s) loaded.
(./barrucadu-cv.cls
Document Class: barrucadu-cv 2017/10/20 barrucadu's cv class
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2017/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2017/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3-code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/latex/l3kernel/l3pdfmode.def))
(/usr/local/texlive/2017/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Fatal fontspec error: "cannot-use-pdftex"
!
! The fontspec package requires either XeTeX or LuaTeX.
!
! You must change your typesetting engine to, e.g., "xelatex" or
! "lualatex"instead of plain "latex" or "pdflatex".
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................

l.28 \msg_fatal:nn {fontspec} {cannot-use-pdftex}

?

And when I control + D it I get this:

l.28 \msg_fatal:nn {fontspec} {cannot-use-pdftex}

? ^L^C^D
! Emergency stop.
!...............................................

l.28 \msg_fatal:nn {fontspec} {cannot-use-pdftex}

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on cv.log.
=== TeX engine is 'pdfTeX'
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 1
      Refer to 'cv.log' for details
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs of latex/pdflatex.

@barrucadu
Copy link
Owner

barrucadu commented Jan 20, 2018

It looks like the flags for latexmk have changed between TeXlive 2016 and 2017. The correct invocation now seems to be latexmk -pdfxe cv.tex.

@nikitavoloboev
Copy link
Author

I get this when I run it:

(/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/hxetex.def
(/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/stringenc.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(./extra-tex-files/moderncviconsawesome.sty)
(./extra-tex-files/moderncvfooti.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(./extra-tex-files/titlesec.sty) (./extra-tex-files/ttlkeys.def)
(./extra-tex-files/moderncvcollection.sty))
! Text line contains an invalid character.
l.12 \email{^^P
               ^^[email protected]}
? ^D
! Emergency stop.
l.12 \email{^^P
               ^^[email protected]}
No pages of output.
Transcript written on cv.log.
=== TeX engine is 'XeTeX'
Latexmk: Log file says no output from latex
Latexmk: For rule 'xelatex', no output was made
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
  xelatex: Command for 'xelatex' gave return code 1
      Refer to 'cv.log' for details
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs of latex/pdflatex.

I haven't changed your CV, only filled the values for my names there.

@barrucadu
Copy link
Owner

You've included some characters that TeX doesn't like between the \email{ and the nikita.

@nikitavoloboev
Copy link
Author

Okay that seems to have worked. But the compile times are soo long. Do you know if there is anything I can do to cut these times or what might cause this?

@nikitavoloboev
Copy link
Author

Just to note, it takes ridiculous amount of time to compile your CV you share. I changed nothing it, just cloned the repo, opened cv.tex and let Texpad compile it. It takes more than 1 minute for it to complete.

I assume its because of these errors:

2018-01-21 at 01 58

2018-01-21 at 01 58

2018-01-21 at 01 59

The PDF actually renders well:

2018-01-21 at 01 59

But the compile times makes this CV unusable for me because I can't quickly edit it and see changes. 😞

I really hope there is a fix for this. Thank you a lot for any help on this.

@nikitavoloboev
Copy link
Author

Below is the entire output of the command Texpad runs and the errors it gets:

/usr/local/texlive/2017/bin/x86_64-darwin/xelatex -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=/Users/nikivi/src/play/cv/.texpadtmp cv.tex

This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./cv.tex
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 84 language(s) loaded.
(./barrucadu-cv.cls
Document Class: barrucadu-cv 2017/10/20 barrucadu's cv class
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/ifthen.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/etoolbox/etoolbox.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2017/texmf-dist/tex/latex/geometry/geometry.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/ifvtex.sty) (/usr/local/texlive/2017/texmf-dist/tex/generic/ifxetex/ifxetex.sty)) (/usr/local/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3-code.tex) (/usr/local/texlive/2017/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def)) (/usr/local/texlive/2017/texmf-dist/tex/latex/l3packages/xparse/xparse.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/base/tuenc.def)) (/usr/local/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.cfg))) (./extra-tex-files/fontawesomesymbols-generic.tex) (./extra-tex-files/fontawesomesymbols-xeluatex.tex) (/usr/local/texlive/2017/texmf-dist/tex/latex/xcolor/xcolor.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/graphics-cfg/color.cfg) (/usr/local/texlive/2017/texmf-dist/tex/latex/graphics-def/xetex.def) (/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/dvipsnam.def)) (/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/hyperref.sty (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty)) (/usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/auxhook.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/kvoptions.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/local/texlive/2017/texmf-dist/tex/latex/latexconfig/hyperref.cfg) (/usr/local/texlive/2017/texmf-dist/tex/latex/url/url.sty))

Package hyperref Message: Driver (autodetected): hxetex.

(/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/hxetex.def (/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/puenc.def) (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/stringenc.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)) (/usr/local/texlive/2017/texmf-dist/tex/latex/moderncv/moderncviconsawesome.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesome.sty

/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesome.sty:33: LaTeX Error: Command \faicon already defined.
               Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.33   {\csname faicon@#1\endcsname}}
                                     
(/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesomesymbols-generic.tex)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesome.sty:45: fontspec error: "font-not-found"
! 
! The font "FontAwesome" cannot be found.
! 
! See the fontspec documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.45 \newfontfamily{\FA}{FontAwesome}
                                     

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesome.sty:45: fontspec error: "font-not-found"
! 
! The font "FontAwesome" cannot be found.
! 
! See the fontspec documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.45 \newfontfamily{\FA}{FontAwesome}
                                     

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesome.sty:45: fontspec error: "font-not-found"
! 
! The font "FontAwesome" cannot be found.
! 
! See the fontspec documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.45 \newfontfamily{\FA}{FontAwesome}
                                     
(/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesomesymbols-xeluatex.tex))) (/usr/local/texlive/2017/texmf-dist/tex/latex/moderncv/moderncvfooti.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/titlesec/titlesec.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/titlesec/ttlkeys.def) (/usr/local/texlive/2017/texmf-dist/tex/latex/moderncv/moderncvcollection.sty))
No file cv.aux.
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
(/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))

Package hyperref Warning: Rerun to get /PageLabels entry.

(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/se-ascii-print.def)
./cv.tex:35: Font TU/FontAwesome(1)/m/n/5=FontAwesome at 5.0pt not loadable: Metric (TFM) file or installed font not found.
<to be read again> 
                   relax 
l.35     \end{tightitemize}}
                            

LaTeX Font Warning: Font shape `TU/FontAwesome(1)/m/sl' undefined
(Font)              using `TU/FontAwesome(1)/m/n' instead on input line 103.

./cv.tex:103: Font TU/FontAwesome(1)/m/n/14.4=FontAwesome at 14.4pt not loadable: Metric (TFM) file or installed font not found.
<to be read again> 
                   relax 
l.103 \section
              *{Open Source}
./cv.tex:103: Font TU/FontAwesome(1)/m/sl/9=FontAwesome at 9.0pt not loadable: Metric (TFM) file or installed font not found.
<to be read again> 
                   relax 
l.103 \section
              *{Open Source}

Package Fancyhdr Warning: \footskip is too small (30.0pt): 
 Make it at least 44.39996pt.
 We now make it that large for the rest of the document.
 This may cause the page layout to be inconsistent, however.

[1]

Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\@ifnextchar' on input line 107.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\raleway' on input line 107.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\hfill' on input line 107.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\@ifnextchar' on input line 111.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\raleway' on input line 111.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\hfill' on input line 111.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\@ifnextchar' on input line 115.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\raleway' on input line 115.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\hfill' on input line 115.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\@ifnextchar' on input line 119.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\raleway' on input line 119.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\hfill' on input line 119.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\@ifnextchar' on input line 123.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\raleway' on input line 123.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\hfill' on input line 123.

./cv.tex:125: Font TU/FontAwesome(1)/m/sl/14.4=FontAwesome at 14.4pt not loadable: Metric (TFM) file or installed font not found.
<to be read again> 
                   relax 
l.125 \end{document}
                    
[2] (/Users/nikivi/src/play/cv/.texpadtmp/cv.aux)

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

 )
(see the transcript file for additional information)
Output written on /Users/nikivi/src/play/cv/.texpadtmp/cv.pdf (2 pages).
SyncTeX written on /Users/nikivi/src/play/cv/.texpadtmp/cv.synctex.gz.
Transcript written on /Users/nikivi/src/play/cv/.texpadtmp/cv.log.


/usr/local/texlive/2017/bin/x86_64-darwin/xelatex -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=/Users/nikivi/src/play/cv/.texpadtmp cv.tex

This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./cv.tex
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 84 language(s) loaded.
(./barrucadu-cv.cls
Document Class: barrucadu-cv 2017/10/20 barrucadu's cv class
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/ifthen.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/etoolbox/etoolbox.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2017/texmf-dist/tex/latex/geometry/geometry.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/ifvtex.sty) (/usr/local/texlive/2017/texmf-dist/tex/generic/ifxetex/ifxetex.sty)) (/usr/local/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3-code.tex) (/usr/local/texlive/2017/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def)) (/usr/local/texlive/2017/texmf-dist/tex/latex/l3packages/xparse/xparse.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/base/tuenc.def)) (/usr/local/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.cfg))) (./extra-tex-files/fontawesomesymbols-generic.tex) (./extra-tex-files/fontawesomesymbols-xeluatex.tex) (/usr/local/texlive/2017/texmf-dist/tex/latex/xcolor/xcolor.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/graphics-cfg/color.cfg) (/usr/local/texlive/2017/texmf-dist/tex/latex/graphics-def/xetex.def) (/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/dvipsnam.def)) (/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/hyperref.sty (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty)) (/usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/auxhook.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/kvoptions.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/local/texlive/2017/texmf-dist/tex/latex/latexconfig/hyperref.cfg) (/usr/local/texlive/2017/texmf-dist/tex/latex/url/url.sty))

Package hyperref Message: Driver (autodetected): hxetex.

(/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/hxetex.def (/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/puenc.def) (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/stringenc.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)) (/usr/local/texlive/2017/texmf-dist/tex/latex/moderncv/moderncviconsawesome.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesome.sty

/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesome.sty:33: LaTeX Error: Command \faicon already defined.
               Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.33   {\csname faicon@#1\endcsname}}
                                     
(/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesomesymbols-generic.tex)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesome.sty:45: fontspec error: "font-not-found"
! 
! The font "FontAwesome" cannot be found.
! 
! See the fontspec documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.45 \newfontfamily{\FA}{FontAwesome}
                                     

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesome.sty:45: fontspec error: "font-not-found"
! 
! The font "FontAwesome" cannot be found.
! 
! See the fontspec documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.45 \newfontfamily{\FA}{FontAwesome}
                                     

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesome.sty:45: fontspec error: "font-not-found"
! 
! The font "FontAwesome" cannot be found.
! 
! See the fontspec documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.45 \newfontfamily{\FA}{FontAwesome}
                                     
(/usr/local/texlive/2017/texmf-dist/tex/latex/fontawesome/fontawesomesymbols-xeluatex.tex))) (/usr/local/texlive/2017/texmf-dist/tex/latex/moderncv/moderncvfooti.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/titlesec/titlesec.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/titlesec/ttlkeys.def) (/usr/local/texlive/2017/texmf-dist/tex/latex/moderncv/moderncvcollection.sty)) (/Users/nikivi/src/play/cv/.texpadtmp/cv.aux)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
(/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/gettitlestring.sty)) (/Users/nikivi/src/play/cv/.texpadtmp/cv.out) (/Users/nikivi/src/play/cv/.texpadtmp/cv.out) (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/se-ascii-print.def)
./cv.tex:35: Font TU/FontAwesome(1)/m/n/5=FontAwesome at 5.0pt not loadable: Metric (TFM) file or installed font not found.
<to be read again> 
                   relax 
l.35     \end{tightitemize}}
                            

LaTeX Font Warning: Font shape `TU/FontAwesome(1)/m/sl' undefined
(Font)              using `TU/FontAwesome(1)/m/n' instead on input line 103.

./cv.tex:103: Font TU/FontAwesome(1)/m/n/14.4=FontAwesome at 14.4pt not loadable: Metric (TFM) file or installed font not found.
<to be read again> 
                   relax 
l.103 \section
              *{Open Source}
./cv.tex:103: Font TU/FontAwesome(1)/m/sl/9=FontAwesome at 9.0pt not loadable: Metric (TFM) file or installed font not found.
<to be read again> 
                   relax 
l.103 \section
              *{Open Source}

Package Fancyhdr Warning: \footskip is too small (30.0pt): 
 Make it at least 44.39996pt.
 We now make it that large for the rest of the document.
 This may cause the page layout to be inconsistent, however.

[1]

Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\@ifnextchar' on input line 107.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\raleway' on input line 107.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\hfill' on input line 107.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\@ifnextchar' on input line 111.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\raleway' on input line 111.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\hfill' on input line 111.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\@ifnextchar' on input line 115.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\raleway' on input line 115.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\hfill' on input line 115.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\@ifnextchar' on input line 119.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\raleway' on input line 119.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\hfill' on input line 119.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\@ifnextchar' on input line 123.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\raleway' on input line 123.


Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\hfill' on input line 123.

./cv.tex:125: Font TU/FontAwesome(1)/m/sl/14.4=FontAwesome at 14.4pt not loadable: Metric (TFM) file or installed font not found.
<to be read again> 
                   relax 
l.125 \end{document}
                    
[2] (/Users/nikivi/src/play/cv/.texpadtmp/cv.aux)

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

 )
(see the transcript file for additional information)
Output written on /Users/nikivi/src/play/cv/.texpadtmp/cv.pdf (2 pages).
SyncTeX written on /Users/nikivi/src/play/cv/.texpadtmp/cv.synctex.gz.
Transcript written on /Users/nikivi/src/play/cv/.texpadtmp/cv.log.


@barrucadu
Copy link
Owner

barrucadu commented Feb 6, 2018

Sorry for leaving this for a while. One minute does seem pretty extreme. It compiles for me on my small vps in about 5 seconds, which is still a noticeable delay but nowhere near that bad.

I wonder if the missing fonts are causing a problem, like some intense searching of the filesystem.

Is there some way to tell Texpad to look in the fonts directory?

@BenSikkens
Copy link

I have the same (or a similar) issue. the CV does seem to render well but some of the characters do not. those that are taken from the fontawesome package get replaces by 1 substitutes from a standard font or by nothing at all.

@ordinatous
Copy link

Try to put this at the begin of your doument
%!TEX TS-program = xelatex

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

4 participants