yatex
diff yatex.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 | c0827f80b18e |
children | feef2aa1f50f |
line diff
1.1 --- a/yatex.el Sun Sep 17 10:25:38 2017 +0859 1.2 +++ b/yatex.el Tue Jan 02 21:22:04 2018 +0900 1.3 @@ -1,6 +1,6 @@ 1.4 ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*- 1.5 ;;; (c)1991-2017 by HIROSE Yuuji.[yuuji@yatex.org] 1.6 -;;; Last modified Sun Sep 17 10:22:43 2017 on firestorm 1.7 +;;; Last modified Tue Jan 2 19:26:15 2018 on firestorm 1.8 ;;; $Id$ 1.9 ;;; The latest version of this software is always available at; 1.10 ;;; https://www.yatex.org/ 1.11 @@ -49,11 +49,16 @@ 1.12 1.13 (defvar tex-command 1.14 (cond 1.15 - (YaTeX-use-LaTeX2e "platex") 1.16 + (YaTeX-use-LaTeX2e "platex -kanji=%k") 1.17 (YaTeX-japan "jlatex") 1.18 (t "latex")) 1.19 "*Default command for typesetting LaTeX text. 1.20 -Overridden with `%#! CommandLine...' in the buffer.") 1.21 +Overridden with `%#! CommandLine...' in the buffer. 1.22 +`%'s followed by a character are replaced as follows: 1.23 +%f -> Parent(main) document file name 1.24 +%r -> %f without extension 1.25 +%k -> One of Kanji code mnemonic: euc, jis, sjis, utf8 1.26 +") 1.27 1.28 (defvar bibtex-command (if YaTeX-japan "jbibtex" "bibtex") 1.29 "*Default command of BibTeX.