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}
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
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: