From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44324 Path: news.gmane.org!not-for-mail From: Jelle Huisman Newsgroups: gmane.comp.tex.context Subject: switching (named) layouts? Date: Fri, 26 Sep 2008 12:15:20 +0100 Message-ID: <48DCC448.5070100@jhnet.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222428017 17998 80.91.229.12 (26 Sep 2008 11:20:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2008 11:20:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 26 13:21:12 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 1KjBNl-00086p-S8 for gctc-ntg-context-518@m.gmane.org; Fri, 26 Sep 2008 13:21:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 448AF1FE40; Fri, 26 Sep 2008 13:20:04 +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 17817-02-5; Fri, 26 Sep 2008 13:19:10 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A0A101FE0B; Fri, 26 Sep 2008 13:19:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C0A5B1FE09 for ; Fri, 26 Sep 2008 13:19:05 +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 20856-01 for ; Fri, 26 Sep 2008 13:18:23 +0200 (CEST) Original-Received: from smtp1.wsfo.org (smtp1.wsfo.org [208.145.81.51]) by ronja.ntg.nl (Postfix) with ESMTP id 6C7071FE0B for ; Fri, 26 Sep 2008 13:15:25 +0200 (CEST) Original-Received: from mail.link77.net (mail.link77.net [172.22.0.125]) by smtp1.wsfo.org (8.13.1/8.13.1) with ESMTP id m8QBFNqD018233 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 26 Sep 2008 07:15:23 -0400 X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.78 (ClamAV engine v0.93.3) X-ExternalMail: External Original-Received: from [172.17.1.76] (account jelle_huisman@sil.org HELO jelle-macbook.local) by mail.link77.net (CommuniGate Pro SMTP 5.2.5) with ESMTPSA id 194712631 for ntg-context@ntg.nl; Fri, 26 Sep 2008 07:15:23 -0400 User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) X-Scanned-By: MIMEDefang 2.62 on 172.22.0.51 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:44324 Archived-At: 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.) 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? Thanks, Jelle ___________________________________________________________________________________ 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 ___________________________________________________________________________________