ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: Pawel Urbanski via ntg-context <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Subject: Re: [NTG-context] Layout with equal margins.
Date: Mon, 22 May 2023 08:58:15 +0200	[thread overview]
Message-ID: <82b0c0ea-d266-fd83-2635-9c2b410ebee2@gmail.com> (raw)
In-Reply-To: <68eff13a-7ebf-412e-4181-dcf35f35e60b@gmail.com>

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	other threads:[~2023-05-22  6:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-21 11:56 Pawel Urbanski via ntg-context
2023-05-21 12:08 ` Wolfgang Schuster via ntg-context
2023-05-21 18:39   ` Pawel Urbanski via ntg-context
2023-05-21 20:09     ` Wolfgang Schuster via ntg-context
2023-05-21 20:27       ` Pawel Urbanski via ntg-context
2023-05-22  6:58         ` Wolfgang Schuster via ntg-context [this message]
2023-05-21 16:15 ` Willi Egger via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82b0c0ea-d266-fd83-2635-9c2b410ebee2@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=wolfgang.schuster.lists@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).