Mercurial > hgrepos > hgweb.cgi > yatex
changeset 146:78803eda24b8 dev
Change the method of creating a command line for dvipdfm. ([prefix] t d)
author | HIROSE Yuuji <yuuji@koeki-u.ac.jp> |
---|---|
date | Mon, 27 Sep 2010 17:05:03 +0900 |
parents | 94a1370956a4 |
children | 20a8da73ceb3 70b8cd70950a |
files | yatexprc.el |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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