Just to follow up on my own question, more generally, are there ways to hook into the PDF generation of either PDFTeX or XeTeX?<div><br></div><div>I'm interested in, among other things, being able to define form XObjects that will be reused across multiple pages of the output.  Is there a way to do that?</div>
<div><br></div><div>Generally, is there a way to insert metadata into the PDF that could be used from some post-process?</div><div><br></div><div>Thanks!</div><div><br></div><div>-pd</div><div><br></div>