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è

_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to