TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The following code works and produces a mailto link within a pdf document. However, when opened with Adobe Acrobat, the link becomes file:///path/to/document/%22mailto:foo@bar.abc%22.

\documentclass{article}
\usepackage{hyperref}
\begin{document}
\href{"mailto:foo@bar.abc"}{Broken Link!}
\end{document}

Is there a way within LaTeX to encode mailto links to be more compatible with Adobe?

share|improve this question
up vote 6 down vote accepted

Don't quote your URL:

\href{mailto:foo@bar.abc}{Good Link!}
share|improve this answer
    
Aha. Simple and obvious, so of course I spent forever trying to figure it out. Thanks! – Jonny Feb 2 '13 at 1:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.