;;; reftex-auc.el - RefTeX's interface to AUC TeX
-;; Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
+;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.9
-;; Keywords: tex
+;; Version: 4.10
+;;
;; This file is part of GNU Emacs.
;;; reftex-cite.el - Creating citations with RefTeX
-;; Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
+;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.9
-;; Keywords: tex
+;; Version: 4.10
+;;
;; This file is part of GNU Emacs.
;;; reftex-dcr.el - Viewing cross references and citations with RefTeX
-;; Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
+;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.9
-;; Keywords: tex
+;; Version: 4.10
+;;
;; This file is part of GNU Emacs.
;; Boston, MA 02111-1307, USA.
(eval-when-compile (require 'cl))
-(provide 'reftex-vcr)
(provide 'reftex-dcr)
+(provide 'reftex-vcr)
(require 'reftex)
;;;
;;; reftex-global.el - Operations on entire documents with RefTeX
-;; Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
+;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.9
-;; Keywords: tex
+;; Version: 4.10
+;;
;; This file is part of GNU Emacs.
;;; reftex-index.el - Index support with RefTeX
-;; Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
+;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.9
-;; Keywords: tex
+;; Version: 4.10
+;;
;; This file is part of GNU Emacs.
(interactive)
(reftex-access-scan-info)
(let* ((master (reftex-TeX-master-file))
- (name (concat (file-name-sans-extension master) ".rip")))
+ (name (concat (file-name-sans-extension master)
+ reftex-index-phrase-file-extension)))
(find-file name)
(unless (eq major-mode 'reftex-index-phrases-mode)
(reftex-index-phrases-mode))
reftex-index-phrases-macro-data))
;; Reverse the list, so that the first macro is first
(if (null reftex-index-phrases-macro-data)
- (error "No valid MACRO DEFINITION line in .rip file (make sure to use TAB separators)"))
+ (error "No valid MACRO DEFINITION line in %s file (make sure to use TAB separators)" reftex-index-phrase-file-extension))
(setq reftex-index-phrases-macro-data
(nreverse reftex-index-phrases-macro-data))
(goto-char (point-min)))))
;;; reftex-parse.el - Parser Functions for RefTeX
-;; Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
+;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.9
-;; Keywords: tex
+;; Version: 4.10
+;;
;; This file is part of GNU Emacs.
;;; reftex-ref.el - Code to create labels and references with RefTeX
-;; Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
+;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.9
-;; Keywords: tex
+;; Version: 4.10
+;;
;; This file is part of GNU Emacs.
;;; reftex-sel.el - The selection modes for RefTeX
-;; Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
+;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.9
-;; Keywords: tex
+;; Version: 4.10
+;;
;; This file is part of GNU Emacs.
;;; reftex-toc.el - RefTeX's table of contents mode
-;; Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
+;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.9
-;; Keywords: tex
+;; Version: 4.10
+;;
;; This file is part of GNU Emacs.
;;; reftex-vars.el - Configuration variables for RefTeX
-;; Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
+;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.9
-;; Keywords: tex
+;; Version: 4.10
+;;
;; This file is part of GNU Emacs.
:group 'reftex-index-support
:type 'string)
+(defcustom reftex-index-phrase-file-extension ".rip"
+ "File extension for the index phrase file.
+This extension will be added to the base name of the master file."
+ :group 'reftex-index-support
+ :type 'string)
+
(defcustom reftex-index-phrases-logical-and-regexp " *&& *"
"Regexp matching the `and' operator for index arguments in phrases file.
When several index arguments in a phrase line are separated by this
:group 'reftex-optimizations-for-large-documents
:type 'boolean)
+(defcustom reftex-parse-file-extension ".rel"
+ "*File extension for the file in which parser information is stored.
+This extension is added to the base name of the master file."
+ :group 'reftex-optimizations-for-large-documents
+ :type 'string)
+
(defcustom reftex-use-multiple-selection-buffers nil
"*Non-nil means use a separate selection buffer for each label type.
These buffers are kept from one selection to the next and need not to be
;;; reftex.el --- Minor mode for doing \label, \ref, \cite, \index in LaTeX
-;; Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
+;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.9
+;; Version: 4.10
;; Keywords: tex
;; This file is part of GNU Emacs.
;;; Define the formal stuff for a minor mode named RefTeX.
;;;
-(defconst reftex-version "RefTeX version 4.9"
+(defconst reftex-version "RefTeX version 4.10"
"Version string for RefTeX.")
(defvar reftex-mode nil
(master (reftex-TeX-master-file))
(enable-local-variables nil)
(file (if (string-match "\\.[a-zA-Z]+\\'" master)
- (concat (substring master 0 (match-beginning 0)) ".rel")
- (concat master ".rel"))))
+ (concat (substring master 0 (match-beginning 0))
+ reftex-parse-file-extension)
+ (concat master reftex-parse-file-extension))))
(cond
((eq action 'readable)
(file-readable-p file))