Re: Trimbox and crop marks on cover page
Willi Egger <[email protected]> Sun, 2 Aug 2026 12:25:39 +0200
| Newsgroups | gmane.comp.tex.context |
|---|---|
| Message-ID | <[email protected]> |
--===============7444533851292636151== Content-Type: multipart/alternative; boundary="6a6f1b23_2d6bb3b5_1620" --6a6f1b23_2d6bb3b5_1620 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 > ___________________________________________________________________________________ > --6a6f1b23_2d6bb3b5_1620 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <div>Good day=21</div><br><div>Hm, I realize, that I was more than absent= in recent weeks and kind of blind although I was handling mor than a hun= dred glass panes giving them new kit-seams...</div><br><div>The use of =5C= paperbleed and =5Cspinewidth work fine and ar a nice features when design= ing a book cover. Normally I used a layer to move things around for this = purpose, but the approach with Metafun is leaner. </div><br><div>May be t= hat the =5Cpaperbleed could be integrated into =5Csetuplayout=3F =5Cspine= width might be more tricky to assign to an existing command. </div><br><d= iv>I played with your examples, changing parameters and watching the resu= lts. 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 ef= fect using ConTeXt version : 2026.07.06 13:29.</div><br><div>Waht is disc= ussed in this thread is a nice chapter to the envisaged updated version o= f =22Layouyt in ConTeXt=22.</div><br><div>Best</div><div>Willi</div><div>= <signature id=3D=22initial=22><div><div>Sent from <a href=3D=22https://li= nk.getmailspring.com/link/67164B79-9EE3-4CAE-A09E-B282=466A1A7B5=40getmai= lspring.com/0=3Fredirect=3Dhttps%3A%2=46%2=46getmailspring.com%2=46&r= ecipient=3DbnRnLWNvbnRleHRAbnRnLm5s=22>Mailspring</a>, the best free emai= l app for work</div></div></signature></div><div class=3D=22gmail=5Fquote= =5Fattribution=22>On Jun 27 2026, at 11:15 am, Hans Hagen via ntg-context= <ntg-context=40ntg.nl> wrote:</div><blockquote spellcheck=3D=22fal= se=22><div><div>some more</div><br><div>=5Cdefinepapersize</div><div>=5Bc= over=5D</div><div>=5Bwidth=3D330mm,</div><div>height=3D240mm=5D</div><br>= <div>=5Csetuppapersize</div><div>=5Bdistance=3D38mm=5D</div><br><div>=5Cs= etuplayout</div><div>=5Bmarking=3Dcolor,</div><div>location=3Dmiddle,</di= v><div>cropoffset=3D0mm,</div><div>trimoffset=3D-7.5mm,</div><div>bleedof= fset=3D3mm=5D</div><br><div>=5Cstarttext</div><br><div>=5Csetuppapersize=5B= cover=5D=5Boversized=5D</div><br><div>=5Cstartpagemakeup</div><br><div>=5C= paperbleed 1mm</div><div>=5Cspinewidth 15mm</div><br><div>=5Cstartsetups = spinetitle</div><div>=5Chbox to =5Cpaperheight =5Cbgroup</div><div>=5Chsk= ip1cm</div><div>=5Cbfd =5Csetstrut =5Cstrut</div><div>Here is something s= pine</div><div>=5Chss</div><div>Okay</div><div>=5Chskip1cm</div><div>=5Ce= group</div><div>=5Cstopsetups</div><br><div>=5Cstartsetups booktitle</div= ><div>=5Cdefinefont=5BBiggish=5D=5BSerifBold =40 36pt=5D</div><div>=5Cfra= med</div><div>=5Bforegroundstyle=3DBiggish,</div><div>align=3Dflushright=5D= </div><div>=7B</div><div>What is this=5C=5Call about</div><div>=7D</div><= div>=5Cstopsetups</div><br><div>=5CstartMPcode</div><div>StartPage;</div>= <div>fill Page enlarged PaperBleed withcolor =22darkyellow=22 ;</div><div= >draw image (</div><div>draw leftboundary Page shifted (</div><div>PaperW= idth/2-SpineWidth/2,0) ;</div><div>draw rightboundary Page shifted</div><= div>(-PaperWidth/2+SpineWidth/2,0) ;</div><div>) withcolor =22white=22 wi= thpen pencircle scaled 1mm ;</div><div>draw</div><div>textext.rt(=22=5Cse= tups=7Bspinetitle=7D=22) rotated 270</div><div>shifted (PaperWidth/2,Pape= rHeight)</div><div>withcolor =22white=22 ;</div><div>draw</div><div>texte= xt.llft(=22=5Csetups=7Bbooktitle=7D=22)</div><div>shifted urcorner Page</= div><div>shifted (-1cm,-1cm)</div><div>withcolor =22white=22 ;</div><div>= StopPage;</div><div>=5CstopMPcode</div><br><div>=5Cstoppagemakeup</div><b= r><div>=5Cstoptext</div><br><div>----------------------------------------= -------------------------</div><div>Hans Hagen =7C PRAGMA ADE</div><div>R= idderstraat 27 =7C 8061 GH Hasselt =7C The Netherlands</div><div>tel: 038= 477 53 69 =7C www.pragma-ade.nl =7C www.pragma-pod.nl</div><div>--------= ---------------------------------------------------------</div><div>=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F</div><div>If your question is of interest to others as= well, please add an entry to the Wiki=21</div><br><div>maillist : ntg-co= ntext=40ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl= </div><div>webpage : https://www.pragma-ade.nl / https://context.aanhet.n= et (mirror)</div><div>archive : https://github.com/contextgarden/context<= /div><div>wiki : https://wiki.contextgarden.net</div><div>=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F</div></div></blockquote><img alt=3D=22=22 src=3D=22https://link= .getmailspring.com/o/eyJtZXNzYWdlSWQiOiI2NzE2NEI3OS05RUUzLTRDQUUtQTA5RS1C= MjgyRjZBMUE3QjVAZ2V0bW=46pbHNwcmluZy5jb20iLCJhY2NvdW50SWQiOiJkZjczNTg0MyI= sInJlY2lwaWVudCI6Im50Zy1jb250ZXh0QG50Zy5ubCJ9.png=22> --6a6f1b23_2d6bb3b5_1620-- --===============7444533851292636151== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============7444533851292636151==--