I’m trying to use Travis + pandoc to automatically reproduce (and eventually auto-release via Github Pages) an R analysis and related Markdown report. I normally use lualatex as the latex engine, so that I can easily switch out the font and don’t have to stare at Computer Modern all the time. But using lualatex in Travis seems to cause some kind of font error, even if I don’t change the font.
Here’s the pandoc call and error message:
pandoc paper.md -o paper.pdf --pdf-engine=lualatex Error producing PDF. ! Font \TU/lmr/m/n/10=[lmroman10-regular]:+tlig; at 10pt not loadable: metric da ta not found or bad. <to be read again> relax l.105 \fontencoding\encodingdefault\selectfont
paper.md have some elements relevant to a pandoc filter,
pandoc-crossref. I was debugging that earlier today and don’t feel like creating a whole new MWE for this issue, so I disabled or removed everything that depends on this filter.)