ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Margins using 2UP imposition schema
@ 2024-09-14 17:08 Angel M Alganza
  2024-09-14 21:04 ` [NTG-context] " Thomas A. Schmitz
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Angel M Alganza @ 2024-09-14 17:08 UTC (permalink / raw)
  To: ntg-context

Hello:

I'm composing an A5 booklet printed on an A4 paper using the 2UP 
imposition schema.  I believe, in such case, margins should be 
controlled using 'backspace' and 'cutspace' options of the \setuplayout 
command, but I'm afraid I don't quite understand how to use those 
properl.  I want to make the 'external' margin (right on odd pages and 
left on even pages) as small as possible, and the 'internal' margin 
larger, so that I can hole punch the booklet.

I believe, in such case, margins should be controlled using 'backspace' 
and 'cutspace' options of the \setuplayout command, but I'm afraid I 
don't quite understand how to use those properly.  Here's a minimal 
example:

\setuppapersize[A5][A4]
\setuparranging[2UP,rotated]
\setuplayout
[topspace=13pt,
backspace=30pt,
cutspace=-20pt,
width=fit,
height=fit,
header=0pt,
footer=0pt]
\setuppagenumbering[state=stop]
\setupbodyfont[small]
\starttext
\dorecurse{20}{\input tufte \vskip 1em}
\stoptext

I wonder how I could reduce the left margin and increase the left one on 
the even pages.

Any pointers, please?

Thank you so much in advance.
Ángel
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: Margins using 2UP imposition schema
  2024-09-14 17:08 [NTG-context] Margins using 2UP imposition schema Angel M Alganza
@ 2024-09-14 21:04 ` Thomas A. Schmitz
  2024-09-15 10:37 ` Wolfgang Schuster
  2024-09-16 12:15 ` Willi Egger
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas A. Schmitz @ 2024-09-14 21:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 9/14/24 19:08, Angel M Alganza wrote:
> I wonder how I could reduce the left margin and increase the left one on 
> the even pages.
> 
> Any pointers, please?
> 
> Thank you so much in advance.
> Ángel

You need to tell ConTeXt that you want to have a doublesided layout. 
This is achieved with

\setuppagenumbering [alternative=doublesided]

You can (and should) read about it in the wiki: 
https://wiki.contextgarden.net/Page_Layout#Defining_the_layout

Best

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

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: Margins using 2UP imposition schema
  2024-09-14 17:08 [NTG-context] Margins using 2UP imposition schema Angel M Alganza
  2024-09-14 21:04 ` [NTG-context] " Thomas A. Schmitz
@ 2024-09-15 10:37 ` Wolfgang Schuster
  2024-09-16 12:15 ` Willi Egger
  2 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2024-09-15 10:37 UTC (permalink / raw)
  To: ama, mailing list for ConTeXt users, Angel M Alganza

Angel M Alganza schrieb am 14.09.2024 um 19:08:
> Hello:
>
> I'm composing an A5 booklet printed on an A4 paper using the 2UP 
> imposition schema.  I believe, in such case, margins should be 
> controlled using 'backspace' and 'cutspace' options of the 
> \setuplayout command, but I'm afraid I don't quite understand how to 
> use those properl.  I want to make the 'external' margin (right on odd 
> pages and left on even pages) as small as possible, and the 'internal' 
> margin larger, so that I can hole punch the booklet.
>
> I believe, in such case, margins should be controlled using 
> 'backspace' and 'cutspace' options of the \setuplayout command, but 
> I'm afraid I don't quite understand how to use those properly.  Here's 
> a minimal example:
>
> \setuppapersize[A5][A4]
> \setuparranging[2UP,rotated]
> \setuplayout
> [topspace=13pt,
> backspace=30pt,
> cutspace=-20pt,
> width=fit,
> height=fit,
> header=0pt,
> footer=0pt]
> \setuppagenumbering[state=stop]
> \setupbodyfont[small]
> \starttext
> \dorecurse{20}{\input tufte \vskip 1em}
> \stoptext
>
> I wonder how I could reduce the left margin and increase the left one 
> on the even pages.
>
> Any pointers, please?

Create a normal document without imposition in A5 and use afterwards the 
arrange extra to produce your booklet.

You can get a short information block with an example when you write

     context --extras=arrange

in the terminal.

Wolfgang

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

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: Margins using 2UP imposition schema
  2024-09-14 17:08 [NTG-context] Margins using 2UP imposition schema Angel M Alganza
  2024-09-14 21:04 ` [NTG-context] " Thomas A. Schmitz
  2024-09-15 10:37 ` Wolfgang Schuster
@ 2024-09-16 12:15 ` Willi Egger
  2 siblings, 0 replies; 4+ messages in thread
From: Willi Egger @ 2024-09-16 12:15 UTC (permalink / raw)
  To: ama, mailing list for ConTeXt users

Angel,

I used a lot of impositioning in the past. 

If you want to have small white space at the outer edge, then do not use width=fit. Control the inner whitespace with backspace=… Then calculate the width of the textarea you want and set this value in width=... There is no need to use cutspace in your approach.

Willi
> On 14 Sep 2024, at 19:08, Angel M Alganza <ama@ugr.es> wrote:
> 
> Hello:
> 
> I'm composing an A5 booklet printed on an A4 paper using the 2UP imposition schema.  I believe, in such case, margins should be controlled using 'backspace' and 'cutspace' options of the \setuplayout command, but I'm afraid I don't quite understand how to use those properl.  I want to make the 'external' margin (right on odd pages and left on even pages) as small as possible, and the 'internal' margin larger, so that I can hole punch the booklet.
> 
> I believe, in such case, margins should be controlled using 'backspace' and 'cutspace' options of the \setuplayout command, but I'm afraid I don't quite understand how to use those properly.  Here's a minimal example:
> 
> \setuppapersize[A5][A4]
> \setuparranging[2UP,rotated]
> \setuplayout
> [topspace=13pt,
> backspace=30pt,
> cutspace=-20pt,
> width=fit,
> height=fit,
> header=0pt,
> footer=0pt]
> \setuppagenumbering[state=stop]
> \setupbodyfont[small]
> \starttext
> \dorecurse{20}{\input tufte \vskip 1em}
> \stoptext
> 
> I wonder how I could reduce the left margin and increase the left one on the even pages.
> 
> Any pointers, please?
> 
> Thank you so much in advance.
> Ángel
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / 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 : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-16 12:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-14 17:08 [NTG-context] Margins using 2UP imposition schema Angel M Alganza
2024-09-14 21:04 ` [NTG-context] " Thomas A. Schmitz
2024-09-15 10:37 ` Wolfgang Schuster
2024-09-16 12:15 ` Willi Egger

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).