Skip to content

Commit

Permalink
jsclasses.dtx: Fix for \@footnotetext (texjporg/platex#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
aminophen committed Sep 8, 2016
1 parent e136519 commit bb632fb
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 10 deletions.
5 changes: 3 additions & 2 deletions jsarticle.cls
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jsarticle}
[2016/08/26 okumura, texjporg]
[2016/09/08 okumura, texjporg]
\def\jsc@clsname{jsarticle}
\newif\ifjsc@needsp@tch
\jsc@needsp@tchfalse
Expand Down Expand Up @@ -1663,7 +1663,8 @@
\else \let\next\f@t\fi \next}
\def\f@@t{\bgroup\aftergroup\@foot\let\next}
\def\f@t#1{#1\@foot}
\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup\null
\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup
\ifhmode\null\fi
\ifx\pltx@foot@penalty\@undefined\else
\ifnum\pltx@foot@penalty=\z@\else
\penalty\pltx@foot@penalty
Expand Down
5 changes: 3 additions & 2 deletions jsbook.cls
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jsbook}
[2016/08/26 okumura, texjporg]
[2016/09/08 okumura, texjporg]
\def\jsc@clsname{jsbook}
\newif\ifjsc@needsp@tch
\jsc@needsp@tchfalse
Expand Down Expand Up @@ -1747,7 +1747,8 @@
\else \let\next\f@t\fi \next}
\def\f@@t{\bgroup\aftergroup\@foot\let\next}
\def\f@t#1{#1\@foot}
\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup\null
\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup
\ifhmode\null\fi
\ifx\pltx@foot@penalty\@undefined\else
\ifnum\pltx@foot@penalty=\z@\else
\penalty\pltx@foot@penalty
Expand Down
7 changes: 5 additions & 2 deletions jsclasses.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
%<*driver>
\ProvidesFile{jsclasses.dtx}
%</driver>
[2016/08/26 okumura, texjporg]
[2016/09/08 okumura, texjporg]
%<*driver>
\documentclass{jsarticle}
\usepackage{doc}
Expand Down Expand Up @@ -5178,6 +5178,8 @@
% |\footnotetext| $B$,B3$/>l9g$K2~9T$,5/$-$k$3$H$,$"$kLdBj$KBP=h!W(B
% $B$HF1Ey$N%3!<%I$rDI2C$7$^$7$?!#(B
%
% [2016-09-08] $B%3%_%e%K%F%#HG(B\pLaTeX $B$N%P%0=$@5$KDI?o$7$^$7$?!#(B
%
% \begin{macrocode}
\long\def\@footnotetext{%
\insert\footins\bgroup
Expand All @@ -5197,7 +5199,8 @@
\else \let\next\f@t\fi \next}
\def\f@@t{\bgroup\aftergroup\@foot\let\next}
\def\f@t#1{#1\@foot}
\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup\null
\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup
\ifhmode\null\fi
\ifx\pltx@foot@penalty\@undefined\else
\ifnum\pltx@foot@penalty=\z@\else
\penalty\pltx@foot@penalty
Expand Down
Binary file modified jsclasses.pdf
Binary file not shown.
5 changes: 3 additions & 2 deletions jspf.cls
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jspf}
[2016/08/26 okumura, texjporg]
[2016/09/08 okumura, texjporg]
\def\jsc@clsname{jspf}
\newif\ifjsc@needsp@tch
\jsc@needsp@tchfalse
Expand Down Expand Up @@ -1546,7 +1546,8 @@
\else \let\next\f@t\fi \next}
\def\f@@t{\bgroup\aftergroup\@foot\let\next}
\def\f@t#1{#1\@foot}
\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup\null
\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup
\ifhmode\null\fi
\ifx\pltx@foot@penalty\@undefined\else
\ifnum\pltx@foot@penalty=\z@\else
\penalty\pltx@foot@penalty
Expand Down
5 changes: 3 additions & 2 deletions kiyou.cls
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{kiyou}
[2016/08/26 okumura, texjporg]
[2016/09/08 okumura, texjporg]
\def\jsc@clsname{kiyou}
\newif\ifjsc@needsp@tch
\jsc@needsp@tchfalse
Expand Down Expand Up @@ -1659,7 +1659,8 @@
\else \let\next\f@t\fi \next}
\def\f@@t{\bgroup\aftergroup\@foot\let\next}
\def\f@t#1{#1\@foot}
\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup\null
\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup
\ifhmode\null\fi
\ifx\pltx@foot@penalty\@undefined\else
\ifnum\pltx@foot@penalty=\z@\else
\penalty\pltx@foot@penalty
Expand Down

0 comments on commit bb632fb

Please sign in to comment.