ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Error with XML and JS
@ 2004-02-16 23:56 Gilles Pérez-Lambert
  2004-02-17  9:55 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Gilles Pérez-Lambert @ 2004-02-16 23:56 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]

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). :-)


[-- Attachment #2: xml-js.tex --]
[-- Type: application/x-tex, Size: 2447 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-17  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-16 23:56 Error with XML and JS Gilles Pérez-Lambert
2004-02-17  9:55 ` Hans Hagen

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).