[NTG-context] XML-lookahead
Sjoerd Siebinga
sjoerd.lists at gmail.com
Sun Aug 27 14:50:34 CEST 2006
Hi all,
Is it possible to use something like \doifnextcharelse for xml-
environments or is there a clever work-around? I need to know what
the next tag is in order to decide if a linebreak needs to be inserted.
For example:
\defineXMLenvironment [av] {} {} % linebreak unless followed by
<liste>-tag
\defineXMLenvironment [liste] {} {\crlf} % always a linebreak
\startXMLdata
<av> text </av> <liste> 15 </liste> <!-- \crlf -->
<av> text </av> <!-- \crlf -->
\stopXMLdata
Regards,
Sjoerd
More information about the ntg-context
mailing list