Re: [NTG-context] export: graphic url (special chars?)

2011-06-20 Thread Aditya Mahajan
On Mon, 20 Jun 2011, Reviczky, Adam wrote: Further, if the url has a % symbol then the name property stops at that, see: --- \setupbackend[export=test.xml] \enabledirectives[schemes.cleanmethod=md5] \def\googlechart {\begingroup \setcatcodetable\vrbcatcodes \dodoubleempty\dogooglechart}

[NTG-context] export: graphic url (special chars?)

2011-06-20 Thread Reviczky, Adam
You could try (untested) \def\googlechart[#1][#2]% {\externalfigure[#1][...]% \endgroup} Thanks, but it has the same result. \def\dogooglechart[#1][#2]% {\useexternalfigure[googlechart][#1]% \endgroup \externalfigure[googlechart][...]} That screws up the url in the

[NTG-context] export: graphic url (special chars?)

2011-06-19 Thread Reviczky, Adam
Hi The following example results in a broken xml as well: -- \setupbackend[export=test.xml] \starttext \externalfigure[https://chart.googleapis.com/chart?cht=p3chs=250x100chd=t:60,40chl=Hello\letterbar World][method=png,scale=4000] \stoptext --- XML Parsing Error: not well-formed Location: