source: projects/specs/trunk/y/yatex/yatex-1.74-vine-vl7.patch @ 5257

Revision 5257, 3.6 KB checked in by munepi, 13 years ago (diff)

updated yatex: TeX Live 2011

RevLine 
[5257]1diff -up yatex1.74/yatex.el.vine yatex1.74/yatex.el
2--- yatex1.74/yatex.el.vine     2009-09-28 10:57:01.000000000 +0900
3+++ yatex1.74/yatex.el  2011-12-04 00:29:59.894689935 +0900
4@@ -7,6 +7,29 @@
5 ;;; The latest version of this software is always available at;
6 ;;; http://www.yatex.org/
7 
8+;;; Our Vine Linux applied the following settings as default:
9+;; (setq YaTeX-kanji-code 4
10+;;       dvi2-command "pxdvi"
11+;;       tex-command "platex -kanji=utf8 -src-specials"
12+;;       dviprint-command-format "dvips %s | lpr"
13+;;       makeindex-command "mendex -U"
14+;;       bibtex-command "pbibtex -kanji=utf8"
15+;;       )
16+;;
17+;; (setq YaTeX-default-document-style
18+;;       (concat (if YaTeX-japan "js") "article"))
19+;;
20+;; (setq YaTeX-file-processor-alist-default
21+;;   '(("tgif" . ".obj")
22+;;     ("evince" . ".ps")
23+;;     ("evince" . ".eps")
24+;;     ("eog" . ".jpg") ("eog" . ".png")
25+;;     ("evince" . ".pdf") ("inkscape" . ".ai")
26+;;     (t . ".tex")
27+;;     (t . ".sty")
28+;;     (t . ""))
29+;;   )
30+
31 (require 'comment)
32 (require 'yatexlib)
33 (defconst YaTeX-revision-number "1.74"
34@@ -48,26 +71,26 @@ YaTeX-current-position-register.")
35 
36 (defvar tex-command
37   (cond
38-   (YaTeX-use-LaTeX2e "platex")
39-   (YaTeX-japan "jlatex")
40+   (YaTeX-use-LaTeX2e "platex -kanji=utf8 -src-specials");; default: platex
41+   (YaTeX-japan "platex -kanji=utf8 -src-specials");; default: jlatex
42    (t "latex"))
43   "*Default command for typesetting LaTeX text.")
44 
45-(defvar bibtex-command (if YaTeX-japan "jbibtex" "bibtex")
46+(defvar bibtex-command (if YaTeX-japan "pbibtex -kanji=utf8" "bibtex");; default: jbibtex
47   "*Default command of BibTeX.")
48 
49 (defvar dvi2-command           ;previewer command for your site
50   (if YaTeX-dos "dviout -wait=0"
51-    "xdvi -geo +0+0 -s 4")
52+    "pxdvi");; default: xdvi -geo +0+0 -s 4
53   "*Default previewer command including its option.
54 This default value is for X window system.")
55 
56-(defvar makeindex-command (if YaTeX-dos "makeind" "makeindex")
57+(defvar makeindex-command (if YaTeX-dos "makeind" "mendex -U");; default: makeindex
58   "*Default makeindex command.")
59 
60 (defvar dviprint-command-format
61   (if YaTeX-dos "dviprt %s %f%t"
62-      "dvi2ps %f %t %s | lpr")
63+      "dvips %s | lpr");; default: dvi2ps %f %t %s | lpr
64   "*Command line string to print out current file.
65 Format string %s will be replaced by the filename.  Do not forget to
66 specify the `from usage' and `to usage' with their option by format string
67@@ -83,7 +106,7 @@ specify the `from usage' and `to usage'
68   "*`To' page format of dvi filter.  %e will turn to end page number.")
69 
70 (defvar YaTeX-default-document-style
71-  (concat (if YaTeX-japan "j") "article")
72+  (concat (if YaTeX-japan "js") "article");; default: j
73   "*Default LaTeX Documentstyle for YaTeX-typeset-region.")
74 
75 (defvar YaTeX-need-nonstop nil
76@@ -539,7 +562,7 @@ nil enters both open/close parentheses w
77   "*Initial tex-section completion")
78 (defvar YaTeX-fontsize-name "large" "*Initial fontsize completion")
79 (defvar YaTeX-single-command "maketitle" "*Initial LaTeX single command")
80-(defvar YaTeX-kanji-code (if YaTeX-dos 1 2)
81+(defvar YaTeX-kanji-code (if YaTeX-dos 1 4);; default: 2
82   "*File kanji code used by Japanese TeX.
83 nil: Do not care (Preserve coding-system)
84 0: no-converion (mule)
85@@ -1723,8 +1746,12 @@ See also the documentation of YaTeX-proc
86   
87 (defvar YaTeX-file-processor-alist-default
88   '(("tgif" . ".obj")
89-    ("ghostview" . ".ps")
90-    ("ghostview" . ".eps")
91+    ("evince" . ".ps") ;; default: ghostview
92+    ("evince" . ".eps") ;; default: ghostview
93+    ("eog" . ".jpg")
94+    ("eog" . ".png")
95+    ("evince" . ".pdf")
96+    ("inkscape" . ".ai")
97     (t . ".tex")
98     (t . ".sty")
99     (t . ""))
100
101Diff finished.  Sun Dec  4 00:30:03 2011
Note: See TracBrowser for help on using the repository browser.