AUCTeX ⇒ AUCTeX — Parse on Save not working
-
- Posts: 1
- Joined: Sun Jun 19, 2011 12:06 pm
AUCTeX — Parse on Save not working
Could someone please explain to me why the following is happening. I have a latex document which has one equation labeled "eq:1". If I type "\ref{" and then try to autocomplete, then emacs fills in the macro with the correct label, i.e "eq:1".
Now, if I change the label to "eq:2", save the file, and try auto-completion, it still fills in the macro with "eq:1".
In my .emacs file I have the following two lines:
(setq TeX-auto-save t)
(setq TeX-parse-self t)
which, in theory, should update the labels everytime I save the file.
The only way that I have managed to make this work, is to give "C-c C-n" which forces the generation of the style information.
How I can make Auctex update the style information automatically when the file is saved? I thought that this was the whole point of setting "TeX-auto-save" to "t", but I am probably mistaken. If so, what does "TeX-auto-save" do?
Thanks for any suggestions!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p