Put the document's version IDs into comments in the PS and PDF