mtheme icon indicating copy to clipboard operation
mtheme copied to clipboard

Unable to compile using lualatex on Fedora 24

Open Jerry-Ma opened this issue 8 years ago • 3 comments

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}

Jerry-Ma avatar Aug 07 '16 15:08 Jerry-Ma

Have you tried if this works? I don't have a current Fedora installation available to verify this fix.

matze avatar Aug 08 '16 07:08 matze

@matze yes. I added that providecommand line and it works for lualatex

Jerry-Ma avatar Aug 08 '16 19:08 Jerry-Ma

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.

sargas avatar Dec 29 '16 18:12 sargas