From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30512 Path: news.gmane.org!not-for-mail From: nico Newsgroups: gmane.comp.tex.context Subject: Re: Layout and textwidth/textmargin Date: Sat, 26 Aug 2006 20:45:31 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1156617599 5071 80.91.229.2 (26 Aug 2006 18:39:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 Aug 2006 18:39:59 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 26 20:39:55 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GH34N-0007dQ-5Y for gctc-ntg-context-518@m.gmane.org; Sat, 26 Aug 2006 20:39:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0A5E51FE53; Sat, 26 Aug 2006 20:39:44 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27339-03; Sat, 26 Aug 2006 20:39:37 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 099951FE2E; Sat, 26 Aug 2006 20:39:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A54D21FE2E for ; Sat, 26 Aug 2006 20:39:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27227-03 for ; Sat, 26 Aug 2006 20:39:32 +0200 (CEST) Original-Received: from swip.net (mailfe01.tele2.fr [212.247.154.12]) by ronja.ntg.nl (Postfix) with SMTP id A35501FE2D for ; Sat, 26 Aug 2006 20:39:32 +0200 (CEST) X-T2-Posting-ID: 3brHPWvyEzVNt0QNlxQWsxGJRDYe7rueGgqwO1zxZAg= X-Cloudmark-Score: 0.000000 [] Original-Received: from [83.179.147.240] (HELO localhost) by mailfe01.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 244491367 for ntg-context@ntg.nl; Sat, 26 Aug 2006 20:39:31 +0200 Original-To: "mailing list for ConTeXt users" In-Reply-To: User-Agent: Opera M2/7.54 (FreeBSD, build 955) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:30512 Archived-At: On Thu, 24 Aug 2006 20:37:46 +0200, nico wrote: > Hello, > > I wonder if it is possible to setup a layout with these requirements: > > - it can be doublesided, that is, when doublesided the left margin (LM) > and right margin (RM) are different and mirrored on right/left pages. > > - the headings (section, etc.) start just after the left margin. > > - the text body has an extra left text margin (TM) that is not mirrored. > > Here is an example of the expected output in doublesided mode: > > Left Page: > LM TM RM > |<--7--><-- 8--> <-5->| > | 1. This is a Title | > | | > | This is the text body | > | that has a bigger left | > | margin. | > > Right Page: > > RM TM LM > |<-5-><-- 8--> <--7-->| > | The test continues on | > | This page. | > | | > | 2. Another Title | > | | Well, I start from the beginning with odd/even layout setting, and the following does not work. The behaviour I see is that only the odd setting is used. What is wrong in there? \definelayout[odd] [width=middle, backspace=7cm, cutspace=5cm] \definelayout[even] [backspace=8cm, cutspace=2cm, width=middle] \setuplayout %\showlayout \starttext \dorecurse{4}{ \section{Hello} \input knuth \endgraf \subsection{Sub Hello} \input tufte \endgraf} \stoptext Regards, BG