[NTG-context] the closing bracket (structuring syntax)
Hans Hagen
pragma at wxs.nl
Thu Aug 10 22:44:41 CEST 2006
Steffen Wolfrum wrote:
> Hi,
>
> in XML and alike there is a concept of dedicated start/stop in
> formatting:
>
> <begin heading> ... <end heading >
> <begin footnote> ... <end footnote >
> <begin italic> ... <end italic>
>
> But in ConTeXt/TeX we have always the same closing syntax "}". That
> makes reading the code not easier.
>
> Is there a workaround to define the closing more precisely (like the
> examples above),
> so that finding a "}" in a ConTeXt source lets me distinguish what
> it's about?
>
> But in such a way that the file still can be processed as a regular
> ConTeXt file?
>
its' no problem to define most commands as start/stop, however keep in
mind that some start/stop constructs (like tables) pick up pieces in
order to store them
so, if some commands need start/stop variants ... just make me a list
and we'll see what we can do about it
Hans
-----------------------------------------------------------------
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
-----------------------------------------------------------------
More information about the ntg-context
mailing list