From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10759 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: Lost in the murky detail of designing a page layout Date: Wed, 05 Feb 2003 10:24:58 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030205102342.031bb0f8@server-1> References: <87wukg5qi1.fsf@gundla.ch> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1044438895 32524 80.91.224.249 (5 Feb 2003 09:54:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2003 09:54:55 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18gMGc-0008SS-00 for ; Wed, 05 Feb 2003 10:54:54 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 343B510B70; Wed, 5 Feb 2003 10:56:52 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 6C73610B6D for ; Wed, 5 Feb 2003 10:55:56 +0100 (MET) Original-Received: from server-1.pragma-ade.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id h159tqSn008894 for ; Wed, 5 Feb 2003 10:55:52 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-ade.nl (8.12.2/8.12.2) with ESMTP id h159tsgg029557 for ; Wed, 5 Feb 2003 10:55:54 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:10759 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10759 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------