Mercurial > hgrepos > hgweb.cgi > yatex
comparison yatex.el @ 506:feef2aa1f50f dev
Bibtex-command accepts %k like "pbibtex -kanji=%k".
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 02 Jan 2018 23:35:07 +0900 |
parents | d675f6d06481 |
children | f5cf5888847d |
comparison
equal
deleted
inserted
replaced
505:55a20e3120a0 | 506:feef2aa1f50f |
---|---|
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 Tue Jan 2 19:26:15 2018 on firestorm | 3 ;;; Last modified Tue Jan 2 23:11:09 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 |
58 %f -> Parent(main) document file name | 58 %f -> Parent(main) document file name |
59 %r -> %f without extension | 59 %r -> %f without extension |
60 %k -> One of Kanji code mnemonic: euc, jis, sjis, utf8 | 60 %k -> One of Kanji code mnemonic: euc, jis, sjis, utf8 |
61 ") | 61 ") |
62 | 62 |
63 (defvar bibtex-command (if YaTeX-japan "jbibtex" "bibtex") | 63 (defvar bibtex-command (if YaTeX-japan "pbibtex -kanji=%k" "bibtex") |
64 "*Default command of BibTeX. | 64 "*Default command of BibTeX. |
65 Overridden with `%#BIBTEX CommandLine...' in the buffer.") | 65 Overridden with `%#BIBTEX CommandLine...' in the buffer.") |
66 | 66 |
67 (defvar dvi2-command ;previewer command for your site | 67 (defvar dvi2-command ;previewer command for your site |
68 (cond (YaTeX-dos "dviout -wait=0") | 68 (cond (YaTeX-dos "dviout -wait=0") |