Skip to content

Commit

Permalink
exppl2e.sty: initialize \pltx@foot@penalty in \@footnotetext
Browse files Browse the repository at this point in the history
  • Loading branch information
aminophen committed Aug 22, 2016
1 parent f80b268 commit f6521d0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions exppl2e.sty
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@
%<platexrelease> {Add new counter \pltx@foot@penalty}%
%<*plcore|platexrelease>
\ifx\@undefined\pltx@foot@penalty \newcount\pltx@foot@penalty \fi
\pltx@foot@penalty\z@
%</plcore|platexrelease>
%<platexrelease>\plEndIncludeInRelease
%<platexrelease>\plIncludeInRelease{0000/00/00}{\pltx@foot@penalty}
Expand All @@ -286,11 +287,11 @@
%<*plcore|platexrelease>
% \end{macrocode}
% \begin{macrocode}
\def\footnote{\inhibitglue\pltx@foot@penalty\z@
\def\footnote{\inhibitglue
\@ifnextchar[\@xfootnote{\stepcounter\@mpfn
\protected@xdef\@thefnmark{\thempfn}%
\@footnotemark\@footnotetext}}
\def\footnotemark{\inhibitglue\pltx@foot@penalty\z@%
\def\footnotemark{\inhibitglue
\@ifnextchar[\@xfootnotemark
{\stepcounter{footnote}%
\protected@xdef\@thefnmark{\thefootnote}%
Expand Down Expand Up @@ -360,7 +361,10 @@
% $BLdBj$KBP=h(B}
% \begin{macrocode}
\color@endgroup}\null
\ifnum\pltx@foot@penalty=\z@\else\penalty\pltx@foot@penalty\fi}
\ifnum\pltx@foot@penalty=\z@\else
\penalty\pltx@foot@penalty
\pltx@foot@penalty\z@
\fi}
% \end{macrocode}
% \begin{macrocode}
%</plcore|platexrelease>
Expand Down

0 comments on commit f6521d0

Please sign in to comment.