[texhax] \url{a.b at c.d} produces mailto b at c.d link
Samuel Lelievre
samuel.lelievre.tex at free.fr
Fri Aug 18 23:19:22 CEST 2006
Hello,
Has any one here come across this behaviour of the
url package: \url{a.b at c.d} produces mailto b at c.d link.
Sample and more details below.
Samuel
-----
%&pdflatex
\documentclass[a4paper,12pt]{article}
\usepackage{geometry}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{url}
\geometry{margin=2cm}
\begin{document}
{\Large
\centerline{\bfseries
An error in \texttt{mailto} links with the package \texttt{url}
}
}
\bigskip
\bigskip
I usually enclose email addresses in a \url{\url{}} declaration in a
tex file. When I open the resulting pdf file in Adobe Reader, and
mouse over the email address, the cursor changes and indicates a
\url{mailto} link, which would be very useful, were it not that the
link is often faulty: an address of the form \url{aaa.bbb at xxx.yz}
gives a link to \url{bbb at xxx.yz} with the initial `\url{aaa.}'
missing.
Is this a known (solved?) bug?
Is the mailto link created by \LaTeX\ or by Adobe Reader?
\bigskip
Here is an example:
\begin{quote}
Alpha Bravo \url{alpha.bravo at charlie.de}
\end{quote}
This produces the following link: \url{mailto:bravo at charlie.de}.
\end{document}
More information about the texhax
mailing list