[NTG-context] separating layout from content: section blocks?

Mojca Miklavec mojca.miklavec.lists at gmail.com
Wed May 3 19:34:49 CEST 2006


On 5/1/06, Andrew D. Crouse wrote:
> To whom it may concern,
>
> I have a large document with several distinct pieces.  Each piece has
> different layout requirements.  I can setup the layout before each
> piece, but I would prefer to separate the layout from content.
> Currently what is the best way to do this?

I guess that you can use

    \startsetups[somename]
     ... whatever setups you need ...
    \stopsetups

and then recall them by

    \setups[somename]

I first saw the example of usage here, but didn't try them out by myself yet:

http://source.contextgarden.net/tex/context/base/s-mag-01.tex
http://www.pragma-ade.com/general/magazines/mag-0000.pdf


Mojca


More information about the ntg-context mailing list