Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When I put \email{e.xmaple@example.com} in a LaTeX document the resulting PDF shows the email address correct, but the link points to .xample@example.com. de character before the dot gets left off. How do I fix this? (I'm a newbie at LaTeX.)

share|improve this question
6  
I don't know what package or class you're using that provides the \email command. But you've apparently found a bug in it. It would be good to contact the package/class developers. –  Matthew Leingang Jan 18 '11 at 15:27
    
@Matthew Leingang \usepackage{} was used to get \email{} or \email*{}. I'm using MiTeX/TeXNiCcenter 1.0 stable RC1 and it showed up in the suggestions. –  norbertB Jan 19 '11 at 8:32
    
That means you used a package, but which? What do you have inside \documentclass{} and your \usepackage{} commands? –  Matthew Leingang Jan 19 '11 at 14:00
add comment

1 Answer

up vote 15 down vote accepted

Try this:

\documentclass{article}
\usepackage{hyperref}
\begin{document}
\href{mailto:e.xmaple@example.com}{\nolinkurl{e.xmaple@example.com}}
\end{document}
share|improve this answer
    
I don't think you need the \nolinkurl command here. What does it do? –  Alan Munn Jan 18 '11 at 16:13
    
@Alan Munn You are right it is not needed to create the link. I just use it to ensure that the typesetting is right. Try it with and without and you will observe the difference. –  Yiannis Lazarides Jan 18 '11 at 16:43
    
@Yiannis I see. I generally like links in hrefs to match my text font, but I can see in this case why you might want a monofont there. –  Alan Munn Jan 18 '11 at 17:39
    
@Yiannis Lazarides Thank it works ok. I need to alter te style of this mailto-link. A turqouise box is drawn arround it. any suggestion how to get rid of that. As I said I'm a newbie. –  norbertB Jan 19 '11 at 8:29
1  
@norbert See tex.stackexchange.com/questions/823/… to remove the border. Thanks for accepting the answer. –  Yiannis Lazarides Jan 19 '11 at 9:07
show 1 more comment

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.