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... Error message is: systems : begin file x at line 8 ! Undefined control sequence. \handlecompoundcharacter ...ndlecompoundcharacter {\dohandlecompoundcharacte... \dodoparseXMLarguments #1->\if #1 >\let \dodoparseXMLarguments \empty \else \... <argument> anyatrib=" Aqq"/ \parseXMLelement ...XMLarguments \rawXMLelement #3 >\fi \or \or \the \everyXM... l.11 <anytag anyatrib="Aqq"/> ? ! Emergency stop. \handlecompoundcharacter ...ndlecompoundcharacter {\dohandlecompoundcharacte... \dodoparseXMLarguments #1->\if #1 >\let \dodoparseXMLarguments \empty \else \... <argument> anyatrib=" Aqq"/ \parseXMLelement ...XMLarguments \rawXMLelement #3 >\fi \or \or \the \everyXM... l.11 <anytag anyatrib="Aqq"/> End of file on the terminal! Any hints? Regards, Pawe/l
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 | 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 -------------------------------------------------------------------------
Hi!
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 :-)
\def\disablelanguagespecifics{\def\installcompoundcharacter##1 ##2{}} \appendtoks \disablelanguagespecifics \to \everyenableXML
That's it
and you can love context again
I just can't stop loving it!
(given that no de switch is done at the outer level). Some day i'll make context dual input mode aware.
Till that time I won't expect that form ConTeXt. Thanks again, Pawe/l
participants (2)
-
Hans Hagen
-
Pawel Jackowski na Onet