It lets you process your source files by running TeX and related tools such as output filters, post processors for generating indices and bibliographies, and viewers from inside Emacs. AUCTeX lets you browse through the errors TeX reported, while it moves the TextCursor directly to the reported error, and displays some documentation for that particular error. This will even work when the document is spread over several files. Apart from these special features, AUCTeX provides a large range of handy Emacs macros, which in several different ways can help you write your documents fast and painlessly.
|Published (Last):||22 March 2018|
|PDF File Size:||2.29 Mb|
|ePub File Size:||7.77 Mb|
|Price:||Free* [*Free Regsitration Required]|
Show the corresponding location in another window. This command does not select that other window. See also variable reftex-highlight-selection, Fontification.
The default for this flag can be set with the variable 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. Show calling point in another window. This is the point from where reftex-toc was last called. If there is an active region, all sections in the region will be promoted, including the one at point.
To avoid mistakes, RefTeX requires a fresh document scan before executing this command — if necessary, it will automatically do this scan and ask the user to repeat the promotion command. This is the opposite of promotion.
If there is an active region, all sections in the region will be demoted, including the one at point. This command can be used to do this - it launches a query replace to rename the definition and all references of a label. Without prefix arg, all levels will be included. With prefix arg e.
Chapters are level 1, sections are level 2. The default depth can be configured with the variable reftex-toc-max-level. The default for this flag can be set with the variable reftex-toc-include-file-boundaries.
The default for this flag can be set with the variable reftex-toc-include-labels. The default for this flag can be set with the variable reftex-toc-include-index-entries. The default for this flag can be set with the variable reftex-toc-include-context. This does not rescan the document. When reftex-enable-partial-scans is non-nil, rescan only the file this location is defined in, not the entire document.
When the current document is using the xr package see section xr: Cross-Document References , RefTeX will switch to one of the external documents. Follow mode and visiting locations will not work that frame, but automatic recentering will make this frame always show your current editing location in the document see below.
See also the variable reftex-auto-recenter-toc. This can be useful to quickly find out where in the document you currently are. The TOC window will then be updated whenever you stop typing for more than reftex-idle-time seconds. 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 Defining Label Environments , for an example.
Subscribe to RSS
Want to add to the discussion? But I was not aware the manual itself pushes the rewriting. Each element is a cons cell, whose car is the macro name, and the cdr is non-nil or nil, depending on whether a pair of braces should be, respectively, appended or not to the macro. The difference between TeX-insert-macro and TeX-electric-macro is that space will complete and exit from the minibuffer in TeX-electric-macro. See Automaticfor more information.
Viewers are normally invoked by pressing C-c C-c once the document is formatted, which will propose the View command, or by activating the respective entry in the Command menu. Alternatively you can type C-c C-v which calls the function TeX-view. The viewer is started either on a region or the master file, depending on the last command issued. This is especially useful for jumping to the location corresponding to point in the viewer when using TeX-source-correlate-mode.
Show the corresponding location in another window. This command does not select that other window. See also variable reftex-highlight-selection, Fontification. The default for this flag can be set with the variable 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.