[NTG-context] inside and outside margins (vs. 'left' and 'right' margins)

James Fisher jameshfisher at gmail.com
Sat Apr 9 23:26:15 CEST 2011


On Sat, Apr 9, 2011 at 10:11 PM, Aditya Mahajan <adityam at umich.edu> wrote:

> On Sat, 9 Apr 2011, Henning Hraban Ramm wrote:
>
>
>> Am 2011-04-09 um 22:26 schrieb James Fisher:
>>
>>  I want to define 'inside' and 'outside' margins (i.e. left and right
>>> pages are symmetrical, not the same).  Reading the document
>>> 'co-pagedesign.pdf', ConTeXt talks about 'left' and 'right' margins (and
>>> other measurements). At first I thought this must be either a
>>> 'representative' left or right page (the diagram on page 3 doesn't say
>>> which), but experimenting suggests that there really is no concept of left
>>> and right pages here (despite the incredible detail that the document goes
>>> into on arranging pages etc which must understand this).
>>>
>>> In short this is a basic requirement.  How do I solve it?
>>>
>>
>> As stated on http://wiki.contextgarden.net/Layout :
>> "You define always a right page; if you use a double page layout 'right'
>> and 'left' values are mirrored on a left page."
>>
>
> A concerete example:
>
> \setuplayout
>    [backspace=5cm,
>     cutspace=2cm,
>     leftmargin=4cm,
>     rightmargin=1cm,
>     width=middle]
>
> \setuppagenumbering[alternative=doublesided]
>
> \showframe
>
> \starttext
> \dorecurse{8}{Page \recurselevel \page}
> \stoptext


Aha, so this works -- thanks Aditya.  Although it seems strange that this is
hidden under 'page numbering' which (I would say) is nothing to do with page
margins!

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110409/50c4b9ca/attachment.html>


More information about the ntg-context mailing list