# HG changeset patch # User HIROSE Yuuji # Date 1285574703 -32400 # Node ID 78803eda24b85b2df8de4a374bf022eafbb2b7c3 # Parent 94a1370956a4c9be6da223e8d5a3b04880787cd9 Change the method of creating a command line for dvipdfm. ([prefix] t d) diff -r 94a1370956a4 -r 78803eda24b8 yatexprc.el --- a/yatexprc.el Fri May 28 15:22:11 2010 +0900 +++ b/yatexprc.el Mon Sep 27 17:05:03 2010 +0900 @@ -2,7 +2,7 @@ ;;; YaTeX process handler. ;;; yatexprc.el ;;; (c)1993-2010 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Fri May 28 13:05:14 2010 on firestorm +;;; Last modified Mon Sep 27 17:03:24 2010 on duke ;;; $Id$ ;(require 'yatex) @@ -308,9 +308,8 @@ (cb (current-buffer))) (and pp (stringp pp) - (let ((tex-command pp)) - (setq ppcmd (YaTeX-get-latex-command t) - ppcmd (substring ppcmd 0 (rindex ppcmd ?.))))) + (setq ppcmd (concat pp (substring cmd (string-match "[ \t]" cmd))) + ppcmd (substring ppcmd 0 (rindex ppcmd ?.)))) (if (YaTeX-main-file-p) nil (save-excursion (YaTeX-visit-main t) ;search into main buffer