I can't compile the following code:



(Well, Emacs actually says it has successfully compiled 0 pages. He's optimist.) I've just upgraded both texlive and the typefaces. Does it compile for you?

closed as off-topic by egreg, Zarko, Torbjørn T., user36296, Stefan Pinnow Mar 24 '17 at 23:30

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • the emacs message isn't so useful, what does the tex log for that document look like? garamondx isn't in texlive so I don't have it installed for example. – David Carlisle Mar 24 '17 at 8:58
  • I get oldstyle figures – egreg Mar 24 '17 at 9:09
  • @DavidCarlisle Yes sorry, I forgot to add it. It says !pdfTeX error: pdflatex (file zgmosfnums.enc): cannot open encoding file for reading ==> Fatal error occurred, no output PDF file produced! – Arch Stanton Mar 24 '17 at 9:19
  • I updated the fonts through getnonfreefonts yesterday, since I saw there was an update available for garamondx. Can it be the cause? I didn't try that package before, so I can't say for sure. – Arch Stanton Mar 24 '17 at 9:42
  • 4
    I'm voting to close this question as off-topic because the issue was due to duplicate installation of the software – egreg Mar 24 '17 at 22:36

My fault, I installed the updates with getnonfreefonts instead of getnonfreefonts-sys. When I installed TL2016 I followed cfr's advice and created a dedicated user and home. I don't know whether it had any influence on this issue.

In order to solve this problem I had to remove the files created by getnonfreefonts (the non-sys version; see Why shouldn't I use getnonfreefonts to install additional fonts? Why shouldn't I use updmap when installing or removing fonts?) and run getnonfreefonts-sys -a.

[Edit] I also had to run getnonfreefonts-sys -r to get all typefaces to work properly after that.

Many thanks to Ulrike Fischer who lighted my PATH to the solution.

Not the answer you're looking for? Browse other questions tagged or ask your own question.