Replace obsolete floatfig package with floatflt

* doc/misc/reftex.texi (Builtin Label Environments): Mention the
floatflt LaTeX package instead of the obsolete floatfig.

* lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin):
Replace obsolete floatfig entry with floatflt.  Add entry for
"floatingtable".
Fix type indicator for "tabwindow".
(reftex-default-label-alist-entries): Use floatflt as well.
This commit is contained in:
Arash Esbati
2025-10-10 11:16:24 +02:00
parent 7d75ee2bd0
commit f344f5c4bf
2 changed files with 10 additions and 8 deletions

View File

@@ -1094,10 +1094,11 @@ the @code{\ctable} macro (from @file{ctable.sty})
@cindex @code{\endnote}, LaTeX macro
the @code{\endnote} macro (from @file{endnotes.sty})
@item
@cindex @code{floatfig}, LaTeX package
@cindex LaTeX packages, @code{floatfig}
@cindex @code{floatingfig}, LaTeX environment
@code{floatingfig} (@file{floatfig.sty})
@cindex @code{floatflt}, LaTeX package
@cindex LaTeX packages, @code{floatflt}
@cindex @code{floatingfigure}, LaTeX environment
@cindex @code{floatingtable}, LaTeX environment
@code{floatingfigure}, @code{floatingtable} (@File{floatflt.sty})
@item
@cindex @code{minted}, LaTeX package
@cindex LaTeX packages, @code{minted}

View File

@@ -59,15 +59,16 @@
(fancybox "The Beqnarray environment"
(("Beqnarray" ?e nil nil eqnarray-like)))
(floatfig "The floatingfigure environment"
(("floatingfigure" ?f nil nil caption)))
(floatflt "The floatingfigure and floatingtable environments"
(("floatingfigure" ?f nil nil caption)
("floatingtable" ?t nil nil caption)))
(longtable "The longtable environment"
(("longtable" ?t nil nil caption)))
(picinpar "The figwindow and tabwindow environments"
(("figwindow" ?f nil nil 1)
("tabwindow" ?f nil nil 1)))
("tabwindow" ?t nil nil 1)))
(rotating "The sidewaysfigure and sidewaystable environments"
(("sidewaysfigure" ?f nil nil caption)
@@ -458,7 +459,7 @@ If nil, `follow-mode' will be suspended for stuff in unvisited files."
:group 'reftex-label-support)
(defcustom reftex-default-label-alist-entries
'( amsmath endnotes fancybox floatfig longtable picinpar
'( amsmath endnotes fancybox floatflt longtable picinpar
rotating sidecap subfig wrapfig
listings minted ctable LaTeX)
"Default label alist specifications. LaTeX should always be the last entry.