yatex

view yatexm-o.el @ 43:ef686a35472d

Change the default section-type command to footnotetext after maketitle-type completion: footnotemark.
author yuuji
date Sun, 24 Jul 1994 15:07:23 +0000
parents eafae54794a0
children 3a7c0c2bf16d
line source
1 ;;; -*- Emacs-Lisp -*-
2 ;;; Sample startup file to invoke yatex-mode with outline-minor mode.
3 ;;; (c )1993 by HIROSE Yuuji [yuuji@ae.keio.ac.jp]
4 ;;; Last modified Wed May 4 19:44:53 1994 on 98fa
6 ;;;
7 ;; outline-minor-mode(使用しない場合は不要です)
8 ;;;
9 (autoload 'outline-minor-mode "min-out" t)
10 (make-variable-buffer-local 'outline-prefix-char)
11 (make-variable-buffer-local 'outline-regexp)
12 (setq default-outline-regexp "[*\^l]+")
13 (make-variable-buffer-local 'outline-level-function)
14 (setq-default outline-level-function 'outline-level-default)
15 (defvar LaTeX-outline-regexp
16 (concat "[ \t]*" (regexp-quote "\\")
17 "\\(appendix\\|documentstyle\\|part\\|chapter\\|section\\|"
18 "subsection\\|subsubsection\\|paragraph\\|subparagraph\\)"))
20 ;;;
21 ;; yatex-mode
22 ;;;
23 (setq auto-mode-alist (cons '("\\.tex$" . yatex-mode) auto-mode-alist))
24 (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
25 ;;↓min-outを使用しない場合、;;@ の行は不要です。
26 (defvar yatex-mode-hook
27 '(lambda ()
28 (setq outline-regexp LaTeX-outline-regexp) ;;@
29 (outline-minor-mode 1) ;;@
30 ))
31 (defvar yatex-mode-load-hook
32 '(lambda ()
33 (setq-default outline-prefix-char (concat YaTeX-prefix "\C-o"));;@
34 (require 'min-out) ;;@
35 (define-key outline-minor-keymap "\C-?" 'hide-subtree) ;;@
36 (YaTeX-define-begend-key "ba" "abstract")
37 ))