At 04:07 PM 2/5/2003 +0800, you wrote:
Thanks Patrick for the example.  It's a start (the A4 typesetting area
looks good).  Now I need to flesh out some of the details.  If I
explain how I'd go about it using Hans diagram on pg 30 of the english
ConTeXt manual, maybe I'll make myself clearer (well at least clearer
than my initial correspondence).
mainly a matter of calculating, like:

1) define A4 typesetting area

   width  = 2.5 times the length of the lowercase alphabet in
            the default font -- lucida-bright at 12pt

   height = golden-ratio times width

   this is the inclusive area header + text + footer.
\setbox\scratchbox\hbox{\dorecurse{26}{\character\recurselevel}}

\def \MyRatio {1.5}
\edef\MyWidth {\the\dimexpr(2.5\wd\scratchbox)}
\edef\MyHeight{\the\dimexpr(\MyRatio\wd\scratchbox)}

\setuplayout
  [height=\MyHeight,
   width=\MyWidth]

\showframe

\starttext

\input tufte

\stoptext
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                       information: http://www.pragma-ade.com/roadmap.pdf
                    documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to