![](https://secure.gravatar.com/avatar/aa73a479cf5cec03df7f1b416b5e7a25.jpg?s=120&d=mm&r=g)
On 25/06/15 15:25, Hans Hagen wrote:
\pdfinfo{/CreationDate/null} \pdfinfo{/ModDate/null} \pdfinfo{/ID/null}
Two problems with this: - While your suggestion does make /CreationDate and /ModDate deterministic, I believe it leads to an output file that violates the ISO 32000 PDF 1.7 standard, which says in section 14.3.3 (p 549): "Any entry whose value is not known should be omitted from the dictionary rather than included with an empty string as its value." http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_200... Your solution leads to /CreationDate/null/ModDate/null/ID/null in that dictionary. - The random /ID is *not* an entry in the "document information dictionary" (the "info" entry in the file trailer that \pdfinfo modifies), which is why your attempt to modify it with \pdfinfo did not affect its 32-hex digit value. (When testing from a script, make sure that the two invocations to pdftex are at least one second apart, otherwise their outputs will be identical simply due the 1-second resolution of the timestamps.) Markus -- Markus Kuhn, Computer Laboratory, University of Cambridge http://www.cl.cam.ac.uk/~mgk25/ || CB3 0FD, Great Britain