On 01/01/2012 02:46 PM, Khaled Hosny wrote:
On Sun, Jan 01, 2012 at 02:26:39PM +0100, Pablo RodrÃguez wrote:
Hi there,
I have the following sample:
\define[1]\url{\goto{\hyphenatedurl{#1}}[url(#1)]} \starttext \url{http://buscon.rae.es/dpdI/SrvltGUIBusDPD?lema=puntos\%20suspensivos} \stoptext
in which I try to escape %, but using the above approach I also get the \ printed.
Which is the proper way to do it? (Not replacing %20 with a blank space.)
I use \asciimode which leaves only 3 special characters \ { }, and the rest (including # and %) can be used normally. But then, your \define should be before \asciimode or moved to environment file. %% can be used as comment char.
Thanks for your reply, Kahled. Typing \asciimode after \starttext does the job. Thank again, Pablo -- http://www.ousia.tk