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 diff
     1.1 --- a/yatexprc.el	Fri May 28 15:22:11 2010 +0900
     1.2 +++ b/yatexprc.el	Mon Sep 27 17:05:03 2010 +0900
     1.3 @@ -2,7 +2,7 @@
     1.4  ;;; YaTeX process handler.
     1.5  ;;; yatexprc.el
     1.6  ;;; (c)1993-2010 by HIROSE Yuuji.[yuuji@yatex.org]
     1.7 -;;; Last modified Fri May 28 13:05:14 2010 on firestorm
     1.8 +;;; Last modified Mon Sep 27 17:03:24 2010 on duke
     1.9  ;;; $Id$
    1.10  
    1.11  ;(require 'yatex)
    1.12 @@ -308,9 +308,8 @@
    1.13  	(cb (current-buffer)))
    1.14      (and pp
    1.15  	 (stringp pp)
    1.16 -	 (let ((tex-command pp))
    1.17 -	   (setq ppcmd (YaTeX-get-latex-command t)
    1.18 -		 ppcmd (substring ppcmd 0 (rindex ppcmd ?.)))))
    1.19 +	 (setq ppcmd (concat pp (substring cmd (string-match "[ \t]" cmd)))
    1.20 +	       ppcmd (substring ppcmd 0 (rindex ppcmd ?.))))
    1.21      (if (YaTeX-main-file-p) nil
    1.22        (save-excursion
    1.23  	(YaTeX-visit-main t)	;search into main buffer