At 08:27 PM 3/17/2003 +0100, you wrote:
Hi,
It appears that Context cannot deal with an \index command in the term of a definition list:
\startvariable{sarge\index{sarge}} De groene soldaat \stopvariable
In XML documents this may occur:
<varlistentry> <term>sarge <indexterm significance="normal"> <primary>sarge</primary> </indexterm> </term> <listitem> <para>De groene soldaat</para> </listitem> </varlistentry>
Is it a fundamental problem to enable this in Context? If so I must find other solutions.
\defineXMLenvironmentsave[indexterm][significance=] {\bgroup \defineXMLsave[primary]} {\expanded{\index{\XMLflush{primary}}}% \egroup} Hans (who will look into indexes some day soon; maybe provide an xml mode for them) ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------