hyperref
hyperref copied to clipboard
feature request: reproducible documents
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.
Each engine produces a different structure: there's no possibility of getting the same PDF from pdfTeX and XeTeX.
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.