Hi Hans,

Thanks for the reply -- and sorry for the rather grumpy way in which I posed
the question.  The problem for me was this mysterious "width=middle",
"height=middle" -- this is fairly undocumented at
http://wiki.contextgarden.net/Layout .  There is a mention of
"width=middle", but it's just followed by some code, most of which seems to
be irrelevant ("if cutspace == 0pt then cutspace = backspace; end"), and
there is no mention of "height=middle".  I would be more than willing to
document this myself, but what is it that "width=middle" actually *does*?
And what does "middle" actually *mean* -- the middle of *what*?


James

On Thu, Feb 25, 2010 at 10:23 AM, Hans Hagen <pra...@wxs.nl> wrote:

> 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<http://wiki.contextgarden.net/Layoutdoesn%27t>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
> -----------------------------------------------------------------
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to