Download RefTEX User Manual
Transcript
Chapter 9: Options, Keymaps, Hooks 64 9.9 Optimizations [User Option] Non-nil means, keep buffers created for parsing and lookup. RefTEX sometimes needs to visit files related to the current document. We distinguish files visited for reftex-keep-temporary-buffers PARSING Parts of a multifile document loaded when (re)-parsing the document. LOOKUP BibTEX database files and TEX files loaded to find a reference, to display label context, etc. The created buffers can be kept for later use, or be thrown away immediately after use, depending on the value of this variable: nil Throw away as much as possible. t Keep everything. 1 Throw away buffers created for parsing, but keep the ones created for lookup. If a buffer is to be kept, the file is visited normally (which is potentially slow but will happen only once). If a buffer is to be thrown away, the initialization of the buffer depends upon the variable reftex-initialize-temporary-buffers. [User Option] Non-nil means do initializations even when visiting file temporarily. When nil, RefTEX may turn off find-file hooks and other stuff to briefly visit a file. When t, the full default initializations are done (find-file-hook etc.). Instead of t or nil, this variable may also be a list of hook functions to do a minimal initialization. reftex-initialize-temporary-buffers [User Option] List of regular expressions to exclude certain input files from parsing. If the name of a file included via \include or \input is matched by any of the regular expressions in this list, that file is not parsed by RefTEX. reftex-no-include-regexps [User Option] Non-nil means, re-parse only 1 file when asked to re-parse. Re-parsing is normally requested with a C-u prefix to many RefTEX commands, or with the r key in menus. When this option is t in a multifile document, we will only parse the current buffer, or the file associated with the label or section heading near point in a menu. Requesting re-parsing of an entire multifile document then requires a C-u C-u prefix or the capital R key in menus. reftex-enable-partial-scans [User Option] Non-nil means, save information gathered with parsing in files. The file ‘MASTER.rel’ in the same directory as ‘MASTER.tex’ is used to save the information. When this variable is t, − accessing the parsing information for the first time in an editing session will read that file (if available) instead of parsing the document. − exiting Emacs or killing a buffer in reftex-mode will cause a new version of the file to be written. reftex-save-parse-info