auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. da5bb8e28d3e5d0f0f2bb


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. da5bb8e28d3e5d0f0f2bb8006d60b43220007881
Date: Fri, 21 Jan 2022 07:34:51 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  da5bb8e28d3e5d0f0f2bb8006d60b43220007881 (commit)
      from  17ac32f2a70052c9782871fd76af96d0c5462539 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit da5bb8e28d3e5d0f0f2bb8006d60b43220007881
Author: Arash Esbati <arash@gnu.org>
Date:   Fri Jan 21 13:31:46 2022 +0100

    Re-run LaTeX when .toc|lof|lot is missing
    
    * tex-buf.el (TeX-LaTeX-sentinel): Recognize missing .toc|lof|lot
    files and suggest a LaTeX re-run.  Issue raised in:
    https://lists.gnu.org/archive/html/auctex/2022-01/msg00020.html

diff --git a/tex-buf.el b/tex-buf.el
index 72addcb2..eeff2fc0 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1671,6 +1671,11 @@ Package natbib Warning:.*undefined citations\\)" nil t)
                  (and TeX-PDF-mode (setq dvi2pdf (TeX-PDF-from-DVI))))
                (setq TeX-command-next dvi2pdf)
              (setq TeX-command-next TeX-command-Show))))
+        ((re-search-forward "^No file .*\\.\\(toc\\|lof\\|lot\\)\\.$" nil t)
+         (message "%s" (concat "You should run LaTeX again to get "
+                               (upcase (match-string-no-properties 1))
+                               " right"))
+         (setq TeX-command-next TeX-command-default))
         ((re-search-forward "Package longtable Warning: Table widths have \
 changed\\. Rerun LaTeX\\." nil t)
          (message

-----------------------------------------------------------------------

Summary of changes:
 tex-buf.el | 5 +++++
 1 file changed, 5 insertions(+)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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