From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34089 Path: news.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Re: m-bib question: URL, DOI Date: Mon, 02 Apr 2007 20:09:01 +0200 Message-ID: <461146BD.3040606@net-b.de> References: <46110551.2080800@net-b.de> <461129BF.6010708@elvenkind.com> 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 1175537362 9352 80.91.229.12 (2 Apr 2007 18:09:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2007 18:09:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 02 20:09:15 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 1HYQxv-0002JA-A8 for gctc-ntg-context-518@m.gmane.org; Mon, 02 Apr 2007 20:09:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DA6AB200D8; Mon, 2 Apr 2007 20:09:14 +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 28620-04-3; Mon, 2 Apr 2007 20:09:07 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 52E3C200FD; Mon, 2 Apr 2007 20:09:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 386EA200FD for ; Mon, 2 Apr 2007 20:09:05 +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 28620-04-2 for ; Mon, 2 Apr 2007 20:09:02 +0200 (CEST) Original-Received: from zs04.physik.fu-berlin.de (zs04.physik.fu-berlin.de [160.45.35.155]) by ronja.ntg.nl (Postfix) with ESMTP id 9B221200D8 for ; Mon, 2 Apr 2007 20:09:02 +0200 (CEST) Original-Received: from ith.physik.fu-berlin.de ([160.45.32.115] helo=[127.0.0.1]) by zs04.physik.fu-berlin.de with esmtp (Exim 4.63) (envelope-from ) id 1HYQxh-0005NY-Vp; Mon, 02 Apr 2007 20:09:02 +0200 User-Agent: Thunderbird 1.5.0.10 (X11/20060911) In-Reply-To: <461129BF.6010708@elvenkind.com> X-Scanned: No viruses found. X-Scan-Signature: 01656a33c131dbe46878302be211cf9e 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:34089 Archived-At: Hi Taco, Taco Hoekwater wrote: > Tobias Burnus wrote: > > [...] > Somebody should tell me explicitly what to do and what not to do. > (the interaction code for dois and urls, that I added after a > request, I thought I had implemented exactly as requested). > Assuming \setupinteraction[state=start], \insertbiburl should produce a hyperlink e.g. \biburl{http://link.aps.org/abstract/PRL/v45/p566##bar} should become something like the following: \gotoURL{http://link.aps.org/abstract/PRL/v45/p566##bar} * * * \insertdoi should also produce a hyperlink e.g. \doi{10.1103/PhysRevLett.45.566} should become something like: \def\gotoDOI#1#2% {\useURL[bibfoo#1][http://dx.doi.org/#2] \useURL[bibfoodoi#1][#2] \goto{\url[bibfoodoi#1]}[url(bibfoo#1)]} \gotoDOI{myRef}{10.1103/PhysRevLett.45.566} * * * \cite[doi][myRef] should not print "http://dx.doi.org/" on the screen/paper but only the DOI itself (if hyperlinked, the link should of cause contain "http://dx.doi.org/") * * * What \setupcite[interaction=start|stop] does should be documented in the manual * * * For \cite[url|doi][myRef] three behaviours are useful: (a) No hyperlink (b) Jumping to the associated publicationlist item (c) Going to the associated webpage (url target or dx.doi.org server) Which option should should be used with \setupinteraction[state=start] \setupcite[interaction=start|stop] is unclear to me. For interaction=stop, (c) seems to be most useful for me, others probably prefer option (a) in this case. Tobias