mtheme
mtheme copied to clipboard
Unable to compile using lualatex on Fedora 24
Hi, I just started using this theme, and found that it won't compile if using lualatex while xelatex and pdflatex works just fine. (pdflatex does not pick up the Fira Sans font correctly though.)
The error message indicates that there is undefined control sequence in the sty file, to be specific, it's:
! Undefined control sequence.
\checkfont #1->\suppressfontnotfounderror
=1\font \x = "#1" at 10pt \selectf...
I believe this has to do with this thread. The current fix that I have is to add this line in fontthememetropolis.dtx
:
\providecommand\suppressfontnotfounderror{\luatexsuppressfontnotfounderror}
Have you tried if this works? I don't have a current Fedora installation available to verify this fix.
@matze yes. I added that providecommand
line and it works for lualatex
Can confirm this on a new install of gentoo with LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238)
and commit caa3387782416bbd98f82968e6db1c60b4cf4d9c. The providecommand
before \usetheme
works as well.