Volker Raschek
Volker Raschek

Reputation: 609

pandoc - generate PDF on Arch Linux: "auto expansion is only possible with scalable fonts"

I want to generate on my Arch Linux with pandoc a pdf document from markdown.

Everytime, when I want to generate the pdf file, I get this error message.

markus@markus-pc:~/workspace/github.com/volker-raschek/tgdb_ws1617$ pandoc uebung_02.md -f markdown_github --latex-engine=pdflatex -o uebung_02.pdf
! pdfTeX error (font expansion): auto expansion is only possible with scalable 
fonts.
\AtBegShi@Output ...ipout \box \AtBeginShipoutBox 
                                              \fi \fi 
l.163 \begin{Highlighting}[]

pandoc: Error producing PDF

So, the error message say more, thats a latex error, but I don't know how can I specify about pandoc some latex options to use the latex lm package durning my pdf generation.

Other thread with the same error, but not with pandoc.

Upvotes: 3

Views: 3067

Answers (1)

Volker Raschek
Volker Raschek

Reputation: 609

I have fixed my problem.

It's necessary to install the package texlive-fontsextra about pacman.

Solution

Typ in terminal:

pacman -S texlive-fontsextra

Upvotes: 3

Related Questions