On Thu, 25 Feb 2010 11:23:04 +0100
Hans Hagen
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
\showlayout
\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 ___________________________________________________________________________________
-- René Bastian www.pythoneon.org www.musiques-rb.org