## LaTeX forum ⇒ Document Classes ⇒ url package doesn't like tildes and underscores?

Information and discussion about specific document classes and how to create your own document classes.
yostsa
Posts: 11
Joined: Sat Apr 12, 2008 8:04 pm

### url package doesn't like tildes and underscores?

I'm trying to use web links in a document I'm prepping for an IEEE journal. The URLs show up ok in the PDF output with PDFLaTeX, but the links don't work. Here's a test file to demonstrate. testurl2.pdf (attached) is what I get.

\documentclass{IEEEtran}
\usepackage{url}

\begin{document}
\url{http://mme.uwaterloo.ca/~mechatro/}

\end{document}

I thought maybe it was related to the IEEE document class, so I tried the following, with output as shown on testurl.pdf (attached):

\documentclass{article}
\usepackage{url}

\begin{document}
\url{http://mme.uwaterloo.ca/~mechatro/}

\end{document}

This time the links don't even seem to be formed, as nothing pops up when I hover over the URLs.

Any ideas? Thanks!
Attachments
testurl2.pdf
testurl.pdf
-- Sandy

Stefan Kottwitz
Posts: 9434
Joined: Mon Mar 10, 2008 9:44 pm
Ho yostsa,

it will work if you use the hyperref package.

Stefan