[XeTeX] PDF Media, Trim, and Bleed boxes in XeTeX

Chris Yocum cyocum at gmail.com
Mon Jul 12 13:48:58 CEST 2010

Hash: SHA1

On 12/07/10 12:10, William Adams wrote:
> On Jul 10, 2010, at 3:38 PM, Chris Yocum wrote:
>> I have a feeling that this is a rather naive/dumb question but I will
>> raise it nonetheles.  I have been looking into creating pre-press
>> quality (PDF X-1a at least) PDFs via XeLaTeX.  It seems that most things
>> are there: embedded fonts (pdffonts tells me that they are), hyperxmp
>> for metadata, etc.  The only thing missing seems to be the TrimBox and
>> Bleed Boxes.  Is there a way to get these into XeTeX?  I can do it using
>> \special but it seems like something the geometry package should do when
>> knows it will produce PDFs (and should work with the crop package).  
> Correct. Unfortunately, the geometry package doesn't support this. I've always used \special

Thank you very much for your insight.  I am contemplating contacting the
crop and geometry package owners to see if we can collaborate on adding
this functionality to the packages.

>> I
>> had a look at the pdfx package, which doesn't work with XeLaTeX, and it
>> seems to set the Boxes statically in the code.  It would seem to me that
>> they should be calculated at the time of document creation or am I
>> completely missing the point?
> No, again the pdfx package would need to be extended to have xelatex support.
> Perhaps support for the nifty pdf commands is the next thing which should be ported to xetex?

That would be very cool.  If it were just a matter of adding macro code
(I am not a complete TeXpert but I am getting there), I believe that I
could help on that front.  Please let me know.

Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


More information about the XeTeX mailing list