Error with XML and JS
Hello, Continuing the ConTeXt exploration with Hans's help: http://www.mail-archive.com/ntg-context@ntg.nl/msg01784.html I'm trying to combine Hans's JS programming with XML processing but an error pops up: %%%%%%%%%%%%%%% javascript : loading script set fld (/Users/gpl/texmf/tex/context/base/java-fld.tex ! Missing \endcsname inserted. <to be read again> \unhbox \leavevmode ->\unhbox \voidb@x \fakeunderscore ->\leavevmode \hbox {\setbox \scratchbox \hbox {(}\scratchdi... \_...fmmode \mathunderscore \else \textunderscore \fi \XML:ent:tex-underscore ...tterunderscore \else \_ \fi \ascii ->Sanitized\getXMLentity {tex-underscore} TeX\getXMLentity {tex-unders... ... l.115 \stopJSpreamble %%%%%%%%%%%%%%% with the attached TeX file. There's some kind of interaction between the two modes. Without \start(stop)XMLdata, it works. Thanks for your time, Gilles, preparing the next demo of ConTeXt in June (Paris). :-)
At 00:56 17/02/2004, you wrote:
Hello,
Continuing the ConTeXt exploration with Hans's help:
http://www.mail-archive.com/ntg-context@ntg.nl/msg01784.html
I'm trying to combine Hans's JS programming with XML processing but an error pops up
at the top of your document say: \useJSscripts[fld] % and/or others this will load the script before xml mode is entered (there are other ways, like usign a different special char regime) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE/POD/CTS 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 -------------------------------------------------------------------------
participants (2)
-
Gilles Pérez-Lambert
-
Hans Hagen