At 08:29 16/09/2003 +0200, you wrote:
Hi experts!
Consider this simple code:

\defineXMLcommand
 [de] {\language[de]}

\defineXMLcommand
 [end]
 {\disableXML}

\starttext
\enableXML
 <de/>
 <anytag anyattrib="Aqq"/>
 Ich liebe ConTeXt!
 <end/>
\stoptext

It cause en ERROR! It happens ONLY for \language[de] neither pl nor en,
nl...

ah ... you suffer from german double quote handling "u -> umlaut"; if you were older you'd probably suffer from the polish active / as well


Add the following to cont-new.tex:

\def\disablelanguagespecifics{\def\installcompoundcharacter##1 ##2{}}

\appendtoks \disablelanguagespecifics \to \everyenableXML

and you can love context again (given that no de switch is done at the outer level). Some day i'll make context dual input mode aware.

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                      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
-------------------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to