[pdftex] Tilde character in url.

John Culleton john at wexfordpress.com
Sat Apr 10 02:43:28 CEST 2010


On Friday 09 April 2010 13:53:17 Thierry Bouche wrote:
> Le vendredi 9 avril 2010 à 20:25:58, John écrivit :
>
>
> JC> In plain pdftex I am typing the following url:
> JC> \url{http://www.tux.org/~milgram/bookland}
> JC> {http://www.tux.org/~milgram/bookland}
>
> JC> The problem is the tilde character.  TeX persists in treating it
> either as JC> an unbreakable space or as an accent over the following
> character.  The tag JC> \tilde only works in math mode and again it
> wants to be on top of the next JC> character.
>
> your \url macro is broken. Have a look at url.sty: it provides a
> working one (and has being doing so for quite some years now). Don't
> be fooled by the .sty name, url.sty works with plain tex and probably
> even with a typewriter.
>
> Th. B.

Well it seems to work with the catcode routine suggested by Reinhard. So I 
will stick to that for the present. But I will keep all these other 
suggestions handy just in case. 

I thank all for their responses. I am learning as I go along. 
-- 
John Culleton
"Create Book Covers with Scribus"
Printable E-book 38 pages $5.95
http://www.scribd.com/doc/24676863/
http://www.booklocker.com/books/4055.html



More information about the pdftex mailing list