# HG changeset patch # User HIROSE Yuuji # Date 1329485795 -32400 # Node ID 808f532d68d331ea0faa0404c90a6fedd0653cc8 # Parent 15ec86ff549c3c48ab1109599e00acd62b7a229c Inhibit auto-rerun of bibtex when using latexmk. diff -r 15ec86ff549c -r 808f532d68d3 yatexprc.el --- 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))