From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44326 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: switching (named) layouts? Date: Fri, 26 Sep 2008 13:36:15 +0200 Message-ID: References: <48DCC448.5070100@jhnet.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222429311 21821 80.91.229.12 (26 Sep 2008 11:41:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2008 11:41:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 26 13:42:47 2008 connect(): Connection refused 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 lo.gmane.org with esmtp (Exim 4.50) id 1KjBiZ-0006WH-S7 for gctc-ntg-context-518@m.gmane.org; Fri, 26 Sep 2008 13:42:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0AA511FBA8; Fri, 26 Sep 2008 13:41:35 +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 26159-01; Fri, 26 Sep 2008 13:40:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C43671FE88; Fri, 26 Sep 2008 13:36:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 94CC51FE8F for ; Fri, 26 Sep 2008 13:36:58 +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 19766-02-16 for ; Fri, 26 Sep 2008 13:36:18 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by ronja.ntg.nl (Postfix) with ESMTP id 201AD1FDD7 for ; Fri, 26 Sep 2008 13:36:17 +0200 (CEST) Original-Received: by fg-out-1718.google.com with SMTP id l26so1162518fgb.8 for ; Fri, 26 Sep 2008 04:36:17 -0700 (PDT) Original-Received: by 10.86.74.4 with SMTP id w4mr1142023fga.78.1222428977804; Fri, 26 Sep 2008 04:36:17 -0700 (PDT) Original-Received: from ?192.168.2.23? ( [91.41.91.125]) by mx.google.com with ESMTPS id l19sm3334606fgb.7.2008.09.26.04.36.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 26 Sep 2008 04:36:17 -0700 (PDT) In-Reply-To: <48DCC448.5070100@jhnet.nl> X-Mailer: Apple Mail (2.926) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:44326 Archived-At: Am 26.09.2008 um 13:15 schrieb Jelle Huisman: > Hi, > > Is it possible to give a layout definition a name? It would be really > helpful to be able to say \definelayout[name=one][...] > \definelayout[name=two][...] > and then to be able to say: \setuplayout[one] and somewhere else in > the > document \setuplayout[two] > (This would mirror the way it is possible to switch papersizes.) \definelayout[one][..,..=..,..] \definelayout[two][..,..=..,..] \starttext text \page \setuplayout[one] text \page \setuplayout[two] text \page \setuplayout[reset] text \stoptext > Or is there another way to have different collections of \definelayout > settings that can be switched on or off at specific places? What is > the > best approach? Regards, Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________