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

When I use the amsart class and run LaTeX => PDF, the email macro produces strange output. Namely, the PDF shows an incomplete mailto. For example:




In the output, the first link points to b@c.d and the second to @c.d. Interestingly, when I run LaTeX => PS => PDF, both links are correct. How do I fix this?

This question is similar to email adress renders incomplete mailto in PDF. However, unlike in that case, I want to use the \email macro, or at least to simulate the behavior of \email in the amsart class (e.g., I want e-mail addresses to appear at the end of the article, etc.).

share|improve this question

closed as too localized by cmhughes, Harish Kumar, Werner, lockstep, Stefan Kottwitz May 11 '12 at 16:13

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Alas and it works fine for me with pdflatex. My amsart version is Document Class: amsart 2009/07/02 v2.20.1. What is yours? – Harish Kumar May 9 '12 at 16:25
works fine for me, I think an update of your distribution is in order... – cmhughes May 9 '12 at 16:55
The .log file says, "Document Class: amsart 2009/07/02 v2.20.1", but the behavior persists. Shall I post the .log file? – Andrew Uzzell May 9 '12 at 17:58
If I say \usepackage{hyperref} and then \email{\href{mailto:a.b@c.d}{a.b@.c.d}}, the mailto: links are created. What precisely are you trying to achieve? – egreg May 9 '12 at 18:00
@egreg That does the trick. Thank you. – Andrew Uzzell May 9 '12 at 18:32
up vote 4 down vote accepted

You have to load hyperref, of course. Then the following works:




One might redefine \email, but it seems overkill.

share|improve this answer

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