annotate lisp/auctex/tex-info.el @ 24:4103f0995bd7 r19-15b95

Import from CVS: tag r19-15b95
author cvs
date Mon, 13 Aug 2007 08:51:03 +0200
parents
children 441bb1e64a06
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
1 ;;; tex-info.el - Support for editing TeXinfo source.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
2 ;;
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
3 ;; Maintainer: Per Abrahamsen <auc-tex@sunsite.auc.dk>
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
4 ;; Version: 9.7i
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
5
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
6 ;; Copyright (C) 1993, 1994, 1997 Per Abrahamsen
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
7 ;;
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
8 ;; This program is free software; you can redistribute it and/or modify
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
9 ;; it under the terms of the GNU General Public License as published by
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
10 ;; the Free Software Foundation; either version 2, or (at your option)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
11 ;; any later version.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
12 ;;
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
13 ;; This program is distributed in the hope that it will be useful,
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
16 ;; GNU General Public License for more details.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
17 ;;
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
18 ;; You should have received a copy of the GNU General Public License
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
19 ;; along with this program; if not, write to the Free Software
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
20 ;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
21
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
22 ;;; Code:
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
23
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
24 (require 'tex)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
25 (condition-case nil ;Lucid is not providing.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
26 (require 'texinfo)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
27 (error))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
28
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
29 ;;; Environments:
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
30
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
31 (defvar TeXinfo-environment-list
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
32 '(("cartouche")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
33 ("defcv")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
34 ("deffn") ("defivar") ("defmac")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
35 ("defmethod") ("defop") ("defopt") ("defspec") ("deftp")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
36 ("deftypefn") ("deftypefun") ("deftypevar") ("deftypevr")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
37 ("defun") ("defvar") ("defvr") ("description") ("display")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
38 ("enumerate") ("example") ("ifset") ("ifclear") ("flushleft")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
39 ("flushright") ("format") ("ftable") ("iftex") ("itemize")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
40 ("lisp") ("quotation") ("smallexample") ("smalllisp") ("table")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
41 ("tex") ("titlepage") ("vtable"))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
42 "Alist of TeXinfo environments.")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
43
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
44 (defconst texinfo-environment-regexp
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
45 ;; Overwrite version from `texinfo.el'.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
46 (concat "^@\\("
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
47 (mapconcat 'car TeXinfo-environment-list "\\|")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
48 "\\|end\\)")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
49 "Regexp for environment-like TeXinfo list commands.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
50 Subexpression 1 is what goes into the corresponding `@end' statement.")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
51
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
52 (defun TeXinfo-insert-environment (env)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
53 "Insert TeXinfo environment ENV.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
54 When called interactively, prompt for an environment."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
55 (interactive (list (completing-read "Environment: "
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
56 TeXinfo-environment-list)))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
57 (insert "@" env "\n\n@end " env "\n")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
58 (if (null (cdr-safe (assoc "defcv" TeXinfo-environment-list)))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
59 (forward-line -2)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
60 ;; apply arguments
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
61 ))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
62
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
63 ;;; Keymap:
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
64
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
65 (defvar TeXinfo-mode-map nil
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
66 "Keymap for TeXinfo mode.")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
67
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
68 (if TeXinfo-mode-map
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
69 ()
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
70 (setq TeXinfo-mode-map (make-sparse-keymap))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
71
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
72 ;; From texinfo.el
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
73
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
74 ;; bindings for updating nodes and menus
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
75 (define-key TeXinfo-mode-map "\C-c\C-um" 'texinfo-master-menu)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
76 (define-key TeXinfo-mode-map "\C-c\C-u\C-m" 'texinfo-make-menu)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
77 (define-key TeXinfo-mode-map "\C-c\C-u\C-n" 'texinfo-update-node)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
78 (define-key TeXinfo-mode-map "\C-c\C-u\C-e" 'texinfo-every-node-update)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
79 (define-key TeXinfo-mode-map "\C-c\C-u\C-a" 'texinfo-all-menus-update)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
80
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
81 ;; From TeX-mode
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
82
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
83 ;; Standard
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
84 (define-key TeXinfo-mode-map "\177" 'backward-delete-char-untabify)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
85 (define-key TeXinfo-mode-map "\C-c}" 'up-list)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
86 (define-key TeXinfo-mode-map "\C-c#" 'TeX-normal-mode)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
87 (define-key TeXinfo-mode-map "\C-c\C-n" 'TeX-normal-mode)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
88 (define-key TeXinfo-mode-map "\C-c?" 'describe-mode)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
89
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
90 ;; From tex.el
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
91 (define-key TeXinfo-mode-map "\C-c{" 'TeX-insert-braces)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
92 (define-key TeXinfo-mode-map "\C-c\C-f" 'TeX-font)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
93 (define-key TeXinfo-mode-map "\C-c\C-m" 'TeX-insert-macro)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
94 (define-key TeXinfo-mode-map "\e\t" 'TeX-complete-symbol)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
95
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
96 (define-key TeXinfo-mode-map "\C-c;" 'TeX-comment-region)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
97 (define-key TeXinfo-mode-map "\C-c%" 'TeX-comment-paragraph)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
98 (define-key TeXinfo-mode-map "\C-c'" 'TeX-comment-paragraph) ;*** Old way
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
99 (define-key TeXinfo-mode-map "\C-c:" 'TeX-un-comment-region) ;*** Old way
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
100 (define-key TeXinfo-mode-map "\C-c\"" 'TeX-un-comment) ;*** Old way
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
101
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
102 ;; From tex-buf.el
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
103 (define-key TeXinfo-mode-map "\C-c\C-c" 'TeX-command-master)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
104 (define-key TeXinfo-mode-map "\C-c\C-k" 'TeX-kill-job)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
105 (define-key TeXinfo-mode-map "\C-c\C-l" 'TeX-recenter-output-buffer)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
106 (define-key TeXinfo-mode-map "\C-c^" 'TeX-home-buffer)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
107 (define-key TeXinfo-mode-map "\C-c`" 'TeX-next-error)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
108 (define-key TeXinfo-mode-map "\C-c\C-w" 'TeX-toggle-debug-boxes)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
109
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
110 ;; From tex.cpl.el
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
111
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
112 ;; Simulating LaTeX-mode
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
113
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
114 (define-key TeXinfo-mode-map "\C-c\C-e" 'TeXinfo-insert-environment)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
115 (define-key TeXinfo-mode-map "\C-c\n" 'texinfo-insert-@item)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
116 (define-key TeXinfo-mode-map "\C-c\C-s" 'texinfo-insert-@node)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
117 (define-key TeXinfo-mode-map "\C-c]" 'texinfo-insert-@end))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
118
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
119 (easy-menu-define TeXinfo-mode-menu
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
120 TeXinfo-mode-map
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
121 "Menu used in TeXinfo mode."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
122 (list "TeXinfo"
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
123 ["Environment..." TeXinfo-insert-environment t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
124 ["Node..." texinfo-insert-@node t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
125 ["Macro..." TeX-insert-macro t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
126 ["Complete" TeX-complete-symbol t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
127 ["Item" texinfo-insert-@item t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
128 (list "Insert Font"
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
129 ["Emphasize" (TeX-font nil ?\C-e) :keys "C-c C-f C-e"]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
130 ["Bold" (TeX-font nil ?\C-b) :keys "C-c C-f C-b"]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
131 ["Typewriter" (TeX-font nil ?\C-t) :keys "C-c C-f C-t"]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
132 ["Small Caps" (TeX-font nil ?\C-c) :keys "C-c C-f C-c"]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
133 ["Italic" (TeX-font nil ?\C-i) :keys "C-c C-f C-i"]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
134 ["Sample" (TeX-font nil ?\C-s) :keys "C-c C-f C-s"]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
135 ["Roman" (TeX-font nil ?\C-r) :keys "C-c C-f C-r"])
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
136 (list "Change Font"
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
137 ["Emphasize" (TeX-font t ?\C-e) :keys "C-u C-c C-f C-e"]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
138 ["Bold" (TeX-font t ?\C-b) :keys "C-u C-c C-f C-b"]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
139 ["Typewriter" (TeX-font t ?\C-t) :keys "C-u C-c C-f C-t"]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
140 ["Small Caps" (TeX-font t ?\C-c) :keys "C-u C-c C-f C-c"]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
141 ["Italic" (TeX-font t ?\C-i) :keys "C-u C-c C-f C-i"]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
142 ["Sample" (TeX-font t ?\C-s) :keys "C-u C-c C-f C-s"]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
143 ["Roman" (TeX-font t ?\C-r) :keys "C-u C-c C-f C-r"])
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
144 "-"
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
145 ["Save Document" TeX-save-document t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
146 ["Next Error" TeX-next-error t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
147 (list "TeX Output"
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
148 ["Kill Job" TeX-kill-job t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
149 ["Debug Bad Boxes" TeX-toggle-debug-boxes
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
150 :style toggle :selected TeX-debug-bad-boxes ]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
151 ["Switch to original file" TeX-home-buffer t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
152 ["Recenter Output Buffer" TeX-recenter-output-buffer t])
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
153 "--"
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
154 ["Create Master Menu" texinfo-master-menu t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
155 ["Create Menu" texinfo-make-menu t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
156 ["Update Node" texinfo-update-node t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
157 ["Update Every Node" texinfo-every-node-update t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
158 ["Update All Menus" texinfo-all-menus-update t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
159 ["Uncomment Region" TeX-un-comment-region t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
160 ["Comment Region" TeX-comment-region t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
161 ["Switch to Master file" TeX-home-buffer t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
162 ["Submit bug report" TeX-submit-bug-report t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
163 ["Reset Buffer" TeX-normal-mode t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
164 ["Reset AUC TeX" (TeX-normal-mode t) :keys "C-u C-c C-n"]))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
165
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
166 (easy-menu-define TeXinfo-command-menu
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
167 TeXinfo-mode-map
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
168 "Menu used in TeXinfo mode for external commands."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
169 (append '("Command")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
170 (mapcar 'TeX-command-menu-entry TeX-command-list)))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
171
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
172 (defvar TeXinfo-font-list
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
173 '((?\C-b "@b{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
174 (?\C-c "@sc{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
175 (?\C-e "@emph{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
176 (?\C-i "@i{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
177 (?\C-r "@r{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
178 (?\C-s "@samp{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
179 (?\C-t "@t{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
180 (?s "@strong{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
181 (?\C-f "@file{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
182 (?\C-d "@dfn{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
183 (?\C-v "@var{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
184 (?k "@key{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
185 (?\C-k "@kbd{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
186 (?c "@code{" "}")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
187 (?C "@cite{" "}"))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
188 "Font commands used in TeXinfo mode. See `TeX-font-list'.")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
189
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
190 ;;; Mode:
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
191
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
192 ;;; Do not ;;;###autoload because of conflict with standard tex-mode.el.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
193 (defun texinfo-mode ()
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
194 "Major mode for editing files of input for TeXinfo.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
195
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
196 Special commands:
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
197 \\{TeXinfo-mode-map}
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
198
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
199 Entering TeXinfo mode calls the value of text-mode-hook,
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
200 then the value of TeX-mode-hook, and then the value of
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
201 TeXinfo-mode-hook."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
202 (interactive)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
203 ;; Mostly stolen from texinfo.el
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
204 (setq mode-name "TeXinfo")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
205 (setq major-mode 'texinfo-mode)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
206 (use-local-map TeXinfo-mode-map)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
207 (set-syntax-table texinfo-mode-syntax-table)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
208 (make-local-variable 'page-delimiter)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
209 (setq page-delimiter
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
210 (concat
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
211 "^@node [ \t]*[Tt]op\\|^@\\("
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
212 texinfo-chapter-level-regexp
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
213 "\\)"))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
214 (make-local-variable 'require-final-newline)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
215 (setq require-final-newline t)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
216 (make-local-variable 'indent-tabs-mode)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
217 (setq indent-tabs-mode nil)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
218 (make-local-variable 'paragraph-separate)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
219 (setq paragraph-separate
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
220 (concat "\b\\|^@[a-zA-Z]*[ \n]\\|" paragraph-separate))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
221 (make-local-variable 'paragraph-start)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
222 (setq paragraph-start
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
223 (concat "\b\\|^@[a-zA-Z]*[ \n]\\|" paragraph-start))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
224 (make-local-variable 'fill-column)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
225 (setq fill-column 72)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
226 (make-local-variable 'comment-start)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
227 (setq comment-start "@c ")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
228 (make-local-variable 'comment-start-skip)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
229 (setq comment-start-skip "@c +\\|@comment +")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
230 (make-local-variable 'words-include-escapes)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
231 (setq words-include-escapes t)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
232 (if (not (boundp 'texinfo-imenu-generic-expression))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
233 ;; This was introduced in 19.30.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
234 ()
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
235 (make-local-variable 'imenu-generic-expression)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
236 (setq imenu-generic-expression texinfo-imenu-generic-expression))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
237 (make-local-variable 'font-lock-defaults)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
238 (setq font-lock-defaults '(texinfo-font-lock-keywords t))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
239 (if (not (boundp 'texinfo-section-list))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
240 ;; This was included in 19.31.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
241 ()
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
242 (make-local-variable 'outline-regexp)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
243 (setq outline-regexp
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
244 (concat "@\\("
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
245 (mapconcat 'car texinfo-section-list "\\>\\|")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
246 "\\>\\)"))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
247 (make-local-variable 'outline-level)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
248 (setq outline-level 'texinfo-outline-level))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
249
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
250 ;; Mostly AUC TeX stuff
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
251 (easy-menu-add TeXinfo-command-menu TeXinfo-mode-map)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
252 (easy-menu-add TeXinfo-mode-menu TeXinfo-mode-map)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
253 (make-local-variable 'TeX-command-current)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
254 (setq TeX-command-current 'TeX-command-master)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
255
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
256 (setq TeX-default-extension "texi")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
257 (make-local-variable 'TeX-esc)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
258 (setq TeX-esc "@")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
259
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
260 (make-local-variable 'TeX-auto-regexp-list)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
261 (setq TeX-auto-regexp-list 'TeX-auto-empty-regexp-list)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
262 (make-local-variable 'TeX-auto-update)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
263 (setq TeX-auto-update t)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
264
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
265 (setq TeX-command-default "TeX")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
266 (setq TeX-header-end "%**end")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
267 (setq TeX-trailer-start (regexp-quote (concat TeX-esc "bye")))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
268
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
269 (make-local-variable 'TeX-complete-list)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
270 (setq TeX-complete-list
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
271 (list (list "@\\([a-zA-Z]*\\)" 1 'TeX-symbol-list nil)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
272 (list "" TeX-complete-word)))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
273
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
274 (make-local-variable 'TeX-font-list)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
275 (setq TeX-font-list TeXinfo-font-list)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
276
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
277 (TeX-add-symbols
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
278 '("appendix" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
279 '("appendixsec" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
280 '("appendixsection" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
281 '("appendixsubsec" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
282 '("appendixsubsubsec" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
283 '("asis")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
284 '("author" "Author")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
285 '("b" "Text")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
286 '("bullet")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
287 '("bye")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
288 '("c" "Comment")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
289 '("center" "Line-of-text")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
290 '("chapheading" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
291 '("chapter" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
292 '("cindex" "Entry")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
293 '("cite" "Reference")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
294 '("clear" "Flag")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
295 '("code" "Sample-code")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
296 '("comment" "Comment")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
297 '("contents")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
298 '("copyright")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
299 '("defcodeindex" "Index-name")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
300 '("defindex" "Index-name")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
301 '("dfn" "Term")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
302 '("dmn" "Dimension")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
303 '("dots")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
304 '("emph" "Text")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
305 '("equiv")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
306 '("error")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
307 '("evenfooting" TeXinfo-lrc-argument-hook)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
308 '("evenheading" TeXinfo-lrc-argument-hook)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
309 '("everyfooting" TeXinfo-lrc-argument-hook)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
310 '("everyheading" TeXinfo-lrc-argument-hook)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
311 '("exdent" "Line-of-text")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
312 '("expansion")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
313 '("file" "Filename")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
314 '("finalout")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
315 '("findex" "Entry")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
316 '("footnote" "Text-of-footnote")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
317 '("footnotestyle" "Style")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
318 '("group")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
319 '("heading" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
320 '("headings" "On-off-single-double")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
321 '("i" "Text")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
322 '("ignore")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
323 '("include" "Filename")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
324 '("inforef" "Node-name" "Info-file-name")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
325 '("item")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
326 '("itemx")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
327 '("kbd" "Keyboard-characters")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
328 '("key" "Key-name")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
329 '("kindex" "Entry")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
330 '("majorheading" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
331 '("menu")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
332 '("minus")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
333 '("need" "N")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
334 '("node" "Name" "Next" "Previous" "Up")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
335 '("noindent")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
336 '("oddfooting" TeXinfo-lrc-argument-hook)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
337 '("oddheading" TeXinfo-lrc-argument-hook)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
338 '("page")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
339 '("paragraphindent" "Indent")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
340 '("pindex" "Entry")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
341 '("point")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
342 '("print")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
343 '("printindex" "Index-name")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
344 '("pxref" "Node-name")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
345 '("r" "Text")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
346 '("ref" "Node-name")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
347 '("refill")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
348 '("result")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
349 '("samp" "Text")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
350 '("sc" "Text")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
351 '("section" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
352 '("set" "Flag")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
353 '("setchapternewpage" "On-off-odd")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
354 '("setfilename" "Info-file-name")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
355 '("settitle" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
356 '("shortcontents")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
357 '("smallbook")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
358 '("sp" "N")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
359 '("strong" "Text")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
360 '("subheading" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
361 '("subsection" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
362 '("subsubheading" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
363 '("subsubsection" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
364 '("subtitle" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
365 '("summarycontents")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
366 '("syncodeindex" "From-index" "Into-index")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
367 '("synindex" "From-index" "Into-index")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
368 '("t" "Text")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
369 '("TeX")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
370 '("thischapter")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
371 '("thischaptername")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
372 '("thisfile")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
373 '("thispage")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
374 '("tindex" "Entry")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
375 '("title" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
376 '("titlefont" "Text")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
377 '("titlepage")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
378 '("today")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
379 '("top" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
380 '("unnumbered" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
381 '("unnumberedsec" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
382 '("unnumberedsubsec" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
383 '("unnumberedsubsubsec" "Title")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
384 '("value" "Flag")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
385 '("var" "Metasyntactic-variable")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
386 '("vindex" "Entry")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
387 '("vskip" "Amount")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
388 '("w" "Text"))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
389
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
390 (run-hooks 'text-mode-hook 'TeXinfo-mode-hook))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
391
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
392 (provide 'tex-info)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
393
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
394 ;;; tex-info.el ends here