auctex
[Top][All Lists]
Advanced

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

Re: Endnotes do not refresh


From: Arash Esbati
Subject: Re: Endnotes do not refresh
Date: Thu, 27 Jun 2024 12:51:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

"Felix E. Klee" <felix.klee@inka.de> writes:

> Here is what I try with the attached file:
>
>  1. C-c C-c: compile
>
>  2. Change the content to an endnote.
>
>  3. C-c C-c: compile
>
>  4. C-c C-c: view
>
> In step 4, I still see the old content of the endnote that I changed.  I
> have to save the file again to make it compile again and update the
> endnote.
>
> How do I avoid that?

I think it is AUCTeX who is not aware of this message

  LaTeX Warning: Endnotes may have changed. Rerun to get them right.

in the log file.  Can you please backup your tex.el, apply this patch
locally, byte-compile changed tex.el, restart Emacs and try it again?

--8<---------------cut here---------------start------------->8---
diff --git a/tex.el b/tex.el
index 55f592df..905a597c 100644
--- a/tex.el
+++ b/tex.el
@@ -8648,6 +8648,11 @@ Changebar info has changed." nil t)
          (message
           "%s" "You should run LaTeX again to get the change bars right")
          (setq TeX-command-next TeX-command-default))
+        ((re-search-forward "^LaTeX Warning: Endnotes may have changed. \
+Rerun to get them right." nil t)
+         (message
+          "%s" "You should run LaTeX again to get the endnotes right")
+         (setq TeX-command-next TeX-command-default))
         ((re-search-forward "^\\* xsim warning: \"rerun\"" nil t)
          (message
           "%s" "You should run LaTeX again to synchronize exercise properties")
--8<---------------cut here---------------end--------------->8---

Best, Arash



reply via email to

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