BibTeX, biblatex and biber\nobibliography: Undefined citation, definitely in bib file

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
arwintcher
Posts: 29
Joined: Thu Feb 19, 2009 3:23 pm

\nobibliography: Undefined citation, definitely in bib file

Post by arwintcher »

I have one single reference, out of hundreds, that keeps coming up as undefined when I run bibtex. It is definitely in the .bib file, the key is spelled correctly, and there aren't any odd characters in it.

I made a test .tex and .bib file, and the error still happens:

Code: Select all

\documentclass[a4paper,10pt]{book}
\usepackage[authoryear,sort&compress]{natbib} 
\bibpunct[:]{(}{)}{;}{a}{}{,}
\usepackage{bibentry}
\renewcommand\bibname{References}
\usepackage{hyperref}
\usepackage{url}
\usepackage[all]{hypcap}
\begin{document}
\mainmatter
Here is some stuff to say, plus a citation \citep[192]{opler32jicarilla}. Hopefully Opler will agree to appear this time.
\backmatter
\bibliographystyle{humannat}
\thispagestyle{empty}
\nobibliography{opler}
% \bibliography{opler}
\end{document}

Code: Select all

@BOOK{opler32jicarilla,
  title = {Myths and Tales of the Jicarilla Apache Indians},
  publisher = {Dover Publications},
  year = {1932 [1994]},
  author = {Opler, Morris Edward},
  address = {Minneola, New York},
  endnotereftype = {Book},
  shorttitle = {Myths and Tales of the Jicarilla Apache Indians.}
}
If I use \bibliography, the citation appears, but if I use \nobibliography, I get this error. All the other citations in the document are fine, however, regardless of the command.

I'm using \nobibliography temporarily by request of my supervisors, who don't want to see my list of references every time I send them a draft.

Any ideas?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply