pandoc - 在 Arch Linux 上生成 PDF:"auto expansion is only possible with scalable fonts"
pandoc - generate PDF on Arch Linux: "auto expansion is only possible with scalable fonts"
我想在我的 Arch Linux 上使用 pandoc 从 markdown 生成一个 pdf 文档。
每次我想生成 pdf 文件时,都会收到此错误消息。
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
所以,错误消息说得更多,那是一个乳胶错误,但我不知道如何指定关于 pandoc 的一些乳胶选项,以便在我的 pdf 生成过程中使用乳胶 lm 包。
其他线程 same error,但没有 pandoc。
我已经解决了我的问题。
需要安装 texlive-fontsextra
关于 pacman
的软件包。
解决方案
终端输入:
pacman -S texlive-fontsextra
我想在我的 Arch Linux 上使用 pandoc 从 markdown 生成一个 pdf 文档。
每次我想生成 pdf 文件时,都会收到此错误消息。
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
所以,错误消息说得更多,那是一个乳胶错误,但我不知道如何指定关于 pandoc 的一些乳胶选项,以便在我的 pdf 生成过程中使用乳胶 lm 包。
其他线程 same error,但没有 pandoc。
我已经解决了我的问题。
需要安装 texlive-fontsextra
关于 pacman
的软件包。
解决方案
终端输入:
pacman -S texlive-fontsextra