aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArash Esbati2025-10-10 11:16:24 +0200
committerArash Esbati2025-10-10 11:17:54 +0200
commitf344f5c4bf1cbd2a4bc1def2d9186af0f1e5bfa9 (patch)
treea09f24aa321c1cf52c8176b602b361c38ee047b0
parent7d75ee2bd0b0b82e211f7d6e300c1592a6ab25ff (diff)
downloademacs-f344f5c4bf1cbd2a4bc1def2d9186af0f1e5bfa9.tar.gz
emacs-f344f5c4bf1cbd2a4bc1def2d9186af0f1e5bfa9.zip
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.
-rw-r--r--doc/misc/reftex.texi9
-rw-r--r--lisp/textmodes/reftex-vars.el9
2 files changed, 10 insertions, 8 deletions
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})
1094@cindex @code{\endnote}, LaTeX macro 1094@cindex @code{\endnote}, LaTeX macro
1095the @code{\endnote} macro (from @file{endnotes.sty}) 1095the @code{\endnote} macro (from @file{endnotes.sty})
1096@item 1096@item
1097@cindex @code{floatfig}, LaTeX package 1097@cindex @code{floatflt}, LaTeX package
1098@cindex LaTeX packages, @code{floatfig} 1098@cindex LaTeX packages, @code{floatflt}
1099@cindex @code{floatingfig}, LaTeX environment 1099@cindex @code{floatingfigure}, LaTeX environment
1100@code{floatingfig} (@file{floatfig.sty}) 1100@cindex @code{floatingtable}, LaTeX environment
1101@code{floatingfigure}, @code{floatingtable} (@File{floatflt.sty})
1101@item 1102@item
1102@cindex @code{minted}, LaTeX package 1103@cindex @code{minted}, LaTeX package
1103@cindex LaTeX packages, @code{minted} 1104@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 @@
59 (fancybox "The Beqnarray environment" 59 (fancybox "The Beqnarray environment"
60 (("Beqnarray" ?e nil nil eqnarray-like))) 60 (("Beqnarray" ?e nil nil eqnarray-like)))
61 61
62 (floatfig "The floatingfigure environment" 62 (floatflt "The floatingfigure and floatingtable environments"
63 (("floatingfigure" ?f nil nil caption))) 63 (("floatingfigure" ?f nil nil caption)
64 ("floatingtable" ?t nil nil caption)))
64 65
65 (longtable "The longtable environment" 66 (longtable "The longtable environment"
66 (("longtable" ?t nil nil caption))) 67 (("longtable" ?t nil nil caption)))
67 68
68 (picinpar "The figwindow and tabwindow environments" 69 (picinpar "The figwindow and tabwindow environments"
69 (("figwindow" ?f nil nil 1) 70 (("figwindow" ?f nil nil 1)
70 ("tabwindow" ?f nil nil 1))) 71 ("tabwindow" ?t nil nil 1)))
71 72
72 (rotating "The sidewaysfigure and sidewaystable environments" 73 (rotating "The sidewaysfigure and sidewaystable environments"
73 (("sidewaysfigure" ?f nil nil caption) 74 (("sidewaysfigure" ?f nil nil caption)
@@ -458,7 +459,7 @@ If nil, `follow-mode' will be suspended for stuff in unvisited files."
458 :group 'reftex-label-support) 459 :group 'reftex-label-support)
459 460
460(defcustom reftex-default-label-alist-entries 461(defcustom reftex-default-label-alist-entries
461 '( amsmath endnotes fancybox floatfig longtable picinpar 462 '( amsmath endnotes fancybox floatflt longtable picinpar
462 rotating sidecap subfig wrapfig 463 rotating sidecap subfig wrapfig
463 listings minted ctable LaTeX) 464 listings minted ctable LaTeX)
464 "Default label alist specifications. LaTeX should always be the last entry. 465 "Default label alist specifications. LaTeX should always be the last entry.