From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: switching (named) layouts?
Date: Fri, 26 Sep 2008 13:36:15 +0200 [thread overview]
Message-ID: <ADE1A952-2F6E-4993-B7B3-FB8401AA73F3@gmail.com> (raw)
In-Reply-To: <48DCC448.5070100@jhnet.nl>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-09-26 11:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-26 11:15 Jelle Huisman
2008-09-26 11:36 ` Wolfgang Schuster [this message]
2008-09-26 11:46 ` Hans Hagen
2008-09-26 12:10 ` Jelle Huisman
2008-09-26 15:17 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ADE1A952-2F6E-4993-B7B3-FB8401AA73F3@gmail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).