[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/tex-buf.el,v
From: |
Philip Kime |
Subject: |
[AUCTeX-diffs] Changes to auctex/tex-buf.el,v |
Date: |
Sun, 16 Sep 2012 14:58:43 +0000 |
CVSROOT: /sources/auctex
Module name: auctex
Changes by: Philip Kime <philkime> 12/09/16 14:58:43
Index: tex-buf.el
===================================================================
RCS file: /sources/auctex/auctex/tex-buf.el,v
retrieving revision 1.287
retrieving revision 1.288
diff -u -b -r1.287 -r1.288
--- tex-buf.el 13 Sep 2012 10:14:18 -0000 1.287
+++ tex-buf.el 16 Sep 2012 14:58:43 -0000 1.288
@@ -408,11 +408,6 @@
(defvar TeX-command-history nil)
-;; Something to remember - if you are testing on a document with no content at
-;; all, perhaps one with just \nocite{*} in it for testing Biber runs, no PDF
-;; file is created by latex and so the first cond clause will match because
-;; (file-newer-than-p) returns t when the second argument does not exist
-;; ... this has caused hours of pointless investigations before ...
(defun TeX-command-query (name)
"Query the user for what TeX command to use."
(let* ((default (cond ((if (string-equal name TeX-region)
@@ -982,6 +977,9 @@
(TeX-current-pages))
(setq TeX-command-next (with-current-buffer TeX-command-buffer
TeX-command-BibTeX)))
+ ((re-search-forward "Package biblatex Warning: Please rerun LaTeX" nil t)
+ (message "You should run LaTeX again")
+ (setq TeX-command-next TeX-command-default))
((re-search-forward "^(biblatex)\\W+Page breaks have changed" nil t)
(message "%s%s" "You should run LaTeX again - page breaks have
changed, "
(TeX-current-pages))