Wolfgang Schuster wrote:
Am 19.04.2009 um 12:53 schrieb Alex Lubberts:
\section is like any other command. All commands take the first
character as parameter.
Not in MkII, it was also possible to use the end of the paragraph as
delimiter.
indeed, and i dropped it in mkiv, where we have:
\chapter [ref] {title}
\chapter {title}
and, when ownnumbers are used:
\chapter [ref] {nr} {title}
\chapter {nr} {title}
and, when structure is wanted (at least that is the idea):
\startchapter [settings] [userdata]
where the first argument sets the title, reference, bookmark, etc and
the second is up to the user who then can request that info; userdata is
carried around also in lists (an example of userdata can be an image
name that is used in typesetting the title as well has to show up in the
toc; examples of usage will show up in due time)
the mkiv mechanism is also more clever in the sense that it deals with
roundtrip xml and such
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________