]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove support for supertabular from RefTeX
authorArash Esbati <arash@gnu.org>
Wed, 8 Jan 2025 19:47:43 +0000 (20:47 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 11 Jan 2025 11:17:07 +0000 (12:17 +0100)
* doc/misc/reftex.texi (Builtin Label Environments):
* lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin)
(reftex-default-label-alist-entries): Delete entries for the
supertabular environment.  supertabular is an extension of the
normal tabular environment, and therefore doesn't contain a
caption and label.  Hence, supporting supertabular in RefTeX is
useless.

(cherry picked from commit b71225ed90ab28ad88c22f8fcd1b87c5681eb0a7)

doc/misc/reftex.texi
lisp/textmodes/reftex-vars.el

index 9287858fe29565bc5c49200fab1d0e366141b373..56d3bbb655f8b307962396e9a44265348b2ef77b 100644 (file)
@@ -1128,11 +1128,6 @@ the @code{\endnote} macro (from @file{endnotes.sty})
 the @code{\subfigure} and @code{\subtable} macros (from
 @file{subfig.sty})
 @item
-@cindex @code{supertab}, LaTeX package
-@cindex LaTeX packages, @code{supertab}
-@cindex @code{supertabular}, LaTeX environment
-@code{supertabular} (@file{supertab.sty})
-@item
 @cindex @code{wrapfig}, LaTeX package
 @cindex LaTeX packages, @code{wrapfig}
 @cindex @code{wrapfigure}, LaTeX environment
index 3214f0b98bae14902d81d452d6c84fd372c7567b..49343b85de7b9252dcbe35982012fad36a7421af 100644 (file)
@@ -91,9 +91,6 @@
       ("\\subtable[][]{}"  ?t "tab:" "~\\subref{%s}"
        "\\\\subtable\\(?:\\(?:\\[[^]]*\\]\\)?\\[\\|{\\)")))
 
-    (supertab    "Supertabular environment"
-     (("supertabular" ?t nil nil "\\tablecaption{")))
-
     (wrapfig     "The wrapfigure and wraptable environments"
      (("wrapfigure" ?f nil nil caption)
       ("wraptable"  ?t nil nil caption)))
@@ -462,7 +459,7 @@ If nil, `follow-mode' will be suspended for stuff in unvisited files."
 
 (defcustom reftex-default-label-alist-entries
   '( amsmath endnotes fancybox floatfig longtable picinpar
-     rotating sidecap subfig supertab wrapfig
+     rotating sidecap subfig 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