Egon Kidmose <[email protected]> writes:

Hi Egon,

> As I recall I used to simply hit `C-c C-c` (currently bound to
> `TeX-command-master`) repeatedly until it said "view" in the
> minibuffer, and then AUCTeX would have taken care of running
> `pdflatex` and `bibtex` as needed.

Yes, that's how it is intended.

> I've now moved to a new machine - Still same OS (Linux Mint 17.1) and
> same `~/.emacs` (I keep it on github, but rely on el-get for
> e.g. AUCTeX)
>
> To my surprise AUCTeX doesn't pick up changes in bibtex file, but
> simply runs LaTeX and then View. Any suggestions as to why it doesn't
> realize the need to run BibTeX?

I think you're a bit confused here.  BibTeX doesn't need to be run when
the bib-file changes, it needs to be run when a new citation is added to
the tex document.

Well, actually it would need to be run when you edit an existing bibtex
entry which is cited somewhere in the document but that's hard to
detect.  What AUCTeX does to know when a bibtex run is in order is to
parse the (la)tex output to check if it complains about undefined
citations.  If so, then a bibtex run is due.

Bye,
Tassilo


_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to