ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
Subject: Re: YABQ (yet another bib question...)
Date: Mon, 11 Sep 2006 10:28:23 +0200	[thread overview]
Message-ID: <15E4E12C-D2D3-4A6A-94D8-25161ADB14B5@uni-bonn.de> (raw)
In-Reply-To: <E1GLp1l-0001Nk-00@skye.ra.phy.cam.ac.uk>

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

  parent reply	other threads:[~2006-09-11  8:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-08 20:53 Thomas A. Schmitz
2006-09-08 22:40 ` Sanjoy Mahajan
2006-09-10 13:30   ` Taco Hoekwater
2006-09-14 21:46     ` Thomas A. Schmitz
2006-09-15  7:57       ` Taco Hoekwater
2006-09-15  9:18         ` Thomas A. Schmitz
2006-09-15  9:47           ` Taco Hoekwater
2006-09-15 10:05             ` Thomas A. Schmitz
2006-09-15 12:34           ` Sanjoy Mahajan
2006-09-15 13:09             ` Thomas A. Schmitz
2006-09-15 14:45               ` Taco Hoekwater
2006-09-11  8:28   ` Thomas A. Schmitz [this message]
2006-09-11 17:11     ` Taco Hoekwater
2006-09-11 19:05       ` Thomas A. Schmitz
2006-09-11 19:30     ` Sanjoy Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15E4E12C-D2D3-4A6A-94D8-25161ADB14B5@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).