[XeTeX] Generating cropped PDF graphics file

Ross Moore ross at ics.mq.edu.au
Thu Apr 17 04:27:59 CEST 2008

Hi Martin,

On 16/04/2008, at 7:03 PM, Martin Schröder wrote:
> 2008/4/15, Ross Moore <ross at ics.mq.edu.au>:
>>  For example, here's how you can do it with  pdfTeX
>>  adding a frame for good measure.
> \usepackage{eso-pic} :-)

I don't understand your comment.

  {eso-pic}  is good for adding pictures onto pages of your
document; e.g. as a background image.
Here the OP just wants output of a TeX-constructed logo,
as if a single PDF image at it's natural size.
There is no need for a constructed page, apart from this single
image; hence there is no need to use the \output routine at all,
and certainly no need to alter the \shipout primitive in any way.

It is enough to simply use \shipout directly, after having
adjusted the origin and measured the dimensions of what is
to be output; these becoming (locally) the PDF page size.

> Best
>    Martin



Ross Moore                                       ross at maths.mq.edu.au
Mathematics Department                           office: E7A-419
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114

More information about the XeTeX mailing list