Hi Alan,

On Tue, 2025-04-08 at 03:19 -0500, Alan Caruanambo wrote:
> Hello, I want to draw the cutting line on an A4 sheet.
>
> cutting line (to draw)
>      |
> ------------
> >    |     |
> >    |     |
> >    |     |
> ------------

You can use \showframe for this:

    \setuppapersize[A5][A4,landscape]

    \setuppaper[nx=2, ny=1, offset=-1.5pt]
    \setuparranging[XY]

    \definepalet[layout][page=black]
    \showframe[page]
    \setupbackgrounds[page][topframe=off, bottomframe=off, rulethickness=2pt]

    \starttext
        \dorecurse{10}{\samplefile{knuth}}
    \stoptext

Thanks,
-- Max
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to