;;; reftex-auc.el - RefTeX's interface to AUC TeX
-;;; Version: 4.5
+;;; Version: 4.6
;;;
;;; See main file reftex.el for licensing information
;;; reftex-cite.el - Creating citations with RefTeX
-;;; Version: 4.5
+;;; Version: 4.6
;;;
;;; See main file reftex.el for licensing information
;;; reftex-global.el - Operations on entire documents with RefTeX
-;;; Version: 4.5
+;;; Version: 4.6
;;;
;;; See main file reftex.el for licensing information
;;; reftex-index.el - Index support with RefTeX
-;;; Version: 4.5
+;;; Version: 4.6
;;;
;;; See main file reftex.el for licensing information
;;; reftex-ref.el - Code to create labels and references with RefTeX
-;;; Version: 4.5
+;;; Version: 4.6
;;;
;;; See main file reftex.el for licensing information
((equal letter "u")
(or (user-login-name) ""))
((equal letter "S")
- (let* (macro level)
+ (let* (macro level-exp level)
(save-excursion
(save-match-data
(when (re-search-backward reftex-section-regexp nil t)
(setq macro (reftex-match-string 2)
- level
- (abs
- (cdr (assoc macro reftex-section-levels-all)))))
+ level-exp (cdr (assoc macro reftex-section-levels-all))
+ level (if (symbolp level-exp)
+ (abs (save-match-data
+ (funcall level-exp)))
+ (abs level-exp))))
(cdr (or (assoc macro reftex-section-prefixes)
(assoc level reftex-section-prefixes)
(assq t reftex-section-prefixes)
;;; reftex-sel.el - The selection modes for RefTeX
-;;; Version: 4.5
+;;; Version: 4.6
;;;
;;; See main file reftex.el for licensing information
;;; reftex-toc.el - RefTeX's table of contents mode
-;;; Version: 4.5
+;;; Version: 4.6
;;;
;;; See main file reftex.el for licensing information
;; Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.5
+;; Version: 4.6
;; Keywords: tex
;; This file is not part of GNU Emacs.
;;; Define the formal stuff for a minor mode named RefTeX.
;;;
-(defconst reftex-version "RefTeX version 4.5"
+(defconst reftex-version "RefTeX version 4.6"
"Version string for RefTeX.")
(defvar reftex-mode nil