auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] No valid bibliography in this document


From: Hoffmann, Jobst
Subject: [AUCTeX] No valid bibliography in this document
Date: Mon, 16 Mar 2020 19:07:13 +0000

Hi,

I'm using the current AUCTeX from git://git.savannah.gnu.org/auctex and
I try to use \cite for inserting citations.

The file below compiles perfectly with C-c C-a

tst_01.tex
~~~~~~~~~~
\documentclass{article}
\usepackage[backend=biber]{biblatex}
\addbibresource{biblatex-examples_short.bib}
\begin{document}
\cite{aristotle:anima}

\printbibliography
\end{document}
~~~~~~~~~~~

The corresponding bibliography file is an excerpt form the biblatex
distribution:
biblatex-examples_short.bib
~~~~~~~~~~~
@article{baez/article,
  author       = {Baez, John C. and Lauda, Aaron D.},
  title        = {Higher-Dimensional Algebra {V}: 2-Groups},
  journaltitle = {Theory and Applications of Categories},
  date         = 2004,
  volume       = 12,
  pages        = {423-491},
  version      = 3,
  eprint       = {math/0307200v3},
  eprinttype   = {arxiv},
  langid       = {english},
  langidopts   = {variant=american},
  annotation   = {An \texttt{article} with \texttt{eprint} and
                  \texttt{eprinttype} fields. Note that the arXiv
reference is
                  transformed into a clickable link if \texttt{hyperref}
support
                  has been enabled.  Compare \texttt{baez\slash online},
which
                  is the same item given as an \texttt{online} entry},
}

@book{aristotle:anima,
  author       = {Aristotle},
  title        = {De Anima},
  date         = 1907,
  editor       = {Hicks, Robert Drew},
  publisher    = cup,
  location     = {Cambridge},
  keywords     = {primary},
  langid       = {english},
  langidopts   = {variant=british},
  annotation   = {A \texttt{book} entry with an \texttt{author} and an
                  \texttt{editor}},
}
~~~~~~~~~~~

When I try to insert the second citation by using the \cite command, an
error occurs in the minibuffer:
No valid bibliography in this document, and no default available

In the Messages buffer I can rad the following line:

reftex-offer-bib-menu: No valid bibliography in this document, and no
default available

My .emacs contains the following lines concerning the RefTeX
~~~~~~~~~~~
(setq reftex-plug-into-AUCTeX t)
(setq reftex-bibliography-commands '("bibliography"
                                     "nobibliography"
                                     "addbibresource"))
(setq reftex-external-file-finders
      '(("tex" . "kpsewhich -format=.tex %f")
        ("bib" . "kpsewhich -format=.bib %f")))
~~~~~~~~~~~

What am I missing?

Thanks in advance
Jobst
-- 
Prof. Dr. Jobst Hoffmann            email: address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]