On Mon, Dec 8, 2008 at 2:32 AM, Hans Hagen <[EMAIL PROTECTED]> wrote:
> Taco Hoekwater wrote:
>> Zhichu Chen wrote:
>>> Hi,
>>>
>>> I've searched the list and it seems that no one has been occurred
>>> to my problem.
>>>
>>> Has the javascript interface gone? 'cause I failed the following
>>
>> No, just bugged. Hans ran into that himself yesterday, actually.
>> I cannot look up the actual fix from here, but it comes down to
>> a pretty simple catcode mixup. Hans will probably post it sometime
>> tomorrow.
>
> \def\presetJSpreamble
>   {\ifx\allJSpreambles\empty\else
>      \bgroup
>      \setverbosecscharacters
>      \obeyspaces \let\obeyedspace\normalspace
>      \def\par{\delcharacter}% was: { }
>      \globallet\JSpreamble\empty
>      \def\@@collectedJSpreamble{\r!java\r!java collected}%
>      \letvalue{\@@collectedJSpreamble}=\empty
>      \def\docommand##1%
>        {\xdef\JScode{\getvalue{\r!java\r!java##1}}%
>         \ifoneJSpreamble % \global\letcdcsname
>           [EMAIL PROTECTED]@EA\@@[EMAIL PROTECTED]
>             {\csname\@@collectedJSpreamble\endcsname\JScode}%
>         \else
>           \setxvalue{\r!java\r!java##1}{\JScode}%
>         \fi}%
>      \processcommacommand[\allJSpreambles]\docommand
>      \ifoneJSpreamble
>        \gdef\allJSpreambles{collected}%
>      \fi
>      \globallet\presetJSpreamble\relax
>      \egroup
>    \fi}
>

Thanks, it works now.
>
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>



-- 
Best Regards
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to