Mercurial > hgrepos > hgweb.cgi > yatex
diff yatexprc.el @ 503:d675f6d06481 dev
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 wrap: on
line diff
--- a/yatexprc.el Sun Dec 10 22:01:03 2017 +0900 +++ b/yatexprc.el Tue Jan 02 21:22:04 2018 +0900 @@ -1,7 +1,7 @@ ;;; yatexprc.el --- YaTeX process handler -*- coding: sjis -*- ;;; ;;; (c)1993-2017 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Oct 30 21:00:21 2017 on firestorm +;;; Last modified Tue Jan 2 17:50:40 2018 on firestorm ;;; $Id$ ;;; Code: @@ -1351,7 +1351,8 @@ (t (concat (substring magic 0 (string-match "\\s [^-]\\S *$" magic)) " ")))) (t (concat tex-command " " (if switch parent)))) (list (cons "f" tparent) - (cons "r" (substring tparent 0 (rindex tparent ?.))))))) + (cons "r" (substring tparent 0 (rindex tparent ?.))) + (cons "k" (YaTeX-kanji-ptex-mnemonic)))))) (defvar YaTeX-lpr-command-history nil "Holds command line history of YaTeX-lpr.")