I've googled this up, and the only apparently relevant tip I see it to
put a whack in front of the underscore. I don't see that it makes any
difference - the following snippets all result in the same pdf for me:
\href{mailto:see\_d\_j...@yahoo.com}{see\_d\_j...@yahoo.com}
\href{mailto:see_...@yahoo.com}{see\_d\_j...@yahoo.com}
Both of them result in a mailto link for "@yahoo.com", which clearly
is not what I want.
How do I get "see_...@yahoo.com" as a mailto link in my latex
compiled into pdf?
I'm using miktex2.8, and winedt 5.6
Thanks for any hints!
\documentclass{article}
\usepackage{underscore,hyperref}
\begin{document}
\href{mailto:see_...@yahoo.com}{see_...@yahoo.com}
\end{document}
works for me.
--
Joseph Wright
Aargh. I was able to get it to work by hitting the "pdftexify" button,
rather than texify button followed by the dvi->pdf button.
I guess now would be a good time for me to figure out what the
difference is.
Thanks for looking!
-sff
> Aargh. I was able to get it to work by hitting the "pdftexify" button,
> rather than texify button followed by the dvi->pdf button.
>
> I guess now would be a good time for me to figure out what the
> difference is.
The dvi->pdf button probably calls dvipdfm(x). You must tell
hyperref that you are using this driver by adding the correct driver
option (see manual) e.g. \usepackage[dvipdfmx]{hyperref}. As a
default hyperref assumes that dvips is used if you are producing a
dvi first.
--
Ulrike Fischer
Thanks for the hint.
http://www.tug.org/applications/hyperref/manual.html#x1-70003.3
I'll look up the differences between the drivers on my own - your
remark was plenty to get me started.
Thanks again!
Howdy,
I used pdflatex with the command
\href{mailto:see...@yahoo.com}{see\_d\_d...@yahoo.com}
(note that the mailto: has _ directly while the printed part has the \_
commands.\) and it worked fine.
Good Luck,
Herb Schulz