[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] Changes to reftex/lisp/reftex-vars.el,v

From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to reftex/lisp/reftex-vars.el,v
Date: Wed, 15 Oct 2008 16:27:08 +0000

CVSROOT:        /sources/auctex
Module name:    reftex
Changes by:     Ralf Angeli <angeli>    08/10/15 16:27:08

Index: reftex-vars.el
RCS file: /sources/auctex/reftex/lisp/reftex-vars.el,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- reftex-vars.el      7 Jun 2008 09:04:58 -0000       1.49
+++ reftex-vars.el      15 Oct 2008 16:27:08 -0000      1.50
@@ -948,31 +948,35 @@
   :type '(repeat (cons (character) (string))))
 (defcustom reftex-ref-style-alist
-  '(("\\ref" "Default" t num)
-    ("\\pageref" "Default" t page)
-    ("\\vref" "Varioref" "varioref" num)
-    ("\\vpageref" "Varioref" "varioref" page)
-    ("\\Vref" "Varioref" "varioref" num)
-    ("\\Ref" "Varioref" "varioref" num)
-    ("\\fref" "Fancyref" "fancyref" num)
-    ("\\Fref" "Fancyref" "fancyref" num)
-    ("\\autoref" "Hyperref" "hyperref" num)
-    ("\\autopageref" "Hyperref" "hyperref" page))
+  '(("\\ref" "Default" t ?\C-m)
+    ("\\pageref" "Default" t ?p)
+    ("\\vref" "Varioref" "varioref" ?v)
+    ("\\vpageref" "Varioref" "varioref" ?g)
+    ("\\Vref" "Varioref" "varioref" ?V)
+    ("\\Ref" "Varioref" "varioref" ?R)
+    ("\\fref" "Fancyref" "fancyref" ?f)
+    ("\\Fref" "Fancyref" "fancyref" ?F)
+    ("\\autoref" "Hyperref" "hyperref" ?a)
+    ("\\autopageref" "Hyperref" "hyperref" ?u))
   "Alist of reference styles.
 Each element is a list of the string to be inserted as reference
 macro, the style name, the LaTeX package providing the macro (the
 package name as a string or t for no specific package) and the
-reference type (the symbol `num' for a number reference or `page'
-for a page reference macro)."
+key with which the macro can be selected when it is being
+prompted for.  (See also `reftex-ref-macro-prompt'.)  The keys,
+represented as characters, have to be unique."
   :group 'reftex-referencing-labels
   :type '(alist :key-type (string :tag "Macro")
                :value-type (group (string :tag "Style name")
                                   (choice :tag "Package"
                                           (const :tag "Any package" t)
                                           (string :tag "Name"))
-                                  (choice :tag "Reference type"
-                                          (const :tag "Number" num)
-                                          (const :tag "Page" page)))))
+                                  (character :tag "Key"))))
+(defcustom reftex-ref-macro-prompt t
+  "If non-nil, `reftex-reference' prompts for the reference macro."
+  :group 'reftex-referencing-labels
+  :type 'boolean)
 (defcustom reftex-vref-is-default nil
   "Non-nil means, the varioref reference style is used as default.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]