summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/platex/jsclasses/jsreport.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/platex/jsclasses/jsreport.cls')
-rw-r--r--Master/texmf-dist/tex/platex/jsclasses/jsreport.cls8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/platex/jsclasses/jsreport.cls b/Master/texmf-dist/tex/platex/jsclasses/jsreport.cls
index 529ce383ee0..4c96f3cb1d6 100644
--- a/Master/texmf-dist/tex/platex/jsclasses/jsreport.cls
+++ b/Master/texmf-dist/tex/platex/jsclasses/jsreport.cls
@@ -13,7 +13,7 @@
\fi
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jsreport}
- [2021/06/28 jsclasses (okumura, texjporg)]
+ [2022/09/13 jsclasses (okumura, texjporg)]
\def\jsc@clsname{jsreport}
\newif\ifjsc@needsp@tch
\jsc@needsp@tchfalse
@@ -132,6 +132,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
+ \def\@currentcounter{equation}%
\global\@eqnswtrue
\m@th
\global\@eqcnt\z@
@@ -149,6 +150,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
+ \def\@currentcounter{equation}%
\global\@eqnswtrue\m@th
\global\@eqcnt\z@
\tabskip\mathindent
@@ -240,7 +242,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
@@ -1819,6 +1822,7 @@
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
+ \def\@currentcounter{footnote}%
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark
}%