On 7-10-2011 18:24, Charles wrote:
Hi,
I am using the \startsection (\startparagraph ...) to structure my
document and export it to XML. But for all the environments, for each
\startsection I have to put a \stopsection even if I start a new section
right after.
Is it be possible to automatically stop the previous section when a new
one is started in the XML output?
\chapter does something like that behind the screens but using
\startchapter without \stop's is a real bad idea in the perspective of
structure (and unless you have thousands of sections and hardly any text
not saving much typing either)
Hans
-----------------------------------------------------------------
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
___________________________________________________________________________________