regression/bug in graphics inclusion with double extension

Norbert Preining preining at logic.at
Thu Nov 7 09:44:17 CET 2019


Hi David,

On Thu, 07 Nov 2019, David Carlisle wrote:
> er that's odd, the error that you show was the expected error _before_
> but now zzzz.foo.png should work out of the box.

Hmm, not really. I see only regressions in Debian that packages that did
build with the 9/30 checkout suddently stop building:
https://ci.debian.net/data/autopkgtest/testing/amd64/s/sphinx/3345776/log.gz

Furthermore, we got a similar report back on Puszcza
https://puszcza.gnu.org.ua/bugs/index.php?443

and *adding* grffile helped. But that does not help with the regressions
in Debian.

> I guess that you were using _something_ to patch the old code so
> multiple dots worked, and that patch is failing.

No, the test file is trivial:

\documentclass{article}
\usepackage{graphicx}
\begin{document}
Hello

\includegraphics{oma.foo.png}

\end{document}


Fails with 
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./bla.tex
LaTeX2e <2019-10-01> patch level 1
(/home/norbert/tl/2019/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/08/27 v1.4j Standard LaTeX document class
(/home/norbert/tl/2019/texmf-dist/tex/latex/base/size10.clo))
(/home/norbert/tl/2019/texmf-dist/tex/latex/graphics/graphicx.sty
(/home/norbert/tl/2019/texmf-dist/tex/latex/graphics/keyval.sty)
(/home/norbert/tl/2019/texmf-dist/tex/latex/graphics/graphics.sty
(/home/norbert/tl/2019/texmf-dist/tex/latex/graphics/trig.sty)
(/home/norbert/tl/2019/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/home/norbert/tl/2019/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(./bla.aux)
(/home/norbert/tl/2019/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/home/norbert/tl/2019/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/home/norbert/tl/2019/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/home/norbert/tl/2019/texmf-dist/tex/latex/oberdiek/grfext.sty
(/home/norbert/tl/2019/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
(/home/norbert/tl/2019/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))
(/home/norbert/tl/2019/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/home/norbert/tl/2019/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/home/norbert/tl/2019/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/home/norbert/tl/2019/texmf-dist/tex/generic/iftex/ifluatex.sty
(/home/norbert/tl/2019/texmf-dist/tex/generic/iftex/iftex.sty)))))
(/home/norbert/tl/2019/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/home/norbert/tl/2019/texmf-dist/tex/generic/iftex/ifpdf.sty))
(/home/norbert/tl/2019/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))

! LaTeX Error: Unknown graphics extension: .foo.png.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.6 \includegraphics{oma.foo.png}

? X
No pages of output.
Transcript written on bla.log.


Best

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tex-live mailing list