[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109402: * textmodes/reftex-vars.el (
From: |
Tassilo Horn |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109402: * textmodes/reftex-vars.el (reftex-default-label-alist-entries): |
Date: |
Thu, 02 Aug 2012 20:24:11 +0200 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109402
committer: Tassilo Horn <address@hidden>
branch nick: trunk
timestamp: Thu 2012-08-02 20:24:11 +0200
message:
* textmodes/reftex-vars.el (reftex-default-label-alist-entries):
Add listings, minted, and ctable packages.
(reftex-label-alist-builtin): Move listings, minted, and ctable
entries before LaTeX.
modified:
lisp/ChangeLog
lisp/textmodes/reftex-vars.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-08-02 16:54:42 +0000
+++ b/lisp/ChangeLog 2012-08-02 18:24:11 +0000
@@ -1,3 +1,10 @@
+2012-08-02 Tassilo Horn <address@hidden>
+
+ * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
+ Add listings, minted, and ctable packages.
+ (reftex-label-alist-builtin): Move listings, minted, and ctable
+ entries before LaTeX.
+
2012-08-02 Bastien Guerry <address@hidden>
* replace.el (occur): Fix docstring (bug#12122).
=== modified file 'lisp/textmodes/reftex-vars.el'
--- a/lisp/textmodes/reftex-vars.el 2012-07-27 07:59:50 +0000
+++ b/lisp/textmodes/reftex-vars.el 2012-08-02 18:24:11 +0000
@@ -90,6 +90,15 @@
(wrapfig "The wrapfigure environment"
(("wrapfigure" ?f nil nil caption)))
+ (ctable "The ctable package"
+ (("\\ctable[]{}{}{}" ?t "tab:" "\\ref{%s}" 1 ("table"
"Tabelle"))))
+
+ (listings "The listings package"
+ (("lstlisting" ?l "lst:" "~\\ref{%s}" nil (regexp "[Ll]isting"))))
+
+ (minted "The minted package"
+ (("minted" ?l "lst:" "~\\ref{%s}" nil (regexp "[Ll]isting"))))
+
;; The LaTeX core stuff
(LaTeX "LaTeX default environments"
(("section" ?s "%S" "~\\ref{%s}" (nil . t)
@@ -120,16 +129,7 @@
;; The label macro is hard coded, but it *could* be defined like this:
;;("\\label{*}" nil nil nil nil)
- ))
-
- (ctable "The ctable package"
- (("\\ctable[]{}{}{}" ?t "tab:" "\\ref{%s}" 1 ("table" "Tabelle"))))
-
- (listings "The listings package"
- (("lstlisting" ?l "lst:" "~\\ref{%s}" nil (regexp "[Ll]isting"))))
-
- (minted "The minted package"
- (("minted" ?l "lst:" "~\\ref{%s}" nil (regexp "[Ll]isting")))))
+ )))
"The default label environment descriptions.
Lower-case symbols correspond to a style file of the same name in the LaTeX
distribution. Mixed-case symbols are convenience aliases.")
@@ -430,7 +430,8 @@
(defcustom reftex-default-label-alist-entries
'(amsmath endnotes fancybox floatfig longtable picinpar
- rotating sidecap subfigure supertab wrapfig LaTeX)
+ rotating sidecap subfigure supertab wrapfig
+ listings minted ctable LaTeX)
"Default label alist specifications. LaTeX should always be the last entry.
The value of this variable is a list of symbols with associations in the
constant `reftex-label-alist-builtin'. Check that constant for a full list
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109402: * textmodes/reftex-vars.el (reftex-default-label-alist-entries):,
Tassilo Horn <=