Revision 7675, 2.8 KB checked in by munepi, 10 years ago (diff) |
---|
diff -du yatex1.76/yatex.el.vine yatex1.76/yatex.el
old | new | |
---|---|---|
7 | 7 | ;;; The latest version of this software is always available at; |
8 | 8 | ;;; http://www.yatex.org/ |
9 | 9 | |
10 | ;;; Our Vine Linux applied the following settings as default: | |
11 | ;; (setq YaTeX-kanji-code 4 | |
12 | ;; dvi2-command "pxdvi" | |
13 | ;; tex-command "platex -kanji=utf8 -src-specials" | |
14 | ;; dviprint-command-format "dvips %s | lpr" | |
15 | ;; makeindex-command "mendex -U" | |
16 | ;; bibtex-command "pbibtex -kanji=utf8" | |
17 | ;; ) | |
18 | ;; | |
19 | ;; (setq YaTeX-default-document-style | |
20 | ;; (concat (if YaTeX-japan "js") "article")) | |
21 | ||
22 | ||
10 | 23 | (require 'comment) |
11 | 24 | (require 'yatexlib) |
12 | 25 | (defconst YaTeX-revision-number "1.76" |
… | … | |
48 | 61 | |
49 | 62 | (defvar tex-command |
50 | 63 | (cond |
51 | (YaTeX-use-LaTeX2e "platex |
|
52 | (YaTeX-japan " |
|
64 | (YaTeX-use-LaTeX2e "platex -kanji=utf8 -src-specials");; default: platex | |
65 | (YaTeX-japan "platex -kanji=utf8 -src-specials");; default: jlatex | |
53 | 66 | (t "latex")) |
54 | 67 | "*Default command for typesetting LaTeX text.") |
55 | 68 | |
56 | (defvar bibtex-command (if YaTeX-japan " |
|
69 | (defvar bibtex-command (if YaTeX-japan "pbibtex -kanji=utf8" "bibtex");; default: jbibtex | |
57 | 70 | "*Default command of BibTeX.") |
58 | 71 | |
59 | 72 | (defvar dvi2-command ;previewer command for your site |
60 | 73 | (if YaTeX-dos "dviout -wait=0" |
61 | " |
|
74 | "pxdvi");; default: xdvi -geo +0+0 -s 4 | |
62 | 75 | "*Default previewer command including its option. |
63 | 76 | This default value is for X window system.") |
64 | 77 | |
65 | (defvar makeindex-command (if YaTeX-dos "makeind" "m |
|
78 | (defvar makeindex-command (if YaTeX-dos "makeind" "mendex -U");; default: makeindex | |
66 | 79 | "*Default makeindex command.") |
67 | 80 | |
68 | 81 | (defvar dviprint-command-format |
69 | 82 | (if YaTeX-dos "dviprt %s %f%t" |
70 | "dvi |
|
83 | "dvips %s | lpr");; default: dvi2ps %f %t %s | lpr | |
71 | 84 | "*Command line string to print out current file. |
72 | 85 | Format string %s will be replaced by the filename. Do not forget to |
73 | 86 | specify the `from usage' and `to usage' with their option by format string |
… | … | |
87 | 100 | "*Command name to convert dvi file to PDF.") |
88 | 101 | |
89 | 102 | (defvar YaTeX-default-document-style |
90 | (concat (if YaTeX-japan "j |
|
103 | (concat (if YaTeX-japan "js") "article");; default: j | |
91 | 104 | "*Default LaTeX Documentstyle for YaTeX-typeset-region.") |
92 | 105 | |
93 | 106 | (defvar YaTeX-need-nonstop nil |
… | … | |
545 | 558 | "*Initial tex-section completion") |
546 | 559 | (defvar YaTeX-fontsize-name "large" "*Initial fontsize completion") |
547 | 560 | (defvar YaTeX-single-command "maketitle" "*Initial LaTeX single command") |
548 | (defvar YaTeX-kanji-code (if YaTeX-dos 1 |
|
561 | (defvar YaTeX-kanji-code (if YaTeX-dos 1 4);; default: 2 | |
549 | 562 | "*File kanji code used by Japanese TeX. |
550 | 563 | nil: Do not care (Preserve coding-system) |
551 | 564 | 0: no-converion (mule) |