[Pkg-owncloud-maintainers] Bug#796490: [texlive-latex-base] pdflatex does not create reproducible pdfs with multiple images

Chris Lamb lamby at debian.org
Sat Aug 22 08:40:35 UTC 2015


> pdflatex creates every time a different pdf (it differs in the
> emeded images).

To clarify, the CreationDate and ModDate headers vary, but that is an
separate issue. For example, in:

  http://i.imgur.com/GU5lqxF.png

.. I am ignoring the top part of the diff.

> less pictures and no tableofcontent and afterwards the pdf was reprocubile.

I can actually reproduce with the following:

 \documentclass{article}
 \begin{document}
 \tableofcontents
 \end{document}

NB. no images, no graphicx, etc. This makes the PDF (again, modulo
{Creation,Mod}Date headers) reproducible within the same second, which
suggests a time-based random seed generation. (There is one in
web2c/pdftexdir/pdftex.web which makes me suspicious.)

> One workaround is to use optipng for all input pngs, that made the pdf
> also reproducible.

.. which somewhat contradicts my previous paragraph. We might have three
issues here instead of just two.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Pkg-owncloud-maintainers mailing list