* error \handlecompoundcharacter ...
@ 2003-09-16 6:29 Pawel Jackowski na Onet
2003-09-16 21:13 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Pawel Jackowski na Onet @ 2003-09-16 6:29 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: error \handlecompoundcharacter ...
2003-09-16 6:29 error \handlecompoundcharacter Pawel Jackowski na Onet
@ 2003-09-16 21:13 ` Hans Hagen
2003-09-17 15:48 ` Pawel Jackowski na Onet
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2003-09-16 21:13 UTC (permalink / raw)
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: error \handlecompoundcharacter ...
2003-09-16 21:13 ` Hans Hagen
@ 2003-09-17 15:48 ` Pawel Jackowski na Onet
0 siblings, 0 replies; 3+ messages in thread
From: Pawel Jackowski na Onet @ 2003-09-17 15:48 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-09-17 15:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-16 6:29 error \handlecompoundcharacter Pawel Jackowski na Onet
2003-09-16 21:13 ` Hans Hagen
2003-09-17 15:48 ` Pawel Jackowski na Onet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).