Wandmalfarbe / pandoc-latex-template

A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
BSD 3-Clause "New" or "Revised" License
6.01k stars 957 forks source link

pdfTeX error (font expansion): auto expansion is only possible with scalable fonts. #314

Closed evmckinney9 closed 8 months ago

evmckinney9 commented 1 year ago

I am encountering an issue when building the basic-example. I have tried installing cm-super, but the problem persists. The error message I am receiving is:

Error producing PDF.
! pdfTeX error (font expansion): auto expansion is only possible with scalable
fonts.
<argument> ...shipout:D \box_use:N \l_shipout_box
                                                  \__shipout_drop_firstpage_...
l.461 \end{document}

I installed TeX Live using sudo perl ./install-tl --no-interaction --scheme=small, the response in Issue #133 suggests to use the full install, but I have not reproduced yet.

Is there any way to use a smaller build while resolving this issue?

Wandmalfarbe commented 1 year ago

Please have a look in the README or Issue https://github.com/Wandmalfarbe/pandoc-latex-template/issues/133. I hope the suggestions there will solve your problem.

evmckinney9 commented 1 year ago

The solution from the README suggests using cm-super which I already tried.

evmckinney9 commented 1 year ago

I also should have mentioned I am using Ubuntu 22.04.1 LTS on Windows 11

evmckinney9 commented 1 year ago

I proceeded with installation --scheme=medium and --scheme=full as suggested in #113 and neither resolved the issue.