123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- diff -up yatex1.74/yatex.el.vine yatex1.74/yatex.el
- --- yatex1.74/yatex.el.vine 2009-09-28 10:57:01.000000000 +0900
- +++ yatex1.74/yatex.el 2011-12-04 00:29:59.894689935 +0900
- @@ -7,6 +7,29 @@
- ;;; The latest version of this software is always available at;
- ;;; http://www.yatex.org/
-
- +;;; Our Vine Linux applied the following settings as default:
- +;; (setq YaTeX-kanji-code 4
- +;; dvi2-command "pxdvi"
- +;; tex-command "platex -kanji=utf8 -src-specials"
- +;; dviprint-command-format "dvips %s | lpr"
- +;; makeindex-command "mendex -U"
- +;; bibtex-command "pbibtex -kanji=utf8"
- +;; )
- +;;
- +;; (setq YaTeX-default-document-style
- +;; (concat (if YaTeX-japan "js") "article"))
- +;;
- +;; (setq YaTeX-file-processor-alist-default
- +;; '(("tgif" . ".obj")
- +;; ("evince" . ".ps")
- +;; ("evince" . ".eps")
- +;; ("eog" . ".jpg") ("eog" . ".png")
- +;; ("evince" . ".pdf") ("inkscape" . ".ai")
- +;; (t . ".tex")
- +;; (t . ".sty")
- +;; (t . ""))
- +;; )
- +
- (require 'comment)
- (require 'yatexlib)
- (defconst YaTeX-revision-number "1.74"
- @@ -48,26 +71,26 @@ YaTeX-current-position-register.")
-
- (defvar tex-command
- (cond
- - (YaTeX-use-LaTeX2e "platex")
- - (YaTeX-japan "jlatex")
- + (YaTeX-use-LaTeX2e "platex -kanji=utf8 -src-specials");; default: platex
- + (YaTeX-japan "platex -kanji=utf8 -src-specials");; default: jlatex
- (t "latex"))
- "*Default command for typesetting LaTeX text.")
-
- -(defvar bibtex-command (if YaTeX-japan "jbibtex" "bibtex")
- +(defvar bibtex-command (if YaTeX-japan "pbibtex -kanji=utf8" "bibtex");; default: jbibtex
- "*Default command of BibTeX.")
-
- (defvar dvi2-command ;previewer command for your site
- (if YaTeX-dos "dviout -wait=0"
- - "xdvi -geo +0+0 -s 4")
- + "pxdvi");; default: xdvi -geo +0+0 -s 4
- "*Default previewer command including its option.
- This default value is for X window system.")
-
- -(defvar makeindex-command (if YaTeX-dos "makeind" "makeindex")
- +(defvar makeindex-command (if YaTeX-dos "makeind" "mendex -U");; default: makeindex
- "*Default makeindex command.")
-
- (defvar dviprint-command-format
- (if YaTeX-dos "dviprt %s %f%t"
- - "dvi2ps %f %t %s | lpr")
- + "dvips %s | lpr");; default: dvi2ps %f %t %s | lpr
- "*Command line string to print out current file.
- Format string %s will be replaced by the filename. Do not forget to
- specify the `from usage' and `to usage' with their option by format string
- @@ -83,7 +106,7 @@ specify the `from usage' and `to usage'
- "*`To' page format of dvi filter. %e will turn to end page number.")
-
- (defvar YaTeX-default-document-style
- - (concat (if YaTeX-japan "j") "article")
- + (concat (if YaTeX-japan "js") "article");; default: j
- "*Default LaTeX Documentstyle for YaTeX-typeset-region.")
-
- (defvar YaTeX-need-nonstop nil
- @@ -539,7 +562,7 @@ nil enters both open/close parentheses w
- "*Initial tex-section completion")
- (defvar YaTeX-fontsize-name "large" "*Initial fontsize completion")
- (defvar YaTeX-single-command "maketitle" "*Initial LaTeX single command")
- -(defvar YaTeX-kanji-code (if YaTeX-dos 1 2)
- +(defvar YaTeX-kanji-code (if YaTeX-dos 1 4);; default: 2
- "*File kanji code used by Japanese TeX.
- nil: Do not care (Preserve coding-system)
- 0: no-converion (mule)
- @@ -1723,8 +1746,12 @@ See also the documentation of YaTeX-proc
-
- (defvar YaTeX-file-processor-alist-default
- '(("tgif" . ".obj")
- - ("ghostview" . ".ps")
- - ("ghostview" . ".eps")
- + ("evince" . ".ps") ;; default: ghostview
- + ("evince" . ".eps") ;; default: ghostview
- + ("eog" . ".jpg")
- + ("eog" . ".png")
- + ("evince" . ".pdf")
- + ("inkscape" . ".ai")
- (t . ".tex")
- (t . ".sty")
- (t . ""))
- Diff finished. Sun Dec 4 00:30:03 2011
|