[pdftex] Please make the CreationDate, ModDate and ID field deterministic
Karl Berry
karl at freefriends.org
Sun Jul 12 00:02:02 CEST 2015
Hi,
I propose the attached patch which does not change the default behaviour
of pdftex but if the environment variable SOURCE_DATE_EPOCH is set it
I'm not sure.
Meanwhile, Thanh has already made changes in the pdftex source
repository, revision 724 at
https://foundry.supelec.fr/scm/viewvc.php/branches/stable/source/?root=pdftex
(project page: https://foundry.supelec.fr/projects/pdftex/)
I append his message about it (sent privately). Will it suffice for
you? --karl
--------------------------------------------
From: The Thanh Han
[...]
2 new commands were added. Usage examples:
\pdfinfoomitdate=1
% tell pdftex not to write the default CreationDate and ModDate;
% however custom values specified via \pdfinfo{} will always be outputted
\pdftrailerid{} % tell pdftex to omit trailer id, or
\pdftrailerid{abc} % provide custom value for trailer id
A minimal test file was included in the commit:
https://foundry.supelec.fr/scm/viewvc.php/branches/stable/tests/03-deterministic-output/?root=pdftex
Regards,
Thanh
More information about the pdftex
mailing list