summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfbu <jfbu@free.fr>2021-02-06 11:38:24 +0100
committerjfbu <jfbu@free.fr>2021-02-06 11:38:24 +0100
commitc55216858e59f805a5655d026db6d647bff3412d (patch)
tree5c70db62336fed55293aaaa44ad08f121eb6bdcd
parent628c58abef12b25d491f234fef4da0b347cee0dc (diff)
downloadsphinx-git-c55216858e59f805a5655d026db6d647bff3412d.tar.gz
Abstract \stepcounter{sphinxscope} into macro for flexibility
-rw-r--r--sphinx/texinputs/sphinx.sty1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty
index 831f736f1..cfe2164c1 100644
--- a/sphinx/texinputs/sphinx.sty
+++ b/sphinx/texinputs/sphinx.sty
@@ -846,6 +846,7 @@
%
% Support scopes for footnote numbering
\newcounter{sphinxscope}
+\newcommand{\sphinxstepscope}{\stepcounter{sphinxscope}}
% Support large numbered footnotes in minipage
% But now obsolete due to systematic use of \savenotes/\spewnotes
% when minipages are in use in the various macro definitions next.