auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] AUCTeX doesn't run bibtex


From: Mosè Giordano
Subject: Re: [AUCTeX] AUCTeX doesn't run bibtex
Date: Thu, 9 Jul 2015 12:42:28 +0200

Hi Tassilo,

2015-07-09 12:27 GMT+02:00 Tassilo Horn <address@hidden>:
> Egon Kidmose <address@hidden> 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.

In `TeX-command-query' AUCTeX does check if the bibliography file is
newer than the .bbl file, and in my case AUCTeX suggests indeed to run
BibTeX after editing the bibliography file.  Egon, what does

    M-: (LaTeX-bibliography-list) RET

return in paper.tex buffer for you?

Bye,
Mosè



reply via email to

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