[NTG-context] \useURL and URL with spaces

Hans Hagen pragma at wxs.nl
Fri Mar 31 17:51:46 CEST 2006


Tobias Burnus wrote:
> Hello,
>
> Hans Hagen schrieb:
>   
>>> I have an URL with spaces ("foo.cgi?opt=my options with spaces"). The
>>> URL link is ok ("\goto[url(...)]"), but the typeset URL (\url[...])
>>> misses all the spaces.
>>> This is with 2006.03.23 09:57.
>>> Any idea how to fix this?  
>>>     
>>>       
>> can you make a small example file? 
>>   
>>     
> Yes. Attached. It works ok, if you click on the link. But if you copy &
> paste the link  or read and type the link, you miss the spaces.
>
> Expected (for first case "test"):
>    "http://t.org/my test case.html"
> Got:
>    "  http://t.org/mytestcase.html"
> thus all spaces got eaten up. (In additon I have a space in front of the
> URL.)
>   
i'll send you a patch ; 

btw, then try your example with 

\setupurl[space=yes]

(adds stretch between brekable parts; old feature] 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list