Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687882 - dev-texlive/texlive-xetex-2019,texlive-latex-2019 - xelatex LaTeX Error: Cannot determine size of graphic in *.png (no Bound ingBox)
Summary: dev-texlive/texlive-xetex-2019,texlive-latex-2019 - xelatex LaTeX Error: Cann...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-11 18:39 UTC by Juergen Rose
Modified: 2019-06-27 09:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
simple_includegraphics_pdf.tex (simple_includegraphics_pdf.tex,491 bytes, text/x-tex)
2019-06-11 18:39 UTC, Juergen Rose
Details
simple_includegraphics_png.tex (simple_includegraphics_png.tex,491 bytes, text/x-tex)
2019-06-11 18:39 UTC, Juergen Rose
Details
stabwerk_4.1_7.pdf (stabwerk_4.1_7.pdf,11.31 KB, application/pdf)
2019-06-11 18:41 UTC, Juergen Rose
Details
stabwerk_4.1_7.png (stabwerk_4.1_7.png,9.95 KB, image/png)
2019-06-11 18:42 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2019-06-11 18:39:11 UTC
Created attachment 579558 [details]
simple_includegraphics_pdf.tex

After ugrading to texlive-2019 'xelatex  -shell-escape simple_includegraphics_png.tex' fails with:
...
rose@lynx:/home/rose/Txt/src/Test/TeX(32)$ xelatex  -shell-escape simple_includegraphics_png.tex
This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019) (preloaded format=xelatex)
 \write18 enabled.
entering extended mode
(./simple_includegraphics_png.tex
LaTeX2e <2018-12-01>
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))
...
(/usr/share/texmf-dist/tex/generic/oberdiek/ifvtex.sty))
No file simple_includegraphics_png.aux.
(/usr/share/texmf-dist/tex/latex/tipa/t3cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex

! LaTeX Error: Cannot determine size of graphic in stabwerk_4.1_7.png (no Bound
ingBox).

See the LaTeX manual or LaTeX Companion for explanation.

The same happens if I try to include a PDF file.

simple_includegraphics_png.tex, simple_includegraphics_pdf.tex, stabwerk_4.1_7.png and stabwerk_4.1_7.pdf will be attached.
Comment 1 Juergen Rose 2019-06-11 18:39:56 UTC
Created attachment 579560 [details]
simple_includegraphics_png.tex
Comment 2 Juergen Rose 2019-06-11 18:41:29 UTC
Created attachment 579562 [details]
stabwerk_4.1_7.pdf
Comment 3 Juergen Rose 2019-06-11 18:42:13 UTC
Created attachment 579564 [details]
stabwerk_4.1_7.png
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-06-27 09:40:44 UTC
This is not a bug.

Roughly, graphicx defines filename parser as

'\def\filename@simple#1.#2' in its files.

So #1 is a filename #2 is an extension.

files you are trying to include have dots in its names so this led to this bug.

I have just renamed them and tried again - no problems occured.
Comment 5 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-06-27 09:47:06 UTC
FYI, the problem was described here:

https://tex.stackexchange.com/questions/10574/includegraphics-dots-in-filename