[NTG-context] Margin terminology -- badly documented, undocumented, or misdocumented

Hans Hagen pragma at wxs.nl
Thu Feb 25 11:23:04 CET 2010


On 25-2-2010 5:39, James Fisher wrote:
> Hi all.
>
>
> I am trying to understand the terminology for the \definelayout and
> \setuplayout commands.
> Unfortunately the documentation at
> http://wiki.contextgarden.net/Layoutdoesn't correspond to the actual
> output I get.
> Nor does the 'documentation' at http://getfo.org/context_xml/page3.html ,
> which the first page recommends.
> More, the two pages seem pretty contradictory.
>
> Consider my situation: I'm trying to set up an A4 page with the following
> margins (I use the term margin to mean the space from the edge of the
> physical paper to the edge of the body text area):
>
> top: 2.97cm
> bottom: 2.97cm
> left: 2.1cm
> right: 2.1cm
>
> For the moment, I don't care at all about header and footer space, nor notes
> in the margins; I'm just trying to get the above margins.
> However, with all conceivable combinations of commands at both of those
> pages, I've been unable to set anything like this up.
>
> Based on the getfo.org page, I should be able to set up these left and right
> margins with:

\setuplayout
  [backspace=2.1cm,
   cutspace=2.1cm,
   width=middle,
   topspace=2.97cm,
   bottomspace=2.97cm,
   height=middle]

\showframe

\starttext

\input tufte

\stoptext


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list