auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] Rerun to get outlines right


From: Mosè Giordano
Subject: [AUCTeX-devel] Rerun to get outlines right
Date: Thu, 26 Sep 2013 13:38:08 +0200

Hi all,

sometimes the `hyperref' suggests in the log to rerun LaTeX with the message

    Package rerunfilecheck Warning: File `foo.out' has changed.
    (rerunfilecheck)                Rerun to get outlines right
    (rerunfilecheck)                or use package `bookmark'.


The patch to take this advice is the following:

--8<---------------cut here---------------start------------->8---
diff --git a/tex-buf.el b/tex-buf.el
index 25a4207..c9d32dc 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -989,6 +989,10 @@ Package natbib Warning: Citation(s)\\)" nil t)
      (message "%s%s" "You should run LaTeX again to get references right, "
           (TeX-current-pages))
      (setq TeX-command-next TeX-command-default))
+    ((re-search-forward "^(rerunfilecheck)\\W+Rerun to get outlines
right" nil t)
+     (message "%s%s" "You should run LaTeX again to get outlines right, "
+          (TeX-current-pages))
+     (setq TeX-command-next TeX-command-default))
     ((re-search-forward "^LaTeX Warning: Reference" nil t)
      (message "%s%s%s" name ": there were unresolved references, "
           (TeX-current-pages))
--8<---------------cut here---------------end--------------->8---

But before the `rerunfilecheck' was created (December 2009), the message was

    Package hyperref Warning: Rerun to get outlines right
    (hyperref)                or use package `bookmark'.

Should we also consider this message?

Bye,
Mosè



reply via email to

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