[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] 11.87; biblatex & biber: unresolved citations
From: |
George Pigman |
Subject: |
Re: [Bug-AUCTeX] 11.87; biblatex & biber: unresolved citations |
Date: |
Tue, 16 Jul 2013 17:35:21 -0400 |
> AUCTeX doesn't accept `\jobname.bib' as a valid bibliography source,
> backslash isn't allowed in `LaTeX-auto-regexp-list' entries for
> `\addbibresource' and `\bibliography', and so
> `(LaTeX-bibliography-list)' returns `nil' in `TeX-LaTeX-sentinel'.
Thanks, Mosè, but I don't think that's the problem. If I generate test.bib,
change \jobname to test, and make sure that test.tex is newer than test.bib,
the same thing happens.
A radical fix, which probably has bad consequences, is to change
TeX-command-Show in the last line of the following from tex-buf.el to
TeX-command-Biber.
((re-search-forward "^\\(?:LaTeX Warning: Citation\\|\
Package natbib Warning:.*undefined citations\\)" nil t)
(message "%s%s%s" name ": there were unresolved citations, "
(TeX-current-pages))
(setq TeX-command-next TeX-command-Show))
But presumably there's a better way.
George