texlive[50084] Master/texmf-dist: arydshln (22feb19)
commits+karl at tug.org
commits+karl at tug.org
Sat Feb 23 00:11:28 CET 2019
Revision: 50084
http://tug.org/svn/texlive?view=revision&revision=50084
Author: karl
Date: 2019-02-23 00:11:28 +0100 (Sat, 23 Feb 2019)
Log Message:
-----------
arydshln (22feb19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/arydshln/arydshln-man.pdf
trunk/Master/texmf-dist/doc/latex/arydshln/arydshln-man.tex
trunk/Master/texmf-dist/doc/latex/arydshln/arydshln.pdf
trunk/Master/texmf-dist/source/latex/arydshln/arydshln.dtx
trunk/Master/texmf-dist/tex/latex/arydshln/arydshln.sty
Modified: trunk/Master/texmf-dist/doc/latex/arydshln/arydshln-man.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/arydshln/arydshln-man.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/arydshln/arydshln-man.tex 2019-02-22 01:18:09 UTC (rev 50083)
+++ trunk/Master/texmf-dist/doc/latex/arydshln/arydshln-man.tex 2019-02-22 23:11:28 UTC (rev 50084)
@@ -46,7 +46,7 @@
%%
%%
\ProvidesFile{arydshln-man.tex}
-[2018/12/26 v1.75 ]
+[2019/02/21 v1.76 ]
\documentclass{ltxdoc}
\usepackage{arydshln}
\DisableCrossrefs
Modified: trunk/Master/texmf-dist/doc/latex/arydshln/arydshln.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/arydshln/arydshln.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/arydshln/arydshln.dtx 2019-02-22 01:18:09 UTC (rev 50083)
+++ trunk/Master/texmf-dist/source/latex/arydshln/arydshln.dtx 2019-02-22 23:11:28 UTC (rev 50084)
@@ -9,7 +9,7 @@
%% version 1 of the License, or any later version.
% \fi
%
-%\CheckSum{3685}
+%\CheckSum{3697}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -39,7 +39,7 @@
%<driver>\ProvidesFile{arydshln-man.tex}
% \fi
% \ProvidesFile{arydshln.dtx}
-[2018/12/26 v1.75 ]
+[2019/02/21 v1.76 ]
%
% \iffalse
%<*driver>
@@ -337,8 +337,13 @@
% \changes{v1.75}{2018/12/26}
% {The following are to cope with the change in \textsf{array} v2.4i
% or later in which \cs{@startpbox} and \cs{@endpbox} have
-% \cs{color at begingroup} and \cs{color at endgroup}, respectively.}
-% %
+% \cs{color at begingroup} and \cs{color at endgroup}, respectively.}
+% \changes{v1.76}{2019/02/21}
+% {The following are to cope with the change in \textsf{longtable}
+% bundled in \textsf{latex-tools} 2019-01-05 or later in which
+% \cs{LT at startpbox} and \cs{LT at endpbox} have
+% \cs{color at begingroup} and \cs{color at endgroup}, respectively.}
+%
%
%
% \def\EXCLAMATION{\texttt{!}}
@@ -1076,8 +1081,8 @@
% horizontal and vertical (dash-)lines which has hidden for 23 years (!!!!)
% since the very first version of the package; and Hironobu Yamashita who
% pointed out bugs hidden for 19 years (!!!!!) by which \textsf{delarray}
-% did not work, and a compatibility problem with \textsf{array} v2.4i and
-% later.
+% did not work, and compatibility problems with \textsf{array} v2.4i and
+% \textsf{longtable} in \textsf{latex-tools} 2019-01-05.
%
% The base implementation of \texttt{array} and \texttt{tabular}
% environments, part of which the author gives new definitions referring
@@ -1085,7 +1090,7 @@
% \LaTeXe{} (1997/12/01) to which Johannes Braams and other authors also
% contributed. The author also refers \textsf{array} package (v2.4j)
% written by Frank Mittelbach and David Carlisle; \textsf{colortab} package
-% (v0.9) written by Timothy van Zandt; and \textsf{longtable} (v4.10) and
+% (v0.9) written by Timothy van Zandt; and \textsf{longtable} (v4.11) and
% \textsf{colortbl} (v0.1j) packages
% written by David Carlisle; to make the style compatible with those
% packages.
@@ -2967,14 +2972,22 @@
% \changes{v1.75}{2018/12/26}
% {Replace \cs{@startpbox} with \cs{adl at org@startpbox} to avoid the
% color-grouping problem.}
+% \changes{v1.76}{2019/02/21}
+% {Replace \cs{adl at org@startpbox} with \cs{@startpbox} to do
+% color-grouping always and to invoke \cs{adl at LTstartpbox} through
+% \cs{@stratpbox} when \textsf{longtable} is in use.}
% \begin{macro}{\adl at endmbox}
% \changes{v1.71}{2004/08/31}
% {Introduced to the bug fix of \textsf{array}'s \texttt{m}-columns.}
+% \changes{v1.76}{2019/02/21}
+% {Replace \cs{adl at org@endpbox} with what \cs{@endpbox} of
+% \textsf{array} has to perform color-grouping always.}
% \SpecialIndex{\@finalstrut}
% \SpecialIndex{\color at begingroup}
% \SpecialIndex{\color at endgroup}
% \SpecialIndex{\adl at box}
% \SpecialIndex{\adl at colhtdp}
+% \SpecialIndex{\adl at LTstartpbox}
%
% The macros to make |\parbox| for `|p|', |\@@startpbox| and
% \hbox{|\@@endpbox|}, are modified for height\slash depth measurement. The
@@ -2990,7 +3003,7 @@
% have |\color at endgroup| if and only if \textsf{array} is v2.4i or later
% because |\@startpbox| has |\color at begingroup| in these versions, if we
% relied on the original |\@startpbox|. To avoid version dependent coding,
-% we copy the new definitiopn of |\@starpbox| to ensure it has
+% we copy the new definition of |\@starpbox| to ensure it has
% |\color at begingroup| and let our own |\@endpbox| with height\slash depth
% measurement have |\color at endgroup| irrespective of the version of
% \textsf{array}. Note that the assigning the box having |'p'| or |'b'| to
@@ -3006,13 +3019,16 @@
%
% Thus we enclose a |$\vcenter{|\ldots|}$| construct in a |\hbox| and assign
% it to |\adl at box|. The construct is opened and closed by the macros
-% |\adl at startmbox| and |\adl at endmbox| with |\adl at org@startpbox| and
-% |\adl at org@endpbox|, being unmodified |\@startpbox| and |\@endpbox| of
-% \textsf{array} to avoid the version dependent color-grouping problem, and
-% then the latter measures the height and depth of the |\hbox| by
-% |\adl at colhtdp|. Note that the mechanism with |\vcenter| was replaced with
-% a vertical shift of a box for '|m|' in v2.4f of \textsf{array}, but we
-% stick the old mechanism to avoid version dependent coding.
+% |\adl at startmbox| and |\adl at endmbox| with |\@startpbox| and what
+% |\@endpbox| of \textsf{array} 2.4j has, in order to perform color-grouping
+% regardless of the version of \textsf{array}. The latter macro also has
+% our own function to measure the height and depth of the |\hbox| by
+% |\adl at colhtdp|. Note that |\@startpbox| in |\adl at startmbox| can be
+% different from the definition made here and, more specifically, will be
+% |\adl at LTstartpbox| when \textsf{longtable} is in use. Also noote that the
+% mechanism with |\vcenter| was replaced with a vertical shift of a box for
+% '|m|' in v2.4f of \textsf{array}, but we stick the old mechanism to avoid
+% version dependent coding.
% \end{macro}\end{macro}\end{macro}\end{macro}\end{macro}\end{macro}
%
% \begin{macrocode}
@@ -3024,13 +3040,14 @@
\color at begingroup
\setlength\hsize{#1}\@arrayparboxrestore
\everypar{%
- \vrule \@height \ht\@arstrutbox \@width \z@
+ \vrule\@height\ht\@arstrutbox\@width\z@
\everypar{}}%
}
\def\@endpbox{\@finalstrut\@arstrutbox \color at endgroup \egroup
\adl at colhtdp \box\adl at box \hfil}
-\def\adl at startmbox{\bgroup $\vcenter\adl at org@startpbox}
-\def\adl at endmbox{\adl at org@endpbox $\egroup \adl at colhtdp \box\adl at box \hfil}
+\def\adl at startmbox{\bgroup $\vcenter\@startpbox}
+\def\adl at endmbox{\@finalstrut\@arstrutbox \color at endgroup \egroup
+ $\egroup \adl at colhtdp \box\adl at box \hfil}
%%^L
% \end{macrocode}
@@ -4920,6 +4937,7 @@
% \SpecialIndex{\adl at ncol}
% \SpecialIndex{\adl at columns}
% \SpecialIndex{\adl at LTstartpbox}
+% \SpecialIndex{\adl@@LTstartpbox}
% \SpecialIndex{\@startpbox}
% \SpecialIndex{\@@startpbox}
% \SpecialIndex{\adl at LTendpbox}
@@ -4937,6 +4955,13 @@
% \changes{v1.75}{2018/12/26}
% {Add description that \cs{adl at LTendpbox} is common for \cs{@endpbox}
% and \cs{@@endpbox}.}
+% \changes{v1.76}{2019/02/21}
+% {Modified to add \cs{let}-assignment
+% $\cs{@startpbox}\EQ\cs{adl at LTstartpbox}$ if \textsf{array} is in
+% use, and to replace the RHS of \cs{let}-assignments of
+% \cs{@@startpbox} and \cs{@startpbox} for the case without
+% \textsf{array}, which was \cs{adl at LTstartpbox}, with newly
+% introduced \cs{adl@@LTstartpbox}.}
%
% The macro |\LT at make@row| is redefined for additional initialization which
% must be done after the original |\LT at array| performs its own
@@ -4944,26 +4969,35 @@
% version |\adl at org@LT at make@row| to initialize stuff only once, since
% |\LT at make@row| is called repeatedly at each chunk. Next |\adl at ncol| is
% assigned to |\adl at columns| to give its value calculated in |\@mkpream|.
+%
% Then macros to begin\slash end |p|-boxes are made |\let|-equal to our own
-% version because the original |\LT at array| has done it with its own version.
-% Note that |\@@startpbox| and |\@statpbox| are |\let|-equal to our own
-% |\adl at LTstartpbox| if \textsf{array} is not in use because with
-% \textsf{array} opening a |p|-box is not done by |\@startpbox| but is
-% embedded in |\@preamble|. Also note that |\@@endpbox| and |\@endpbox| are
-% commonly |\let|-equal to |\adl at LTendpbox| because |\LT at startpbox| does not
-% have |\color at begingroup| even with \textsf{array}. Yet another remark is
-% that we need |\adl at LTendmbox| to close |m|-boxes through our own closing
-% macro |\adl at endmbox|, whose definition is kept in |\adl@@endmbox|, for
-% \textsf{longtable}-specific operations for footnotes. Finally, the
-% original version |\adl at org@LT at make@row| is called. \end{macro}\end{macro}
+% version because the original |\LT at array| has done it with
+% \textsf{longtable}'s own version. That is, if \textsf{array} is in use
+% |\@startpbox| is |\let|-equal to our own |\adl at LTstartpbox|, while
+% |\@@startpbox| and |\@startpbox| are |\let|-equal to another macro
+% |\adl@@LTstartpbox| of our own. On the other hand, |\@@endpbox| and
+% |\@endpbox| are commonly |\let|-equal to our own |\adl at LTendpbox|. Note
+% that these our own macros indirectly invoke |\color at begingroup| and
+% |\color at endgroup|, which are added to |\LT at startpbox| and |\LT at endpbox| of
+% \textsf{longtable} bundled in \textsf{latex-tools} 2019-01-05, to make the
+% color grouping effective regardless the version of \textsf{longtable}.
+% Also note that we need |\adl at LTendmbox| to close |m|-boxes through our own
+% closing macro |\adl at endmbox|, whose definition is kept in |\adl@@endmbox|,
+% for \textsf{longtable}-specific operations for footnotes.
+%
+% Finally, the original version |\adl at org@LT at make@row| is called.
+% \end{macro}\end{macro}
%
% \begin{macrocode}
\let\adl at org@LT at make@row\LT at make@row
\def\LT at make@row{\let\LT at make@row\adl at org@LT at make@row
\adl at columns\adl at ncol
- \ifadl at usingarypkg\else
- \let\@@startpbox\adl at LTstartpbox
- \let\@startpbox\adl at LTstartpbox \fi
+ \ifadl at usingarypkg
+ \let\@startpbox\adl at LTstartpbox
+ \else
+ \let\@@startpbox\adl@@LTstartpbox
+ \let\@startpbox\adl@@LTstartpbox
+ \fi
\let\@@endpbox\adl at LTendpbox
\let\@endpbox\adl at LTendpbox
\let\adl@@endmbox\adl at endmbox
@@ -4987,9 +5021,9 @@
% {\tt p b} (open)&&\\
% \qquad with \textsf{array}& \cs{adl at act@classz}&
% \cs{adl at org@classz}\\
-% & \quad$\to$\cs{LT at startpbox}&
+% & \quad$\to$\cs{adl at LTstartpbox}&
% \quad$\to$\cs{LT at startpbox}\\
-% \qquad without \textsf{array}&\cs{adl at LTstartpbox}&
+% \qquad without \textsf{array}&\cs{adl@@LTstartpbox}&
% \cs{LT at startpbox}\\\hline
% {\tt m} (open)& \cs{adl at act@classz}&
% \cs{adl at org@classz}\\
@@ -5307,11 +5341,18 @@
% \end{macrocode}
%
+% \begin{macro}{\adl@@LTstartpbox}
+% \changes{v1.76}{2019/02/21}
+% {Added for \texttt{p} columns without \textsf{array}.}
% \begin{macro}{\adl at LTstartpbox}
+% \changes{v1.76}{2019/02/21}
+% {Modified to invoke \cs{color at begingroup} always.}
% \begin{macro}{\adl at LTendpbox}
% \changes{v1.75}{2018/12/26}
% {Add description that the macro is used for both of \cs{@endpbox}
% and \cs{@@endpbox}.}
+% \changes{v1.76}{2019/02/21}
+% {Modified to invoke \cs{color at endroup} always.}
% \begin{macro}{\adl at LTendmbox}
% \changes{v1.72-1}{2016/03/19}
% {Added to process footnotes in \texttt{m}-type columns appropriately.}
@@ -5318,38 +5359,44 @@
%
% \SpecialIndex{\@startpbox}
% \SpecialIndex{\@@startpbox}
+% \SpecialIndex{\adl at box}
% \SpecialIndex{\@@endpbox}
% \SpecialIndex{\LT at startpbox}
-% \SpecialIndex{\adl at act@@startpbox}
-% \SpecialIndex{\adl at act@@endpbox}
+% \SpecialIndex{\adl at act@startpbox}
+% \SpecialIndex{\adl at act@endpbox}
%
% Macros for opening/closing |p|-boxes are fairly simple. The macro
-% |\adl at LTstartpbox{|\meta{w}|}| is |\let|-assigned to |\@@startpbox| by
-% |\LT at make@row| to open a |p|-box of $w$ wide by our own
-% |\adl at act@@startpbox| and performs a footnote related operation introduced
-% by \textsf{longtable}, when \textsf{array} is not in use. Note that if
-% \textsf{array} is in use, a |p|-box is opened by codes embedded in
-% |\@preamble| and its initialization is done by
-% |\@startpbox|${}={}$|\LT at startpbox|, unnecessitating our own version of
-% opening macros.
+% |\adl at LTstartpbox{|\meta{w}|}| is |\let|-assigned to |\@startpbox| by
+% |\LT at make@row| to open a |p|-box of $w$ wide by
+% |\adl at act@startpbox| and performs a footnote related operation introduced
+% by \textsf{longtable}, when \textsf{array} is in use. If not, this macro
+% is invoked from |\adl@@LTstartpbox| which is |\let|-equal to
+% |\@@startpbox| and is to assign the |p|-box to |\adl at box|. Since
+% |\adl at act@startpbox| is for opening |p|-box with \textsf{array}, it has
+% |\color at begingroup| in it and thus the color grouping is effective
+% regardless the version of \textsf{longtable} or \textsf{array}.
%
% On the other hand, the closing macro |\adl at LTendpbox| for |p| (or
% |d|)-boxes is |\let|-equal to |\@endpbox| and |\@@endpbox| for the cases
% with\slash without \textsf{array}, and performs the footnote operations
-% after doing our own ones by |\adl at act@@endpbox|. Note that
-% |\LT at startpbox| does not have |\color at begingroup| so far and thus this
-% macro without |\color at endgroup| is common for the cases with and without
-% \textsf{array}.
+% after doing our own ones by |\adl at act@endpbox|, which also has
+% |\color at begingroup| for version-independent color grouping.
%
-% Similarly, |\adl at LTendmbox| for |m|-boxes is |\let|-equal to
-% |\adl at endmbox| and performs our own operations by |\adl@@endmbox| in which
-% the originnal definition of |\adl at enmbox| is kept.
-% \end{macro}\end{macro}\end{macro}
+% As for |m|-boxes, the opening operation is done by |\adl at startmbox| in
+% which $|\@startpbox|\allowbreak=|\adl at LTstartpbox|$ is invoked for the
+% footnote-related operation. On the ohter hand, the closing operation is
+% done by |\adl at LTendmbox|, which is made |\let|-equal to |\adl at endmbox| by
+% our |\LT at make@row|, to perform our own operations by |\adl@@endmbox| in
+% which the originnal definition of |\adl at enmbox| is kept by |\LT at make@row|
+% too. Since |\adl at LTstartpbox| and |\adl@@endmbox| have
+% |\color at begingroup| and |\color at endgroup|, the color-grouping is done
+% regardless of the version of \textsf{longtable} and \textsf{array}.
+% \end{macro}\end{macro}\end{macro}\end{macro}
%
% \begin{macrocode}
-\def\adl at LTstartpbox#1{%
- \adl at act@@startpbox{#1}\let\@footnotetext\LT at p@ftntext}
-\def\adl at LTendpbox{\adl at act@@endpbox \the\LT at p@ftn \global\LT at p@ftn{}}
+\def\adl@@LTstartpbox{\setbox\adl at box\vtop\adl at LTstartpbox}
+\def\adl at LTstartpbox#1{\adl at act@startpbox{#1}\let\@footnotetext\LT at p@ftntext}
+\def\adl at LTendpbox{\adl at act@endpbox \the\LT at p@ftn \global\LT at p@ftn{}}
\def\adl at LTendmbox{\adl@@endmbox \the\LT at p@ftn \global\LT at p@ftn{}}
%%^L
Modified: trunk/Master/texmf-dist/tex/latex/arydshln/arydshln.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/arydshln/arydshln.sty 2019-02-22 01:18:09 UTC (rev 50083)
+++ trunk/Master/texmf-dist/tex/latex/arydshln/arydshln.sty 2019-02-22 23:11:28 UTC (rev 50084)
@@ -50,7 +50,7 @@
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\ProvidesPackage{arydshln}}
\else\def\next[#1]{}\fi\next
-[2018/12/26 v1.75 ]
+[2019/02/21 v1.76 ]
%% Register Declaration
\newdimen\dashlinedash \dashlinedash4pt %
@@ -329,13 +329,14 @@
\color at begingroup
\setlength\hsize{#1}\@arrayparboxrestore
\everypar{%
- \vrule \@height \ht\@arstrutbox \@width \z@
+ \vrule\@height\ht\@arstrutbox\@width\z@
\everypar{}}%
}
\def\@endpbox{\@finalstrut\@arstrutbox \color at endgroup \egroup
\adl at colhtdp \box\adl at box \hfil}
-\def\adl at startmbox{\bgroup $\vcenter\adl at org@startpbox}
-\def\adl at endmbox{\adl at org@endpbox $\egroup \adl at colhtdp \box\adl at box \hfil}
+\def\adl at startmbox{\bgroup $\vcenter\@startpbox}
+\def\adl at endmbox{\@finalstrut\@arstrutbox \color at endgroup \egroup
+ $\egroup \adl at colhtdp \box\adl at box \hfil}
%%^L
@@ -803,9 +804,12 @@
\let\adl at org@LT at make@row\LT at make@row
\def\LT at make@row{\let\LT at make@row\adl at org@LT at make@row
\adl at columns\adl at ncol
- \ifadl at usingarypkg\else
- \let\@@startpbox\adl at LTstartpbox
- \let\@startpbox\adl at LTstartpbox \fi
+ \ifadl at usingarypkg
+ \let\@startpbox\adl at LTstartpbox
+ \else
+ \let\@@startpbox\adl@@LTstartpbox
+ \let\@startpbox\adl@@LTstartpbox
+ \fi
\let\@@endpbox\adl at LTendpbox
\let\@endpbox\adl at LTendpbox
\let\adl@@endmbox\adl at endmbox
@@ -887,9 +891,9 @@
\def\adl at LTixhline{\penalty-\@medpenalty \vskip\doublerulesep
\adl at hline\relax\doublerulesep \global\let\adl at LThdlrow\@empty}
-\def\adl at LTstartpbox#1{%
- \adl at act@@startpbox{#1}\let\@footnotetext\LT at p@ftntext}
-\def\adl at LTendpbox{\adl at act@@endpbox \the\LT at p@ftn \global\LT at p@ftn{}}
+\def\adl@@LTstartpbox{\setbox\adl at box\vtop\adl at LTstartpbox}
+\def\adl at LTstartpbox#1{\adl at act@startpbox{#1}\let\@footnotetext\LT at p@ftntext}
+\def\adl at LTendpbox{\adl at act@endpbox \the\LT at p@ftn \global\LT at p@ftn{}}
\def\adl at LTendmbox{\adl@@endmbox \the\LT at p@ftn \global\LT at p@ftn{}}
%%^L
More information about the tex-live-commits
mailing list