• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/emacs-92/emacs/lisp/textmodes/

Lines Matching +defs:overlays +defs:in

1 ;;; reftex.el --- minor mode for doing \label, \ref, \cite, \index in LaTeX
17 ;; GNU Emacs is distributed in the hope that it will be useful,
32 ;; and \index commands in (multi-file) LaTeX documents.
37 ;; - Text phrases can be collected in a file, for later global indexing.
45 ;; - For XEmacs 21.x, you need to install the RefTeX plug-in package
48 ;; the instructions in the INSTALL file of the distrubution.
50 ;; To turn RefTeX Mode on and off in a buffer, use `M-x reftex-mode'.
64 ;; There is an extensive texinfo document describing RefTeX in detail.
67 ;; The documentation in various formats is also available at
77 ;; citations, and the index in LaTeX. RefTeX wraps itself round 4 LaTeX
82 ;; display the structure of a document and to move around in this
95 ;; is stored in the environment variables `TEXINPUTS' and `BIBINPUTS'
103 ;; To turn RefTeX Mode on and off in a particular buffer, use `M-x
110 ;; RefTeX in a Nutshell
116 ;; entries defined in the document. From the buffer, you can jump
148 ;; expression to search in current BibTeX database files (as
149 ;; specified in the `\bibliography' command) and pull out a list of
177 ;; To display the compiled index in a special buffer, type `C-c
185 ;; (`reftex-view-crossref') to display corresponding locations in the
189 ;; will automatically be displayed in the echo area.
199 ;; RefTeX needs to parse the document in order to find labels and
203 ;; with a raw `C-u' prefix, or press the `r' key in the label
210 ;; files which trigger appropriate settings in RefTeX, so that for
235 ;; the key bindings. For an overview of what you can do in each of
238 ;; The first part of the manual explains in a tutorial way how to use
251 ;; RefTeX is bundled with Emacs and available as a plug-in package for
347 "Minor mode with distinct support for \\label, \\ref and \\cite in LaTeX.
368 Extensive documentation about RefTeX is available in Info format.
428 ;; This function should be installed in `kill-buffer-hook'.
429 ;; We are careful to make sure nothing goes wring in this function.
442 ;; This function should be installed in `kill-emacs-hook'.
451 ;;; Silence warnings about variables in other packages.
604 ;; Return the current citation format. Either the document-local value in
605 ;; reftex-cite-format-symbol, or the global value in reftex-cite-format.
617 The entries in ENTRY-LIST will be processed after the user settings in
671 ;; List of all typekey letters in use.
679 ;; The last list-of-labels entry used in a reference.
739 "Memorizes old variable values to indicate changes in these variables.")
741 ;; A list of all variables in the cache.
819 (loop for prop in '(status master-dir recursive-path rec-type) do
823 ;; Kill temporary buffers associated with RefTeX - just in case they
874 ;; Compile the information in reftex-label-alist & Co.
892 ;; Compile information in reftex-label-alist
1060 ;; which allow for some chars from the ref format to be in the buffer.
1235 ;; Error out in a buffer without a file.
1238 (error "RefTeX works only in buffers visiting a file"))
1278 ;; Set all toc markers in the first N entries in list to nil
1375 (message "Master file name in load file is different: %s versus %s"
1384 ;;; (message "File %s in saved parse info not avalable" (cdr (car all)))
1430 "Find FILE of type TYPE in MASTER-DIR or on the path associcted with TYPE.
1497 ;; When RECURSE is t, expand path elements ending in `//' recursively.
1584 ;; Expand parts of path ending in `//' recursively into directory list.
1734 "View location in a LaTeX document which cites the BibTeX entry at point." t)
1750 "Produce a list of all duplicate labels in the document." t)
1752 "Query replace FROM with TO in all \\label and \\ref commands." t)
1754 "Renumber all simple labels in the document to make them sequentially." t)
1787 ;; Check if we are already in a recursive edit. Abort with helpful
1794 (defun reftex-in-comment ()
1849 ;; Return a list of all associations of KEY in LIST. Comparison with eq.
1857 ;; Return a list of all associations of KEY in LIST. Comparison with string=.
1866 ;; Find the last association of KEY in LIST before or at ELT
1867 ;; ELT is found in LIST with equal, not eq.
1868 ;; Returns nil when either KEY or elt are not found in LIST.
1960 ;; If KEEP-CURRENT in non-nil, current buffer must remain visible.
1966 (unless (and (pos-visible-in-window-p (point-min))
1967 (pos-visible-in-window-p (point-max)))
1991 (unless (and (pos-visible-in-window-p (point-min))
1992 (pos-visible-in-window-p (point-max)))
1996 (if (and (pos-visible-in-window-p (point-min))
1997 (pos-visible-in-window-p (point-max)))
2096 ;; Kill all buffers in the list reftex-kill-temporary-buffers.
2116 ;; Splice the association in ALIST of any symbols in LIST into the list.
2127 (error "Cannot treat symbol %s in reftex-label-alist"
2142 ;; Return a list of all elements in LIST, but each only once, keeping order
2151 ;; Return a list of all elements in ALIST, but each car only once.
2170 INVALID-RE matches characters which are invalid in the final string.
2174 MAXCHAR Maximum number of characters in the final string.
2181 SEP String separating different words in the output string.
2326 ;; Return the first valid face in FACES, or nil if none is valid.
2327 ;; Also, when finding a nil element in FACES, return nil. This
2339 ;; Highlighting uses overlays. For XEmacs, we use extends.
2351 ;; We keep a vector with several different overlays to do our highlighting.
2352 (defvar reftex-highlight-overlays [nil nil nil])
2354 ;; Initialize the overlays
2355 (aset reftex-highlight-overlays 0 (reftex-make-overlay 1 1))
2356 (reftex-overlay-put (aref reftex-highlight-overlays 0)
2358 (aset reftex-highlight-overlays 1 (reftex-make-overlay 1 1))
2359 (reftex-overlay-put (aref reftex-highlight-overlays 1)
2361 (aset reftex-highlight-overlays 2 (reftex-make-overlay 1 1))
2362 (reftex-overlay-put (aref reftex-highlight-overlays 2)
2365 ;; Two functions for activating and deactivation highlight overlays
2368 (reftex-move-overlay (aref reftex-highlight-overlays index)
2372 (reftex-delete-overlay (aref reftex-highlight-overlays index)))
2375 ;; Function used in pre-command-hook to remove highlights.
2383 ;; The default bindings in the mode map.
2384 (loop for x in
2407 ;; Bind `reftex-view-crossref-from-bibtex' in BibTeX mode map
2414 (loop for x in
2436 "Menu used in RefTeX mode"
2465 ["Replace in Document" reftex-query-replace-document t]
2495 ["...in Echo Area" (setq reftex-auto-view-crossref t)
2497 ["...in Other Window" (setq reftex-auto-view-crossref 'window)
2588 "Read documentation for RefTeX in the info system.
2605 (setq reftex-tables-dirty t) ; in case this file is evaluated by hand