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

William Adams will.adams at frycomm.com
Wed Jun 14 16:07:38 CEST 2006


On Jun 14, 2006, at 9:54 AM, Jonathan Kew wrote:

> OK, OK.... :)

::and the crowd goes wild!:: ::ROAARRR::

> If you update to the latest code from Subversion,

I just tried that, see the other thread on building from source.

> \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.

Compleatness is good.

> Note that the drawing of the included PDF will respect its crop box,
> even if placing it according to a larger box from the source. (Is
> that what you'd expect? Seems right to me.)

Perfect!

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.


More information about the XeTeX mailing list