[texhax] \url with space (%20)

Sharon Baker grover2 at asu.edu
Thu Feb 12 07:23:12 CET 2009


Hello guys,

I'm new to this email list.  I looked in the archives and found  
related topics, but not the answer I'm looking for:

To write my thesis I'm using apacite and BibTeX.  In the bib file I  
have a reference that contains a URL and I'm using \url.  My problem  
is that the URL contains a space (which is replaced with "%20" by the  
browser).  We all know that % begins a comment on that line, so in  
order to escape, we use a \ in front of the %.  However, what happens  
to my bib entry is that it ends up printing the \ before the %20 so  
the URL will be invalid when "copy-pasted" from the PDF.  How can I  
not print the escape character '\' in the URL and still print the % 
20?  I also tried leaving a space between "Alternative" and "methods"  
instead of using the \%20 but the \url package ignored the space and  
merged the two words (which is also inccorect).

This is my entry:

@misc{Ludescher2006,
   title = {The {D}irect {M}ethod},
   author = {Ludescher, Franz},
   year  = {2006},
   howpublished = {Retrieved January 29, 2009, from:
         \url{http://www2.vobs.at/ludescher/Alternative\%20methods/ 
direct_method.htm}\bibnodot{.}}
}

Thanks!

Sharon


More information about the texhax mailing list
https://tug.org/pipermail/texhax/2009-February/011772.html
tug.org
crawl=CC-MAIN-2019-26
3643
application/http; msgtype=response
sha1:K7H4FB3RPXT3KEDGSQTH2WZTRXGD46VQ
<urn:uuid:6536c69b-57bf-45f1-b427-6a8a6322ca66>
2019-06-26T02:39:21Z
91.121.174.77
text/html
sha1:FYG2BVFL7CQW2YXXUW3LLVECCO4NYX2H
<urn:uuid:e457ab4b-95d3-44cb-a374-93b4da334d9a>
https://tug.org/pipermail/texhax/2009-February/011772.html
response
<urn:uuid:787d68fc-d030-40a9-9d17-c8ad70160ff7>
isPartOf: CC-MAIN-2019-26
publisher: Common Crawl
description: Wide crawl of the web for June 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-154-184-81.ec2.internal
software: Apache Nutch 1.15 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/