Revision 5257, 3.6 KB checked in by munepi, 13 years ago (diff) |
---|
diff -up yatex1.74/yatex.el.vine yatex1.74/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 | ;; (setq YaTeX-file-processor-alist-default | |
23 | ;; '(("tgif" . ".obj") | |
24 | ;; ("evince" . ".ps") | |
25 | ;; ("evince" . ".eps") | |
26 | ;; ("eog" . ".jpg") ("eog" . ".png") | |
27 | ;; ("evince" . ".pdf") ("inkscape" . ".ai") | |
28 | ;; (t . ".tex") | |
29 | ;; (t . ".sty") | |
30 | ;; (t . "")) | |
31 | ;; ) | |
32 | ||
10 | 33 | (require 'comment) |
11 | 34 | (require 'yatexlib) |
12 | 35 | (defconst YaTeX-revision-number "1.74" |
… | … | YaTeX-current-position-register.") |
48 | 71 | |
49 | 72 | (defvar tex-command |
50 | 73 | (cond |
51 | (YaTeX-use-LaTeX2e "platex |
|
52 | (YaTeX-japan " |
|
74 | (YaTeX-use-LaTeX2e "platex -kanji=utf8 -src-specials");; default: platex | |
75 | (YaTeX-japan "platex -kanji=utf8 -src-specials");; default: jlatex | |
53 | 76 | (t "latex")) |
54 | 77 | "*Default command for typesetting LaTeX text.") |
55 | 78 | |
56 | (defvar bibtex-command (if YaTeX-japan " |
|
79 | (defvar bibtex-command (if YaTeX-japan "pbibtex -kanji=utf8" "bibtex");; default: jbibtex | |
57 | 80 | "*Default command of BibTeX.") |
58 | 81 | |
59 | 82 | (defvar dvi2-command ;previewer command for your site |
60 | 83 | (if YaTeX-dos "dviout -wait=0" |
61 | " |
|
84 | "pxdvi");; default: xdvi -geo +0+0 -s 4 | |
62 | 85 | "*Default previewer command including its option. |
63 | 86 | This default value is for X window system.") |
64 | 87 | |
65 | (defvar makeindex-command (if YaTeX-dos "makeind" "m |
|
88 | (defvar makeindex-command (if YaTeX-dos "makeind" "mendex -U");; default: makeindex | |
66 | 89 | "*Default makeindex command.") |
67 | 90 | |
68 | 91 | (defvar dviprint-command-format |
69 | 92 | (if YaTeX-dos "dviprt %s %f%t" |
70 | "dvi |
|
93 | "dvips %s | lpr");; default: dvi2ps %f %t %s | lpr | |
71 | 94 | "*Command line string to print out current file. |
72 | 95 | Format string %s will be replaced by the filename. Do not forget to |
73 | 96 | specify the `from usage' and `to usage' with their option by format string |
… | … | specify the `from usage' and `to usage' |
83 | 106 | "*`To' page format of dvi filter. %e will turn to end page number.") |
84 | 107 | |
85 | 108 | (defvar YaTeX-default-document-style |
86 | (concat (if YaTeX-japan "j |
|
109 | (concat (if YaTeX-japan "js") "article");; default: j | |
87 | 110 | "*Default LaTeX Documentstyle for YaTeX-typeset-region.") |
88 | 111 | |
89 | 112 | (defvar YaTeX-need-nonstop nil |
… | … | nil enters both open/close parentheses w |
539 | 562 | "*Initial tex-section completion") |
540 | 563 | (defvar YaTeX-fontsize-name "large" "*Initial fontsize completion") |
541 | 564 | (defvar YaTeX-single-command "maketitle" "*Initial LaTeX single command") |
542 | (defvar YaTeX-kanji-code (if YaTeX-dos 1 |
|
565 | (defvar YaTeX-kanji-code (if YaTeX-dos 1 4);; default: 2 | |
543 | 566 | "*File kanji code used by Japanese TeX. |
544 | 567 | nil: Do not care (Preserve coding-system) |
545 | 568 | 0: no-converion (mule) |
… | … | See also the documentation of YaTeX-proc |
1723 | 1746 | |
1724 | 1747 | (defvar YaTeX-file-processor-alist-default |
1725 | 1748 | '(("tgif" . ".obj") |
1726 | ("ghostview" . ".ps") | |
1727 | ("ghostview" . ".eps") | |
1749 | ("evince" . ".ps") ;; default: ghostview | |
1750 | ("evince" . ".eps") ;; default: ghostview | |
1751 | ("eog" . ".jpg") | |
1752 | ("eog" . ".png") | |
1753 | ("evince" . ".pdf") | |
1754 | ("inkscape" . ".ai") | |
1728 | 1755 | (t . ".tex") |
1729 | 1756 | (t . ".sty") |
1730 | 1757 | (t . "")) |