Pawel Urbanski via ntg-context schrieb am 21.05.2023 um 13:56:
Dear Friends,
I played wih hte setup and read the posts on the list. Apparently the
mechanism for setting different margins can be confusing at times. At
least, it is for a beginner.
I want to create 2 versions of my book:
Version 1: Goes to printing with different inner and outer margins due
to binding and so on,
Version 2: Can be downloaded and the left and right margins are equal
size.
I want ot keep the 6x9 size of a page, which is: 432x648pt. The sum of
margins in both cases is 120pt. It leaves 312pt for the text content.
When I do hte following:
\setuplayout[
alternative=doublesided, width=fit, height=fit,
leftmargin=60pt, leftmargin=60pt, ...]
The makeup width and text width is calculated as 472pt and the margin
appears to be set just on one side.
I set both cutspace and backspace to 0pt. I assumed that either value
is a particular area of the page.
Has any one of you handled such a case? I'll be very glad to get some
directions.
I can create a simple document with modes or documents to illustrate
my case if needed...
The example below sets the correct margins for the download version.
You use the backspace key to set the value for the inner/left margin and
the width key for the textwidth.
\definepapersize [pawel] [width=432pt,height=648pt]
\setuppapersize [pawel]
\setuplayout
[backspace=60pt,
width=312pt]
\starttext
\showlayout
\stoptext
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
___________________________________________________________________________________