On Mon, Nov 14, 2011 at 03:42, Aditya Mahajan <adit...@umich.edu> wrote:

> Why not simply:
>
> \def\href#1#2{\goto{#2}[url(#**1)]}
>
> Or did I miss something?


I use this:

% Define \Site[id][url]{description} to put in a clickable link

% with footnoted URL

\def\Site[#1][#2]#3{\useURL[#1][#2][][#3]\from[#1]\footnote[#1]{\tt\hyphenatedurl{#2}}}

That way people reading PDFs on a computer can click the site name in the
text to go there, and not have to see a URL; those with printed copies can
look at the footnote at the bottom of the page to find the URL and type it
in.


mathew
-- 
<URL:http://www.pobox.com/~meta/>
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to