Good day!

Hm, I realize, that I was more than absent in recent weeks and kind of blind 
although I was handling mor than a hundred glass panes giving them new 
kit-seams...
The use of \paperbleed and \spinewidth work fine and ar a nice features when 
designing a book cover. Normally I used a layer to move things around for this 
purpose, but the approach with Metafun is leaner.
May be that the \paperbleed could be integrated into \setuplayout? \spinewidth 
might be more tricky to assign to an existing command.
I played with your examples, changing parameters and watching the results. I 
could not makeup, what the cropoffset, trimoffset and bleedoffset keys do. May 
be I am ignorant but they do not seem to have any visible effect using ConTeXt 
version : 2026.07.06 13:29.
Waht is discussed in this thread is a nice chapter to the envisaged updated 
version of "Layouyt in ConTeXt".
Best
Willi
Sent from Mailspring 
(https://link.getmailspring.com/link/[email protected]/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=bnRnLWNvbnRleHRAbnRnLm5s),
 the best free email app for work

On Jun 27 2026, at 11:15 am, Hans Hagen via ntg-context <[email protected]> 
wrote:
> some more
>
> \definepapersize
> [cover]
> [width=330mm,
> height=240mm]
>
> \setuppapersize
> [distance=38mm]
>
> \setuplayout
> [marking=color,
> location=middle,
> cropoffset=0mm,
> trimoffset=-7.5mm,
> bleedoffset=3mm]
>
> \starttext
> \setuppapersize[cover][oversized]
> \startpagemakeup
> \paperbleed 1mm
> \spinewidth 15mm
>
> \startsetups spinetitle
> \hbox to \paperheight \bgroup
> \hskip1cm
> \bfd \setstrut \strut
> Here is something spine
> \hss
> Okay
> \hskip1cm
> \egroup
> \stopsetups
>
> \startsetups booktitle
> \definefont[Biggish][SerifBold @ 36pt]
> \framed
> [foregroundstyle=Biggish,
> align=flushright]
> {
> What is this\\all about
> }
> \stopsetups
>
> \startMPcode
> StartPage;
> fill Page enlarged PaperBleed withcolor "darkyellow" ;
> draw image (
> draw leftboundary Page shifted (
> PaperWidth/2-SpineWidth/2,0) ;
> draw rightboundary Page shifted
> (-PaperWidth/2+SpineWidth/2,0) ;
> ) withcolor "white" withpen pencircle scaled 1mm ;
> draw
> textext.rt("\setups{spinetitle}") rotated 270
> shifted (PaperWidth/2,PaperHeight)
> withcolor "white" ;
> draw
> textext.llft("\setups{booktitle}")
> shifted urcorner Page
> shifted (-1cm,-1cm)
> withcolor "white" ;
> StopPage;
> \stopMPcode
>
> \stoppagemakeup
> \stoptext
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
>
> maillist : [email protected] / 
> 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
> ___________________________________________________________________________________
>

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

maillist : [email protected] / 
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