yatex

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 diff
     1.1 --- a/yatexprc.el	Fri Feb 17 17:42:27 2012 +0900
     1.2 +++ b/yatexprc.el	Fri Feb 17 22:36:35 2012 +0900
     1.3 @@ -2,7 +2,7 @@
     1.4  ;;; YaTeX process handler.
     1.5  ;;; yatexprc.el
     1.6  ;;; (c)1993-2012 by HIROSE Yuuji.[yuuji@yatex.org]
     1.7 -;;; Last modified Fri Feb 17 17:38:32 2012 on firestorm
     1.8 +;;; Last modified Fri Feb 17 22:35:38 2012 on firestorm
     1.9  ;;; $Id$
    1.10  
    1.11  ;(require 'yatex)
    1.12 @@ -213,7 +213,9 @@
    1.13                   ;; will stay around until M-x list-processes.
    1.14                   (delete-process proc)
    1.15  		 (if (cond
    1.16 -		      ((not YaTeX-typeset-auto-rerun) nil)
    1.17 +		      ((or (not YaTeX-typeset-auto-rerun)
    1.18 +			   (string-match "latexmk" thiscmd))
    1.19 +		       nil)
    1.20  		      ((and bibcmd     ;Call bibtex if bibcmd defined &&
    1.21  			    (or	       ;  (1st call  || warning found)
    1.22  			     (and (not (numberp YaTeX-typeset-auto-rerun))