[XeTeX] XeTeXpdffile media box etc

Heiko Oberdiek heiko.oberdiek at googlemail.com
Thu Sep 9 13:14:03 CEST 2010


On Thu, Sep 09, 2010 at 09:03:55AM +0200, Paul Isambert wrote:

> \pdfpagesattr{
>   /CropBox [llx lly urx ury]
>   /MediaBox ...
>   ...
> }

NO, don't add /MediaBox. It's set by pdfTeX and can be configured
by \pdfpagewidth and \pdfpageheight.

The other boxes can be set this way (or using \pdfpageattr).
However dealing with \pdfpageattr(s) is very nasty in general.
* Previous contents should be included.
* Setting the same key twice should be avoided.

Yours sincerely
  Heiko Oberdiek


More information about the XeTeX mailing list