On Thu, Sep 09, 2010 at 01:32:39PM +0200, Paul Isambert wrote: > Selon Heiko Oberdiek <heiko.oberd...@googlemail.com>: > > > 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.
s/pdfpageattr(s)/pdfpage(s)attr/ > > * Previous contents should be included. > > * Setting the same key twice should be avoided. > > The idea is to produce a test file so Will can try including it in another > document to test the options, not to do anything meaningful with \pdfpageattr, > which indeed is a pain in the, errrr, head. Actually that's the s-less > version I > meant (\pdfpageattr, not \pdfpagesattr); the PDF Reference doesn't flag the > Bleed-, Trim- and ArtBox as inheritable, so I guess using \pdfpagesattr won't > work. Yes: \pdfpagesattr: /CropBox \pdfpageattr: /CropBox, /BleedBox, /TrimBox, /ArtBox > I didn't know about MediaBox, but it makes sense -- even though the pdfTeX > manual gives /MediaBox as an example of an attribute in \pdfpagesattr. The version rev. 1675 of 2007-01-25 uses /CropBox. Yours sincerely Heiko Oberdiek -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex