texlive[48735] Master/texmf-dist: platex (22sep18)

commits+karl at tug.org commits+karl at tug.org
Sat Sep 22 22:59:59 CEST 2018


Revision: 48735
          http://tug.org/svn/texlive?view=revision&revision=48735
Author:   karl
Date:     2018-09-22 22:59:59 +0200 (Sat, 22 Sep 2018)
Log Message:
-----------
platex (22sep18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/platex/base/README.md
    trunk/Master/texmf-dist/doc/platex/base/platex-en.pdf
    trunk/Master/texmf-dist/doc/platex/base/platex.pdf
    trunk/Master/texmf-dist/doc/platex/base/pldoc.pdf
    trunk/Master/texmf-dist/source/platex/base/platex.dtx
    trunk/Master/texmf-dist/source/platex/base/plcore.dtx
    trunk/Master/texmf-dist/source/platex/base/plext.dtx
    trunk/Master/texmf-dist/tex/platex/base/plext.sty

Modified: trunk/Master/texmf-dist/doc/platex/base/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/platex/base/README.md	2018-09-22 20:59:39 UTC (rev 48734)
+++ trunk/Master/texmf-dist/doc/platex/base/README.md	2018-09-22 20:59:59 UTC (rev 48735)
@@ -61,6 +61,6 @@
 
 ## Release Date
 
-2018-09-03
+2018-09-22
 
 Japanese TeX Development Community

Modified: trunk/Master/texmf-dist/doc/platex/base/platex-en.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/platex/base/platex.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/platex/base/pldoc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/platex/base/platex.dtx
===================================================================
--- trunk/Master/texmf-dist/source/platex/base/platex.dtx	2018-09-22 20:59:39 UTC (rev 48734)
+++ trunk/Master/texmf-dist/source/platex/base/platex.dtx	2018-09-22 20:59:59 UTC (rev 48735)
@@ -83,6 +83,7 @@
 % \changes{v1.0x}{2018/09/03}{$B%I%-%e%a%s%H$r99?7(B}
 % \changes{v1.0x}{2018/09/03}{platexcheat$B$K8 at 5Z(B}
 % \changes{v1.0x}{2018/09/03}{plautopatch$B$K8 at 5Z(B}
+% \changes{v1.0y}{2018/09/22}{$B:G=*99?7F|$r(B\file{pldoc.pdf}$B$KI=<((B}
 %\else
 % \changes{v1.0}{1995/05/08}{first edition}
 % \changes{v1.0a}{1995/08/25}{Added 'Compatibility', `Usage of \dst{}'
@@ -124,6 +125,7 @@
 % \changes{v1.0x}{2018/09/03}{Update document.}
 % \changes{v1.0x}{2018/09/03}{Mention platexcheat (Japanese only).}
 % \changes{v1.0x}{2018/09/03}{Mention plautopatch.}
+% \changes{v1.0y}{2018/09/22}{Show last update info on \file{pldoc.pdf}}
 %\fi
 % \fi
 %
@@ -131,7 +133,7 @@
 %<*driver>
 \NeedsTeXFormat{pLaTeX2e}
 % \fi
-\ProvidesFile{platex.dtx}[2018/09/03 v1.0x pLaTeX document file]
+\ProvidesFile{platex.dtx}[2018/09/22 v1.0y pLaTeX document file]
 % \iffalse
 \documentclass{jltxdoc}
 \usepackage{plext}
@@ -1202,20 +1204,21 @@
 \settowidth\MacroIndent{\ttfamily\scriptsize 000\ }
 %    \end{macrocode}
 %\ifJAPANESE
-% $B$3$3$+$i$,K\J8%Z!<%8$H$J$j$^$9!#(B
+% $B$3$NJ8=q$N%?%$%H%k!&Cx<T!&F|IU$r at _Dj$7$^$9!#(B
 % \changes{v1.0c}{1997/01/29}{\file{pltpatch.ltx}$B$r(B\file{plpatch.ltx}$B$KL>>NJQ99(B}
 % \changes{v1.0h}{2016/05/08}{$B%I%-%e%a%s%H$+$i(B\file{plpatch.ltx}$B$r=|30(B}
 % \changes{v1.0l}{2016/06/19}{$B%Q%C%A%l%Y%k$r(B\file{plvers.dtx}$B$+$i<hF@(B}
 % \changes{v1.0o}{2017/09/24}{$B%Q%C%A%l%Y%k$,Ii$N?t$N>l9g$r(Bpre-release$B07$$$X(B}
+% \changes{v1.0y}{2018/09/22}{$B:G=*99?7F|$r(B\file{pldoc.pdf}$B$KI=<((B}
 %\else
-% Here starts the document body.
+% Set the title, authors and the date for this document.
 % \changes{v1.0c}{1997/01/29}{Rename \file{pltpatch.ltx} to \file{plpatch.ltx}.}
 % \changes{v1.0h}{2016/05/08}{Exclude \file{plpatch.ltx} from the document}
 % \changes{v1.0l}{2016/06/19}{Get the patch level from \file{plvers.dtx}}
 % \changes{v1.0o}{2017/09/24}{Allow negative patch level for pre-release}
+% \changes{v1.0y}{2018/09/22}{Show last update info on \file{pldoc.pdf}}
 %\fi
 %    \begin{macrocode}
-\begin{document}
  \title{The \pLaTeXe\ Sources}
  \author{Ken Nakano \& Japanese \TeX\ Development Community}
 
@@ -1237,8 +1240,39 @@
 \else
   \edef\@date{\@date\space Pre-Release\patchdate}
 \fi\fi
+
+% Add the last update info, in case formate date unchanged
+% Note: \@ifl at t@r can be used only in preamble.
+\def\lastupd at te{0000/00/00}
+\begingroup
+   \def\ProvidesFile#1[#2 #3]{%
+      \def\@tempd at te{#2}\endinput
+      \@ifl at t@r{\@tempd at te}{\lastupd at te}{%
+         \global\let\lastupd at te\@tempd at te
+      }{}}
+   \let\ProvidesClass\ProvidesFile
+   \let\ProvidesPackage\ProvidesFile
+   \input{plvers.dtx}
+   \input{plfonts.dtx}
+   \input{plcore.dtx}
+   \input{plext.dtx}
+   \input{pl209.dtx}
+   \input{kinsoku.dtx}
+   \input{jclasses.dtx}
+   \input{jltxdoc.cls}
+\endgroup
+\@ifl at t@r{\lastupd at te}{\pfmtversion}{%
+  \edef\@date{\@date\break (last updated: \lastupd at te)}%
+}{}
 \makeatother
-
+%    \end{macrocode}
+%\ifJAPANESE
+% $B$3$3$+$i$,K\J8%Z!<%8$H$J$j$^$9!#(B
+%\else
+% Here starts the document body.
+%\fi
+%    \begin{macrocode}
+\begin{document}
 \pagenumbering{roman}
 \maketitle
 \renewcommand\maketitle{}

Modified: trunk/Master/texmf-dist/source/platex/base/plcore.dtx
===================================================================
--- trunk/Master/texmf-dist/source/platex/base/plcore.dtx	2018-09-22 20:59:39 UTC (rev 48734)
+++ trunk/Master/texmf-dist/source/platex/base/plcore.dtx	2018-09-22 20:59:59 UTC (rev 48735)
@@ -26,7 +26,8 @@
 % \changes{v1.1e}{1996/03/12}{tabbing$B4D6-$G$NOB2$J84V%9%Z!<%9(B}
 % \changes{v1.1f}{1996/07/10}{$B%H%s%\$^$o$j$r=$@5(B}
 % \changes{v1.1g}{1997/01/16}{\LaTeX\ \textt{!<1996/06/01!>}$B$KBP1~(B}
-% \changes{v1.1h}{1997/06/25}{\LaTeX\ $B$N2~9T%^%/%m$NJQ99$KBP1~(B}
+% \changes{v1.1h}{1997/06/25}{\LaTeX{}$B$N2~9T%^%/%m$NJQ99$KBP1~!#(B
+%    $B$"$j$,$H$&!"1|B<$5$s!#(B}
 % \changes{v1.1i}{1998/02/03}{\cs{@shipoutsetup}$B$r(B\cs{@outputpage}$BFb$KF~$l$?(B}
 % \changes{v1.1j}{2001/05/10}{\cs{@makecol}$B$GAH$_N)$F$i$l$k(B
 %    \cs{@outputbox}$B$NBg$-$5$,!"=DAH$GCf?H$,6u$N%\%C%/%9$@$1$N>l9g$bE, at 5$K$J$k(B
@@ -315,7 +316,7 @@
 %
 % \changes{v1.1j}{1999/04/05}{$B%*%W%7%g%s$rIU$1$?>l9g$K!"M>7W$J6uGr(B
 %    $B$,F~$C$F$7$^$&$N$r=$@5!#$"$j$,$H$&!"NkLZN4;V!w5~ETBg3X$5$s!#(B}
-% \changes{v1.1h}{1997/06/25}{\LaTeX\ $B$N2~9T%^%/%m$NJQ99$KBP1~!#(B
+% \changes{v1.1h}{1997/06/25}{\LaTeX{}$B$N2~9T%^%/%m$NJQ99$KBP1~!#(B
 %    $B$"$j$,$H$&!"1|B<$5$s!#(B}
 % \LaTeX\ \texttt{<1996/12/01>}$B$G2~9T%^%/%m$,JQ99$5$l!"(B|\\|$B$,(B
 % |\newline|$B$r8F$S=P$5$J$/$J$C$?$?$a!"JQ99$5$l$?2~9T%^%/%m$KBP1~$7$^$7(B
@@ -1098,9 +1099,9 @@
 % \begin{macro}{\@@paperheight}
 % \begin{macro}{\@@paperwidth}
 % \begin{macro}{\@@topmargin}
-% |\@@pageheight|$B$O!"MQ;f$N=D$ND9$5$K%H%s%\$ND9$5$r2C$($?D9$5$K$J$j$^$9!#(B
+% |\@@paperheight|$B$O!"MQ;f$N=D$ND9$5$K%H%s%\$ND9$5$r2C$($?D9$5$K$J$j$^$9!#(B
 %
-% |\@@pagewidth|$B$O!"MQ;f$N2#$ND9$5$K%H%s%\$ND9$5$r2C$($?D9$5$K$J$j$^$9!#(B
+% |\@@paperwidth|$B$O!"MQ;f$N2#$ND9$5$K%H%s%\$ND9$5$r2C$($?D9$5$K$J$j$^$9!#(B
 %
 % |\@@topmargin|$B$O!"8=:_$N%H%C%W%^!<%8%s$K(B1$B%$%s%A2C$($?D9$5$K$J$j$^$9!#(B
 %    \begin{macrocode}
@@ -1683,7 +1684,7 @@
 %
 % \begin{macro}{\@footnotemark}
 % \changes{v1.0a}{1995/04/12}{$B5SCm5-9f$N=PNO0LCV$ND4 at 0(B}
-% \changes{v1.1g}{1997/02/14}{$B=DAH;~$N0LCVD4 at 0$r(B2\cs{ch}$B$+$i(B.9zh$B$KJQ99(B}
+% \changes{v1.1g}{1997/02/14}{$B=DAH;~$N0LCVD4 at 0$r(B2\cs{cht}$B$+$i(B.9zh$B$KJQ99(B}
 % $B5SCm5-9f$r=PNO$7$^$9!#(B
 %    \begin{macrocode}
 \def\@footnotemark{\leavevmode

Modified: trunk/Master/texmf-dist/source/platex/base/plext.dtx
===================================================================
--- trunk/Master/texmf-dist/source/platex/base/plext.dtx	2018-09-22 20:59:39 UTC (rev 48734)
+++ trunk/Master/texmf-dist/source/platex/base/plext.dtx	2018-09-22 20:59:59 UTC (rev 48735)
@@ -3,7 +3,7 @@
 %
 %  Copyright 2001 ASCII Corporation.
 %  Copyright (c) 2010 ASCII MEDIA WORKS
-%  Copyright (c) 2016-2017 Japanese TeX Development Community
+%  Copyright (c) 2016-2018 Japanese TeX Development Community
 %
 %  This file is part of the pLaTeX2e system (community edition).
 %  -------------------------------------------------------------
@@ -60,6 +60,23 @@
 % \changes{v1.2g}{2017/05/04}{Use \cs{setlength}, so that
 %           calc extensions apply}
 % \changes{v1.2h}{2017/07/21}{$BI=$H<~0O$H$NB7$(0LCV$r$5$i$K=$@5(B}
+% \changes{v1.2i}{2018/09/09}{Made caption an error outside a float: latex/2815
+%    (sync with ltfloat 1999/04/19 v1.1u)}
+% \changes{v1.2i}{2018/09/09}{$B=D?t<0%G%#%l%/%7%g%s$NO"?t;z(B}
+% \changes{v1.2i}{2018/09/09}{Moved the code associated with
+%    \cs{@mkpream} into the group provided by the box,
+%    for robustness (latex/2183)
+%    (sync with lttab.dtx 1996/10/21 v1.1i)}
+% \changes{v1.2i}{2018/09/09}{Use \cs{set at typeset@protect}
+%    (sync with lttab.dtx 1996/10/21 v1.1i)}
+% \changes{v1.2i}{2018/09/09}{Check for hmode to see if something
+%     went wrong during parsing (pr/2884)
+%    (sync with lttab.dtx 1998/11/13 v1.1m)}
+% \changes{v1.2i}{2018/09/09}{$B0BA4$N$?$a!"(B\cs{DeclareLayoutCaption}$B$G(B
+%    $BDj5A$9$kFbItL?Na$r(B\cs{... at layoutcaption}$B$+$i(B
+%    \cs{... at layoutc@ption}$B$XJQ99(B}
+% \changes{v1.2j}{2018/09/20}{Change \cs{@stabular} to \cs{p at stabular},
+%           to avoid conflict with \textsf{stabular} package}
 % \fi
 %
 % \iffalse
@@ -68,7 +85,7 @@
 \ProvidesFile{plext.dtx}
 %</driver>
 %<package>\ProvidesPackage{plext}
-   [2017/07/21 v1.2h pLaTeX package file (community edition)]
+   [2018/09/20 v1.2j pLaTeX package file (community edition)]
 %<*driver>
 \documentclass{jltxdoc}
 \usepackage{plext}
@@ -182,7 +199,7 @@
 %
 \def\tabular{\let\@halignto\@empty\X at tabular}
 \@namedef{tabular*}{\@ifnextchar<%>
-   {\@stabular}{\@stabular<Z>}}
+   {\p at stabular}{\p at stabular<Z>}}
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -203,7 +220,7 @@
 % \end{macro}
 % \end{macro}
 %
-% \begin{macro}{\@stabular}
+% \begin{macro}{\p at stabular}
 % \begin{macro}{\p at tabular}
 % $B%"%9%?%j%9%/7A<0$N>l9g$O!"AHJ}8~%*%W%7%g%s$N8e$m$KI}$r;XDj$7$^$9!#(B
 % \changes{v1.1d}{1995/11/10}{\cs{@tabular} to \cs{p at tabular}}
@@ -210,8 +227,10 @@
 % \changes{v1.2a}{2016/08/20}{tabular$B4D6-A0$NM>J,$J(B\cs{xkanjiskip}$B$r:o=|(B}
 % \changes{v1.2c}{2016/11/19}{Use \cs{setlength}, so that
 %           calc extensions apply (sync with lttab.dtx v1.1j)}
+% \changes{v1.2j}{2018/09/20}{Change \cs{@stabular} to \cs{p at stabular},
+%           to avoid conflict with \textsf{stabular} package}
 %    \begin{macrocode}
-\def\@stabular<#1>#2{%
+\def\p at stabular<#1>#2{%
    \setlength\dimen@{#2}%
    \edef\@halignto{to\the\dimen@}\p at tabular<#1>}
 \def\p at tabular<#1>{\leavevmode \null\hbox \bgroup $\let\@acol\@tabacol
@@ -232,11 +251,19 @@
 %
 % \begin{macro}{\p at array}
 % tabular$B4D6-$H(Barray$B4D6-$NFbIt7A<0$G$9!#(B
+% \changes{v1.1c}{1995/09/11}{Add \cs{adjustbaseline}.}
 % \changes{v1.1d}{1995/11/10}{\cs{@array} to \cs{p at array}}
 % \changes{v1.2a}{2016/08/20}{$B2#AH$G(B\texttt{<t>}$B$r;XDj$7$?>l9g$K(B
 %    \cs{@arstrutbox}$B$rM>7W$K(B\cs{hbox}$B$KF~$l$F$$$?$N$r=$@5(B}
+% \changes{v1.2i}{2018/09/09}{Moved the code associated with
+%    \cs{@mkpream} into the group provided by the box,
+%    for robustness (latex/2183)
+%    (sync with lttab.dtx 1996/10/21 v1.1i)}
 %    \begin{macrocode}
-\def\p at array<#1>[#2]#3{\setbox\@arstrutbox\hbox{%
+\def\p at array<#1>[#2]#3{%
+  \fork at array@option<#1>[#2]\@begin at alignbox
+  \bgroup\box at dir\adjustbaseline
+  \setbox\@arstrutbox\hbox{%
   \iftdir
     \if #1y\relax\yoko
        \vrule\@height\arraystretch\ht\strutbox
@@ -257,19 +284,26 @@
              \@depth\arraystretch\dp\strutbox \@width\z@
     \fi
   \fi}%
-  \fork at array@option<#1>[#2]%
   \@mkpream{#3}\edef\@preamble{\ialign \noexpand\@halignto
   \bgroup \tabskip\z at skip \@arstrut \@preamble \tabskip\z at skip \cr}%
   \let\@startpbox\@@startpbox \let\@endpbox\@@endpbox
   \let\tabularnewline\\%
 %    \end{macrocode}
-% \changes{v1.1c}{1995/09/11}{Add \cs{adjustbaseline}.}
+% \changes{v1.2i}{2018/09/09}{Use \cs{set at typeset@protect}
+%    (sync with lttab.dtx 1996/10/21 v1.1i)}
 %    \begin{macrocode}
-  \@begin at alignbox\bgroup\box at dir\adjustbaseline
     \let\par\@empty
-    \let\@sharp##\let\protect\relax
-    \lineskip\z at skip\baselineskip\z at skip\@preamble}
+    \let\@sharp##%
+    \set at typeset@protect
+    \lineskip\z at skip\baselineskip\z at skip
 %    \end{macrocode}
+% \changes{v1.2i}{2018/09/09}{Check for hmode to see if something
+%     went wrong during parsing (pr/2884)
+%    (sync with lttab.dtx 1998/11/13 v1.1m)}
+%    \begin{macrocode}
+    \ifhmode \@preamerr\z@ \@@par\fi
+    \@preamble}
+%    \end{macrocode}
 % \end{macro}
 %
 % \begin{macro}{\endarray}
@@ -518,7 +552,7 @@
 % `|(12zw)|'$B$H;XDj$r$9$k$H!"4A;z(B12$BJ8;zJ,$ND9$5$G@^$jJV$5$l$^$9!#(B
 % `|(\floatwidth)|'$B$H;XDj$r$9$k$H!"(B
 % $B%-%c%W%7%g%s$NI}$O%U%m!<%H%*%V%8%'%/%H$NI}$H$J$j$^$9!#(B
-% $B$3$l$,%G%U%)%k%H$G$9!#$J$*!"(B`|(\floatheigt)|'$B$H;XDj$r$9$k$H!"(B
+% $B$3$l$,%G%U%)%k%H$G$9!#$J$*!"(B`|(\floatheight)|'$B$H;XDj$r$9$k$H!"(B
 % $B%-%c%W%7%g%s$NI}$O%U%m!<%H%*%V%8%'%/%H$N9b$5$H$J$j$^$9!#(B
 %
 % \meta{pos1}$B$H(B\meta{pos2}$B$K$O!"%-%c%W%7%g%s$r=PNO$9$k0LCV$r;XDj$7$^$9!#(B
@@ -525,14 +559,17 @@
 % \meta{pos1}$B$O!"(B`|c|', `|t|', `|b|'$B$N$$$:$l$+$G$9!#(B
 % \meta{pos2}$B$O!"(B`|u|', `|d|', `|l|', `|r|'$B$N$$$:$l$+$G$9!#(B
 % $B%G%U%)%k%H$O!"(B|figure|$B%?%$%W$,(B`|cd|'$B!"(B|table|$B%?%$%W$O(B`|cu|'$B$G$9!#(B
+% \changes{v1.2i}{2018/09/09}{$B0BA4$N$?$a!"(B\cs{DeclareLayoutCaption}$B$G(B
+%    $BDj5A$9$kFbItL?Na$r(B\cs{... at layoutcaption}$B$+$i(B
+%    \cs{... at layoutc@ption}$B$XJQ99(B}
 %    \begin{macrocode}
 \def\DeclareLayoutCaption#1<#2>(#3)[#4#5]{%
   \expandafter
-  \ifx\csname #1 at layoutcaption\endcsname\relax \else
+  \ifx\csname #1 at layoutc@ption\endcsname\relax \else
     \@latex at info{Redeclaring capiton layout setting of '#1'}%
   \fi
   \expandafter
-  \gdef\csname #1 at layoutcaption\endcsname{%
+  \gdef\csname #1 at layoutc@ption\endcsname{%
      \if Z\caption at dir\def\caption at dir{#2}\fi
      \ifdim\captionwidth=\z@ \captionwidth=#3\relax\fi
      \if Z\caption at posa\def\caption at posa{#4}\fi
@@ -586,14 +623,25 @@
 % $B;XDj$r$7$^$9!#0LCV$N;XDj$O(B|\layoutcaption|$B%3%^%s%I$G9T$J$$$^$9!#(B
 % |\layoutcaption|$B%3%^%s%I$,>JN,$5$l$?>l9g$O!"(B|\DeclareLayoutCaption|$B%3%^%s%I(B
 % $B$G at _Dj$5$l$F$$$k%G%U%)%k%HCM$,;H$o$l$^$9!#(B
+% \changes{v1.2i}{2018/09/09}{Made caption an error outside a float: latex/2815
+%    (sync with ltfloat 1999/04/19 v1.1u)}
 %    \begin{macrocode}
-\def\pcaption{\refstepcounter\@captype \@dblarg{\@pcaption\@captype}}
+\def\pcaption{%
+   \ifx\@captype\@undefined
+     \@latex at error{\noexpand\pcaption outside float}\@ehd
+     \expandafter\@gobble
+   \else
+     \refstepcounter\@captype
+     \expandafter\@firstofone
+   \fi
+   {\@dblarg{\@pcaption\@captype}}%
+}
 %
 \long\def\@pcaption#1[#2]#3{%
   \addcontentsline{\csname ext@#1\endcsname}{#1}{%
     \protect\numberline{\csname the#1\endcsname}{\ignorespaces#2}}%
   \ifvoid\@floatbox
-     \latex at error{Use with `\protect\layoutfloat'.}\@eha
+     \@latex at error{Use \noexpand\pcaption with `\string\layoutfloat'}\@eha
   \fi
   \make at pcaptionbox{#3}%
   \@pboxswfalse
@@ -601,12 +649,13 @@
     \if l\caption at posb\box\@captionbox\kern\captionfloatsep\fi
     \if t\caption at posa\vtop
     \else\if b\caption at posa\vbox
-    \else\ifmmode\vcenter \else\@pboxswtrue $\vcenter \fi\fi\fi
+    \else\@pboxswtrue $\vcenter \fi\fi
     {\if u\caption at posb\box\@captionbox\kern\captionfloatsep\fi
      \unvbox\@floatbox
      \if d\caption at posb\kern\captionfloatsep\box\@captionbox\fi}%
+    \if at pboxsw \m at th$\fi
     \if r\caption at posb\kern\captionfloatsep\box\@captionbox\fi
-    \if at pboxsw \m at th$\fi \if r\float at pos\else\hss\fi}}%
+    \if r\float at pos\else\hss\fi}}%
   \par\vskip.25\baselineskip
   \box\@tempboxa}
 %    \end{macrocode}
@@ -626,12 +675,12 @@
 % \changes{v1.1h}{1996/03/13}{typo: \cs{@latex at warning}.}
 %    \begin{macrocode}
   \expandafter
-  \ifx\csname\@captype @layoutcaption\endcsname\relax
-     \@latex at warning{Default caption layout of `\@captype' unknown.}%
+  \ifx\csname\@captype @layoutc at ption\endcsname\relax
+     \@latex at warning{Default caption layout of `\@captype' unknown}%
        \def\caption at dir{Z}\captionwidth\z@
        \def\caption at posa{Z}\def\caption at posb{Z}%
   \else
-     \csname \@captype @layoutcaption\endcsname
+     \csname \@captype @layoutc at ption\endcsname
   \fi
 %    \end{macrocode}
 % $B<!$K!"AH$_J}8~$r at _Dj$7$^$9!#(B 
@@ -665,7 +714,7 @@
   \if at tempswa \@tempdima\ht0 \else\@tempdima\wd0 \fi
   \ifdim\@tempdima>\captionwidth \@tempdima\captionwidth \fi
   \@pboxswfalse
-  \setbox0\hbox{\if at rotsw\ifmmode\@rotswfalse \else $\fi\fi
+  \setbox0\hbox{\if at rotsw $\fi
     \if u\caption at posb\vbox
     \else\if d\caption at posb\vbox
     \else\if t\caption at posa\vtop
@@ -1227,6 +1276,7 @@
 % |\@@rensuji|$B$,(B|\rensuji|$B$NFbIt7A<0$G$9!#(B
 % \changes{v1.2b}{2016/11/07}{$B2#AH$GCJMn$NF,$K(B\cs{rensuji}$B$r;H$($k(B
 %    $B$h$&$K(B\cs{leavevmode}$B$rDI2C$7$F=$@5(B}
+% \changes{v1.2i}{2018/09/09}{$B=D?t<0%G%#%l%/%7%g%s$NO"?t;z(B}
 %    \begin{macrocode}
 \DeclareRobustCommand\rensuji{%
   \@ifstar{\not at advancelinetrue\@rensuji}{\@rensuji}}
@@ -1233,7 +1283,7 @@
 \def\@rensuji{\@ifnextchar[{\@@rensuji}{\@@rensuji[c]}}
 \def\@@rensuji[#1]#2{%
   \ifvmode\leavevmode\fi
-  \ifydir\hbox{#2}\else
+ \iftdir\ifmdir\hbox{#2}\else
   \hskip\rensujiskip
   \ifnot at advanceline\not at advancelinefalse\else
     \setbox\z@\hbox{\yoko#2}%
@@ -1248,7 +1298,8 @@
   \else\vtop{\hbox to1zw{\yoko#2\hss}}%
   \fi\fi
   \hskip\rensujiskip
-\fi}
+ \fi\else\hbox{#2}\fi
+}
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}

Modified: trunk/Master/texmf-dist/tex/platex/base/plext.sty
===================================================================
--- trunk/Master/texmf-dist/tex/platex/base/plext.sty	2018-09-22 20:59:39 UTC (rev 48734)
+++ trunk/Master/texmf-dist/tex/platex/base/plext.sty	2018-09-22 20:59:59 UTC (rev 48735)
@@ -15,7 +15,7 @@
 %% File: plext.dtx
 \NeedsTeXFormat{pLaTeX2e}
 \ProvidesPackage{plext}
-   [2017/07/21 v1.2h pLaTeX package file (community edition)]
+   [2018/09/20 v1.2j pLaTeX package file (community edition)]
 \newif\if at rotsw
 \def\array{\let\@acol\@arrayacol \let\@classz\@arrayclassz
   \let\@classiv\@arrayclassiv
@@ -22,12 +22,12 @@
   \let\\\@arraycr\let\@halignto\@empty\X at tabarray}
 \def\tabular{\let\@halignto\@empty\X at tabular}
 \@namedef{tabular*}{\@ifnextchar<%>
-   {\@stabular}{\@stabular<Z>}}
+   {\p at stabular}{\p at stabular<Z>}}
 \def\X at tabarray{\@ifnextchar<%>
    {\p at tabarray}{\p at tabarray<Z>}}
 \def\X at tabular{\@ifnextchar<%>
    {\p at tabular}{\p at tabular<Z>}}
-\def\@stabular<#1>#2{%
+\def\p at stabular<#1>#2{%
    \setlength\dimen@{#2}%
    \edef\@halignto{to\the\dimen@}\p at tabular<#1>}
 \def\p at tabular<#1>{\leavevmode \null\hbox \bgroup $\let\@acol\@tabacol
@@ -35,7 +35,10 @@
    \let\@classiv\@tabclassiv \let\\\@tabularcr\p at tabarray<#1>}
 \def\p at tabarray<#1>{\m at th\@ifnextchar[%]
    {\p at array<#1>}{\p at array<#1>[c]}}
-\def\p at array<#1>[#2]#3{\setbox\@arstrutbox\hbox{%
+\def\p at array<#1>[#2]#3{%
+  \fork at array@option<#1>[#2]\@begin at alignbox
+  \bgroup\box at dir\adjustbaseline
+  \setbox\@arstrutbox\hbox{%
   \iftdir
     \if #1y\relax\yoko
        \vrule\@height\arraystretch\ht\strutbox
@@ -56,15 +59,16 @@
              \@depth\arraystretch\dp\strutbox \@width\z@
     \fi
   \fi}%
-  \fork at array@option<#1>[#2]%
   \@mkpream{#3}\edef\@preamble{\ialign \noexpand\@halignto
   \bgroup \tabskip\z at skip \@arstrut \@preamble \tabskip\z at skip \cr}%
   \let\@startpbox\@@startpbox \let\@endpbox\@@endpbox
   \let\tabularnewline\\%
-  \@begin at alignbox\bgroup\box at dir\adjustbaseline
     \let\par\@empty
-    \let\@sharp##\let\protect\relax
-    \lineskip\z at skip\baselineskip\z at skip\@preamble}
+    \let\@sharp##%
+    \set at typeset@protect
+    \lineskip\z at skip\baselineskip\z at skip
+    \ifhmode \@preamerr\z@ \@@par\fi
+    \@preamble}
 \def\endarray{\crcr\egroup\egroup\@end at alignbox}
 \def\endtabular{\crcr\egroup\egroup\@end at alignbox $\egroup\null}
 \expandafter \let \csname endtabular*\endcsname = \endtabular
@@ -178,11 +182,11 @@
     }\hrule width\floatwidth height\floatruletick depth\z@}}
 \def\DeclareLayoutCaption#1<#2>(#3)[#4#5]{%
   \expandafter
-  \ifx\csname #1 at layoutcaption\endcsname\relax \else
+  \ifx\csname #1 at layoutc@ption\endcsname\relax \else
     \@latex at info{Redeclaring capiton layout setting of '#1'}%
   \fi
   \expandafter
-  \gdef\csname #1 at layoutcaption\endcsname{%
+  \gdef\csname #1 at layoutc@ption\endcsname{%
      \if Z\caption at dir\def\caption at dir{#2}\fi
      \ifdim\captionwidth=\z@ \captionwidth=#3\relax\fi
      \if Z\caption at posa\def\caption at posa{#4}\fi
@@ -202,12 +206,21 @@
   \@ifnextchar[{\@iilayoutcaption}{\relax}}
 \def\@iilayoutcaption[#1#2]{%
   \def\caption at posa{#1}\def\caption at posb{#2}}
-\def\pcaption{\refstepcounter\@captype \@dblarg{\@pcaption\@captype}}
+\def\pcaption{%
+   \ifx\@captype\@undefined
+     \@latex at error{\noexpand\pcaption outside float}\@ehd
+     \expandafter\@gobble
+   \else
+     \refstepcounter\@captype
+     \expandafter\@firstofone
+   \fi
+   {\@dblarg{\@pcaption\@captype}}%
+}
 \long\def\@pcaption#1[#2]#3{%
   \addcontentsline{\csname ext@#1\endcsname}{#1}{%
     \protect\numberline{\csname the#1\endcsname}{\ignorespaces#2}}%
   \ifvoid\@floatbox
-     \latex at error{Use with `\protect\layoutfloat'.}\@eha
+     \@latex at error{Use \noexpand\pcaption with `\string\layoutfloat'}\@eha
   \fi
   \make at pcaptionbox{#3}%
   \@pboxswfalse
@@ -215,22 +228,23 @@
     \if l\caption at posb\box\@captionbox\kern\captionfloatsep\fi
     \if t\caption at posa\vtop
     \else\if b\caption at posa\vbox
-    \else\ifmmode\vcenter \else\@pboxswtrue $\vcenter \fi\fi\fi
+    \else\@pboxswtrue $\vcenter \fi\fi
     {\if u\caption at posb\box\@captionbox\kern\captionfloatsep\fi
      \unvbox\@floatbox
      \if d\caption at posb\kern\captionfloatsep\box\@captionbox\fi}%
+    \if at pboxsw \m at th$\fi
     \if r\caption at posb\kern\captionfloatsep\box\@captionbox\fi
-    \if at pboxsw \m at th$\fi \if r\float at pos\else\hss\fi}}%
+    \if r\float at pos\else\hss\fi}}%
   \par\vskip.25\baselineskip
   \box\@tempboxa}
 \def\make at pcaptionbox#1{%
   \expandafter
-  \ifx\csname\@captype @layoutcaption\endcsname\relax
-     \@latex at warning{Default caption layout of `\@captype' unknown.}%
+  \ifx\csname\@captype @layoutc at ption\endcsname\relax
+     \@latex at warning{Default caption layout of `\@captype' unknown}%
        \def\caption at dir{Z}\captionwidth\z@
        \def\caption at posa{Z}\def\caption at posb{Z}%
   \else
-     \csname \@captype @layoutcaption\endcsname
+     \csname \@captype @layoutc at ption\endcsname
   \fi
   \@rotswfalse \@tempswafalse
   \iftdir\if y\caption at dir \let\captiondir\yoko \@tempswatrue
@@ -246,7 +260,7 @@
   \if at tempswa \@tempdima\ht0 \else\@tempdima\wd0 \fi
   \ifdim\@tempdima>\captionwidth \@tempdima\captionwidth \fi
   \@pboxswfalse
-  \setbox0\hbox{\if at rotsw\ifmmode\@rotswfalse \else $\fi\fi
+  \setbox0\hbox{\if at rotsw $\fi
     \if u\caption at posb\vbox
     \else\if d\caption at posb\vbox
     \else\if t\caption at posa\vtop
@@ -500,7 +514,7 @@
 \def\@rensuji{\@ifnextchar[{\@@rensuji}{\@@rensuji[c]}}
 \def\@@rensuji[#1]#2{%
   \ifvmode\leavevmode\fi
-  \ifydir\hbox{#2}\else
+ \iftdir\ifmdir\hbox{#2}\else
   \hskip\rensujiskip
   \ifnot at advanceline\not at advancelinefalse\else
     \setbox\z@\hbox{\yoko#2}%
@@ -515,7 +529,8 @@
   \else\vtop{\hbox to1zw{\yoko#2\hss}}%
   \fi\fi
   \hskip\rensujiskip
-\fi}
+ \fi\else\hbox{#2}\fi
+}
 \let\Rensuji\rensuji
 \let\prensuji\rensuji
 \def\Kanji#1{\expandafter\@Kanji\csname c@#1\endcsname}



More information about the tex-live-commits mailing list