On MacTeX 2019, I get the following error when using \includegraphics:
./test.tex:5: Undefined control sequence.
\Ginclude@graphics ...e \expandafter {\@curr@file
}}\expandafter \filename@p...
l.5 \includegraphics{ddg.png}
The following MWE does not work (yes, ddg.png is there):
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{ddg.png}
\end{document}
This happens both with XeLaTeX and pdfLaTeX.
Anybody got any ideas or even the same issue?
Sadly, I can't track down what I did to cause this bug, it presumably happened when auto-updating packages with tlmgr.
I know it worked fine like a couple days ago.
miktexspecific bug! The fix worked flawlessly, though.@DavidCarlisle: How can I check whether that was the case or not, how can I update them manually? Because apparently it was the same error (or at least, it had the same fix).
– folran Oct 09 '19 at 18:38LaTeX2e <2019-10-01>if it is a 2018 date tryfmtutil-sys --allto rebuild the formats – David Carlisle Oct 09 '19 at 19:03(I don't exactly understand what was from 2018 though; I assumed to be working with a fresh install of MacTeX 2019).
– folran Oct 10 '19 at 06:37fmtutil-sys --allfixed the issue. – Szymon Bęczkowski Oct 10 '19 at 07:47