/etc/emacs/site-start.d/50yatex-init.el is in yatex 1.77+dfsg1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; /etc/emacs/site-start.d/50yatex-init.el
;; $Id: yatex-init.el,v 1.2 2003/06/20 00:26:35 dombly Exp $
;;
;; Copyright (C) 2003 Debian Project
;; (Maintained by INOUE Hiroyuki <dombly@kc4.so-net.ne.jp>)
;;
;;
;; NOTE: Lines with tab-stop indents are indispensable for sake of
;; the system's sanity. Editing them is discouraged.
;;
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(let ((yatex-dir (concat "/usr/share/"
(symbol-name debian-emacs-flavor)
"/site-lisp/yatex")))
(when (file-directory-p yatex-dir)
(debian-pkg-add-load-path-item yatex-dir)
(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
(autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t)
; (setq auto-mode-alist (append '(
;;;;;; [auto-mode-alist]
;;
;; for YaTeX
;;
;("\\.tex$" . yatex-mode)
;("\\.ltx$" . yatex-mode)
;("\\.cls$" . yatex-mode)
;("\\.sty$" . yatex-mode)
;("\\.clo$" . yatex-mode)
;("\\.bbl$" . yatex-mode)
;;
;; for YaHTML
;;
;("\\.s?html?$" . yahtml-mode) ; disabled by default
; ) auto-mode-alist))
;;;;;; [YaTeX-japan]
;;
;; By default, YaTeX/YaHTML show Japanese messages if possible.
;; You can disable this feature here.
;;
;(setq YaTeX-japan nil)
;;;;;; [External programs]
;;
;; You can configure site-wide defaults of external programs here.
;; (Those lines which are disabled show the upstream default.)
;;
;;
;; YaTeX typesetting command
;;
;(setq tex-command
; (cond
; (YaTeX-use-LaTeX2e "platex")
; (YaTeX-japan "jlatex")
; (t "latex")))
;;
;; YaTeX BibTeX command
;;
;(setq bibtex-command (if YaTeX-japan "jbibtex" "bibtex"))
;;
;; YaTeX MakeIndex command
;;
;(setq makeindex-command "makeindex")
;;
;; YaTeX previewer command
;;
;(setq dvi2-command "xdvi -geo +0+0 -s 4")
;;
;; YaTeX command for printing
;; - 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 %f and %t.
;; See also documentation of dviprint-from-format and dviprint-to-format.
;;
;(setq dviprint-command-format "dvi2ps %f %t %s | lpr")
;;
;; YaHTML lint command
;;
;(setq yahtml-lint-program (if YaTeX-japan "jweblint" "weblint"))
;;
;; YaHTML browser
;;
;(setq yahtml-www-browser "iceweasel")
;;
;; YaHTML image viewer
;;
;(setq yahtml-image-viewer "xv") ; upstream default - unavailable
(setq yahtml-image-viewer "see") ; free alternative for Debian
;; YaTeX kanji-code
;;
(setq YaTeX-kanji-code nil)
;; YaTeX prefix-key
(setq YaTeX-inhibit-prefix-letter t)
))
;;
;; End of file `yatex-init.el'
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|