Am 04.09.2018 um 21:22 schrieb Pablo Rodriguez:
On 09/04/2018 09:00 AM, Henning Hraban Ramm wrote:
Hi Mari, I can confirm the same behaviour with graphics from other sources like Illustrator - seems like ConTeXt doesn't use the CropBox (visible size) any more, but the MediaBox (full sheet). Or maybe the TrimBox (cut size). It would make sense to have than configurable, but the change in behaviour is really inconvenient.
Hi Mari and Hraban,
I have just discovered that \setupexternalfigure has a "size" option with values "none media crop trim art".
They don’t seem to work, but I wonder whether this might be the configuration command that you are looking for (which might have a bug).
Hi Pablo, Hans investigated and could trace my problem to an Acrobat bug (or at least it doesn't adhere to the PDF specs): I had my logo exported from Illustrator and changed the boxes in Acrobat Pro 9, then saved. But if you don't "save as", Acrobat creates a XForm inside a page, but doesn't set the boxes correctly for the page (CropBox missing, Artbox was what I needed). While all(?) viewers work around this, ConTeXt's new PDF handler, the ppl library, adheres strictly to the PDF specs and falls back to MediaBox if CropBox is missing. I tried size=artbox and box=artbox, but size=art actually does what I need - thanks for the hint! Greetlings, Hraban