[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  
\defineXMLenvironment [liste] {} {\crlf} % always a linebreak


<av> text </av> <liste> 15 </liste>  <!-- \crlf -->

<av> text </av>  <!-- \crlf -->




More information about the ntg-context mailing list