From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84896 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: bug in multiple layouts? Date: Fri, 18 Oct 2013 20:30:55 +0200 Message-ID: <1A0271BE-A9B7-47A0-BD57-500D03F125FF@gmail.com> References: <526155BA.2030604@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1382121060 23809 80.91.229.3 (18 Oct 2013 18:31:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2013 18:31:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 18 20:31:05 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VXEpF-0005Js-9V for gctc-ntg-context-518@m.gmane.org; Fri, 18 Oct 2013 20:31:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C966E101EA; Fri, 18 Oct 2013 20:28:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CV6GYksdWdy1; Fri, 18 Oct 2013 20:28:14 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AD268101E3; Fri, 18 Oct 2013 20:28:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 86448101E3 for ; Fri, 18 Oct 2013 20:28:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bHqYA1H2nP5c for ; Fri, 18 Oct 2013 20:28:12 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id A693F101DE for ; Fri, 18 Oct 2013 20:28:12 +0200 (CEST) Original-Received: from mail-ee0-x235.google.com (mail-ee0-x235.google.com [IPv6:2a00:1450:4013:c00::235]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9IIUxgX000418 for ; Fri, 18 Oct 2013 20:30:59 +0200 Original-Received: by mail-ee0-f53.google.com with SMTP id t10so2263447eei.40 for ; Fri, 18 Oct 2013 11:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=1p3JjdGCssUpT6F1V8gW+Ju7NFZ/MGXoN4XD20mwh3E=; b=KXNeL15hM/KVCOkee6/vgMRIJQZEKxda+ZHXVSkHrrOtYO2EaWBjUy8Og5orL92VUC QYUx9fq/9MsKxM5baAq3XrDuwXsnnfrXXYpuVbTzH3cp4kYv7VBhonFnsJLjl17p7Nbs CRgBgn9SGXhqHI365OsrrgC47l7EH8H+3iDdWK5cdStinWeZPqNiI0Qvs23IjYJvTDVz CdffQR6dnQQRcXNFp8lDwUat2kz3lW2MJiCEkyYW4y8FtcMRZ8aHGOF0JYY/C9OEVQAi qp3TIucH22jDPhBnQ+VAI9rbcO8P9xKLe5sNug0UQ/yokstQNwZPkpuiW/LO9RekKN3P ix3A== X-Received: by 10.15.41.3 with SMTP id r3mr66372eev.113.1382121059287; Fri, 18 Oct 2013 11:30:59 -0700 (PDT) Original-Received: from keima.localdomain (x2f24685.dyn.telefonica.de. [2.242.70.133]) by mx.google.com with ESMTPSA id f49sm7694315eec.7.2013.10.18.11.30.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Oct 2013 11:30:58 -0700 (PDT) In-Reply-To: <526155BA.2030604@gmx.es> X-Mailer: Apple Mail (2.1510) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::235; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WKCGuXuM - 4fe18ccd8bc3 - 20131018 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84896 Archived-At: Am 18.10.2013 um 17:37 schrieb Pablo Rodriguez : > Dear list, > = > I have a sample with multiple layouts: > = > \showframe > \setuppagenumbering[alternative=3Ddoublesided, location=3D] > \setuplayout[margin=3D20mm, width=3Dfit, topspace=3D45mm, bottomspace=3D2= 5mm, > height=3Dfit] > \definelayout[shorter][backspace=3D80mm, cutspace=3D20mm, topspace=3D110m= m, > bottomspace=3D30mm] > \setuplayout[shorter] > \setuplayout[reset] > \definelayout[1][shorter] > \definelayout[2-last][reset] > \starttext > \dorecurse{20}{\input knuth\par} > \stoptext > = > I found two issues: the first lines on the second page have the margin > from previous page, and from the third page text doesn=92t reach the page > bottom. > = > Am I missing something or have I found a bug? 1. reset is a keyword for \setuplayout (single argument version) and not a = name for a predefined layout 2. You can=92t define layouts for page ranges (e.g. 2-last), only page numb= ers (e.g. 2,5, or -3), names (e.g. mylayout) and keywords (e.g. first, last= , odd and even) are possible. 3. The width of a paragraph is fixed and tex doesn=92t changed the width of= the part which is moved to the next page (there are a fix tricks to work a= round this limitation but they work only when you have a text only document= ). 4. TeX has its limitations and you have to live with them, with LuaTeX ther= e are ways to get rid of a few of them but it takes time to write the neces= sary code Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________