* \useURL and URL with spaces
@ 2006-03-31 12:18 Tobias Burnus
2006-03-31 12:46 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Tobias Burnus @ 2006-03-31 12:18 UTC (permalink / raw)
Hello,
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?
Tobias
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \useURL and URL with spaces
2006-03-31 12:18 \useURL and URL with spaces Tobias Burnus
@ 2006-03-31 12:46 ` Hans Hagen
2006-03-31 13:17 ` Tobias Burnus
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2006-03-31 12:46 UTC (permalink / raw)
Tobias Burnus wrote:
> Hello,
>
> 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?
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \useURL and URL with spaces
2006-03-31 12:46 ` Hans Hagen
@ 2006-03-31 13:17 ` Tobias Burnus
2006-03-31 15:28 ` Hans Hagen
2006-03-31 15:51 ` Hans Hagen
0 siblings, 2 replies; 5+ messages in thread
From: Tobias Burnus @ 2006-03-31 13:17 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 650 bytes --]
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.)
Tobias
[-- Attachment #2: test.tex --]
[-- Type: application/x-tex, Size: 419 bytes --]
[-- Attachment #3: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \useURL and URL with spaces
2006-03-31 13:17 ` Tobias Burnus
@ 2006-03-31 15:28 ` Hans Hagen
2006-03-31 15:51 ` Hans Hagen
1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2006-03-31 15:28 UTC (permalink / raw)
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.)
>
>
quick patch:
\def\useURL
{\bgroup
\protectlabels
\catcode`\#=\@@other\catcode`\%=\@@other\catcode`\/=\@@other
\catcode`\_=\@@other\catcode`\~=\@@other\catcode`\:=\@@other
\catcode`\ =\@@other
\dodoubleempty\douseURL}
but then you get visible spaces -)
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \useURL and URL with spaces
2006-03-31 13:17 ` Tobias Burnus
2006-03-31 15:28 ` Hans Hagen
@ 2006-03-31 15:51 ` Hans Hagen
1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2006-03-31 15:51 UTC (permalink / raw)
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-03-31 15:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-31 12:18 \useURL and URL with spaces Tobias Burnus
2006-03-31 12:46 ` Hans Hagen
2006-03-31 13:17 ` Tobias Burnus
2006-03-31 15:28 ` Hans Hagen
2006-03-31 15:51 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).