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
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
\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
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,
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
participants (4)
-
Jaroslav Hajtmar
-
Jonas Stein
-
Philipp Gesang
-
Wolfgang Schuster