Pawel Urbanski via ntg-context schrieb am 21.05.2023 um 22:27:
Thanks Wolfgang!

Just last few questions and I og wiht cows home... :)

** Does backspace or cutspace cover the inner space where bhe book binding is located?

backspace sets the inner margin and cutspace the outer margin.

** What about the margin where one would like to place chapter and section numbers?

This is where you use leftmargin for the width of the are of margin texts and leftmargindistance
for the distance between the left side margin block and the text block.

Since my printing house requires 3mm of space around the page for trimming. Does defining a paper size taller and wider than the 6x9 'pawel' paper size you gave in hte example is a solution?

For the example purposes:

\definepapersize[printing_sheet][width440pt,height=656pt]


Then use:

\setuppapersize[pawel][printing_sheet]

As I understand using 'location=middle in \seputlayout would place my 6x9 page in the middle of this wider and taller sheet.


So many more htings are much more clear and I am copying these messages to propose osme changes to the wiki.

ConTeXt already provides a named layout "oversized" where you can control the extra height/width for cutting.

To get an extra of 3mm on each side you have to add \setuppapersize[distance=6mm] (you need 6mm because it's the combined value for the left and right side) in combination with \setuplayout[location=middle].

%%%% begin example
\enablemode[print]
%\enablemode[screen]

\startmode[print]

\setuppapersize [distance=6mm]

\definepapersize [pawel] [width=432pt,height=648pt]

\setuppapersize [pawel] [oversized]

\setuplayout
  [ location=middle,
   backspace=52pt,
    cutspace=68pt,
       width=middle]

\stopmode

\startmode[screen]

\definepapersize [pawel] [width=432pt,height=648pt]

\setuppapersize [pawel]

\setuplayout
  [backspace=60pt,
       width=312pt]

\stopmode

\starttext
\showlayout
\stoptext
%%%% end example

Wolfgang

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to