1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/print/yatex/files/yatex-startup.el.tmpl
Satoshi Taoka 18aed621c2 moved japanese/yatex to print/yatex-mule (for Mule 2.3)
moved japanese/yatex-xemacs to print/yatex-xemacs-mule (for XEmacs20-mule)
added a new port: print/yatex-xemacs (for XEmacs19 XEmacs20)
1999-03-17 06:57:38 +00:00

40 lines
1.5 KiB
Cheetah

;; a startup elisp for YaTeX
;; -- S. Taoka <taoka@infonets.hiroshima-u.ac.jp>
;;;;;;;;;;; %%TARGETNAME%% (Ver.%%VERSION%%) ;;;;;;;;;;;
(setq load-path (append (list
"%%ELISPDIR%%/yatex"
) load-path))
(setq auto-mode-alist
(cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
;;
;(setq tex-command "latex")
;(setq dvi2-command "xdvi -geo +0+0 -s 3")
;; If you use dvipsk as default, you should use the following three lines.
;(setq dviprint-from-format "-p %b")
;(setq dviprint-to-format "-l %b")
;(setq dviprint-command-format "dvips %f %t %s | lpr")
;; specifying a Kanji code for Mule
;; (1=Shift JIS, 2=JIS, 3=EUC)
;(setq YaTeX-kanji-code 3)
;;
;; For XEmacs, it is not supported that YaTeX originally color
;; LaTeX commands (e.g. \section{foo}) by using hilit19
;; so you had better uncomment the next line.
;(put 'yatex-mode 'font-lock-defaults 'latex-mode)
;;
;;;;;;;; Yahtml (another html-mode) ;;;;;;
;(setq auto-mode-alist
; (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist))
;(autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t)
;; Write your favorite browser. But netscape is advantageous.
;(setq yahtml-www-browser "netscape")
;; Write correspondence alist from ABSOLUTE unix path name to URL path.
;(setq yahtml-path-url-alist
; '(("/home/yuuji/public_html" . "http://www.mynet/~yuuji")
; ("/home/staff/yuuji/html" . "http://www.othernet/~yuuji")))
(provide 'yatex-startup)