From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34409 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: active urls in bibliographies Date: Mon, 23 Apr 2007 22:44:16 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1177384334 6792 80.91.229.12 (24 Apr 2007 03:12:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2007 03:12:14 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 24 05:12:10 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1HgBRq-0002Qv-4Y for gctc-ntg-context-518@m.gmane.org; Tue, 24 Apr 2007 05:12:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 678A120027; Tue, 24 Apr 2007 05:12:09 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08229-08; Tue, 24 Apr 2007 05:12:09 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EF88020081; Tue, 24 Apr 2007 04:44:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 999F520081 for ; Tue, 24 Apr 2007 04:44:31 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07692-01-3 for ; Tue, 24 Apr 2007 04:44:27 +0200 (CEST) Original-Received: from elasmtp-curtail.atl.sa.earthlink.net (elasmtp-curtail.atl.sa.earthlink.net [209.86.89.64]) by ronja.ntg.nl (Postfix) with ESMTP id 348061FFF1 for ; Tue, 24 Apr 2007 04:44:27 +0200 (CEST) Original-Received: from [24.41.6.91] (helo=approximate.corpus.cam.ac.uk) by elasmtp-curtail.atl.sa.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1HgB0z-0000ol-NU; Mon, 23 Apr 2007 22:44:25 -0400 Original-Received: from sanjoy by approximate.corpus.cam.ac.uk with local (Exim 4.63) (envelope-from ) id 1HgB0q-0004wQ-5Y; Mon, 23 Apr 2007 22:44:16 -0400 X-Mailer: MH-E 8.0.3; nmh 1.2; GNU Emacs 21.4.1 X-ELNK-Trace: dcd19350f30646cc26f3bd1b5f75c9f474bf435c0eb9d478e760aeb5eac069b454d6e00e68101edd936002740b983723350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.41.6.91 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:34409 Archived-At: [This must be a FAQ, and if so I'll put it on the wiki] I tried to force an active hyperlink to be part of a bibliography entry. If the bibliography style file for that entry type uses it, maybe it will work. But I wanted to put it in the 'note' field so that I could add it to most entries. e.g. @Book{HPL:2000, editor = {John D. Barnsford and Ann L. Brown and Rodney R. Cocking}, title = {How people learn: Brain, mind, experience, and school.}, publisher = {National Academy Press}, year = 2000, address = {Washington, DC}, edition = {expanded}, note = {http://www.nap.edu} } As above, the URL comes out normal (i.e. not hyperlinked). I couldn't get the 'biburl' field to do the magic (even with \setupinteraction started), maybe because I'd need to reprogram the .bst to use it. Also various combinations of \useURL and \goto did not work. e.g. This failed: \useURL[someurl][http://www.someurl.org][][http://www.someurl.org] @Book{HPL:2000, {... note = {\goto[someurl]} ... } That fails with ! Argument of \dogoto has an extra }. \par } \doattributes ...name #1#2\@EA \endcsname \fi {#4} \dostopattributes ...esetapublication {HPL:2000}\strut }} \egroup \ifdim \wd 4=\zero... \secondoftwoarguments #1#2->#2 \dosomelistelement ...hss \dostoplistattributes }} \endgraf \nointerlineskip ... ... l.208 \placepublications[criterium=all] Any thoughts appreciated! -Sanjoy `Intellectual property is intellectual theft.' ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________