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
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 -----------------------------------------------------------------
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
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 -----------------------------------------------------------------
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Tobias Burnus