[XeTeX] Placing .pdfs w/ crop and trim boxes

Jonathan Kew jonathan_kew at sil.org
Wed Jun 14 16:14:58 CEST 2006


On 14 Jun 2006, at 2:54 pm, Jonathan Kew wrote:
>
> If you update to the latest code from Subversion, \XeTeXpdffile now
> supports new keywords 'crop', 'media', 'bleed', 'trim', and 'art'.
> These must be placed after the (optional) 'page <n>' and before any
> keywords for transforms (scaled, rotated, etc), and tell xetex which
> of the various PDF boxes you want to use. Thus,
>
> 	\XeTeXpdffile "myfile.pdf" page 2 bleed scaled 2000
>
> will include the second page, using its bleed box, at double size.
>
> If no box keyword is present, the default is to use the crop box;
> therefore, 'crop' is redundant, but you're allowed to include it for
> completeness.

I forgot to mention.... obviously, there is no support for this  
through LaTeX's \includegraphics; some kind of enhancement to  
xetex.def will be needed. Anyone care to tackle that? Ross? Will? ...?

JK




More information about the XeTeX mailing list