Skip to content

Commit

Permalink
make jisfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aminophen committed Sep 14, 2022
1 parent 0574141 commit a221e8a
Show file tree
Hide file tree
Showing 11 changed files with 68 additions and 21 deletions.
8 changes: 6 additions & 2 deletions jis/jsarticle.cls
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
%%
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jsarticle}
[2021/06/28 jsclasses (okumura, texjporg)]
[2022/09/13 jsclasses (okumura, texjporg)]
\def\jsc@clsname{jsarticle}
\newif\ifjsc@needsp@tch
\jsc@needsp@tchfalse
Expand Down Expand Up @@ -128,6 +128,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
\def\@currentcounter{equation}%
\global\@eqnswtrue
\m@th
\global\@eqcnt\z@
Expand All @@ -145,6 +146,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
\def\@currentcounter{equation}%
\global\@eqnswtrue\m@th
\global\@eqcnt\z@
\tabskip\mathindent
Expand Down Expand Up @@ -236,7 +238,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
Expand Down Expand Up @@ -1733,6 +1736,7 @@
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
\def\@currentcounter{footnote}%
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark
}%
Expand Down
8 changes: 6 additions & 2 deletions jis/jsbook.cls
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
%%
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jsbook}
[2021/06/28 jsclasses (okumura, texjporg)]
[2022/09/13 jsclasses (okumura, texjporg)]
\def\jsc@clsname{jsbook}
\newif\ifjsc@needsp@tch
\jsc@needsp@tchfalse
Expand Down Expand Up @@ -130,6 +130,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
\def\@currentcounter{equation}%
\global\@eqnswtrue
\m@th
\global\@eqcnt\z@
Expand All @@ -147,6 +148,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
\def\@currentcounter{equation}%
\global\@eqnswtrue\m@th
\global\@eqcnt\z@
\tabskip\mathindent
Expand Down Expand Up @@ -241,7 +243,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
Expand Down Expand Up @@ -1823,6 +1826,7 @@
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
\def\@currentcounter{footnote}%
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark
}%
Expand Down
33 changes: 28 additions & 5 deletions jis/jsclasses.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
% pLaTeX2$B&E?7%I%-%e%a%s%H%/%i%9!JF|K\8l(B TeX $B3+H/%3%_%e%K%F%#HG!K(B
% $B86:n<T!'1|B<@2I'(B <[email protected]>
%
% Copyright 1993-2021
% Copyright 1993-2022
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
% Copyright 1995-1999 ASCII Corporation.
% Copyright 1999-2016 Haruhiko Okumura
% Copyright 2016-2021 Japanese TeX Development Community
% Copyright 2016-2022 Japanese TeX Development Community
%
% \fi
%
Expand All @@ -27,9 +27,10 @@
%<*driver>
\ProvidesFile{jsclasses.dtx}
%</driver>
[2021/06/28 jsclasses (okumura, texjporg)]
[2022/09/13 jsclasses (okumura, texjporg)]
%<*driver>
\documentclass{jsarticle}
\RequirePackage{plautopatch}
\documentclass[dvipdfmx]{jsarticle}
\usepackage{doc}
\xspcode"5C=1 %% \
\xspcode"22=1 %% "
Expand Down Expand Up @@ -476,10 +477,14 @@
% $B$h$&$G$9$N$G!$>/$7>.$5$/$7$^$9!#(B
% $B$^$?!$Cf1{$NMWAG$b(B |\displaystyle| $B$K$7$^$9!#(B
%
% [2022-09-13] \LaTeXe~2021-11-15 (ltmath.dtx 2021/10/14 v1.2j)$B$G(B
% |\@currentcounter|$B$,DI2C$5$l$^$7$?$N$G!$DI?o$7$^$9!#(B
%
% \begin{macrocode}
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
\def\@currentcounter{equation}%
\global\@eqnswtrue
\m@th
\global\@eqcnt\z@
Expand All @@ -499,13 +504,17 @@
% \texttt{fleqn} $B$G?t<0$,K\J8:8C<$+$i0lDj5wN%$N$H$3$m$K=PNO$5$l$^$9!#(B
% $B?9K\$5$s$K$7$?$,$C$FD{@5$7$^$7$?!#(B
%
% [2022-09-13] \LaTeXe~2021-11-15 (ltmath.dtx 2021/10/14 v1.2j)$B$G(B
% |\@currentcounter|$B$,DI2C$5$l$^$7$?$N$G!$DI?o$7$^$9!#(B
%
% \begin{macrocode}
\DeclareOption{leqno}{\input{leqno.clo}}
\DeclareOption{fleqn}{\input{fleqn.clo}%
% fleqn$BMQ$N(Beqnarray$B4D6-$N:FDj5A(B
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
\def\@currentcounter{equation}%
\global\@eqnswtrue\m@th
\global\@eqcnt\z@
\tabskip\mathindent
Expand Down Expand Up @@ -766,9 +775,15 @@
% $BH/9T$9$k(B |\special| $B$NCf?H$rE83+$7$F$*$/$h$&$K$7$^$7$?!#(B
% $B$3$&$7$J$$$H!$MQ;f%5%$%:@_Dj$r4V0c$C$F$7$^$$$^$9(B(Issue \#72)$B!#(B
%
% [2022-09-12] $B<!4|(B\LaTeXe $B%+!<%M%k$K(B|\stockwidth|$B!$(B|\stockheight|$B$,(B
% $BDI2C$5$l$k$h$&$G$9$N$G!$(B
% $B%/%i%9%U%!%$%kB&$G$OL$Dj5A$N$H$-$N$_$3$l$i$ND9$5JQ?t$rDj5A$7$^$9!#(B
% h20y6m$B$5$s!$$"$j$,$H$&$4$6$$$^$9!#(B
%
% \begin{macrocode}
\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
Expand Down Expand Up @@ -5584,6 +5599,13 @@
%
% [2018-03-11] |\next|$B$J$I$$$/$D$+$NFbItL?Na$r(B |\jsc@...| $BIU$-$N(B
% $B%f%K!<%/$JL>A0$K$7$^$7$?!#(B
%
% [2022-09-13] \LaTeXe~2021-11-15 (ltfloat.dtx 2021/10/14 v1.2g)$B$G(B
% |\@currentcounter|$B$,DI2C$5$l$^$7$?$N$G!$DI?o$7$^$9!#(B
% $B$J$*!$(B\LaTeXe~2021-06-01 (ltfloat.dtx 2021/02/10 v1.2e)$B$G(B
% parhook$BBP1~$H$7$F(B\cs{par}$B$,DI2C$5$l$F$$$^$9$,!$(B
% $B<B$OF1;~$K(B\cs{color@endgroup}$B$b(B\cs{endgraf}$B$9$k$h$&$KJQ99(B
% $B$5$l$F$$$^$9$N$G!$ITMW$@$H;W$$$^$9!#$H$$$&$o$1$GDI2C$7$^$;$s!#(B
% \begin{macrocode}
\long\def\@footnotetext{%
\insert\footins\bgroup
Expand All @@ -5592,6 +5614,7 @@
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
\def\@currentcounter{footnote}%
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark
}%
Expand Down
5 changes: 3 additions & 2 deletions jis/jslogo.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
% LaTeX $B4XO"$N%m%4!J(BpLaTeX2$B&E?7%I%-%e%a%s%H%/%i%9IUO?!K(B
%
% Copyright 1999-2016 Haruhiko Okumura
% Copyright 2016-2019 Japanese TeX Development Community
% Copyright 2016-2022 Japanese TeX Development Community
%
% \fi
%
Expand All @@ -18,7 +18,8 @@
%</driver>
[2019/07/25 okumura, texjporg]
%<*driver>
\documentclass{jsarticle}
\RequirePackage{plautopatch}
\documentclass[dvipdfmx]{jsarticle}
\usepackage{doc}
\xspcode"5C=1 %% \
\xspcode"22=1 %% "
Expand Down
8 changes: 6 additions & 2 deletions jis/jspf.cls
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
%%
\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
Expand Down Expand Up @@ -124,6 +124,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
\def\@currentcounter{equation}%
\global\@eqnswtrue
\m@th
\global\@eqcnt\z@
Expand All @@ -141,6 +142,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
\def\@currentcounter{equation}%
\global\@eqnswtrue\m@th
\global\@eqcnt\z@
\tabskip\mathindent
Expand Down Expand Up @@ -232,7 +234,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
Expand Down Expand Up @@ -1575,6 +1578,7 @@
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
\def\@currentcounter{footnote}%
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark
}%
Expand Down
8 changes: 6 additions & 2 deletions jis/jsreport.cls
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
%%
\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
Expand Down Expand Up @@ -129,6 +129,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
\def\@currentcounter{equation}%
\global\@eqnswtrue
\m@th
\global\@eqcnt\z@
Expand All @@ -146,6 +147,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
\def\@currentcounter{equation}%
\global\@eqnswtrue\m@th
\global\@eqcnt\z@
\tabskip\mathindent
Expand Down Expand Up @@ -237,7 +239,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
Expand Down Expand Up @@ -1816,6 +1819,7 @@
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
\def\@currentcounter{footnote}%
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark
}%
Expand Down
3 changes: 2 additions & 1 deletion jis/jsverb.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
%<jsverb>\NeedsTeXFormat{pLaTeX2e}
%<jsverb>\ProvidesFile{jsverb.sty}[2007/01/28 okumura]
%<*driver>
\documentclass{jsarticle}
\RequirePackage{plautopatch}
\documentclass[dvipdfmx]{jsarticle}
\usepackage{doc}
\xspcode"5C=1 %% \
\xspcode"22=1 %% "
Expand Down
8 changes: 6 additions & 2 deletions jis/kiyou.cls
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
%%
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{kiyou}
[2021/06/28 jsclasses (okumura, texjporg)]
[2022/09/13 jsclasses (okumura, texjporg)]
\def\jsc@clsname{kiyou}
\newif\ifjsc@needsp@tch
\jsc@needsp@tchfalse
Expand Down Expand Up @@ -124,6 +124,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
\def\@currentcounter{equation}%
\global\@eqnswtrue
\m@th
\global\@eqcnt\z@
Expand All @@ -141,6 +142,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
\def\@currentcounter{equation}%
\global\@eqnswtrue\m@th
\global\@eqcnt\z@
\tabskip\mathindent
Expand Down Expand Up @@ -232,7 +234,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
Expand Down Expand Up @@ -1691,6 +1694,7 @@
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
\def\@currentcounter{footnote}%
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark
}%
Expand Down
2 changes: 1 addition & 1 deletion jis/minijs.sty
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
%%
\NeedsTeXFormat{pLaTeX2e}
\ProvidesPackage{minijs}
[2021/06/28 jsclasses (okumura, texjporg)]
[2022/09/13 jsclasses (okumura, texjporg)]
%% if jsclasses loaded, abort loading this package
\ifx\@jsc@uplatextrue\@undefined\else
\PackageInfo{minijs}{jsclasses does not need minijs, exiting}
Expand Down
3 changes: 2 additions & 1 deletion jis/okumacro.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
%<okumacro>\NeedsTeXFormat{pLaTeX2e}
%<okumacro>\ProvidesPackage{okumacro}[2021/07/01 okumura, texjporg]
%<*driver>
\documentclass{jsarticle}
\RequirePackage{plautopatch}
\documentclass[dvipdfmx]{jsarticle}
\usepackage{doc}
\xspcode"5C=1 %% \
\xspcode"22=1 %% "
Expand Down
3 changes: 2 additions & 1 deletion jis/okuverb.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
%<okuverb>\NeedsTeXFormat{pLaTeX2e}
%<okuverb>\ProvidesFile{okuverb.sty}[2003/09/03 okumura]
%<*driver>
\documentclass{jsarticle}
\RequirePackage{plautopatch}
\documentclass[dvipdfmx]{jsarticle}
\usepackage{doc}
\xspcode"5C=1 %% \
\xspcode"22=1 %% "
Expand Down

0 comments on commit a221e8a

Please sign in to comment.