hyperref icon indicating copy to clipboard operation
hyperref copied to clipboard

feature request: reproducible documents

Open Reissner opened this issue 2 years ago • 2 comments

as seen in https://tex.stackexchange.com/questions/229605/reproducible-latex-builds-compile-to-a-file-which-always-hashes-to-the-same-va with pdflatex, xelatex and lualatex one can create reproducible pdfs, but the way to do so depends on the engine. hyperref had the chance to unify things a lot.

It seems to support pdfinfo already and what is missing for all engines is just pdftrailerid. Still, for pdflatex there should be a way to do \pdfsuppressinfo: I dont know how to suppress the banner.

Reissner avatar Mar 03 '22 12:03 Reissner

Each engine produces a different structure: there's no possibility of getting the same PDF from pdfTeX and XeTeX.

josephwright avatar Mar 03 '22 13:03 josephwright

hyperref is the wrong place imho. You could load regression-test.tex from l3build, it contains code to make pdf's reproducible. But be aware that it can miss things, e.g. seeds for random numbers for pgf or dates if you embed files with attachfile or similar.

u-fischer avatar Mar 03 '22 16:03 u-fischer