[NTG-context] Set PDF TrimBox

Henning Hraban Ramm texml at fiee.net
Sun Aug 16 06:33:32 CEST 2015

Hi Hans,

in May Harald König asked about setting the TrimBox value in PDFs and provided even a patch for lpdf-mis.lua; you promised to look into that, see http://article.gmane.org/gmane.comp.tex.context/91544/

If there’s only one paper size (from \setuppapersize), TrimBox is the same as CropBox.

If there’s a second paper size (like from \setuppapersize[A4][B4]), TrimBox is the first.

At least if there’s "marking=on|color|..." in \setuplayout, please also set BleedBox, even if we can’t influence the bleed value.

Would be nice if there would be an option to let CropBox be the same as TrimBox or BleedBox.

We don’t need ArtBox (in PDF/X it must not differ from TrimBox, if defined).

Could you please implement this? Should be really easy…
I’m tired of fixing the boxes in Acrobat every time.
Thank you very much!

Greetlings, Hraban
https://www.cacert.org (I'm an assurer)

More information about the ntg-context mailing list