source: projects/specs/trunk/y/yatex/yatex-1.77-vine-vl7.patch @ 7675

Revision 7675, 2.8 KB checked in by munepi, 11 years ago (diff)

new upstream release

RevLine 
[6173]1diff -du yatex1.76/yatex.el.vine yatex1.76/yatex.el
2--- yatex1.76/yatex.el.vine     2012-05-11 18:05:40.000000000 +0900
3+++ yatex1.76/yatex.el  2012-05-12 13:49:28.412659750 +0900
4@@ -7,6 +7,19 @@
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+
21 (require 'comment)
22 (require 'yatexlib)
23 (defconst YaTeX-revision-number "1.76"
24@@ -48,26 +61,26 @@
25 
26 (defvar tex-command
27   (cond
28-   (YaTeX-use-LaTeX2e "platex")
29-   (YaTeX-japan "jlatex")
30+   (YaTeX-use-LaTeX2e "platex -kanji=utf8 -src-specials");; default: platex
31+   (YaTeX-japan "platex -kanji=utf8 -src-specials");; default: jlatex
32    (t "latex"))
33   "*Default command for typesetting LaTeX text.")
34 
35-(defvar bibtex-command (if YaTeX-japan "jbibtex" "bibtex")
36+(defvar bibtex-command (if YaTeX-japan "pbibtex -kanji=utf8" "bibtex");; default: jbibtex
37   "*Default command of BibTeX.")
38 
39 (defvar dvi2-command           ;previewer command for your site
40   (if YaTeX-dos "dviout -wait=0"
41-    "xdvi -geo +0+0 -s 4")
42+    "pxdvi");; default: xdvi -geo +0+0 -s 4
43   "*Default previewer command including its option.
44 This default value is for X window system.")
45 
46-(defvar makeindex-command (if YaTeX-dos "makeind" "makeindex")
47+(defvar makeindex-command (if YaTeX-dos "makeind" "mendex -U");; default: makeindex
48   "*Default makeindex command.")
49 
50 (defvar dviprint-command-format
51   (if YaTeX-dos "dviprt %s %f%t"
52-      "dvi2ps %f %t %s | lpr")
53+      "dvips %s | lpr");; default: dvi2ps %f %t %s | lpr
54   "*Command line string to print out current file.
55 Format string %s will be replaced by the filename.  Do not forget to
56 specify the `from usage' and `to usage' with their option by format string
57@@ -87,7 +100,7 @@
58   "*Command name to convert dvi file to PDF.")
59 
60 (defvar YaTeX-default-document-style
61-  (concat (if YaTeX-japan "j") "article")
62+  (concat (if YaTeX-japan "js") "article");; default: j
63   "*Default LaTeX Documentstyle for YaTeX-typeset-region.")
64 
65 (defvar YaTeX-need-nonstop nil
66@@ -545,7 +558,7 @@
67   "*Initial tex-section completion")
68 (defvar YaTeX-fontsize-name "large" "*Initial fontsize completion")
69 (defvar YaTeX-single-command "maketitle" "*Initial LaTeX single command")
70-(defvar YaTeX-kanji-code (if YaTeX-dos 1 2)
71+(defvar YaTeX-kanji-code (if YaTeX-dos 1 4);; default: 2
72   "*File kanji code used by Japanese TeX.
73 nil: Do not care (Preserve coding-system)
74 0: no-converion (mule)
75
76Diff finished.  Sat May 12 13:49:41 2012
Note: See TracBrowser for help on using the repository browser.