;ELC ;;; Compiled by cyd@localhost on Mon Apr 23 22:25:23 2007 ;;; from file /home/cyd/emacs/lisp/textmodes/reftex.el ;;; in Emacs version 22.0.99 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. (if (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19.29"))) (error "`reftex.el' was compiled for Emacs 19.29 or later")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'custom) #@48 Flag showing if tables need to be re-computed. (defvar reftex-tables-dirty t (#$ . 587)) (defalias 'reftex-set-dirty #[(symbol value) "\303 \nL\207" [reftex-tables-dirty symbol value t] 2]) (require 'reftex-vars) #@28 Version string for RefTeX. (defconst reftex-version "RefTeX version 4.31" (#$ . 807)) #@38 Determines if RefTeX mode is active. (defvar reftex-mode nil (#$ . 899)) (make-variable-buffer-local 'reftex-mode) #@25 Keymap for RefTeX mode. (defvar reftex-mode-map (make-sparse-keymap) (#$ . 1020)) (byte-code "\303B\304\303!\204\305\303\306\"\210\301B\304\301!\204\305\301\306\"\210\302B\304\302!\204-\305\302\306\"\210 \204@\307 \310\311\312 #\210\310\313\312 #\210\n\204`\307 !\310\314\312\n#\210\310\315\312\n#\210\310\316\312\n#\210\310\317\312\n#\210\306\207" [current-load-list reftex-syntax-table reftex-syntax-table-for-bib reftex-mode-menu default-boundp set-default nil copy-syntax-table modify-syntax-entry 40 "." 41 39 34 91 93] 4) #@40 The timer used for auto-view-crossref. (defvar reftex-auto-view-crossref-timer nil (#$ . 1569)) #@49 The idle timer used to recenter the toc window. (defvar reftex-toc-auto-recenter-timer nil (#$ . 1671)) #@22 Turn on RefTeX mode. (defalias 'turn-on-reftex #[nil "\300\301!\207" [reftex-mode t] 2 (#$ . 1781)]) #@1334 Minor mode with distinct support for \label, \ref and \cite in LaTeX. \A Table of Contents of the entire (multifile) document with browsing capabilities is available with `\[reftex-toc]'. Labels can be created with `\[reftex-label]' and referenced with `\[reftex-reference]'. When referencing, you get a menu with all labels of a given type and context of the label definition. The selected label is inserted as a \ref macro. Citations can be made with `\[reftex-citation]' which will use a regular expression to pull out a *formatted* list of articles from your BibTeX database. The selected citation is inserted as a \cite macro. Index entries can be made with `\[reftex-index-selection-or-word]' which indexes the word at point or the current selection. More general index entries are created with `\[reftex-index]'. `\[reftex-display-index]' displays the compiled index. Most command have help available on the fly. This help is accessed by pressing `?' to any prompt mentioning this feature. Extensive documentation about RefTeX is available in Info format. You can view this information with `\[reftex-info]'. \{reftex-mode-map} Under X, these and other functions will also be available as `Ref' menu on the menu bar. ------------------------------------------------------------------------------ (defalias 'reftex-mode #[(&optional arg) "\204 \206 \306!\307X?\211\203\200\310\n!\210 \203\303 \210\304\311N\2041\f\203+\312 \210\313\304\311\314#\210\305\311N\204F \314=\203@\315 \210\313\305\311\314#\210\316\317 !\320\321\322#\210\320\323\322#\210\316!\320\324\322#\210\320\325\322#\210\320\326\322#\210\320\327\322#\210\330\331!\207\332\n!\207" [arg reftex-mode reftex-mode-menu reftex-plug-into-AUCTeX reftex-auto-view-crossref reftex-auto-recenter-toc prefix-numeric-value 0 easy-menu-add initialized reftex-toggle-auto-view-crossref put t reftex-toggle-auto-toc-recenter copy-syntax-table syntax-table modify-syntax-entry 40 "." 41 39 34 91 93 run-hooks reftex-mode-hook easy-menu-remove reftex-syntax-table reftex-syntax-table-for-bib] 5 (#$ . 1890) "P"]) (byte-code "\303\304!\203\305\306\307\310#\210\305\306\311\312#\210\304\306\313#\210\2023\314\306 \"\204&\315 B\314\306\n\"\2043\306B\nB\303\207" [reftex-mode-map minor-mode-alist minor-mode-map-alist fboundp add-minor-mode put reftex-mode :included (memq major-mode '(latex-mode tex-mode)) :menu-tag "RefTeX Mode" " Ref" assoc (reftex-mode " Ref")] 4) #@74 Save RefTeX's parse file for this buffer if the information has changed. (defalias 'reftex-kill-buffer-hook #[nil "\303\300!\205-\205-\303\301!\205- \205-\303\302!\205-\n\205-\nJ\205-\n\304N\205-\305\306\307\217\207" [reftex-mode reftex-save-parse-info reftex-docstruct-symbol boundp modified nil (byte-code "\300\301!\207" [reftex-access-parse-file write] 2) ((error))] 3 (#$ . 4386)]) #@48 Call `reftex-kill-buffer-hook' on all buffers. (defalias 'reftex-kill-emacs-hook #[nil "\212\300\301\302 \")\207" [mapcar #[(buf) "q\210\301 \207" [buf reftex-kill-buffer-hook] 1] buffer-list] 3 (#$ . 4788)]) (byte-code "\301B\302\303!\210\304B\305\304!\204\306\304\307\"\210\310B\305\310!\204&\306\310\311\"\210\312B\305\312!\2045\306\312\307\"\210\313\312!\207" [current-load-list reftex-multifile-symbols (lambda (#1=#:defconst-tmp-var) (defconst reftex-multifile-symbols #1#)) (reftex-docstruct-symbol) reftex-master-index-list default-boundp set-default nil reftex-multifile-index 0 reftex-docstruct-symbol make-variable-buffer-local] 3) (defalias 'reftex-next-multifile-index #[nil "T\211\207" [reftex-multifile-index] 2]) (defalias 'reftex-tie-multifile-symbols #[nil "\306\307 !\310 \" \311\211\311\n\203\nA\202*\312 \313\nB B\f\203`\f@\fA\314 ! \315\316\317\n!Q!L\210\320 J\321\n#\210\203* J\311L\210\320 J\322\323#\210\202*.?\207" [master reftex-master-index-list index reftex-multifile-symbols symlist symbol file-truename reftex-TeX-master-file assoc nil reftex-next-multifile-index t symbol-name intern "-" int-to-string put :master-index reftex-index-macros-style (default) symname newflag] 7]) (defalias 'reftex-untie-multifile-symbols #[nil "\303\n\205\n@\nA \303L\210\202*\207" [reftex-multifile-symbols symbol symlist nil] 2]) (defalias 'reftex-TeX-master-file #[nil "\303\304!\203 \305\306\307\217\202a\303\301!\203\301 \202a\310\300!\203K\311=\203)\312 \202a\313=\203;\314\315\305\211\311\305%\211\202a\206a\314\315\305\211\311\305%\211\202a\310\301!\203_ ;\203Z \202a\312 \202a\312 \211\204m\316\317!\210\202\223\320\n\321P!\204}\322\n\321P!\203\204\n\321P\202\223\320\n!\204\223\322\n!\204\223\312 \323\n!)\207" [TeX-master tex-main-file master fboundp TeX-master-file nil (TeX-master-file t) ((error (buffer-file-name))) boundp t buffer-file-name shared read-file-name "Master file: " error "Need a filename for this buffer, please save it first" file-exists-p ".tex" reftex-get-buffer-visiting expand-file-name] 7]) (defalias 'reftex-is-multi #[nil "\302J\236\211\203 A@\202\303)\207" [reftex-docstruct-symbol entry is-multi t] 3]) #@263 Set the document-local value of `reftex-cite-format'. When such a value exists, it overwrites the setting given with `reftex-cite-format'. See the documentation of `reftex-cite-format' for possible values. This function should be used from AUCTeX style files. (defalias 'reftex-set-cite-format #[(value) "\204\302 \210\2059\205\303\304 #\207" [reftex-docstruct-symbol value reftex-tie-multifile-symbols put reftex-cite-format] 4 (#$ . 7045)]) (defalias 'reftex-get-cite-format #[nil "\2039\203\301N\203\301N\207 \207" [reftex-docstruct-symbol reftex-cite-format] 2]) #@479 Add index macro descriptions to `reftex-index-macros-style'. The format of ENTRY-LIST is exactly like `reftex-index-macros'. See there for details. This function makes it possible to support RefTeX from AUCTeX style files. The entries in ENTRY-LIST will be processed after the user settings in `reftex-index-entries', and before the defaults. Any changes made to `reftex-label-alist-style' will raise a flag to the effect that the label information is recompiled on next use. (defalias 'reftex-add-index-macros #[(entry-list) "\204\306 \210\205L9\205L\307N\310\211\f\203B\f\211A@\2119\2031\n >\2041\311 !\n \235\204\312\211\n B\202 \205K\313\307 #+\207" [reftex-docstruct-symbol changed entry list entry-list reftex-tables-dirty reftex-tie-multifile-symbols reftex-index-macros-style nil reftex-remove-symbols-from-list t put] 5 (#$ . 7641)]) (byte-code "\301B\302\301!\204\303\301\304\"\210\305B\302\305!\204\303\305\304\"\210\306B\302\306!\204-\303\306\304\"\210\307B\302\307!\204<\303\307\304\"\210\310B\302\310!\204K\303\310\304\"\210\311B\302\311!\204Z\303\311\304\"\210\312B\302\312!\204i\303\312\304\"\210\313B\302\313!\204x\303\313\304\"\210\314B\302\314!\204\207\303\314\304\"\210\315B\302\315!\204\226\303\315\304\"\210\316B\302\316!\204\245\303\316\304\"\210\317B\302\317!\204\270\303\317\304\211\211\211F\"\210\320B\302\320!\204\307\303\320\304\"\210\321B\302\321!\204\326\303\321\304\"\210\322B\302\322!\204\345\303\322\304\"\210\323B\302\323!\204\364\303\323\324\"\210\325B\302\325!\204\303\325\326\"\210\327B\302\327!\204\303\327\304\"\210\330B\302\330!\204!\303\330\304\"\210\331B\302\331!\2040\303\331\304\"\210\332B\302\332!\204@\303\332\333 \"\210\334B\302\334!\204O\303\334\304\"\210\335B\302\335!\204^\303\335\304\"\210\336B\302\336!\204m\303\336\304\"\210\337B\302\337!\204|\303\337\304\"\210\340B\302\340!\204\213\303\340\304\"\210\341B\302\341!\204\232\303\341\304\"\210\342B\302\342!\204\251\303\342\304\"\210\343B\302\343!\204\270\303\343\304\"\210\344B\302\344!\204\307\303\344\304\"\210\345B\302\345!\204\326\303\345\346\"\210\304\207" [current-load-list reftex-type-query-prompt default-boundp set-default nil reftex-type-query-help reftex-typekey-to-format-alist reftex-typekey-to-prefix-alist reftex-env-or-mac-alist reftex-special-env-parsers reftex-label-mac-list reftex-label-env-list reftex-typekey-list reftex-words-to-typekey-alist reftex-prefix-to-typekey-alist reftex-last-used-reference reftex-key-to-index-macro-alist reftex-query-index-macro-prompt reftex-query-index-macro-help reftex-no-follow-message "No follow-mode into unvisited file. Press SPC to visit it." reftex-no-info-message "%s: info not available, use `\\[reftex-view-crossref]' to get it." reftex-default-context-position reftex-location-start reftex-call-back-to-this-buffer reftex-select-return-marker make-marker reftex-active-toc reftex-tex-path reftex-bib-path reftex-select-marked reftex-last-follow-point reftex-latex-syntax-table reftex-prefix reftex-section-levels-all reftex-buffers-with-changed-invisibility reftex-callback-fwd t] 6) #@68 Stores the name of the tex file that `reftex-toc' was last run on. (defvar reftex-last-toc-master nil (#$ . 10826)) (byte-code "\301B\302\301!\204\303\301\304 \"\210\305B\302\305!\204\303\305\306\"\210\307B\302\307!\204.\303\307\306\"\210\310B\302\310!\204=\303\310\306\"\210\311B\302\311!\204L\303\311\306\"\210\312B\302\312!\204[\303\312\306\"\210\313B\302\313!\204j\303\313\306\"\210\314B\302\314!\204y\303\314\306\"\210\315B\302\315!\204\210\303\315\306\"\210\316B\302\316!\204\227\303\316\306\"\210\317B\302\317!\204\246\303\317\306\"\210\320B\302\320!\204\265\303\320\321\"\210\322B\302\322!\204\304\303\322\323\"\210\324B\302\324!\204\323\303\324\306\"\210\325B\302\325!\204\342\303\325\306\"\210\326B\302\326!\204\361\303\326\306\"\210\327B\302\327!\204\303\327\306\"\210\330B\302\330!\204\303\330\306\"\210\306\207" [current-load-list reftex-recursive-edit-marker default-boundp set-default make-marker reftex-buffers-to-kill nil reftex-section-regexp reftex-section-or-include-regexp reftex-index-macro-regexp reftex-index-level-re reftex-index-key-end-re reftex-find-index-entry-regexp-format reftex-everything-regexp reftex-everything-regexp-no-index reftex-index-re reftex-find-citation-regexp-format "\\\\\\([a-zA-Z]*cite[*a-zA-Z]*\\*?\\|bibentry\\)\\(\\[[^]]*\\]\\|{[^}]*}\\)*{\\([^}]*,\\)?\\(%s\\)[},]" reftex-find-reference-format "\\\\\\(ref[a-zA-Z]*\\|[a-zA-Z]*ref\\(range\\)?\\)\\*?\\(\\[[^]]*\\]\\|{[^}]*}\\)*{\\(%s\\)}" reftex-macros-with-labels reftex-macros-with-index reftex-index-macro-alist reftex-find-label-regexp-format reftex-find-label-regexp-format2] 3) #@71 Memorizes old variable values to indicate changes in these variables. (defvar reftex-memory nil (#$ . 12477)) (byte-code "\301B\302\303!\207" [current-load-list reftex-cache-variables (lambda (#1=#:defconst-tmp-var) (defconst reftex-cache-variables #1#)) (reftex-memory reftex-section-levels-all reftex-env-or-mac-alist reftex-special-env-parsers reftex-macros-with-labels reftex-label-mac-list reftex-label-env-list reftex-typekey-list reftex-typekey-to-format-alist reftex-typekey-to-prefix-alist reftex-words-to-typekey-alist reftex-prefix-to-typekey-alist reftex-type-query-prompt reftex-type-query-help reftex-index-macro-alist reftex-macros-with-index reftex-query-index-macro-prompt reftex-query-index-macro-help reftex-key-to-index-macro-alist reftex-section-regexp reftex-section-or-include-regexp reftex-index-re reftex-everything-regexp reftex-everything-regexp-no-index reftex-find-label-regexp-format reftex-find-label-regexp-format2 reftex-find-index-entry-regexp-format)] 2) (defalias 'reftex-ensure-compiled-variables #[nil "\n\306N\211@ \n\307N\n\310N\n\311N\203-\312 \202\245 @=\203b A@=\203b\313 8=\203b\314 8=\203b\315 8=\203b\316 8=\206\245\f@=\203\243\fA@=\203\243\313\f8=\203\243\313\f8=\203\243\315\f8=\203\243\316\f8=\203\243\317\320!\210\321\322\"\202\245\312 . \207" [reftex-memory mem reftex-docstruct-symbol cache cmem reftex-label-alist reftex-cache reftex-section-levels reftex-label-alist-style reftex-index-macros-style reftex-compile-variables 2 3 4 5 message "Restoring cache" mapcar #[(sym) " \211A@L\207" [sym cache] 3] alist levels style reftex-default-label-alist-entries default reftex-index-macros index istyle reftex-tables-dirty reftex-cache-variables] 4]) #@169 Reset RefTeX Mode. This will re-compile the configuration information and remove all current scanning information and the parse file to enforce a rescan on next use. (defalias 'reftex-reset-mode #[nil "\305\306:\203@\307\310 \306#\210\307\311 \306#\210A\211\202*\212\312\306 \211A@\211\203<\313\n!\203%\314\n!\210\202%*\315 \210)\316 \210\317\320!\210\f\203O\304 \210\321 \207" [#1=#:--cl-var-- prop buf buffer-list reftex-plug-into-AUCTeX (status master-dir recursive-path rec-type) nil put reftex-tex-path reftex-bib-path ("*RefTeX Help*" "*RefTeX Select*" "*Duplicate Labels*" "*toc*" " *RefTeX-scratch*") get-buffer kill-buffer reftex-erase-all-selection-and-index-buffers reftex-reset-scanning-information reftex-access-parse-file kill reftex-compile-variables] 5 (#$ . 14251) nil]) #@113 Reset the symbols containing information from buffer scanning. This enforces rescanning the buffer on next use. (defalias 'reftex-reset-scanning-information #[nil "\304 \230\203 \305\306!\210 \307 \205, @ A\nJ9\203\nJ\203\nJ\307L\210\202*\207" [reftex-last-toc-master reftex-multifile-symbols symbol symlist reftex-TeX-master-file reftex-erase-buffer "*toc*" nil] 2 (#$ . 15067)]) (defalias 'reftex-erase-all-selection-and-index-buffers #[nil "\302\303\"\210\302\304\305\306 J\"A\"\207" [reftex-typekey-list reftex-docstruct-symbol mapcar #[(type) "\301\302!!\207" [type reftex-erase-buffer reftex-make-selection-buffer-name] 3] #[(tag) "\301\302!!\207" [tag reftex-kill-buffer reftex-make-index-buffer-name] 3] assoc index-tags] 5]) (defalias 'reftex-compile-variables #[nil "\306\307!\210\310\311!\203\312\313!\203\314\315\316\217\210\314 \n\317N\n\320N \f\n\321N\257\322\323\324 \n\320N #@\"\325\"\322\323\324\f\n\321N\326#A\"!\314\211\211\211\211\211\211\211\211\211\211\211\211\211\211\211\211\211\211\211\211\211\211\211\211\211\211BCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^\314_\327`\314\211ab\314\211cd\314\211ef^\203\272\330\331\215\210\202\256c\237c\332Q\333\"Q\334\335\336Q\337#\340Qg\341\335\342Q\343#Ph\344\345_\237\"_\314\211ij\314k]\203\262]@\211\\@I\\A@E\346\\8D\347\\8\206\337X\350\\8H\\G\351V\203%\351\\8\202>Dl@=\203=lG\346V\203=\346l8\202>\352G]A]\353I!\211m@\206RIIm\211nA@)Om\211nAA)@Fm\211nAA)A@MIk\235\204\256IEXHOFMG\257iBi\354Dj\"\204\247DIDjBjIkBk)\202\354\332j\355\"j\356\335\357j\337#\340Qo\360J\361\335\362j\337#Pp\324B\n\317N#q\363r\364sr\365\335\366t\367#\370Rur\365\335\371q\367#\372Rvr\373PwP\203\374\335\375P\367#\376Q\202\337x\374\335\375k\367#\376Qy\374\335\375k\367#\377Qz\374\335\375\324\201\213P\"\367#\377Q{\375|@!}\201\214\347|8\340\201\215|A@\346|8\340\260~vv\367uQ\200s\367v\367u\367w\367yP\203~\367\202\337x\260 \201s\367v\367u\367w\367\201\216P\203\235\367\202\236\337x\260 \202y\203}\204~\205P\206z\207{\210\201\217\211\306\201\220!\210.(\201\221\n\201\222\344\201\223\212\"#\207" [reftex-tables-dirty reftex-label-alist reftex-docstruct-symbol reftex-default-label-alist-entries reftex-index-macros reftex-memory message "Compiling label environment definitions..." featurep tex-site fboundp TeX-update-style nil (TeX-update-style) ((error)) reftex-section-levels reftex-label-alist-style reftex-index-macros-style reftex-uniquify-by-car reftex-splice-symbols-into-list append (nil) (default) (("sec:" . "s") ("cha:" . "s") ("chap:" . "s")) next-entry (byte-code "@\211@ AA\n\204\306 @;\203%\307 @! @\310P ABB @\211\205/\311 ! A@\312 8*\313 8+\314 8,\315 8-,;\203S\314 \233,*;\203k\316\317*\"\203k\320*\321\"*\202q\322*D**@.*A@/\f\203\205\323\324\f\"\210\f\203\234 \203\234\325 \"\204\234\323\326 \fB\"\210\f\203\263 \203\263\325\f\"\204\263\323\327\f B\"\210\n9\203\330\330\n!\204\303\331\332\n\"\210\333\21101\3332\323\334\n\"\210\335\n!\202b\316\336\n\"\203#\337\n!\2113@\206\352\n3\2114A@)03\2114AA)@13\2114AA)A@21\203\323\340\n\"\210)\f\203b\323\341\n\"\210\202b\333\21101\3332\n\342\230\204b\n\306\230\204b\n\343\230\204b\323\344\n\"\210-\203b\345\346\n\"5\32556\"\204a5-B6B6)+7\236\203w\345+7\236A\347\n!\"+/\203\215\325\f8\"\204\215\f/B8B8\n\342\230\204\264\n\306\230\204\264\325\n9\"\204\264\n\f+.012\2579B9,@\350=\203\304,A,\202\313\351\347,\",,\211A,@\211:;\203\356\325:;\"\204\313:\fB;B;\202\313\n\306\230\204\325\f<\"\211=\203 =\n=AB\241\210\202\f\203\f\nD@\320=\206A\303!\207" [x reftex-support-index toc print "toc" 2 3 nil 5 6 7 markerp 4 marker-position 8 t index] 12] "))\n\n" save-buffer kill-buffer "Cannot write to file %s" t file action standard-output] 4 (#$ . 23708)]) (defalias 'reftex-check-parse-consistency #[nil "\303 \304 J\236A@\305!\305\n!\230?\205\306\307\n#\210\310\311!*\207" [real-master reftex-docstruct-symbol parsed-master reftex-TeX-master-file bof file-truename message "Master file name in load file is different: %s versus %s" error "Master file name error"] 4]) (defalias 'reftex-select-external-document #[(xr-alist xr-index) "G\211\306\\S\307\310\306\n#\311\211 \312U\203'\313\314!\210\315 \210\316\312!\210\317\202\205 \320U\2034\312#Z\202\205\212\321\322\323\324\"\"$\307\325$\"%\326&\327 \330\331\332\333#P\311\334$\211\306Y\203g\f\nX\203g\f\306Z\202\204\f\335U\203\200\336\337\311\334$ \340 \">GZ\202\204\341\342\f\",-\207" [xr-alist len highest prompt key prefix 48 format "[%c-%c] Select TAB: Read prefix with completion" nil 1 message "No external documents available" ding sit-for 0 2 apply max mapcar #[(x) "@G\207" [x] 1] " [%%c] %%-%ds %%s\n" 47 reftex-select-with-char "SELECT EXTERNAL DOCUMENT\n------------------------\n" mapconcat #[(x) "\303 T\211\n@\206\f\304\305\nA!$\207" [fmt n x format "" abbreviate-file-name] 6] "" t 9 completing-read "Prefix: " assoc error "Invalid document selection [%c]" xr-index length fmt n] 8]) #@261 Find FILE of type TYPE in MASTER-DIR or on the path associcted with TYPE. If the file does not have any of the valid extensions for TYPE, try first the default extension and only then the naked file name. When DIE is non-nil, throw an error if file not found. (defalias 'reftex-locate-file #[(file type master-dir &optional die) "\203\306\202 \307\310\n \"A\211@\311\312\313\f\314#\315Q\316\"\203-\317B\202E\203>\320\321\322\f\"C\"\202E PD\317\211 !\317\211\"#\317$\323!\203|\211A@\211#\203\350\324#!\203]#\"\317\211\202_%\203\225\310\n&\"\203\225\325\n'#\"\202\350\"\204\350 \203\350\326\n \211A@'$ $\"\204\225$\211A$@\211#\203\225!\203\317! =\204\260 !' B \327# '#\211\"\202\262\"\203\362\"\202(\203\330\331\"\210\317\202\332\333\"\210\317.\n\207" [reftex-search-unrecursed-path-first rec-values type reftex-file-extensions extensions def-ext (nil t) (t) assoc "\\(" mapconcat regexp-quote "\\|" "\\)\\'" string-match nil append mapcar #[(x) " P\207" [file x] 2] file-name-absolute-p file-regular-p reftex-find-file-externally reftex-access-search-path reftex-find-file-on-path error "No such file: %s" message "No such file: %s (ignored)" ext-re file reftex-try-all-extensions files path old-path file1 f fs reftex-use-external-file-finders reftex-external-file-finders master-dir die] 6 (#$ . 27018)]) (defalias 'reftex-find-file-externally #[(file type &optional master-dir) "\206 \306\n \"A\307\310\311 \"\203\312\313\211 $\314\315\316 !\"\310\317\f\"\2032\312\320\307\211\f$\f\320\232\203<\307\202J\321\f!\203I\322\f\"\202J\307+\207" [master-dir default-directory type reftex-external-file-finders out prg assoc nil string-match "%f" replace-match t apply reftex-process-string split-string "[ \n]+\\'" "" file-regular-p expand-file-name file] 5]) #@72 Execute PROGRAM with arguments ARGS and return its STDOUT as a string. (defalias 'reftex-process-string #[(program &rest args) "\305\306\307!!\211r\nq\210 \310\311 \312\313\312\f&\210+r\nq\210\314 \315\312!\210+\207" [default-directory calling-dir standard-output program args get-buffer-create generate-new-buffer-name " *string-output*" apply call-process nil (t nil) buffer-string kill-buffer] 8 (#$ . 28905)]) (defalias 'reftex-access-search-path #[(type &optional recurse master-dir file) "\306\307\310Q!\211\311N\204Z \312\313\314\315\306\307\316Q!J\n#!!L\210\317 \311\320#\210 J\321\211 \211A@\211\203S\f\322\321O\323\230\203,\324\f!\203N \206J\325\202,\326\202,\317 \327 #\210+\203\246 \327N\204j J\202\250 \330N\203\201 \327N\326=\203\240 \331N\232\204\240\332\333#\210\317 \330\334 J\"#\210\317 \331#\210 \330N\202\250 \330N\202\250 J)\207" [type pathvar path-separator rec dir path intern "reftex-" "-path" status reftex-uniquify reftex-parse-colon-path mapconcat #[(x) "\301\302\"\203\303\304\305\306\307O!\"\207\310!\206\207" [x string-match "^!" apply reftex-process-string split-string 1 nil getenv] 6] "path-environment-variables" put split nil -2 "//" file-name-absolute-p absolute relative rec-type recursive-path master-dir message "Expanding search path to find %s file: %s ..." reftex-expand-path recurse file] 10]) (defalias 'reftex-find-file-on-path #[(file path &optional def-dir) "\300\301\215\207" [exit (byte-code "\306!\203\307!\203\310\311\"\210\202\310\311\312\"\210 \312\211\n\211A@\211\203M\f\313\312O\314\230\2037\f\315\316O\317\317\f \"\"\307 !\203\310\311 \"\210\202+\312\207" [file path thepath file1 dir def-dir file-name-absolute-p file-regular-p throw exit nil -2 "//" 0 -1 expand-file-name] 6)] 2]) (defalias 'reftex-parse-colon-path #[(path) "\302\303\304\305\306 \307P\"\"\"\207" [path path-separator mapcar #[(dir) "\301\302\"\203\303\304\305\211$\306!\207" [dir string-match "\\(//+\\|/*!+\\)\\'" replace-match "//" t file-name-as-directory] 5] delete "" split-string "+"] 8]) (defalias 'reftex-expand-path #[(path &optional default-dir) "\305\211\211 \211A@\211\203D \306\305O\307\230\211\203 \310\311O\203/\312 !\204/\313 \f\"\203=\314\315 !\n\"\202 \nB\202\n\237+\207" [recursive dir path1 path default-dir nil -2 "//" 0 -1 file-name-absolute-p expand-file-name append reftex-recursive-directory-list] 3]) (defalias 'reftex-recursive-directory-list #[(dir) "C\305\211\211\f\211A@\211\203@\306!\203 \307\310\311#\237 \211A@\211\2039\306\n!\203 \312\n!\fB\202  B\202 ,\207" [dir files file path1 path nil file-directory-p directory-files t "[^.]" file-name-as-directory] 4]) #@21 Re-parse this file. (autoload 'reftex-parse-one "reftex-parse" '(#$ . 31655) t) #@27 Re-parse entire document. (autoload 'reftex-parse-all "reftex-parse" '(#$ . 31741) t) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\300\305\302\"\210\300\306\302\"\210\300\307\302\"\210\300\310\302\"\210\300\311\302\"\210\300\312\302\"\210\300\313\302\"\210\300\314\302\"\210\300\315\302\"\210\300\316\302\"\210\300\317\302\"\210\300\320\302\"\210\300\321\302\"\210\300\322\302\"\210\300\323\302\"\210\300\324\325\"\210\300\326\325\"\210\300\327\325\"\207" [autoload reftex-do-parse "reftex-parse" reftex-where-am-I reftex-init-section-numbers reftex-section-info reftex-section-number reftex-what-macro reftex-what-macro-safe reftex-index-info reftex-index-info-safe reftex-short-context reftex-what-environment reftex-what-special-env reftex-move-over-touching-args reftex-notice-new reftex-nth-arg reftex-locate-bibliography-files reftex-ensure-index-support reftex-everything-regexp reftex-label-location "reftex-ref" reftex-label-info-update reftex-label-info] 3) #@24 Insert a unique label. (autoload 'reftex-label "reftex-ref" '(#$ . 32737) t) #@25 Make a LaTeX reference. (autoload 'reftex-reference "reftex-ref" '(#$ . 32820) t) #@28 Make a varioref reference. (autoload 'reftex-varioref-vref "reftex-ref" '(#$ . 32908) t) #@34 Make a fancyref \fref reference. (autoload 'reftex-fancyref-fref "reftex-ref" '(#$ . 33003) t) #@34 Make a fancyref \Fref reference. (autoload 'reftex-fancyref-Fref "reftex-ref" '(#$ . 33104) t) (byte-code "\300\301\302\"\210\300\303\302\"\207" [autoload reftex-show-label-location "reftex-ref" reftex-query-label-type] 3) #@48 Prompt for label name and go to that location. (autoload 'reftex-goto-label "reftex-ref" '(#$ . 33333) t) #@54 Show the table of contents for the current document. (autoload 'reftex-toc "reftex-toc" '(#$ . 33445) t) #@78 Display the TOC window and highlight line corresponding to current position. (autoload 'reftex-toc-recenter "reftex-toc" '(#$ . 33556) t) #@45 Toggle automatic recentering of TOC window. (autoload 'reftex-toggle-auto-toc-recenter "reftex-toc" '(#$ . 33700) t) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\300\305\302\"\210\300\306\302\"\210\300\307\302\"\210\300\310\302\"\207" [autoload reftex-citep "reftex-cite" reftex-citet reftex-make-cite-echo-string reftex-get-bibfile-list reftex-pop-to-bibtex-entry reftex-end-of-bib-entry reftex-parse-bibtex-entry] 3) #@46 Make a citation using BibTeX database files. (autoload 'reftex-citation "reftex-cite" '(#$ . 34147) t) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\300\305\306\"\210\300\307\306\"\210\300\310\306\"\210\300\311\306\"\210\300\312\306\"\210\300\313\306\"\207" [autoload reftex-default-bibliography "reftex-cite" reftex-bib-or-thebib reftex-create-bibtex-file reftex-select-label-mode "reftex-sel" reftex-select-bib-mode reftex-find-start-point reftex-insert-docstruct reftex-get-offset reftex-select-item] 3) #@65 Query for an index macro and insert it along with its argments. (autoload 'reftex-index "reftex-index" '(#$ . 34681) t) #@68 Put selection or the word near point into the default index macro. (autoload 'reftex-index-selection-or-word "reftex-index" '(#$ . 34807) t) #@63 Put selection or the word near point into Index Phrases File. (autoload 'reftex-index-phrase-selection-or-word "reftex-index" '(#$ . 34954) t) #@68 Display a buffer with an index compiled from the current document. (autoload 'reftex-display-index "reftex-index" '(#$ . 35103) t) #@31 Visit the Index Phrases File. (autoload 'reftex-index-visit-phrases-buffer "reftex-index" '(#$ . 35240) t) #@64 Major mode for managing the Index phrases of a LaTeX document. (autoload 'reftex-index-phrases-mode "reftex-index" '(#$ . 35353) t) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\300\305\302\"\207" [autoload reftex-index-complete-tag "reftex-index" reftex-index-complete-key reftex-index-show-entry reftex-index-select-tag] 3) #@55 View cross reference of \ref or \cite macro at point. (autoload 'reftex-view-crossref "reftex-dcr" '(#$ . 35706) t) #@62 View cross reference of \ref or \cite macro where you click. (autoload 'reftex-mouse-view-crossref "reftex-dcr" '(#$ . 35828) t) (autoload 'reftex-toggle-auto-view-crossref "reftex-dcr") #@74 View location in a LaTeX document which cites the BibTeX entry at point. (autoload 'reftex-view-crossref-from-bibtex "reftex-dcr" '(#$ . 36021) t) #@62 Create TAGS file by running `etags' on the current document. (autoload 'reftex-create-tags-file "reftex-global" '(#$ . 36174) t) #@60 Run grep query through all files related to this document. (autoload 'reftex-grep-document "reftex-global" '(#$ . 36309) t) #@62 Regexp search through all files of the current TeX document. (autoload 'reftex-search-document "reftex-global" '(#$ . 36439) t) #@74 Run a query-replace-regexp of FROM with TO over the entire TeX document. (autoload 'reftex-query-replace-document "reftex-global" '(#$ . 36573) t) #@57 Produce a list of all duplicate labels in the document. (autoload 'reftex-find-duplicate-labels "reftex-global" '(#$ . 36726) t) #@61 Query replace FROM with TO in all \label and \ref commands. (autoload 'reftex-change-label "reftex-global" '(#$ . 36861) t) #@71 Renumber all simple labels in the document to make them sequentially. (autoload 'reftex-renumber-simple-labels "reftex-global" '(#$ . 36991) t) #@58 Save all documents associated with the current document. (autoload 'reftex-save-all-document-buffers "reftex-global" '(#$ . 37141) t) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\300\305\302\"\210\300\306\302\"\207" [autoload reftex-arg-label "reftex-auc" reftex-arg-cite reftex-arg-index-tag reftex-arg-index reftex-plug-into-AUCTeX] 3) #@56 Toggle Interface between AUCTeX and RefTeX on and off. (autoload 'reftex-toggle-plug-into-AUCTeX "reftex-auc" '(#$ . 37507) t) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\300\305\302\"\207" [autoload reftex-add-label-environments "reftex-auc" reftex-add-to-label-alist reftex-add-section-levels reftex-notice-new-section] 3) (defalias 'reftex-typekey-check #[(typekey conf-variable &optional n) "\203 8 \303=\206 ;\205\304\305 \306Q\n\"\207" [n conf-variable typekey t string-match "[" "]"] 4]) (defalias 'reftex-check-recursive-edit #[nil "\301!\205 \302\303\304!!\207" [reftex-recursive-edit-marker marker-position error substitute-command-keys "In unfinished selection process. Finish, or abort with \\[abort-recursive-edit]"] 3]) (defalias 'reftex-in-comment #[nil "\212\300\301x\210h)\302=\207" ["^%\n " nil 37] 2]) (defalias 'reftex-no-props #[(string) ";\203 \301\302G\303$\210\207" [string set-text-properties 0 nil] 5]) (defalias 'reftex-match-string #[(n) "\224\205 \301\224\225\"\207" [n buffer-substring-no-properties] 3]) #@82 Is transient-mark-mode on and the region active? Works on both Emacs and XEmacs. (defalias 'reftex-region-active-p #[nil "\205 \207" [transient-mark-mode mark-active] 1 (#$ . 38591)]) (defalias 'reftex-kill-buffer #[(buffer) "\301!\211\205 \302!\207" [buffer get-buffer kill-buffer] 2]) (defalias 'reftex-erase-buffer #[(&optional buffer) "\204\n\302\303 )\207\304!\211\205\212q\210\302\303 *\207" [buffer buffer-read-only nil erase-buffer get-buffer] 2]) (defalias 'reftex-this-word #[(&optional class) "\206\301\212\302\303x\210`\303w\210`\")\207" [class "-a-zA-Z0-9:_/.*;|" buffer-substring-no-properties nil] 4]) (defalias 'reftex-number #[(n unit &optional ending) "\250\203 ;\203\303\304 \305U\203\306\202\n\206\307$\207\306\207" [n unit ending format "%d %s%s" 1 "" "s"] 6]) (defalias 'reftex-all-assq #[(key list) "\303 \n\236\n>\211\203\n@B\n\211A@\210\202\237)\207" [rtn key list nil] 2]) (defalias 'reftex-all-assoc-string #[(key list) "\303 \203 @@\n\230\203 @B \211A@\210\202\237)\207" [rtn list key nil] 2]) (defalias 'reftex-last-assoc-before-elt #[(key elt list &optional exclusive) " \235@\n?\306\211\307 \"\211\2037\f >\211\2037 \204) @=\2047 >\2037\f A\202\f ,\207" [elt list exclusive ex ass last-ass nil assoc key] 4]) (defalias 'reftex-sublist-nth #[(list nth predicate &optional completion) "\305 \203'\n @!\203 \203\f @8C\202\f @8B A\211\204\237)\207" [rtn list predicate completion nth nil] 3]) (defalias 'reftex-make-selection-buffer-name #[(type &optional index) "\303\304 \206\n\305N\206\306#\207" [type index reftex-docstruct-symbol format " *RefTeX[%s][%d]*" :master-index 0] 5]) (defalias 'reftex-make-index-buffer-name #[(tag &optional cnt) "\303\304 \206\n\305N\206\306#\207" [tag cnt reftex-docstruct-symbol format "*Index[%s][%d]*" :master-index 0] 5]) (defalias 'reftex-truncate #[(string ncols &optional ellipses padding) "G X\203 \202\n\203\304 \305ZO\306P\202\304 O \203+\307\211\310 \"\"\207\207" [string ncols ellipses padding 0 3 "..." format "%%-%ds"] 4]) (defalias 'reftex-nearest-match #[(regexp &optional max-length) "`\206 G\306\211\211\211 \\d^b\210\307 \306\310#\203\"\311  Ze]b\210\312 \306\310#\2035\311  b\210\f\204A \202` \204I\f\202`\313 \f@Z!\313 @Z!W\203_\f\202` \211\205j\314\n!\210\310-\207" [max-length regexp match match2 match1 dist nil re-search-backward t match-data re-search-forward abs set-match-data pos] 6]) (defalias 'reftex-auto-mode-alist #[nil "\303\n\203\n@A<\203\n@ B\n\211A@\210\202 \237*\207" [auto-mode-alist out alist nil] 2]) (defalias 'reftex-window-height #[nil "\300\301!\203 \301 \207\302 \207" [fboundp window-displayed-height window-height] 2]) (defalias 'reftex-enlarge-to-fit #[(buf2 &optional keep-current) "\306 p\307\n!\211\203(\310 !\210\311e!\203\311d!\204(\312\313ed\"\314 ZT!\210\315!\2034\310!\202B\f\205B\316 !\210\317\320 Z!+\207" [win1 buf1 buf2 win2 keep-current window-min-height selected-window get-buffer-window select-window pos-visible-in-window-p enlarge-window count-lines reftex-window-height window-live-p switch-to-buffer-other-window shrink-window window-height] 5]) (defalias 'reftex-select-with-char #[(prompt help-string &optional delay-time scroll) "\301\302\213)\207" [char 63 ((byte-code "\300\301\215\207" [exit (byte-code "\306\307P!\210\310 \206\f\311!\204\312 \211\313U\203@\314\315!\210\316\315!\210 c\210\317b\210\320e!\2033\320d!\204>\321\322ed\"\323 ZT!\210\324\320e!\203L\320d!\204X \203U\325\202V\326P\306!\210\n\313\232\203e\312 \n\327\232\203q\330 \210\202\254\n\313\232\204\254 \203\215\n\331\232\203\215\332\333\334\217\210\306!\210\202\254 \203\243\n\335\232\203\243\332\336\337\217\210\306!\210\202\254\306\326!\210\340\341\n\"\210\312 \211\202f" [prompt delay-time char help-string truncate-lines scroll message " (?=Help)" sit-for 0 read-char-exclusive 63 reftex-kill-buffer "*RefTeX Select*" switch-to-buffer-other-window 1 pos-visible-in-window-p enlarge-window count-lines reftex-window-height t " (SPC/DEL=Scroll)" "" 7 keyboard-quit 32 nil (scroll-up) ((error)) 127 (scroll-down) ((error)) throw exit] 5)] 2))] 1]) (defalias 'reftex-make-regexp-allow-for-ctrl-m #[(string) "\302\303 !\304\305 \306\\#\211\203\307\305\310\311 $\202 )\207" [start string -2 regexp-quote string-match "[\n ]" 3 replace-match nil t] 5]) (defalias 'reftex-get-buffer-visiting #[(file) "\302\300!\203 \303\304 !)\207\305\306!\203\306 !\207\307\310!\207" [find-file-compare-truenames file boundp t get-file-buffer fboundp find-buffer-visiting error "This should not happen (reftex-get-buffer-visiting)"] 2]) (defalias 'reftex-visited-files #[(list) "\301\302\303\304\"\"\207" [list delq nil mapcar #[(x) "\301!\205\207" [x reftex-get-buffer-visiting] 2]] 5]) (defalias 'reftex-get-file-buffer-force #[(file &optional mark-to-kill) "\306!\211\203\f \202R\307!\203Q\n\203 \310=\203#\311!\202D\312\313 \314\312\211\311!- <\203D\212 q\210\315\303!\210)\n\203M\316\317 \"\210 \202R\312)\207" [file buf mark-to-kill reftex-initialize-temporary-buffers after-insert-file-functions enable-local-variables reftex-get-buffer-visiting file-readable-p t find-file-noselect nil reftex-auto-mode-alist fundamental-mode run-hooks add-to-list reftex-buffers-to-kill default-major-mode auto-mode-alist format-alist] 6]) (defalias 'reftex-kill-temporary-buffers #[(&optional buffer) "\203 \235\205K\302!\210\303 \"\211\207 \211A@\211\205K\304!\203B\305!\203>\306\307\310\311!\"!\203>\212q\210\312 \210)\302!\210 \211A@\210\202\207" [buffer reftex-buffers-to-kill kill-buffer delete bufferp buffer-modified-p y-or-n-p format "Save file %s? " buffer-file-name save-buffer] 5]) (defalias 'reftex-splice-symbols-into-list #[(list alist) "\304\211\n\203A\n@\2036\n@9\2036\n@\305 \"\203,\306\307\305 \"8\nA\"\211\202 \310\311\312!\"\210\202\n\211A@ B\202 \237*\207" [tmp rtn list alist nil assoc append 2 error "Cannot treat symbol %s in reftex-label-alist" symbol-name] 6]) (defalias 'reftex-remove-symbols-from-list #[(list) "\302 \203 @9\204 @B A\211\204\237)\207" [rtn list nil] 3]) (defalias 'reftex-uniquify #[(list) "\303\211\n\203\n\211A@\211 \235\204 B\202 \237*\207" [elm new list nil] 3]) (defalias 'reftex-uniquify-by-car #[(alist &optional keep-list) "\304\211\n\203$\n\211A@\211@ \235\204\305@ \"\204 B\202 \237*\207" [elm new alist keep-list nil assoc] 4]) (defalias 'reftex-abbreviate-title #[(string) "\302\303\304\305\211\306\307\304\310\311\306 8& \207" [string reftex-derive-label-parameters reftex-convert-string "[-~ \n ,;]" nil t 5 40 1 " "] 13]) #@953 Convert a string (a sentence) to something shorter. SPLIT-RE is the regular expression used to split the string into words. INVALID-RE matches characters which are invalid in the final string. DOT t means add dots to abbreviated words. KEEP-FP t means to keep a final punctuation when applicable. NWORDS Number of words to use. MAXCHAR Maximum number of characters in the final string. INVALID nil: Throw away any words containing stuff matched with INVALID-RE. t: Throw away only the matched part, not the whole word. ABBREV nil: Never abbreviate words. t: Always abbreviate words (see `reftex-abbrev-parameters'). not t and not nil: Abbreviate words if necessary to shorten string below MAXCHAR. SEP String separating different words in the output string. IGNORE-WORDS List of words which should be removed from the string. (defalias 'reftex-convert-string #[(string split-re invalid-re dot keep-fp nwords maxchar invalid abbrev sep ignore-words &optional downcase) "\306 \206\307\" \206\310\311\312 @\313\"\314\315 8\316\317\314\320 8\321\312 A@S\313\"\260\n\322\211\n\211A@\211\203\204 \203F\227\227!\235\2041\323\f\"\203z\"\2031\323\f\"\203p\324\325\322\211$\202\\B\2021B\2021\237\211G#V\203\232#S\233\322\241\210\326\327$#%\330=\204\266%\203\305G&V\203\305\331\332\"\326\327$#G&V\203\325\333&O\202\326'\204\352\323\334\"\203\352\324\325\322\211$-\207" [string split-re words0 invalid-re reftex-label-illegal-re reftex-abbrev-parameters split-string "[ \n ]" "" "\\`\\(" make-string 46 "[" 2 "]*" "\\)" 3 "]" nil string-match replace-match "" mapconcat identity t mapcar #[(w) "\303 \"\203\n\203\304\305 \"\306P\207\304\305 \"\207 \207" [abbrev-re w dot string-match match-string 1 "."] 3] 0 "\\s.+\\'" abbrev-re words word downcase ignore-words invalid nwords sep abbrev maxchar keep-fp] 13 (#$ . 45383)]) (defalias 'reftex-nicify-text #[(text) "\301\302\"\203\303\304\305\306$\202\301\307\"\203\303\310\305\306$\301\311\"\203-\303\310\305\306$\301\312\"\203;\303\310\305\306$G\313V\203G\314\313O\207G\314U\203S\315\316\317\"\207\207" [text string-match "[\n ]\\|[ ][ ]+" replace-match " " nil t "\\(\\\\end{\\|\\\\item\\|\\\\\\\\\\).*" "" "\\\\label{[^}]*}" "\\`[ }]+" 100 0 make-string 1 32] 5]) (defalias 'reftex-use-fonts #[nil "\205\301\302!\207" [reftex-use-fonts featurep font-lock] 2]) (defalias 'reftex-refontify #[nil "\301 \205\302=\206\303=\205\304\305!\205\306\307!?\207" [reftex-refontify-context reftex-use-fonts t 1 featurep x-symbol-tex boundp x-symbol-mode] 2]) (defalias 'reftex-fontify-select-label-buffer #[(parent-buffer) "\306\307\310#\210\311 \312 P\313\216\314\n\315\"\210\316\317!\203)\320\303!\210\321\322\323\324!)\202H\316\325!\203E\320\305!\210\326\322\326\325 \210\321ed\"*\202H\327\330!+\207" [parent-buffer oldname newname font-lock-fontify-region-function major-mode font-lock-keywords run-hook-with-args reftex-pre-refontification-functions reftex-ref buffer-name "Fontify-me-" ((rename-buffer oldname)) rename-buffer t fboundp font-lock-default-fontify-region make-local-variable reftex-select-font-lock-fontify-region latex-mode font-lock-mode 1 font-lock-set-defaults-1 nil message "Sorry: cannot refontify RefTeX Select buffer." font-lock-defaults-computed] 4]) (defalias 'reftex-select-font-lock-fontify-region #[(beg end &optional loudly) "\305\306!\203\n\306\202 \307\310\211 b\210\311\312\f\313#\205/`\314\310w\210`\n \310#\210b\210\202+\207" [end1 beg1 func beg end fboundp font-lock-default-fontify-region font-lock-fontify-region nil re-search-forward "^\\." t "^\n"] 4]) (defalias 'reftex-select-font-lock-unfontify #[(&rest ignore) "\300\207" [t] 1]) (defalias 'reftex-verified-face #[(&rest faces) "\301\302\303\215)\207" [face nil exit (byte-code "\211A@\211\205\302 !\203\303\304 \"\210\202\207" [faces face facep throw exit] 3)] 2]) (byte-code "\303\304\305\"\210\303\306\307\"\210\303\310\311\"\210\303\312\313\"\210\301B\314\301!\204#\315\301\316\"\210 \317\304\320\211\"I\210\306 \317H\321\322#\210 \320\304\320\211\"I\210\306 \320H\321\n#\210 \323\304\320\211\"I\210\306 \323H\321\n#\207" [current-load-list reftex-highlight-overlays reftex-cursor-selected-face defalias reftex-make-overlay make-overlay reftex-overlay-put overlay-put reftex-move-overlay move-overlay reftex-delete-overlay delete-overlay default-boundp set-default [nil nil nil] 0 1 face highlight 2] 5) #@40 Highlight a region with overlay INDEX. (defalias 'reftex-highlight #[(index begin end &optional buffer) "\305 H\n \f\206 p$\207" [reftex-highlight-overlays index begin end buffer reftex-move-overlay] 5 (#$ . 50032)]) #@23 Detach overlay INDEX. (defalias 'reftex-unhighlight #[(index) "\302 H!\207" [reftex-highlight-overlays index reftex-delete-overlay] 3 (#$ . 50257)]) (defalias 'reftex-highlight-shall-die #[nil "\300\301\302\"\210\303\304!\207" [remove-hook pre-command-hook reftex-highlight-shall-die reftex-unhighlight 0] 3]) (byte-code "\306\307:\203@\310\n @ A#\210A\211\202*\311\312!\204(\310\n\313\314#\210\315\316\317\"\210 \203M\320\307\f:\203L\f@\310\n @ A#\210\fA\211\2026*\321 B\322\321!\204\\\323\321\307\"\210\324\321!\210\325\326!\207" [#:--cl-var-- x reftex-mode-map reftex-extra-bindings #:--cl-var-- current-load-list (("=" . reftex-toc) ("-" . reftex-toc-recenter) ("(" . reftex-label) (")" . reftex-reference) ("[" . reftex-citation) ("<" . reftex-index) (">" . reftex-display-index) ("/" . reftex-index-selection-or-word) ("\\" . reftex-index-phrase-selection-or-word) ("|" . reftex-index-visit-phrases-buffer) ("&" . reftex-view-crossref)) nil define-key key-binding [(shift mouse-2)] [(shift mouse-2)] reftex-mouse-view-crossref eval-after-load "bibtex" (define-key bibtex-mode-map "&" 'reftex-view-crossref-from-bibtex) (("t" . reftex-toc) ("l" . reftex-label) ("r" . reftex-reference) ("c" . reftex-citation) ("v" . reftex-view-crossref) ("g" . reftex-grep-document) ("s" . reftex-search-document)) reftex-isearch-minor-mode default-boundp set-default make-variable-buffer-local require easymenu] 5) #@26 Menu used in RefTeX mode (defvar reftex-mode-menu nil (#$ . 51710)) (byte-code "\303\304\305\306\307\310\311\312\313\314\315\311\316\311\317\320\311\321\322\323\324\325\326 \"\327\"B\330\325\331\n\"B\332BBBBBBBBBBBBBBBBBB$\207" [reftex-mode-map reftex-cite-format-builtin reftex-index-macros-builtin easy-menu-do-define reftex-mode-menu "Menu used in RefTeX mode" "Ref" ["Table of Contents" reftex-toc t] ["Recenter TOC" reftex-toc-recenter t] "--" ["\\label" reftex-label t] ["\\ref" reftex-reference t] ["\\cite" reftex-citation t] ("\\index" ["\\index" reftex-index t] ["\\index{THIS}" reftex-index-selection-or-word t] "--" ["Add THIS to Index Phrases" reftex-index-phrase-selection-or-word t] ["Visit Phrase Buffer" reftex-index-visit-phrases-buffer t] ["Apply Phrases to Region" reftex-index-phrases-apply-to-region t] "--" ["Display the Index" reftex-display-index t]) ["View Crossref" reftex-view-crossref t] ("Parse Document" ["One File" reftex-parse-one reftex-enable-partial-scans] ["Entire Document" reftex-parse-all t] ["Save to File" (reftex-access-parse-file 'write) (> (length (symbol-value reftex-docstruct-symbol)) 0)] ["Restore from File" (reftex-access-parse-file 'restore) t]) ("Global Actions" ["Search Whole Document" reftex-search-document t] ["Search Again" tags-loop-continue t] ["Replace in Document" reftex-query-replace-document t] ["Grep on Document" reftex-grep-document t] "--" ["Goto Label" reftex-goto-label t] ["Find Duplicate Labels" reftex-find-duplicate-labels t] ["Change Label and Refs" reftex-change-label t] ["Renumber Simple Labels" reftex-renumber-simple-labels t] "--" ["Create BibTeX File" reftex-create-bibtex-file t] "--" ["Create TAGS File" reftex-create-tags-file t] "--" ["Save Document" reftex-save-all-document-buffers t]) ("Options" "PARSER" ["Partial Scans" (setq reftex-enable-partial-scans (not reftex-enable-partial-scans)) :style toggle :selected reftex-enable-partial-scans] ["Auto-Save Parse Info" (setq reftex-save-parse-info (not reftex-save-parse-info)) :style toggle :selected reftex-save-parse-info] "--" "TOC RECENTER" ["Automatic Recenter" reftex-toggle-auto-toc-recenter :style toggle :selected reftex-toc-auto-recenter-timer] "--" "CROSSREF INFO" ["Automatic Info" reftex-toggle-auto-view-crossref :style toggle :selected reftex-auto-view-crossref-timer] ["...in Echo Area" (setq reftex-auto-view-crossref t) :style radio :selected (eq reftex-auto-view-crossref t)] ["...in Other Window" (setq reftex-auto-view-crossref 'window) :style radio :selected (eq reftex-auto-view-crossref 'window)] "--" "MISC" ["AUC TeX Interface" reftex-toggle-plug-into-AUCTeX :style toggle :selected reftex-plug-into-AUCTeX] ["isearch whole document" reftex-isearch-minor-mode :style toggle :selected reftex-isearch-minor-mode]) ("Reference Style" ["Default" (setq reftex-vref-is-default nil reftex-fref-is-default nil) :style radio :selected (not (or reftex-vref-is-default reftex-fref-is-default))] ["Varioref" (setq reftex-vref-is-default t reftex-fref-is-default nil) :style radio :selected reftex-vref-is-default] ["Fancyref" (setq reftex-fref-is-default t reftex-vref-is-default nil) :style radio :selected reftex-fref-is-default]) "Citation Style" append mapcar #[(x) "\301\302\303@!!\304\305@DD\306\307\310\311\312C\305@DE&\207" [x vector capitalize symbol-name reftex-set-cite-format quote :style radio :selected eq reftex-get-cite-format] 10] ("--" "Sort Database Matches" ["Not" (setq reftex-sort-bibtex-matches nil) :style radio :selected (eq reftex-sort-bibtex-matches nil)] ["by Author" (setq reftex-sort-bibtex-matches 'author) :style radio :selected (eq reftex-sort-bibtex-matches 'author)] ["by Year" (setq reftex-sort-bibtex-matches 'year) :style radio :selected (eq reftex-sort-bibtex-matches 'year)] ["by Year, reversed" (setq reftex-sort-bibtex-matches 'reverse-year) :style radio :selected (eq reftex-sort-bibtex-matches 'reverse-year)]) "Index Style" #[(x) "\301\302\303@!!\304\305\306@DDD\307\310\311\312\306@D\313\314\306\315DEE&\207" [x vector capitalize symbol-name reftex-add-index-macros list quote :style radio :selected memq get reftex-docstruct-symbol reftex-index-macros-style] 12] ("--" ["Reset RefTeX Mode" reftex-reset-mode t] "--" ("Customize" ["Browse RefTeX Group" reftex-customize t] "--" ["Build Full Customize Menu" reftex-create-customize-menu (fboundp 'customize-menu-create)]) ("Documentation" ["Info" reftex-info t] ["Commentary" reftex-show-commentary t]))] 25) #@54 Call the customize function with reftex as argument. (defalias 'reftex-customize #[nil "\300\301!\207" [customize-browse reftex] 2 (#$ . 56184) nil]) #@71 Create a full customization menu for RefTeX, insert it into the menu. (defalias 'reftex-create-customize-menu #[nil "\300\301!\203\302\303\304\305\306\301\307!\310BBB#\210\311\312!\207\313\314!\207" [fboundp customize-menu-create easy-menu-change ("Ref") "Customize" ["Browse RefTeX group" reftex-customize t] "--" reftex (["Set" Custom-set t] ["Save" Custom-save t] ["Reset to Current" Custom-reset-current t] ["Reset to Saved" Custom-reset-saved t] ["Reset to Standard Settings" Custom-reset-standard t]) message "\"Ref\"-menu now contains full customization menu" error "Cannot expand menu (outdated version of cus-edit.el)"] 7 (#$ . 56340) nil]) #@65 Use the finder to view the file documentation from `reftex.el'. (defalias 'reftex-show-commentary #[nil "\300\301!\210\302\303!\207" [require finder finder-commentary "reftex.el"] 2 (#$ . 56998) nil]) #@97 Read documentation for RefTeX in the info system. With optional NODE, go directly to that node. (defalias 'reftex-info #[(&optional node) "\301\302!\210\303\304\305\206\f\306\"!\207" [node require info Info-goto-node format "(reftex)%s" ""] 4 (#$ . 57205) nil]) (byte-code "\301\302\303\"\210\301\304\305\"\210\306\307!\210\310\311\312!\207" [reftex-tables-dirty add-hook kill-buffer-hook reftex-kill-buffer-hook kill-emacs-hook reftex-kill-emacs-hook run-hooks reftex-load-hook t provide reftex] 3)