[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] AUCTeX doesn't run bibtex
From: |
Egon Kidmose |
Subject: |
Re: [AUCTeX] AUCTeX doesn't run bibtex |
Date: |
Thu, 9 Jul 2015 11:17:42 +0000 |
Hi Tassilo and Mosè,
> -----Original Message-----
> From: Mosè Giordano [mailto:address@hidden
> Sent: 9. juli 2015 12:42
> To: Tassilo Horn
> Cc: auctex; Egon Kidmose
> Subject: Re: [AUCTeX] AUCTeX doesn't run bibtex
>
> 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.
I agree with Mosè, but for completeness:
Commenting out the ref, building, un-commenting the ref and finally building
again still doesn't trigger BibTeX.
>
> 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?
Prints 'nil' in the minibuffer
>
> Bye,
> Mosè
Thanks!
Egon
- [AUCTeX] AUCTeX doesn't run bibtex, Egon Kidmose, 2015/07/09
- Re: [AUCTeX] AUCTeX doesn't run bibtex, Tassilo Horn, 2015/07/09
- Re: [AUCTeX] AUCTeX doesn't run bibtex, Mosè Giordano, 2015/07/09
- Re: [AUCTeX] AUCTeX doesn't run bibtex, Tassilo Horn, 2015/07/09
- Re: [AUCTeX] AUCTeX doesn't run bibtex,
Egon Kidmose <=
- Re: [AUCTeX] AUCTeX doesn't run bibtex, Mosè Giordano, 2015/07/09
- Re: [AUCTeX] AUCTeX doesn't run bibtex, Egon Kidmose, 2015/07/10
- Re: [AUCTeX] AUCTeX doesn't run bibtex, David Kastrup, 2015/07/10
- Re: [AUCTeX] AUCTeX doesn't run bibtex, Mosè Giordano, 2015/07/10