[NTG-context] problems with images, layers and crop marks

Hans Hagen j.hagen at xs4all.nl
Mon Jul 8 13:44:33 CEST 2019


On 7/8/2019 12:26 PM, Henning Hraban Ramm wrote:
> I found the culprit, it’s \clip :
> 
> 
> \setuppapersize[A6][C6]
> \setuplayout[
>      location=middle,
>      marking=on,
> ]
> 
> \starttext
>      \clip[
>          hoffset=\textwidth,
>          voffset=5mm,
>          width=\pagewidth,
>          height=\pageheight]{%
>      \externalfigure[hacker][height=\pageheight]}
> 
> \page[right]
> \strut

beware: \pagewidth and \pageheight are low level engine variables, use 
\paperwidth and \paperheight instead as these engine ones will be nilled

> \stoptext
> 
> 
> Crop marks as well as some layers (not shown in example) are shifted by 
> \clip’s hoffset and voffset.
> I guess there’s some internal variables bleeding or the like?
hm, i'll apply a bit more agressive grouping there; i'll send you a test

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list