Is there any way to have BibTeX or biblatex 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?


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.

  • 3
    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
  • 1
    @Alan Munn: I've edited my answer to reflect your comment. – Gonzalo Medina May 1 '11 at 23:28
  • 1
    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

In case of apacite package use the code belo

\usepackage{url} % Evitar enlaces en bibliografía largos & enlazar enlaces de bibliografía
\usepackage{breakurl} % Broken links
\usepackage{hyperref} % Evitar enlaces en bibliografía largos & enlazar enlaces de bibliografía

\bibliography{ref/lib} % lib.bib file inside ref folder
  • 2
    Hrmmm, at the core of the answer is the \nocite{*} which is already discussed in the other answer. Apart from that I can't see the need to load etoolbox in this particular example. You also have \bibliographystyle twice (which is probably not an error on the LaTeX side, but BibTeX doesn't like that). Plus natbib and apacite should ideally not be used together like this (they can be used together, but then that should be done with \usepackage[natbibapa]{apacite}). ... – moewe Sep 5 '20 at 5:06
  • ... \usepackage{breakurl} is not recommendable with all toolchains (I'd say it's only useful in a minority of cases). Generally it is recommended to load hyperref last (subject to a few documented exceptions; I'm not aware that natbib is such an exception). – moewe Sep 5 '20 at 5:08
  • Thanks for the feedback! – Pablo Díaz Sep 6 '20 at 0:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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