From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40120 Path: news.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Re: t-bib and interactivity for url= and doi= Date: Sat, 12 Apr 2008 20:57:06 +0200 Message-ID: <48010602.5040908@net-b.de> References: <47FF8FB1.1030804@net-b.de> <47FFA733.1090308@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000105080008000506030008" X-Trace: ger.gmane.org 1208026724 15128 80.91.229.12 (12 Apr 2008 18:58:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Apr 2008 18:58:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 12 20:59:17 2008 connect(): Connection refused 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 1JkkwS-0005B7-0Q for gctc-ntg-context-518@m.gmane.org; Sat, 12 Apr 2008 20:59:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B2AB41FADC; Sat, 12 Apr 2008 20:58: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 32373-05; Sat, 12 Apr 2008 20:57:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B52121FBAC; Sat, 12 Apr 2008 20:57:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 990531FB8E for ; Sat, 12 Apr 2008 20:57:46 +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 32388-02 for ; Sat, 12 Apr 2008 20:57:09 +0200 (CEST) Original-Received: from mail1.physik.fu-berlin.de (mail1.physik.fu-berlin.de [160.45.35.12]) by ronja.ntg.nl (Postfix) with ESMTP id 97AF81FB33 for ; Sat, 12 Apr 2008 20:57:09 +0200 (CEST) Original-Received: from ith.physik.fu-berlin.de ([160.45.32.115] helo=[127.0.0.1]) by mail1.physik.fu-berlin.de with esmtp (Exim 4.63) (envelope-from ) id 1JkkuR-0001nk-0S; Sat, 12 Apr 2008 20:57:09 +0200 User-Agent: Thunderbird 2.0.0.12 (X11/20071114) In-Reply-To: <47FFA733.1090308@elvenkind.com> X-ZEDV-Virus-Scanned: No viruses found. [ClamAV 0.92/6719/Sat Apr 12 16:22:37 2008] X-ZEDV-Spam-Level: -- X-ZEDV-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on zs01.physik.fu-berlin.de X-ZEDV-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.3 X-ZEDV-Spam-Report: * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Scan-Signature: 2506c53bf9fae649aeb3ae4a35f900f5 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:40120 Archived-At: This is a multi-part message in MIME format. --------------000105080008000506030008 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Taco Hoekwater wrote: > Tobias Burnus wrote: > >> in principle, I expect that with the following setup I should be able to >> click on a DOI or on a URL, however, somehow they do not seem to be >> interactive >> > It turns out that only \cite[url] is interactive in the current > version of the module. I can fix that pretty easily, but a small > real-life testfile will be helpful, also for the DOI problem. > See attached TeX file. Tobias --------------000105080008000506030008 Content-Type: application/x-tex; name="test.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="test.tex" \usemodule[bib] \setupinteraction[state=start] \setupurl[style=,urlspace=yes] \chardef\urlhyphenmethod=1 % Hyphenate very agressively (=1), use =0 for default \setuppublications[alternative=aps,interaction=start] \setuppublications[numbering=yes,refcommand=num] \setuppublicationlist[ width=3in, authoretallimit=40, editoretallimit=40, artauthoretallimit=40, interaction=start] \unprotect \setuppublicationlayout[article]{% \insertartauthors{}{ }{\insertthekey{}{ }{}}% \insertarttitle {\unskip, \bgroup\it }% {\/\egroup }{}% \insertjournal{\unskip, \bgroup }{\egroup} {}% \insertcrossref{In }{}{}}% \insertvolume { \bgroup \bf } {\egroup %\insertissue{(}{)}{}% \insertfirstpage{, }{}{}} {\insertfirstpage{ }{}{}}% \insertpubyear{ (}{). }{\unskip.}% \insertdoi{ DOI: }{.}{}% \insertbiburl{ }{.}{}% \insertNote{ }{.}{}% \insertcomment{}{.}{}% } \protect \startpublication[k=Almbladh1985,t=article, a={{Almbladh},{von Barth}},y=1985,o={10.1103/PhysRevB.31.3231}, n=21,s=AvB85] \artauthor[]{C.-O.}[C.-O.]{}{Almbladh} \artauthor[]{U.}[U.]{von}{Barth} \pubyear{1985} \arttitle{Exact results for the charge and spin densities, exchange-correlation potentials, and density-functional eigenvalues} \journal{Physical Review B} \volume{31} \issue{6} \pages{3231-3244} \doi{10.1103/PhysRevB.31.3231} \stoppublication \starttext Let's cite it \cite[Almbladh1985]. The following should write \quote{DOI:10.1103/PhysRevB.31.3231}, but it is prefixed by \quote{http://dx.doi.org/}: \cite[alternative=doi,left={DOI:},right=][Almbladh1985] But the actual problem ist \dots \subsection{References} \dots that the following DOI link does not work: \placepublications[criterium=chapter]%,option=continue] \stoptext --------------000105080008000506030008 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --------------000105080008000506030008--