changeset 263:808f532d68d3 dev

Inhibit auto-rerun of bibtex when using latexmk.
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 17 Feb 2012 22:36:35 +0900
parents 15ec86ff549c
children 7f268849cef4
files yatexprc.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/yatexprc.el	Fri Feb 17 17:42:27 2012 +0900
+++ b/yatexprc.el	Fri Feb 17 22:36:35 2012 +0900
@@ -2,7 +2,7 @@
 ;;; YaTeX process handler.
 ;;; yatexprc.el
 ;;; (c)1993-2012 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Fri Feb 17 17:38:32 2012 on firestorm
+;;; Last modified Fri Feb 17 22:35:38 2012 on firestorm
 ;;; $Id$
 
 ;(require 'yatex)
@@ -213,7 +213,9 @@
                  ;; will stay around until M-x list-processes.
                  (delete-process proc)
 		 (if (cond
-		      ((not YaTeX-typeset-auto-rerun) nil)
+		      ((or (not YaTeX-typeset-auto-rerun)
+			   (string-match "latexmk" thiscmd))
+		       nil)
 		      ((and bibcmd     ;Call bibtex if bibcmd defined &&
 			    (or	       ;  (1st call  || warning found)
 			     (and (not (numberp YaTeX-typeset-auto-rerun))

yatex.org