comparison yatex.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 c0827f80b18e
children feef2aa1f50f
comparison
equal deleted inserted replaced
501:db7a90bd4621 503:d675f6d06481
1 ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*- 1 ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*-
2 ;;; (c)1991-2017 by HIROSE Yuuji.[yuuji@yatex.org] 2 ;;; (c)1991-2017 by HIROSE Yuuji.[yuuji@yatex.org]
3 ;;; Last modified Sun Sep 17 10:22:43 2017 on firestorm 3 ;;; Last modified Tue Jan 2 19:26:15 2018 on firestorm
4 ;;; $Id$ 4 ;;; $Id$
5 ;;; The latest version of this software is always available at; 5 ;;; The latest version of this software is always available at;
6 ;;; https://www.yatex.org/ 6 ;;; https://www.yatex.org/
7 7
8 ;;; This program is distributed as a free software. You can 8 ;;; This program is distributed as a free software. You can
47 47
48 (defvar YaTeX-use-LaTeX2e t "*Use LaTeX2e or not. Nil means latex 2.09") 48 (defvar YaTeX-use-LaTeX2e t "*Use LaTeX2e or not. Nil means latex 2.09")
49 49
50 (defvar tex-command 50 (defvar tex-command
51 (cond 51 (cond
52 (YaTeX-use-LaTeX2e "platex") 52 (YaTeX-use-LaTeX2e "platex -kanji=%k")
53 (YaTeX-japan "jlatex") 53 (YaTeX-japan "jlatex")
54 (t "latex")) 54 (t "latex"))
55 "*Default command for typesetting LaTeX text. 55 "*Default command for typesetting LaTeX text.
56 Overridden with `%#! CommandLine...' in the buffer.") 56 Overridden with `%#! CommandLine...' in the buffer.
57 `%'s followed by a character are replaced as follows:
58 %f -> Parent(main) document file name
59 %r -> %f without extension
60 %k -> One of Kanji code mnemonic: euc, jis, sjis, utf8
61 ")
57 62
58 (defvar bibtex-command (if YaTeX-japan "jbibtex" "bibtex") 63 (defvar bibtex-command (if YaTeX-japan "jbibtex" "bibtex")
59 "*Default command of BibTeX. 64 "*Default command of BibTeX.
60 Overridden with `%#BIBTEX CommandLine...' in the buffer.") 65 Overridden with `%#BIBTEX CommandLine...' in the buffer.")
61 66

yatex.org