emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex 4d426ea 37/57: Suggest to rerun LaTeX if xsim pr


From: Tassilo Horn
Subject: [elpa] externals/auctex 4d426ea 37/57: Suggest to rerun LaTeX if xsim properties changed
Date: Tue, 25 Jul 2017 14:02:33 -0400 (EDT)

branch: externals/auctex
commit 4d426eac1664add53e22046911e64d05991ade4a
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Suggest to rerun LaTeX if xsim properties changed
    
    * tex-buf.el (TeX-LaTeX-sentinel): Catch xsim warning suggesting to rerun 
LaTeX
    and set LaTeX and next default command.
---
 tex-buf.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tex-buf.el b/tex-buf.el
index 9659e07..fa8f409 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1638,6 +1638,10 @@ Rerun to get mark in right position\\." nil t)
         (message
          "%s" "You should run LaTeX again to get TikZ marks in right position")
         (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")
+        (setq TeX-command-next TeX-command-default))
        ((re-search-forward
          "^\\(\\*\\* \\)?J?I?p?\\(La\\|Sli\\)TeX\\(2e\\)? \
 \\(Version\\|ver\\.\\|<[0-9/-]*\\(?:u[^>]*\\)?>\\)" nil t)



reply via email to

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