Function: reftex-toc-mode
reftex-toc-mode is an interactive and byte-compiled function defined
in reftex-toc.el.gz.
Signature
(reftex-toc-mode)
Documentation
Major mode for managing Table of Contents for LaTeX files.
This buffer was created with RefTeX.
Press ? for a summary of important key bindings.
Here are all local bindings.
. reftex-toc-show-calling-point
< reftex-toc-promote
<follow-link> mouse-face
<mouse-2> reftex-toc-mouse-goto-line-and-hide
> reftex-toc-demote
? reftex-toc-show-help
C-c > reftex-toc-display-index
C-c C-n reftex-toc-next-heading
C-c C-p reftex-toc-previous-heading
C-n reftex-toc-next
C-p reftex-toc-previous
F reftex-toc-toggle-file-boundary
M-% reftex-toc-rename-label
R reftex-toc-Rescan
RET reftex-toc-goto-line-and-hide
SPC reftex-toc-view-line
TAB reftex-toc-goto-line
a reftex-toggle-auto-toc-recenter
c reftex-toc-toggle-context
d reftex-toc-toggle-dedicated-frame
f reftex-toc-toggle-follow
i reftex-toc-toggle-index
k reftex-toc-quit-and-kill
l reftex-toc-toggle-labels
n reftex-toc-next
p reftex-toc-previous
q reftex-toc-quit
r reftex-toc-rescan
t reftex-toc-max-level(var)/reftex-toc-max-level(fun)
x reftex-toc-external
z reftex-toc-jump
In addition to any hooks its parent mode special-mode might have run,
this mode runs the hook reftex-toc-mode-hook, as the final or
penultimate step during initialization.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-toc.el.gz
(define-derived-mode reftex-toc-mode special-mode "TOC"
"Major mode for managing Table of Contents for LaTeX files.
This buffer was created with RefTeX.
Press `?' for a summary of important key bindings.
Here are all local bindings.
\\{reftex-toc-mode-map}"
(setq-local transient-mark-mode t)
(setq-local revert-buffer-function #'reftex-toc-revert)
(setq-local reftex-toc-include-labels-indicator "")
(setq-local reftex-toc-max-level-indicator
(if (= reftex-toc-max-level 100)
"ALL"
(int-to-string reftex-toc-max-level)))
(setq mode-line-format
(list "---- " 'mode-line-buffer-identification
" " 'global-mode-string " (" mode-name ")"
" L<" 'reftex-toc-include-labels-indicator ">"
" I<" 'reftex-toc-include-index-indicator ">"
" T<" 'reftex-toc-max-level-indicator ">"
" -%-"))
(setq truncate-lines t)
(make-local-variable 'reftex-last-follow-point)
(add-hook 'post-command-hook #'reftex-toc-post-command-hook nil t)
(add-hook 'pre-command-hook #'reftex-toc-pre-command-hook nil t))