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