[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#676129: texlive: pdflatex generates an invalid pdf if a particular combination of images are inluded



Package: texlive
Version: 2012.20120529-1
Severity: normal
Tags: upstream

Dear Maintainer,

These are test cases for a very strange interaction I found with
texlive 2012, garphix, pdflatex, a png, and a pdf.  All files needed
to reproduce the bug are at

https://github.com/tacaswell/pdflatex_bug


If the png jfi_logo is included, and re-sized using
[width=X\linewidth] as an argument of \includegraphics where X < 1 and
the pdf jpd is included after jfi_logo the generated pdf will not open
(error 14) with a range of acrobat readers (version 9 linux, an
(up-to-date?) pro version on mac, and newish version on a mac) if
compiled with texlive 2012 from debian unstable.  The pdf will open with and
looks fine using xpdf, okular, and preview.   If the tex file is processed with
texlive 2009, from debian stable, the generated pdf works fine in acrobat.

Using different pngs, different pdfs, placing jpd go first, or using X>=1, then
both versions of texlive generate a pdf that works with the acrobat 9 (linux).

* bug
** Action
run pdf latex on *.tex

** Expected
get pdfs that will open with all pdf readers

** actual
test_case_fail_1.tex generates a pdf that will not open with acrobat using
texlive2012



* versions
** texlive 2012
tcaswell@kaylee:~/pdflatex_bug$ pdflatex --version
pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
kpathsea version 6.1.0
Copyright 2012 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.2.49; using libpng 1.2.49
Compiled with zlib 1.2.7; using zlib 1.2.7
Compiled with poppler version 0.18.4


** texlive 2009
tcaswell@innoue:pdflatex_bug$ pdflatex --version
pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
kpathsea version 5.0.0
Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.2.44; using libpng 1.2.44
Compiled with zlib 1.2.3.4; using zlib 1.2.3.4
Compiled with poppler version 0.12.4



-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource. 

   *** The Debian TeX Team is *no* LaTeX Help Desk ***

If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.

Please run your example with
	(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are 
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.minimalbeispiel.de/mini-en.html (english)

or 

http://www.minimalbeispiel.de/mini.html (german)

##################################
minimal input file


##################################
other files

######################################
 List of ls-R files

-rw-r--r-- 1 root root 1995 Jun  4 10:22 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 May  9 17:39 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 May 29 05:52 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN
-rw-rw-r-- 1 root staff 80 May  3 10:31 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 31 May 29 05:52 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 May 29 05:52 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 May 29 05:52 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN
######################################
 Config files
-rw-r--r-- 1 root root 475 May 10 10:16 /etc/texmf/web2c/texmf.cnf
-rw-r--r-- 1 root root 4745 Jun  4 10:22 /var/lib/texmf/web2c/fmtutil.cnf
lrwxrwxrwx 1 root root 32 May 29 05:52 /usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 3245 Jun  4 10:22 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 2
-rw-r--r-- 1 root root 283 Jun  8  2010 mktex.cnf
-rw-r--r-- 1 root root 475 May 10 10:16 texmf.cnf
######################################
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive depends on:
ii  texlive-fonts-recommended  2012.20120529-1
ii  texlive-latex-base         2012.20120529-1
ii  texlive-latex-recommended  2012.20120529-1

texlive recommends no packages.

Versions of packages texlive suggests:
pn  texlive-doc-en  <none>

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]  1.5.43
ii  dpkg                   1.16.3
ii  ucf                    3.0025+nmu3

Versions of packages tex-common suggests:
ii  debhelper  9.20120528

Versions of packages texlive is related to:
ii  tex-common        3.11
ii  texlive-binaries  2012.20120530-2+b1

-- debconf information:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:
PWD /home/tcaswell/pdflatex_bug
INPUT /etc/texmf/web2c/texmf.cnf
INPUT /usr/share/texlive/texmf/web2c/texmf.cnf
INPUT /var/lib/texmf/web2c/pdftex/pdflatex.fmt
INPUT test_case_fail_1.tex
OUTPUT test_case_fail_1.log
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
INPUT test_case_fail_1.aux
INPUT test_case_fail_1.aux
OUTPUT test_case_fail_1.aux
INPUT /usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
INPUT /usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
INPUT figures/jfi_logo.png
INPUT ./figures/jfi_logo.png
OUTPUT test_case_fail_1.pdf
INPUT ./figures/jfi_logo.png
INPUT figures/jpd.pdf
INPUT ./figures/jpd.pdf
INPUT ./figures/jpd.pdf
INPUT /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map
INPUT test_case_fail_1.aux
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb

Reply to: