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

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

updated yatex: TeX Live 2011

  • yatex1.74/yatex.el

    diff -up yatex1.74/yatex.el.vine yatex1.74/yatex.el
    old new  
    77;;; The latest version of this software is always available at; 
    88;;; http://www.yatex.org/ 
    99 
     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 
    1033(require 'comment) 
    1134(require 'yatexlib) 
    1235(defconst YaTeX-revision-number "1.74" 
    YaTeX-current-position-register.") 
    4871 
    4972(defvar tex-command 
    5073  (cond 
    51    (YaTeX-use-LaTeX2e "platex") 
    52    (YaTeX-japan "jlatex") 
     74   (YaTeX-use-LaTeX2e "platex -kanji=utf8 -src-specials");; default: platex 
     75   (YaTeX-japan "platex -kanji=utf8 -src-specials");; default: jlatex 
    5376   (t "latex")) 
    5477  "*Default command for typesetting LaTeX text.") 
    5578 
    56 (defvar bibtex-command (if YaTeX-japan "jbibtex" "bibtex") 
     79(defvar bibtex-command (if YaTeX-japan "pbibtex -kanji=utf8" "bibtex");; default: jbibtex 
    5780  "*Default command of BibTeX.") 
    5881 
    5982(defvar dvi2-command            ;previewer command for your site 
    6083  (if YaTeX-dos "dviout -wait=0" 
    61     "xdvi -geo +0+0 -s 4") 
     84    "pxdvi");; default: xdvi -geo +0+0 -s 4 
    6285  "*Default previewer command including its option. 
    6386This default value is for X window system.") 
    6487 
    65 (defvar makeindex-command (if YaTeX-dos "makeind" "makeindex") 
     88(defvar makeindex-command (if YaTeX-dos "makeind" "mendex -U");; default: makeindex 
    6689  "*Default makeindex command.") 
    6790 
    6891(defvar dviprint-command-format 
    6992  (if YaTeX-dos "dviprt %s %f%t" 
    70       "dvi2ps %f %t %s | lpr") 
     93      "dvips %s | lpr");; default: dvi2ps %f %t %s | lpr 
    7194  "*Command line string to print out current file. 
    7295Format string %s will be replaced by the filename.  Do not forget to 
    7396specify the `from usage' and `to usage' with their option by format string 
    specify the `from usage' and `to usage'  
    83106  "*`To' page format of dvi filter.  %e will turn to end page number.") 
    84107 
    85108(defvar YaTeX-default-document-style 
    86   (concat (if YaTeX-japan "j") "article") 
     109  (concat (if YaTeX-japan "js") "article");; default: j 
    87110  "*Default LaTeX Documentstyle for YaTeX-typeset-region.") 
    88111 
    89112(defvar YaTeX-need-nonstop nil 
    nil enters both open/close parentheses w 
    539562  "*Initial tex-section completion") 
    540563(defvar YaTeX-fontsize-name "large" "*Initial fontsize completion") 
    541564(defvar YaTeX-single-command "maketitle" "*Initial LaTeX single command") 
    542 (defvar YaTeX-kanji-code (if YaTeX-dos 1 2) 
     565(defvar YaTeX-kanji-code (if YaTeX-dos 1 4);; default: 2 
    543566  "*File kanji code used by Japanese TeX. 
    544567nil: Do not care (Preserve coding-system) 
    5455680: no-converion (mule) 
    See also the documentation of YaTeX-proc 
    17231746   
    17241747(defvar YaTeX-file-processor-alist-default 
    17251748  '(("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") 
    17281755    (t . ".tex") 
    17291756    (t . ".sty") 
    17301757    (t . "")) 
Note: See TracBrowser for help on using the repository browser.