commit 340149c0a3f85a02a4e80425e0bb86545bb4b599 (HEAD, refs/remotes/origin/master) Author: Arash Esbati Date: Fri Oct 10 11:27:32 2025 +0200 ; * doc/misc/reftex.texi (Builtin Label Environments): Fix typo. diff --git a/doc/misc/reftex.texi b/doc/misc/reftex.texi index 6c2f1fbf0eb..f0f877d0849 100644 --- a/doc/misc/reftex.texi +++ b/doc/misc/reftex.texi @@ -1098,7 +1098,7 @@ the @code{\endnote} macro (from @file{endnotes.sty}) @cindex LaTeX packages, @code{floatflt} @cindex @code{floatingfigure}, LaTeX environment @cindex @code{floatingtable}, LaTeX environment -@code{floatingfigure}, @code{floatingtable} (@File{floatflt.sty}) +@code{floatingfigure}, @code{floatingtable} (@file{floatflt.sty}) @item @cindex @code{minted}, LaTeX package @cindex LaTeX packages, @code{minted} commit f344f5c4bf1cbd2a4bc1def2d9186af0f1e5bfa9 Author: Arash Esbati Date: Fri Oct 10 11:16:24 2025 +0200 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. diff --git a/doc/misc/reftex.texi b/doc/misc/reftex.texi index 33e1cee8d3c..6c2f1fbf0eb 100644 --- a/doc/misc/reftex.texi +++ b/doc/misc/reftex.texi @@ -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} diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index 0c3f0eae33f..e75267cc01d 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el @@ -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.