TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to have BibTeX insert a bibliography without having citations in the body of the document itself? Maybe a way to hide the in-text citations, so that BibTeX still sees them and includes them in the bibliography, but does not print them in the body?

share|improve this question
up vote 100 down vote accepted

Use \nocite{*} in the body of your document to include all the references in the .bib database. To include only some bibliographical entries, you can use \nocite{key1,key2,...,keyn} to include only the entries corresponding to key1,key2,...,keyn.

share|improve this answer
Depending on how big your bib file is, \nocite{*} not be exactly the best solution. (It assumes that you have a separate bib file for the document, rather than a master bib file from which you pick references.) – Alan Munn May 1 '11 at 23:05
fantastic, thank you! – TJ Ellis May 1 '11 at 23:15
Ah, I actually hadn't realized that the exact command \nocite{*} worked -- I took * as a wildcard standing in for the citation name i wanted to include -- I added a \nocite{} for each reference I wanted, worked great! – TJ Ellis May 1 '11 at 23:16
@Alan Munn: I've edited my answer to reflect your comment. – Gonzalo Medina May 1 '11 at 23:28
I'm using biblatex package and I' adding author names to author index using this \DeclareIndexNameFormat{default}{% \usebibmacro{index:name}{\index[cite]}{#1}{#3}{#5}{#7}}. What should I do if I want to add authors to author index with \nocite macro? I could catch... – saldenisov Jun 9 '14 at 19:37

Your Answer


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.