| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Pressing the keys C-c = pops up a buffer showing the table of contents of the document. By default, this `*toc*' buffer shows only the sections of a document. Using the l and i keys you can display all labels and index entries defined in the document as well.
With the cursor in any of the lines denoting a location in the document, simple key strokes will display the corresponding part in another window, jump to that location, or perform other actions.
Here is a list of special commands in the `*toc*' buffer. A summary of this information is always available by pressing ?.
reftex-toc (C-c =) was
called.
reftex-highlight-selection, 8.10 Fontification.
reftex-toc-follow-mode. Note that only context in files already
visited is shown. RefTeX will not visit a file just for follow
mode. See, however, the variable
reftex-revisit-to-follow.
reftex-toc was last called.
reftex-toc was last called.
reftex-toc was last called.
reftex-toc-max-level.
reftex-toc-include-file-boundaries.
reftex-toc-include-labels. When called with a prefix argument,
RefTeX will prompt for a label type and include only labels of
the selected type in the `*toc*' buffer. The mode line `L<>'
indicator shows which labels are included.
reftex-toc-include-index-entries. When called with a prefix
argument, RefTeX will prompt for a specific index and include
only entries in the selected index in the `*toc*' buffer. The mode
line `I<>' indicator shows which index is used.
reftex-toc-include-context.
reftex-enable-partial-scans is non-nil, rescan only the file this
location is defined in, not the entire document.
xr package (see section 3.6 xr: Cross-Document References), RefTeX will switch to one of the external
documents.
reftex-auto-recenter-toc.
In order to define additional commands for the `*toc*' buffer, the
keymap reftex-toc-map may be used.
If you call reftex-toc while the `*toc*' buffer already
exists, the cursor will immediately jump to the right place, i.e. the
section from which reftex-toc was called will be highlighted.
The command C-c - (reftex-toc-recenter) will only redisplay
the `*toc*' buffer and highlight the correct line without actually
selecting the `*toc*' window. This can be useful to quickly find
out where in the document you currently are. If you want the TOC buffer
to show the current section automatically whenever you stop typing, try
(setq reftex-auto-recenter-toc t) |
reftex-idle-time seconds.
The section macros recognized by RefTeX are all LaTeX section
macros (from \part to \subsubparagraph) and the commands
\addchap and \addsec from the KOMA-Script classes.
Additional macros can be configured with the variable
reftex-section-levels. It is also possible to add certain LaTeX
environments to the table of contents. This is probably only useful for
theorem-like environments. See section 3.4 Defining Label Environments, for an
example.
| [ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |