![](https://secure.gravatar.com/avatar/9e281d78eedf8cad94cbe3899ef91dc4.jpg?s=120&d=mm&r=g)
i saw it once in the documentation but i dont find
it again now.
How can i make a mailaddress clickable in the pdf file?
Kind regards,
--
Jonas Stein
![](https://secure.gravatar.com/avatar/a5c08a43051c146e1e17a5e4e7d052f4.jpg?s=120&d=mm&r=g)
Hi Jonas, in context the hyperlink stuff is called “interaction”. On 2010-12-03 <19:56:50>, Jonas Stein wrote:
i saw it once in the documentation but i dont find it again now.
* http://wiki.contextgarden.net/url * http://wiki.contextgarden.net/Interaction
How can i make a mailaddress clickable in the pdf file?
The following should call a gui mua from your pdf reader but as I am not using one i couldn’t test if things like setting the subject &c. will work as well. ···8<···························································· \setupinteraction[state=start] \useurl [mymail] [mailto:chairman@example.com] [] [beloved boss] \starttext Send your spam to the \from[mymail]! \stoptext ···8<···························································· Hope this helps, Philipp
Kind regards,
-- Jonas Stein
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
![](https://secure.gravatar.com/avatar/9e281d78eedf8cad94cbe3899ef91dc4.jpg?s=120&d=mm&r=g)
\setupinteraction[state=3Dstart] \useurl [mymail] [mailto:chairman@example.com] [] [beloved boss]
\starttext Send your spam to the \from[mymail]! \stoptext Hope this helps, Philipp
Yes, it works fine.
I added it into the wiki with some words that can be found
if one uses the search engine.
http://wiki.contextgarden.net/url#E-Mail_mailto
kind regards,
--
Jonas Stein
![](https://secure.gravatar.com/avatar/af13db75aa1c24fee635c74fecf93090.jpg?s=120&d=mm&r=g)
Hello Jonas, here are any link examples: \def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]} \def\ahref#1{\color[linkcolor]{\ttx \href{#1}{<#1>}}} \def\fullahref#1{\color[linkcolor]{\ttx \href{#1}{http://#1}}} \def\mailto#1{\useURL[#1][mailto:#1][][#1]\from[{#1}]} \def\MailTo#1#2{\useURL[#1][mailto:#1][][#2]\from[{#1}]} \def\ctm{\href{http://meeting.contextgarden.net/2010/programme.shtml}{4CM}} \def\te{\href{http://pavel.striz.cz/texperience/}{3TE}} Jaroslav Dne 3.12.2010 19:56, Jonas Stein napsal(a):
i saw it once in the documentation but i dont find it again now.
How can i make a mailaddress clickable in the pdf file?
Kind regards,
![](https://secure.gravatar.com/avatar/9e281d78eedf8cad94cbe3899ef91dc4.jpg?s=120&d=mm&r=g)
Hi Jaroslav,
\def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]} \def\ahref#1{\color[linkcolor]{\ttx \href{#1}{<#1>}}} \def\fullahref#1{\color[linkcolor]{\ttx \href{#1}{http://#1}}} \def\mailto#1{\useURL[#1][mailto:#1][][#1]\from[{#1}]} \def\MailTo#1#2{\useURL[#1][mailto:#1][][#2]\from[{#1}]} \def\ctm{\href{http://meeting.contextgarden.net/2010/programme.shtml}{4CM}} \def\te{\href{http://pavel.striz.cz/texperience/}{3TE}}
These are handy snippets. Thank you.
--
Jonas Stein
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 03.12.2010 um 19:56 schrieb Jonas Stein:
i saw it once in the documentation but i dont find it again now.
How can i make a mailaddress clickable in the pdf file?
\setupinteraction[state=start] \starttext \goto{Email}[url(mailto:max@mustermann.de)] \stoptext Wolfgang
participants (4)
-
Jaroslav Hajtmar
-
Jonas Stein
-
Philipp Gesang
-
Wolfgang Schuster