From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28719 Path: news.gmane.org!not-for-mail From: Johannes Graumann Newsgroups: gmane.comp.tex.context Subject: Re: t-bib and hyperlinkded references? Date: Tue, 20 Jun 2006 15:18:44 -0700 Organization: Die Guten Message-ID: References: <4496DDF2.9050405@elvenkind.com> <4497FB35.9090109@elvenkind.com> <4498624E.1050907@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 1150841975 2581 80.91.229.2 (20 Jun 2006 22:19:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Jun 2006 22:19:35 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 21 00:19:33 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 1FsoZC-0004to-Sz for gctc-ntg-context-518@m.gmane.org; Wed, 21 Jun 2006 00:19:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BAFB5127E3; Wed, 21 Jun 2006 00:19:26 +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 05539-02-16; Wed, 21 Jun 2006 00:19:22 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 42ACF127E0; Wed, 21 Jun 2006 00:19:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BCD8E127E0 for ; Wed, 21 Jun 2006 00:19:18 +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 03276-04-13 for ; Wed, 21 Jun 2006 00:19:16 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with SMTP id 7C147127CB for ; Wed, 21 Jun 2006 00:19:16 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FsoZ0-0004qD-Eu for ntg-context@ntg.nl; Wed, 21 Jun 2006 00:19:14 +0200 Original-Received: from iluvatar.caltech.edu ([131.215.35.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Jun 2006 00:19:14 +0200 Original-Received: from johannes_graumann by iluvatar.caltech.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Jun 2006 00:19:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ntg-context@ntg.nl Original-Lines: 74 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: iluvatar.caltech.edu User-Agent: KNode/0.10.2 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:28719 Archived-At: Taco Hoekwater wrote: > Johannes Graumann wrote: >> 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. Not a biggie ... I can deal for now. >> 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)? Thanks! >> 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}}} This produces the following error: Runaway argument? klose:75,ofarrell:75]\else \processcommalist [authoryearx]\docitation \ETC. ! File ended while scanning use of \bibauthoryearxref. \par \relax \dodoreadfile ...\preprocesssuffix \or \fi \relax \the \everyafterreadfile \processXMLfilegrouped ...bleXML \processfile {#1} \relax \ifmmode \else \par... l.65 ? I've been unable to pin down where there might be a missing brace ... > I'll implement some interaction controls for \cite/\setupcite tomorrow, > since that is the easiest way out. So: new version tomorrow. Thanks, Taco! Joh