yatex

diff yatexprc.el @ 503:d675f6d06481

Format string `%k' in tex-command replaced to kanji-coding mnemonic. Thus, (setq tex-command "platex -kanji=%k") is acceptable.
author HIROSE Yuuji <yuuji@gentei.org>
date Tue, 02 Jan 2018 21:22:04 +0900
parents 16763e5b7481
children 55a20e3120a0
line diff
     1.1 --- a/yatexprc.el	Mon Oct 30 21:02:35 2017 +0900
     1.2 +++ b/yatexprc.el	Tue Jan 02 21:22:04 2018 +0900
     1.3 @@ -1,7 +1,7 @@
     1.4  ;;; yatexprc.el --- YaTeX process handler -*- coding: sjis -*-
     1.5  ;;; 
     1.6  ;;; (c)1993-2017 by HIROSE Yuuji.[yuuji@yatex.org]
     1.7 -;;; Last modified Mon Oct 30 21:00:21 2017 on firestorm
     1.8 +;;; Last modified Tue Jan  2 17:50:40 2018 on firestorm
     1.9  ;;; $Id$
    1.10  
    1.11  ;;; Code:
    1.12 @@ -1351,7 +1351,8 @@
    1.13  	(t (concat (substring magic 0 (string-match "\\s [^-]\\S *$" magic)) " "))))
    1.14        (t (concat tex-command " " (if switch parent))))
    1.15       (list (cons "f" tparent)
    1.16 -	   (cons "r" (substring tparent 0 (rindex tparent ?.)))))))
    1.17 +	   (cons "r" (substring tparent 0 (rindex tparent ?.)))
    1.18 +	   (cons "k" (YaTeX-kanji-ptex-mnemonic))))))
    1.19  
    1.20  (defvar YaTeX-lpr-command-history nil
    1.21    "Holds command line history of YaTeX-lpr.")