We switched to a manual approval system for registration on this forum, as this makes it easier to keep bots out of the forum. We'll approve everybody who doesn't look like a bot!

LaTex issue

One suggestion and one question:

  • Suggestion: The documentation suggests that texlive-base is all you need on Ubuntu (19/04), but without texlive-full I am missing xelatex.
  • Question: How to solve this LaTex problem?
pandoc "/tmp/export.tmp" -f markdown --template="/tmp/template.latex" --pdf-engine=xelatex -o "/tmp/test.pdf"

kpathsea:make_tex: Invalid filename `Times New Roman', contains ' '
kpathsea:make_tex: Invalid filename `Times New Roman', contains ' '
Error producing PDF.
! Package fontspec Error: The font "Times New Roman" cannot be found.
For immediate help type H <return>.
l.67 \setsansfont




  • Please feel free to add your suggestion to the docs and open up a pull request.
    Concerning your question: Obviously, the font "Times New Roman" is not installed on your computer. At least the font is not exactly called "Times New Roman". LaTeX is extremely sensitive to wrong font names.

  • TKs, I have proposed an update to the docs.
    Could the Linux installer have a default font that is found on all versions?

  • There's no pull request in the repository. However, I always thought Times New Roman is included everywhere?

Sign In or Register to comment.