From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28718 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: t-bib and hyperlinkded references? Date: Tue, 20 Jun 2006 23:02:06 +0200 Message-ID: <4498624E.1050907@elvenkind.com> References: <4496DDF2.9050405@elvenkind.com> <4497FB35.9090109@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150837353 19165 80.91.229.2 (20 Jun 2006 21:02:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Jun 2006 21:02:33 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 20 23:02:30 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FsnMd-0000vG-DI for gctc-ntg-context-518@m.gmane.org; Tue, 20 Jun 2006 23:02:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2B888127D2; Tue, 20 Jun 2006 23:02:23 +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 21883-02; Tue, 20 Jun 2006 23:02:14 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1E525127A2; Tue, 20 Jun 2006 23:02:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EBC02127A2 for ; Tue, 20 Jun 2006 23:02:10 +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 23084-01 for ; Tue, 20 Jun 2006 23:02:08 +0200 (CEST) Original-Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by ronja.ntg.nl (Postfix) with SMTP id 024A212799 for ; Tue, 20 Jun 2006 23:02:07 +0200 (CEST) Original-Received: from boo.demon.nl ([82.161.175.147]:37878 helo=[192.168.1.3]) by post-23.mail.nl.demon.net with esmtp (Exim 4.51) id 1FsnMM-000PHj-Tk for ntg-context@ntg.nl; Tue, 20 Jun 2006 21:02:07 +0000 User-Agent: Mozilla Thunderbird 1.0.6-7.6.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:28718 Archived-At: Johannes Graumann wrote: > Taco Hoekwater wrote: > > >>I've just uploaded a new beta to the modules section at contextgarden. >> >>It took me much longer than I had anticipated, mainly because there >>was a massive bug in the per-chapter bibliography code: it generated >>duplicate named references for all but the simplest of documents. >> >>I hope to have the bug fixed now, and interaction working as it should. >> >>There is only one limitation, and that will stay: you cannot have >>hyperlinks while \setupcite[compress=yes] is in effect. > > > Thanks Taco! > > I run across three problems: > 1) with my setup (XML mapped into ConTeXt convolution) the links from > citations exists, but don't point to the right pages in the chapter > specific bibliographies - at least after a single texexec run. Another run > is necessary and everything seems all right. I expected that. I'm not sure how to explain to texexec that the module needs another TeX run to resolved the secondary references. Will talk to Hans about that. > 2) While the linking works for the 'authoryears' citation style, I don't get > any hyperlinks from plain 'authoryear' formated references as well as for For authoryear, you need a separate \setupcite[authoryear][compress=no] because the single-argument \setupcite only works for the default type. Is that the problem (it works for me)? > the custom-defined 'authoryearx' ones that go as follows: > \setupcite > [authoryearx] This new defn should do it (untested): % Enable 'authoryearx' citation \def\bibauthoryearxref[#1]% {\ixbibauthoryear{#1}% {\bibmaybeinteractive{#1}{{\currentbibauthor}% \bibalternative\c!inbetween \bibalternative\v!left {\currentbibyear}% \bibalternative\v!right}} {\bibalternative\c!pubsep \bibmaybeinteractive{#1}{{\currentbibauthor}% \bibalternative\c!inbetween \bibalternative\v!left {\currentbibyear}% \bibalternative\v!right}} {\bibalternative\c!lastpubsep \bibmaybeinteractive{#1}{{\currentbibauthor}% \bibalternative\c!inbetween \bibalternative\v!left {\currentbibyear}% \bibalternative\v!right}}} > 3) The structure of my document looks as follows > I cited some references in the Abstract, which my proofreader wanted to have > listed in the chapter-specific bibliography of the "introduction" chapter, > which I accomplished by re-citing the stuff in the respective chapter > using 'nocite'. Naturally, links in the 'Abstract' don't have anywhere to > point to and the citations appear empty. Do you have any idea how to > overcome that? I'd be already happy if I could override the linking > behavior for the handfull of references in the abstract - meaning: have > hyperlinked references everywhere in the document BUT the abstract. I'll implement some interaction controls for \cite/\setupcite tomorrow, since that is the easiest way out. So: new version tomorrow. Taco