yatex-1.74-vine-vl7.patch 3.6 KB

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