From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42454 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: bib module and interaction Date: Tue, 15 Jul 2008 10:48:14 -0400 (EDT) Message-ID: References: <97EED99D-3F4F-4670-B2E4-99C93E302001@gmail.com> <487B52E9.9060402@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: ger.gmane.org 1216133190 11391 80.91.229.12 (15 Jul 2008 14:46:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2008 14:46:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 15 16:47:17 2008 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 1KIlnz-0003EV-Qa for gctc-ntg-context-518@m.gmane.org; Tue, 15 Jul 2008 16:47:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 85DF71FD38; Tue, 15 Jul 2008 16:46: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 23771-09-5; Tue, 15 Jul 2008 16:45:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 35F7A1FDCD; Tue, 15 Jul 2008 16:45:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 028391FDCD for ; Tue, 15 Jul 2008 16:45:11 +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 23772-08-5 for ; Tue, 15 Jul 2008 16:44:34 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with ESMTP id 14A201FD04 for ; Tue, 15 Jul 2008 16:44:31 +0200 (CEST) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY tombraider.mr.itd.umich.edu ID 487CB7CB.8B679.7666 ; 15 Jul 2008 10:44:27 -0400 In-Reply-To: <487B52E9.9060402@elvenkind.com> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) 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:42454 Archived-At: Hi Taco, On Mon, 14 Jul 2008, Taco Hoekwater wrote: > Aditya Mahajan wrote: >> On Mon, 14 Jul 2008, Wolfgang Schuster wrote: >> >>> Am 14.07.2008 um 05:56 schrieb Aditya Mahajan: >>> >>>> Hi, >>>> >>>> I cannot find an option to enable interaction with the bib module. I >>>> want >>>> \cite[ref] to create a forward link to the bibliography where the >>>> reference appears. Is this supported by t-bib? >>> \setupcite[interaction=start] >> >> Does not work. Looking at t-bib, it seems that this makes the url and doi >> insite the references interactive, but not the output of \cite command. > > You have to turn off the compress feature: > > \setupcite[interaction=start, compress=no] How about redefining \docite as follows \def\docite[#1][#2]% {\begingroup \setupinteraction[\c!style=\bibalternative\c!style, \c!color=\bibalternative\c!color]% % Rest of the defn}% This way, it will be possible to change the color and style of references when interaction is on using \setupcite[color=darkgreen,style=normal] What do you think? Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________