Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using BibTeX together with latex beamer and have a weird issue:

the entries of my BibTeX file look like this one:

    @inproceedings{DBLP:conf/latin/BenderF00,
      author    = {Michael A. Bender and
           Martin Farach-Colton},
      title     = {The {LCA} Problem Revisited},
      booktitle = {LATIN},
      year      = {2000},
      pages     = {88-94},
      ee        = {http://dx.doi.org/10.1007/10719839_9},
      crossref  = {DBLP:conf/latin/2000},
      bibsource = {DBLP, http://dblp.uni-trier.de}
    } 
    @proceedings{DBLP:conf/latin/2000,
     editor    = {Gaston H. Gonnet and
                  Daniel Panario and
                  Alfredo Viola},
     title     = {LATIN 2000: Theoretical Informatics, 4th Latin American
                  Symposium, Punta del Este, Uruguay, April 10-14, 2000,            Proceedings},
     booktitle = {LATIN},
     publisher = {Springer},
     series    = {Lecture Notes in Computer Science},
     volume    = {1776},
     year      = {2000},
     isbn      = {3-540-67306-7},
     bibsource = {DBLP, http://dblp.uni-trier.de}
     }

using \cite{DBLP:conf/latin/BenderF00} together with

    \begin{frame}[allowframebreaks]{Bibliography}
    \begin{scriptsize}
     %\nocite{*}  // commented out!!!!!!!!
     \setbeamertemplate{bibliography item}[text]
     \bibliographystyle{alpha}
     \bibliography{literatur}
    \end{scriptsize}
    \end{frame}

gives me:

[BFC00] Michael A. Bender and Martin Farach-Colton. The LCA problem revisited. In Gaston H. Gonnet, Daniel Panario, and Alfredo Viola, editors, LATIN, volume 1776 of Lecture Notes in Computer Science, pages 88–94. Springer, 2000.

which is perfect.

But when i don't cite \cite{DBLP:conf/latin/BenderF00} explicitly and use \nocite{*} instead i have the following result:

[BFC00] Michael A. Bender and Martin Farach-Colton. The LCA problem revisited. In Gonnet et al. [GPV00], pages 88–94.

with a new reference to [GPV00] and so on...

How can i avoid that behaviour? I'm pleased about every advice

share|improve this question
1  
\nocite{*} adds everything in your bib-file to the bibliography, that's what it supposed to do. \nocite{DBLP:conf/latin/BenderF00} adds just that reference. –  Torbjørn T. Jun 10 '13 at 10:17
    
Ah, i understand the problem! Is it possible to 'let the references being resolved' automatically? (assume a very large .bib file) –  bobb_the_builder Jun 10 '13 at 10:26
    
I don't understand what you mean by that, can you clarify? If you just want some entries from a .bib-file in the bibliography, you have to \cite or \nocite those entries. –  Torbjørn T. Jun 10 '13 at 10:48
    
i have a huge bib file and only \cite some entries but want all of them listed (in the aforementioned form) at the bibliography section at the end. –  bobb_the_builder Jun 10 '13 at 14:16

1 Answer 1

up vote 3 down vote accepted

With \nocite{*} you're basically adding a \nocite command for every entry in the bibliography database. When BibTeX finds \nocite (or \cite) relative both to a @inproceedings item and its cross-referenced @proceedings item, it adds both entries in the bibliography, with a reference (in your case “[GPV00]”) in the @inproceedings item.

So, with \cite{DBLP:conf/latin/BenderF00}, without \nocite{*}, the @proceedings entry is used for filling data in that item. But, if there were another item cross-referencing DBLP:conf/latin/2000, this entry would appear by itself anyway (see Tame the BeaST, section 12).

There is no \nocite command that avoids cross-referenced only items.

In the case of a huge database to show, I'd go with this default method. The alternative is getting all the keys, removing those that appear in a crossref field and do a \nocite with the explicit list of keys.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.