Re: [NTG-context] Acrobat JavaScript in ConTeXt

2011-03-25 Thread Vedran Miletić
Dana 10. ožujka 2011. 14:35 Hans Hagen je napisao/la: > > 1) how to deal with commas in strings? MyAlert{Hello, World} displays only >> Hello. >> > > does {{Hello, World}} work? Unfortunately no. Hyperlink no longer gets created. Vedran

Re: [NTG-context] Acrobat JavaScript in ConTeXt

2011-03-10 Thread Hans Hagen
1) how to deal with commas in strings? MyAlert{Hello, World} displays only Hello. does {{Hello, World}} work? 2) is it possible to get international charcters (such as čćžšđ) in strings? I don't know if javascript does utf -

Re: [NTG-context] Acrobat JavaScript in ConTeXt

2011-03-09 Thread Vedran Miletić
Dana 8. ožujka 2011. 00:29 Hans Hagen je napisao/la: > On 7-3-2011 5:11, Vedran Miletić wrote: > >> Hi, >> >> how can one make a button that does app.alert() in ConTeXt? I tried >> something like this without much luck: >> >> \setupinteraction[state=start] >> >> \starttext >> \goto{Button}[JS(app

Re: [NTG-context] Acrobat JavaScript in ConTeXt

2011-03-07 Thread Hans Hagen
On 7-3-2011 5:11, Vedran Miletić wrote: Hi, how can one make a button that does app.alert() in ConTeXt? I tried something like this without much luck: \setupinteraction[state=start] \starttext \goto{Button}[JS(app.alert{Hello World})] \stoptext Can anyone help? \startJSpreamble MyStuff used

[NTG-context] Acrobat JavaScript in ConTeXt

2011-03-07 Thread Vedran Miletić
Hi, how can one make a button that does app.alert() in ConTeXt? I tried something like this without much luck: \setupinteraction[state=start] \starttext \goto{Button}[JS(app.alert{Hello World})] \stoptext Can anyone help? Regards, Vedran Miletić ___