diff -du yatex1.76/yatex.el.vine yatex1.76/yatex.el --- yatex1.76/yatex.el.vine 2012-05-11 18:05:40.000000000 +0900 +++ yatex1.76/yatex.el 2012-05-12 13:49:28.412659750 +0900 @@ -7,6 +7,19 @@ ;;; 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 "eplatex -kanji=utf8 -src-specials" +;; dviprint-command-format "pdvips %s | lpr" +;; makeindex-command "mendex -U" +;; bibtex-command "pbibtex -kanji=utf8" +;; ) +;; +;; (setq YaTeX-default-document-style +;; (concat (if YaTeX-japan "js") "article")) + + (require 'comment) (require 'yatexlib) (defconst YaTeX-revision-number "1.76" @@ -48,26 +61,26 @@ (defvar tex-command (cond - (YaTeX-use-LaTeX2e "platex") - (YaTeX-japan "jlatex") + (YaTeX-use-LaTeX2e "eplatex -kanji=utf8 -src-specials");; default: platex + (YaTeX-japan "eplatex -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") + "pdvips %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 @@ -87,7 +100,7 @@ "*Command name to convert dvi file to PDF.") (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 @@ -545,7 +558,7 @@ "*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) Diff finished. Sat May 12 13:49:41 2012