From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72428 Path: news.gmane.org!not-for-mail From: mathew Newsgroups: gmane.comp.tex.context Subject: Re: url: Add macros to the ConTeXt core Date: Mon, 14 Nov 2011 13:38:56 -0600 Message-ID: References: <1321209489.3396.44.camel@mattotaupa> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1675702272==" X-Trace: dough.gmane.org 1321299550 17178 80.91.229.12 (14 Nov 2011 19:39:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Nov 2011 19:39:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 14 20:39:06 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RQ2Mz-0007Jv-Pp for gctc-ntg-context-518@m.gmane.org; Mon, 14 Nov 2011 20:39:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 48F76CB0DF; Mon, 14 Nov 2011 20:39:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jBe2dhZqE8zX; Mon, 14 Nov 2011 20:39:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1FA8ECB0E5; Mon, 14 Nov 2011 20:39:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08CD8CB0E5 for ; Mon, 14 Nov 2011 20:39:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id U8MZMgu4oteV for ; Mon, 14 Nov 2011 20:38:59 +0100 (CET) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id EB822CB0DF for ; Mon, 14 Nov 2011 20:38:58 +0100 (CET) Original-Received: from mail-iy0-f169.google.com (mail-iy0-f169.google.com [209.85.210.169]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAEJcv4u001062 for ; Mon, 14 Nov 2011 20:38:58 +0100 Original-Received: by iaek3 with SMTP id k3so7224439iae.14 for ; Mon, 14 Nov 2011 11:38:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=u9K5UxWXW72mmsnwDQU8Sqk+/710Cv2axYk7PJ0lA/Q=; b=t/NT2rWr/MDIEV4wJEPX4qO2JIqVY1aIrwPY/da/PINjDe2ULPOTQyO5RSLTTkMulr QUfEzDvWIrb9H7j/mKwkH11IXRm9O0vZ3Mi6PeQvWhDCjE9QdVDy2wQSrUKPP5FvJjwE EG339T27tymNk+HODH1ZBMXNDFsifbPPkcGSA= Original-Received: by 10.42.151.4 with SMTP id c4mr23977277icw.39.1321299536900; Mon, 14 Nov 2011 11:38:56 -0800 (PST) Original-Received: by 10.42.138.8 with HTTP; Mon, 14 Nov 2011 11:38:56 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: -wz3UpMjEowdkct9jocvkoxofMI X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aFV7CVJc - 7f416efb1330 - 20111114 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:72428 Archived-At: --===============1675702272== Content-Type: multipart/alternative; boundary=90e6ba1efd8289f20f04b1b70552 --90e6ba1efd8289f20f04b1b70552 Content-Type: text/plain; charset=UTF-8 On Mon, Nov 14, 2011 at 03:42, Aditya Mahajan 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 -- --90e6ba1efd8289f20f04b1b70552 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


--
<= URL:
http://www.pobox.com/~meta/= >
--90e6ba1efd8289f20f04b1b70552-- --===============1675702272== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1675702272==--