The following snippet of code used to work under Linux Mint 19, but fails under Linux Mint 20:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{test.eps.gz}
\end{document}
Command:
latex test.tex
Log output:
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=latex)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2020-02-02> patch level 2
L3 programming layer <2020-02-14>
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvips.def)))
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)
No file test.aux.
! TeX capacity exceeded, sorry [input stack size=5000].
\Gin@ext ->\Gin@ext
.gz
l.6 \includegraphics{test.eps.gz}
No pages of output.
Transcript written on test.log.
Under previous LaTeX versions, the image would be properly included or properly reported as missing, i.e.:
...
! LaTeX Error: File `test.eps' not found.
...
Have I been doing something wrong all along or is this a new bug that should be properly reported to the development team?
I will be sure to use the unarchived images in my future work, but I would also like to find a simple workaround if possible to accommodate the already existing projects.
– Vilkas Jan 07 '21 at 14:46\DeclareGraphicsRuleto do the conversion in-place. – Marijn Jan 07 '21 at 14:48`gunzippart: this no longer works. You can't do the conversion in-place any longer unless you enable --shell-escape and use some other command. – Ulrike Fischer Jan 07 '21 at 14:56\epstopdfDeclareGraphicsRuleor\noexpand\epstopdfcall, because they don't use backticks? – Marijn Jan 07 '21 at 15:21I understand the dangers of --shell-escape, but I would be willing to use it on my documents in a sandbox environment. However, currently the compilation crashes seemingly due to the special handling of the .eps.gz extension. Do you think it is something worth reporting?
– Vilkas Jan 07 '21 at 16:50