[NTG-context] Google Chart URL

Aditya Mahajan adityam at umich.edu
Sat Apr 16 21:23:04 CEST 2011


On Sat, 16 Apr 2011, Wolfgang Schuster wrote:

>
> Am 16.04.2011 um 20:31 schrieb Reviczky, Adam:
>
>> Hi
>>
>> I have problems with special characters in URL's.
>> What I wanted at first place, is embedding a google chart image, so I've tried this:
>>
>> \starttext
>> \externalfigure[{https://chart.googleapis.com/chart?cht=p3&chs=250x100&chd=t:60,40&chl=Hello|World}]
>> \stoptext
>>
>> which fails with:
>> ! Undefined control sequence.
>> system          > tex > error on line 3 in file test.tex: Undefined control sequence ...
>>
>> as far as I can tell it's the "|" symbol where it has problems.
>
> \starttext
> \externalfigure[https://chart.googleapis.com/chart?cht=p3&chs=250x100&chd=t:60,40&chl=Hello\letterbar World][method=png,scale=4000]
> \stoptext

Or better

\asciimode
\starttext
\externalfigure[https://chart.googleapis.com/chart?cht=p3&chs=250x100&chd=t:60,40&chl=Hello|World][method=png]
\stoptext

Aditya


More information about the ntg-context mailing list