summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/platex/jsclasses/jspf.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/platex/jsclasses/jspf.cls')
-rw-r--r--Master/texmf-dist/tex/platex/jsclasses/jspf.cls8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/platex/jsclasses/jspf.cls b/Master/texmf-dist/tex/platex/jsclasses/jspf.cls
index b4294148ce7..75d5e572d40 100644
--- a/Master/texmf-dist/tex/platex/jsclasses/jspf.cls
+++ b/Master/texmf-dist/tex/platex/jsclasses/jspf.cls
@@ -13,7 +13,7 @@
\fi
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jspf}
- [2021/06/28 jsclasses (okumura, texjporg)]
+ [2022/09/13 jsclasses (okumura, texjporg)]
\def\jsc@clsname{jspf}
\newif\ifjsc@needsp@tch
\jsc@needsp@tchfalse
@@ -127,6 +127,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
+ \def\@currentcounter{equation}%
\global\@eqnswtrue
\m@th
\global\@eqcnt\z@
@@ -144,6 +145,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
+ \def\@currentcounter{equation}%
\global\@eqnswtrue\m@th
\global\@eqcnt\z@
\tabskip\mathindent
@@ -235,7 +237,8 @@
\fi
\fi
\iftombow
- \newdimen\stockwidth \newdimen\stockheight
+ \ifx\stockwidth\@undefined\newdimen\stockwidth\fi
+ \ifx\stockheight\@undefined\newdimen\stockheight\fi
\setlength{\stockwidth}{\paperwidth}
\setlength{\stockheight}{\paperheight}
\advance \stockwidth 2in
@@ -1578,6 +1581,7 @@
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
+ \def\@currentcounter{footnote}%
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark
}%