matze / mtheme

A modern LaTeX Beamer theme
6.43k stars 846 forks source link

Metropolis theme hangs, does not compile #310

Open itsrainingdata opened 6 years ago

itsrainingdata commented 6 years ago

When I try to compile any metropolis-themed slides, pdflatex hangs and does nothing (no errors, warning, output, etc.). If I uncomment \usetheme{metropolis}, everything works fine. Happens for any beamer presentation, including the minimal example in Section 2.3 of the manual.

Works:

\documentclass{beamer}
%\usetheme{metropolis} % Use metropolis theme \title{A minimal example}
\date{\today} \author{Matthias Vogelgesang}
\institute{Centre for Modern Beamer Themes} \begin{document}
\maketitle
\section{First Section} \begin{frame}{First Frame}
Hello, world! \end{frame}
\end{document}

Does not work:

\documentclass{beamer}
\usetheme{metropolis} % Use metropolis theme \title{A minimal example}
\date{\today} \author{Matthias Vogelgesang}
\institute{Centre for Modern Beamer Themes} \begin{document}
\maketitle
\section{First Section} \begin{frame}{First Frame}
Hello, world! \end{frame}
\end{document}

The console output is only (nothing else):

TraditionalBuilder: Engine: pdflatex. Invoking latexmk... 

System:

> latex -v
pdfTeX 3.14159265-2.6-1.40.18 (TeX Live 2017)
kpathsea version 6.2.3
Copyright 2017 Han The Thanh (pdfTeX) et al.
handpickedmetropolis commented 6 years ago

I have the exact same problem as itsrainingdata above.

The only difference is I use a different system:

> latex -v pdfTeX 3.14159265-2.6-1.40.18 (TeX Live 2017/Arch Linux) kpathsea version 6.2.3 Compiled with libpng 1.6.34; using libpng 1.6.34 Compiled with zlib 1.2.11; using zlib 1.2.11 Compiled with poppler version 0.61.1

>xelatex -v XeTeX 3.14159265-2.6-0.99998 (TeX Live 2017/Arch Linux) kpathsea version 6.2.3 Compiled with ICU version 60.2; using 60.2 Compiled with zlib version 1.2.11; using 1.2.11 Compiled with FreeType2 version 2.9.0; using 2.9.0 Compiled with Graphite2 version 1.3.10; using 1.3.10 Compiled with HarfBuzz version 1.7.4; using 1.7.5 Compiled with libpng version 1.6.34; using 1.6.34 Compiled with poppler version 0.61.1 Compiled with fontconfig version 2.12.6; using 2.12.6

>lualatex --version This is LuaTeX, Version 1.0.4 (TeX Live 2017/Arch Linux)

handpickedmetropolis commented 6 years ago

Looking at what @itsrainingdata posted made to question my setup.

I had installed texlive-mtheme, a now-defunct package that has an old version of the Metropolis beamer theme. I removed that and reinstalled all of TexLive.

Here is what I have now.

Now it works.

I'm still curious why Arch Linux is so far behind with its beamer version...

itsrainingdata commented 6 years ago

Switching from TeXLive 2017 to TeXLive 2016 solved the problem for me.

Not a permanent fix, but a useful temporary workaround.

matze commented 6 years ago

I suppose it's an issue with the Mac version of TeXLive 2017. I just tested both xelatex and pdflatex on a Ubuntu 17.10 box and it worked flawlessly.

igcontreras commented 6 years ago

I have the same problem in Mac 10.13.5 with TeXLive 2018. I fixed it by cloning this repo and installing it manually. It worked with xelatex.

jfmc commented 6 years ago

Same problem in Mac 10.11.6 & texlive 2018.

zachwarner commented 6 years ago

Same on macOS 10.13.6 with a fresh install of TeXLive 2018.

hexchain commented 5 years ago

I ran into this problem today and found the cause to be an old version of mtheme in my $TEXMFHOME (under user account, not the system-wide one). Removing that old version solved this issue for me.

XVilka commented 5 years ago

So I guess this can be closed now?

itsrainingdata commented 5 years ago

I checked my $TEXMFHOME and I only have one version of mtheme installed, so this is not the problem for me.