yatex-1.77-vine-vl7.patch 2.8 KB

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