[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No valid bibliography in this document
From: |
Arash Esbati |
Subject: |
Re: No valid bibliography in this document |
Date: |
Tue, 17 Mar 2020 22:22:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 |
Hi Jobst,
"Hoffmann, Jobst" <address@hidden> writes:
> I found a special problem: I took your example as tst_02.tex and I got
> upon C-x C-e
>
> Debugger entered--Lisp error: (error "\\bibliography statement missing
> or .bib files not found")
> signal(error ("\\bibliography statement missing or .bib files not
> found"))
> error("\\bibliography statement missing or .bib files not found")
> reftex-get-bibfile-list()
> eval((reftex-get-bibfile-list) nil)
> elisp--eval-last-sexp(nil)
> eval-last-sexp(nil)
> funcall-interactively(eval-last-sexp nil)
> call-interactively(eval-last-sexp nil nil)
> command-execute(eval-last-sexp)
>
> Then I copied tst_02.tex to tst_04.tex and I got upon C-x C-e :
>
> ("/home/ax006ho/TeX/tests/biblatex/biblatex-examples_short.bib")
>
> I can reproduce the behaviour any time.
>
> I attach both files - diff showed no difference -, do you see any
> difference?
Nope, they look identical to me as well.
> I don't have clue what's going on here.
Me either. The only difference I currently see are the entries in our
.emacs files. For RefTeX, I only have these lines:
(require 'reftex)
(add-hook 'LaTeX-mode-hook #'turn-on-reftex)
(setq reftex-plug-into-AUCTeX t)
Maybe you adjust your setting as well, restart Emacs and try it again.
Did you try my other suggestion to select
Ref->Parse Document->Entire Document
from the menu?
> Did I get you right, that these are the only lines I need in my .emacs:
> (add-hook 'LaTeX-mode-hook #'turn-on-reftex)
> (setq reftex-plug-into-AUCTeX t)
> (setq reftex-bibliography-commands '("bibliography"
> "nobibliography"
> "addbibresource"))
See above. Actually, you don't need to set
`reftex-bibliography-commands' as well. It has a sensible default.
Which Emacs version are you using?
Best, Arash
- [AUCTeX] No valid bibliography in this document, Hoffmann, Jobst, 2020/03/16
- Re: No valid bibliography in this document, Arash Esbati, 2020/03/16
- Re: No valid bibliography in this document, Hoffmann, Jobst, 2020/03/17
- Re: No valid bibliography in this document,
Arash Esbati <=
- Re: No valid bibliography in this document, Hoffmann, Jobst, 2020/03/17
- Re: No valid bibliography in this document, Arash Esbati, 2020/03/19
- Re: No valid bibliography in this document, Ikumi Keita, 2020/03/20
- Re: No valid bibliography in this document, Arash Esbati, 2020/03/23