From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30487 Path: news.gmane.org!not-for-mail From: nico Newsgroups: gmane.comp.tex.context Subject: Layout and textwidth/textmargin Date: Thu, 24 Aug 2006 20:37:46 +0200 Message-ID: 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 1156444332 29658 80.91.229.2 (24 Aug 2006 18:32:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Aug 2006 18:32:12 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 24 20:32:07 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 1GGJzb-00048t-27 for gctc-ntg-context-518@m.gmane.org; Thu, 24 Aug 2006 20:31:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5F1191FF36; Thu, 24 Aug 2006 20:31:50 +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 17404-06; Thu, 24 Aug 2006 20:31:44 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 245B41FF1F; Thu, 24 Aug 2006 20:31:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A47091FF1F for ; Thu, 24 Aug 2006 20:31:40 +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 17416-06-2 for ; Thu, 24 Aug 2006 20:31:38 +0200 (CEST) Original-Received: from swip.net (mailfe03.tele2.fr [212.247.154.76]) by ronja.ntg.nl (Postfix) with SMTP id EBBB81FF14 for ; Thu, 24 Aug 2006 20:31:36 +0200 (CEST) X-T2-Posting-ID: 3brHPWvyEzVNt0QNlxQWsxGJRDYe7rueGgqwO1zxZAg= X-Cloudmark-Score: 0.000000 [] Original-Received: from [80.170.115.92] (HELO localhost) by mailfe03.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 269628240 for ntg-context@ntg.nl; Thu, 24 Aug 2006 20:31:35 +0200 Original-To: ntg-context@ntg.nl 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:30487 Archived-At: 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 | | | For singlesided documents I can play with a setup like this (the margindistances should be taken into account too): \setuphead[section][margin=-TM] \setuplayout[leftmargin=TM+LM, rightmargin=RM, backspace=TM+LM, width=\paperwidth-(RM+TM+LM)] For doublesided documents I thought about using textwidth or textmargin, but in this case the text margin is applied on left and right (the text is in the middle). Should I play with other setup parameters? What is the best way to achieve this? Thanks for any hint, Regards, BG