Download RefTEX User Manual
Transcript
Chapter 9: Options, Keymaps, Hooks 60 search phrase already has a non-word-char at one of these points, no word boundary is required there. reftex-index-phrases-case-fold-search [User Option] Non-nil means, searching for index phrases will ignore case. [User Option] A function which is called at each match during global indexing. If the function returns nil, the current match is skipped. reftex-index-verify-function [User Option] Non-nil means, skip matches which appear to be indexed already. When doing global indexing from the phrases buffer, searches for some phrases may match at places where that phrase was already indexed. In particular when indexing an already processed document again, this will even be the norm. When this variable is non-nil, RefTEX checks if the match is an index macro argument, or if an index macro is directly before or after the phrase. If that is the case, that match will be ignored. reftex-index-phrases-skip-indexed-matches [User Option] Non-nil means, when indexing from the phrases buffer, wrap lines. Inserting indexing commands in a line makes the line longer - often so long that it does not fit onto the screen. When this variable is non-nil, newlines will be added as necessary before and/or after the indexing command to keep lines short. However, the matched text phrase and its index command will always end up on a single line. reftex-index-phrases-wrap-long-lines [User Option] Non-nil means when sorting phrase lines, the explicit index entry is used. Phrase lines in the phrases buffer contain a search phrase, and sorting is normally based on these. Some phrase lines also have an explicit index argument specified. When this variable is non-nil, the index argument will be used for sorting. reftex-index-phrases-sort-prefers-entry [User Option] Non-nil means, empty and comment lines separate phrase buffer into blocks. Sorting will then preserve blocks, so that lines are re-arranged only within blocks. reftex-index-phrases-sort-in-blocks reftex-index-phrases-map [User Option] Keymap for the Index Phrases buffer. [User Option] Normal hook which is run when a buffer is put into reftex-index-phrases-mode. reftex-index-phrases-mode-hook [User Option] The letters which denote sections in the index. Usually these are all capital letters. Don’t use any downcase letters. Order is not significant, the index will be sorted by whatever the sort function thinks is correct. In addition to these letters, RefTEX will create a group ‘!’ which contains all entries sorted below the lowest specified letter. In the ‘*Index*’ buffer, pressing any of these capital letters or ! will jump to that section. reftex-index-section-letters