From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30732 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: YABQ (yet another bib question...) Date: Mon, 11 Sep 2006 10:28:23 +0200 Message-ID: <15E4E12C-D2D3-4A6A-94D8-25161ADB14B5@uni-bonn.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1157963398 21060 80.91.229.2 (11 Sep 2006 08:29:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Sep 2006 08:29:58 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 11 10:29:57 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 1GMhAn-0004f4-GC for gctc-ntg-context-518@m.gmane.org; Mon, 11 Sep 2006 10:29:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E698E1FCDB; Mon, 11 Sep 2006 10:29:44 +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 09232-04; Mon, 11 Sep 2006 10:29:36 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 32C2C1FCDE; Mon, 11 Sep 2006 10:29:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AF8C71FCDE for ; Mon, 11 Sep 2006 10:29:34 +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 09071-05-2 for ; Mon, 11 Sep 2006 10:29:32 +0200 (CEST) Original-Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by ronja.ntg.nl (Postfix) with SMTP id BB12B1FCDB for ; Mon, 11 Sep 2006 10:29:32 +0200 (CEST) Original-Received: from fwd35.aul.t-online.de by mailout09.sul.t-online.com with smtp id 1GMhAZ-0002X8-02; Mon, 11 Sep 2006 10:29:31 +0200 Original-Received: from [192.168.0.2] (G-GIkmZUwe2gY4v5zxlBLJEh0A736hupV5B2Fx9CYs2CQl7OLOKVUK@[84.172.95.25]) by fwd35.sul.t-online.de with esmtp id 1GMhAP-0kctA80; Mon, 11 Sep 2006 10:29:21 +0200 In-Reply-To: Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.752.2) X-ID: G-GIkmZUwe2gY4v5zxlBLJEh0A736hupV5B2Fx9CYs2CQl7OLOKVUK@t-dialin.net X-TOI-MSGID: fb4804a8-f28b-4b4a-a41b-c48d9bf4140b 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:30732 Archived-At: Sanjoy, thanks for your rely. Of course you're quite right, this is the wau to go, and it works. But my question was imprecise because I did not mention what was causing the problem: I'm working with split bibliographies and want to refer in chapter 2 to an item already included in the biblio of chapter 2. If I just put a \cite command somewhere, this item will be included a second time in the list of chapter 2. So my question is: this item does already have a counter attached to it. Is it possible to refer to this raw counter across chapters? Like so: Chapter 1 [1] main reference Chapter 2 [2] another thing [3] and yet another [reprinted in [1]] without having [1] main reference repeated. This my very well be impossible, I'm just wondering. Thanks, and all best Thomas On Sep 9, 2006, at 12:40 AM, Sanjoy Mahajan wrote: >> Is it possible to refer back to item [1] automatically, by sticking >> the "reprinted in" in a "note" field in the database? I tried a >> number of combinations of \crossref or so, but couldn't get this to >> work. > > I need to repeat my experiments, but I think it worked to use simply > \cite in the bibtex entry. Ah, here is one example. It uses > xampl.bib, which comes with old distributions of ConTeXt (e.g. teTeX > 3.0's distribution). > > [Taco: The reference to Knuth below comes out as (Knuth, 1981c) even > though there are no other 1981 entries for Knuth cited in the text. > Is that hard to fix given ConTeXt's way of dealing with bibtex, in > that it just incorporates the entire database, in which there are > several 1981 entries from Knuth?] > > ===================== cut here ======== > \usemodule[bib] > \usemodule[bibltx] > \setupbibtex[database=xampl] > \starttext > > Here is a citation to a book that contains a cross reference: > \cite[book-crossref]. The bibliography entry (next page) for it > should contain a bib reference to another item in the bibliography. > > \completepublications > \stoptext > ===================== cut here ======== > > Here are the relevant entries from xampl.bib, which indicates that > it's the crossref= line that you need (not \cite as I said above)v: > > @BOOK{book-crossref, > crossref = "whole-set", > title = "Seminumerical Algorithms", > volume = 2, > series = "The Art of Computer Programming", > edition = "Second", > year = "{\noopsort{1973c}}1981", > note = "This is a cross-referencing BOOK entry", > } > > @BOOK{whole-set, > author = "Donald E. Knuth", > publisher = "Addison-Wesley", > title = "The Art of Computer Programming", > series = "Four volumes", > year = "{\noopsort{1973a}}{\switchargs{--90}{1968}}", > note = "Seven volumes planned (this is a cross-referenced set of > BOOKs)", > } > > -Sanjoy > > `Never underestimate the evil of which men of power are capable.' > --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context