On 4-7-2012 00:51, Peter Münster wrote:
Hi,
Say I want Tufte in 2 columns and Knuth in 1 column:
--8<---------------cut here---------------start------------->8---
\starttext
\startcolumns[n=2]
\startsection[title=Tufte]
\input tufte
\stopsection
\startsection[title=Tufte and Knuth]
\input tufte
\stopcolumns
\input knuth % \startcolumns[n=1] knuth \stopcolumns does not work
\startcolumns[n=2]
\input tufte
\stopsection
\stopcolumns
\stoptext
--8<---------------cut here---------------end--------------->8---
It works, but isn't this a bit ugly to mix up the \starts and \stops ?
In XML, that would be wrong.
Is this just the normal ConTeXt way, or is there a cleaner method?
no, mixing this way is asking for troubles, if not now, than maybe in
the future
just use \section
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________