That makes sense.

The main thing confusing me on contextgarden is:

   if cutspace == 0pt then
      cutspace = backspace
   end

Which I would guess is meant to allow you to just specify backspace if you want symmetrical margins; but what if we want a 0pt cutspace?

A minor other thing confusing me is the terminology; mainly 'cut' and 'back'.  Are these ConTeXt-specific terms or are they found elsewhere?  'Back' would make more sense to me as 'binding' or 'spine', and the edge referred to as 'cut' is referred to in Wikipedia as the 'fore-edge'.


James

On Tue, Mar 2, 2010 at 11:03 AM, Hans Hagen <pragma@wxs.nl> wrote:
On 25-2-2010 21:17, James Fisher wrote:
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*?

just the space between back- and cutspace

(there's also fit, which takes edges into account as they play a role in interactive documents)

Hans


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