From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14565 Path: main.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Peter_M=FCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: typearea Date: Mon, 19 Jan 2004 20:06:35 +0100 (CET) Sender: ntg-context-admin@ntg.nl Message-ID: References: <6.0.1.1.2.20040115110819.0331eec0@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1074539496 24678 80.91.224.253 (19 Jan 2004 19:11:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2004 19:11:36 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Jan 19 20:11:27 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aieo3-0003uz-00 for ; Mon, 19 Jan 2004 20:11:27 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id C87BB10AFC; Mon, 19 Jan 2004 20:10:31 +0100 (MET) Original-Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by ref.ntg.nl (Postfix) with ESMTP id 31A2510AF2 for ; Mon, 19 Jan 2004 20:09:35 +0100 (MET) Original-Received: from gaston.free.fr (rennes-1-62-147-97-107.dial.proxad.net [62.147.97.107]) by postfix4-2.free.fr (Postfix) with ESMTP id C3BDD578CF for ; Mon, 19 Jan 2004 20:10:23 +0100 (CET) Original-Received: by gaston.free.fr (Postfix on SuSE Linux, from userid 500) id D75F518742; Mon, 19 Jan 2004 20:06:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by gaston.free.fr (Postfix on SuSE Linux) with ESMTP id 8EEE517524 for ; Mon, 19 Jan 2004 20:06:35 +0100 (CET) X-X-Sender: peter@gaston.free.fr Original-To: ntg-context@ntg.nl In-Reply-To: <6.0.1.1.2.20040115110819.0331eec0@server-1> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: ntg-context@ntg.nl 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:14565 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14565 On Thu, 15 Jan 2004, Hans Hagen wrote: > Since I opt for a more contexty solution i want to follow a stepwise > approach in getting this done. As a start: Thank you, Hans, for your efforts! > \edef\layoutratio{\withoutpt{\the\dimexpr(2\paperheight/(\paperwidth/32768))}} Very strange, it works, but I don't understand how 2 * a / (b / 32768) == a/b > \unprotected \def\layouthfheight > {\dimexpr(\layoutparameter\c!hoofd+\layoutparameter\c!hoofdafstand+ > \layoutparameter\c!voet +\layoutparameter\c!voetafstand )} Ok ok, I'm going to learn Dutch... ;-) > [backspace=\dimexpr((\paperwidth-\layoutwidth)/2), > cutspace=\dimexpr((\paperwidth-\layoutwidth)/2), Do I understand it right, backspace is the inner margin, and cutspace the outer one? Are both needed? Greetings, Peter -- http://pmrb.free.fr/contact/ ------------------------------------ Film Search site: http://f-s.sf.net/