texlive[60363] Master/texmf-dist: clrstrip (29aug21)
commits+karl at tug.org
commits+karl at tug.org
Sun Aug 29 22:24:59 CEST 2021
Revision: 60363
http://tug.org/svn/texlive?view=revision&revision=60363
Author: karl
Date: 2021-08-29 22:24:58 +0200 (Sun, 29 Aug 2021)
Log Message:
-----------
clrstrip (29aug21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/clrstrip/README.md
trunk/Master/texmf-dist/doc/latex/clrstrip/clrstrip.pdf
trunk/Master/texmf-dist/source/latex/clrstrip/clrstrip.dtx
trunk/Master/texmf-dist/tex/latex/clrstrip/clrstrip.sty
Modified: trunk/Master/texmf-dist/doc/latex/clrstrip/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/clrstrip/README.md 2021-08-29 20:24:46 UTC (rev 60362)
+++ trunk/Master/texmf-dist/doc/latex/clrstrip/README.md 2021-08-29 20:24:58 UTC (rev 60363)
@@ -1,6 +1,6 @@
clrstrip: place contents into a full width colour strip
-Copyright (C) 2018-2020 by Jonathan P. Spratte
+Copyright (C) 2018-2021 by Jonathan P. Spratte
This package may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this license or (at
Modified: trunk/Master/texmf-dist/doc/latex/clrstrip/clrstrip.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/clrstrip/clrstrip.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/clrstrip/clrstrip.dtx 2021-08-29 20:24:46 UTC (rev 60362)
+++ trunk/Master/texmf-dist/source/latex/clrstrip/clrstrip.dtx 2021-08-29 20:24:58 UTC (rev 60363)
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% File: clrstrip.dtx Copyright (C) 2018-2020 Jonathan P. Spratte
+% File: clrstrip.dtx Copyright (C) 2018-2021 Jonathan P. Spratte
%
% It may be distributed and/or modified under the conditions of the LaTeX
% Project Public License (LPPL), either version 1.3c of this license or (at your
@@ -26,7 +26,7 @@
See http://www.latex-project.org/lppl.txt
--------------------------------------------------------------
-Copyright (C) 2018-2020 Jonathan P. Spratte
+Copyright (C) 2018-2021 Jonathan P. Spratte
This work may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this license or
@@ -88,7 +88,7 @@
\end{document}
%</driver>
%<*pkg>
-\newcommand*\clrstrip at date{2020-01-23}
+\newcommand*\clrstrip at date{2021-08-28}
\ProvidesPackage{clrstrip}
[\clrstrip at date\space place contents into a full width colour strip]
\RequirePackage{expkv}
@@ -249,7 +249,7 @@
% version 2020-01-23, before that version \pkg{clrstrip} had been using
% \pkg{keyval}. Though \pkg{keyval} is faster than \pkg{expkv}, \pkg{expkv} is
% \emph{a lot} faster than \pkg{xkevyal} which replaces \pkg{keyval} and its
-% performance as soon as any other package is loaded.
+% performance as soon as it's loaded.
%
% In addition \pkg{clrstrip} needs a package defining \cs{color} such as
% \pkg{color} or \pkg{xcolor} but doesn't load one on its own.
@@ -266,7 +266,7 @@
%
% \subsection{Initializing Variables}
%
-% \begin{variable}{\clrstrip at box}
+% \begin{variable}[internal]{\clrstrip at box}
% Stores the contents of \env{colorstrip}.
% \begin{macrocode}
\newsavebox\clrstrip at box
@@ -273,41 +273,41 @@
% \end{macrocode}
% \end{variable}
%
-% \begin{variable}{\clrstrip at innerT}
+% \begin{variable}[internal]{\clrstrip at innerT}
% Stores the upper inner padding. Gets reused to store the overall height of
% the colour strip locally.
% \begin{macrocode}
\newlength\clrstrip at innerT
-\clrstrip at innerT\medskipamount
+\clrstrip at innerT=\medskipamount
% \end{macrocode}
% \end{variable}
%
-% \begin{variable}{\clrstrip at innerB}
+% \begin{variable}[internal]{\clrstrip at innerB}
% Stores the lower inner padding. Gets reused to store the overall depth of
% the colour strip locally.
% \begin{macrocode}
\newlength\clrstrip at innerB
-\clrstrip at innerB\clrstrip at innerT
+\clrstrip at innerB=\clrstrip at innerT
% \end{macrocode}
% \end{variable}
%
-% \begin{variable}{\clrstrip at outerT}
+% \begin{variable}[internal]{\clrstrip at outerT}
% Stores the upper outer padding.
% \begin{macrocode}
\newlength\clrstrip at outerT
-\clrstrip at outerT\clrstrip at innerT
+\clrstrip at outerT=\clrstrip at innerT
% \end{macrocode}
% \end{variable}
%
-% \begin{variable}{\clrstrip at outerB}
+% \begin{variable}[internal]{\clrstrip at outerB}
% Stores the lower outer padding.
% \begin{macrocode}
\newlength\clrstrip at outerB
-\clrstrip at outerB\clrstrip at innerT
+\clrstrip at outerB=\clrstrip at innerT
% \end{macrocode}
% \end{variable}
%
-% \begin{variable}{\clrstrip at width}
+% \begin{variable}[internal]{\clrstrip at width}
% Stores the width the text block inside of the colour strip should be wide.
% Might be reused to calculate the skip to centre the text block locally.
% \begin{macrocode}
@@ -315,16 +315,16 @@
% \end{macrocode}
% \end{variable}
%
-% \begin{variable}{\clrstrip at left}
+% \begin{variable}[internal]{\clrstrip at left}
% Stores the left skip from the left border of the text field. Might be reused
% to store the necessary left skip for centred alignment locally.
% \begin{macrocode}
\newlength\clrstrip at left
-\clrstrip at left1sp
+\clrstrip at left=1sp
% \end{macrocode}
% \end{variable}
%
-% \begin{variable}{\clrstrip at arg}
+% \begin{variable}[internal]{\clrstrip at arg}
% Stores the first optional and the mandatory argument to \env{colorstrip} for
% later use.
% \begin{macrocode}
@@ -334,7 +334,7 @@
%
% \subsection{Internal Macros}
%
-% \begin{macro}{\clrstrip at key,\clrstrip at keyNV}
+% \begin{macro}[internal]{\clrstrip at key,\clrstrip at keyNV}
% Shortcut to define new keys with \pkg{expkv}.
% \begin{macrocode}
\newcommand*\clrstrip at key{\protected\ekvdef{clrstrip}}
@@ -342,7 +342,7 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\clrstrip at start}
+% \begin{macro}[internal]{\clrstrip at start}
% Used to grab the second optional argument to \env{colorstrip}. Sets the
% specified keys and starts the grabbing of the contents inside the \cs{vbox}.
% \begin{macrocode}
@@ -350,11 +350,11 @@
{%
\colorstripSet{#1}%
\ifdim\clrstrip at width=\z@
- \clrstrip at width\linewidth
+ \clrstrip at width=\linewidth
\fi
\setbox\clrstrip at box\vbox\bgroup
- \hsize\clrstrip at width
- \linewidth\hsize
+ \hsize=\clrstrip at width
+ \linewidth=\hsize
\color at setgroup
\clrstrip at preventIndent
}
@@ -361,7 +361,7 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\clrstrip at afterheading,\clrstrip at noindent}
+% \begin{macro}[internal]{\clrstrip at afterheading,\clrstrip at noindent}
% These two macros are the two options to suppress the indentation in a
% \env{colorstrip}.
% \begin{macrocode}
@@ -370,7 +370,7 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\clrstrip at preventIndent}
+% \begin{macro}[internal]{\clrstrip at preventIndent}
% Used to prevent the indentation of the first line in a \env{colorstrip}. It
% will be let to one of \cs{clrstrip at afterheading} or \cs{clrstrip at noindent}.
% \begin{macrocode}
@@ -382,14 +382,14 @@
% \subsection{Initializing Keys}
%
% \begin{macrocode}
-\clrstrip at key{inner}{\clrstrip at innerT#1\relax\clrstrip at innerB#1\relax}
-\clrstrip at key{outer}{\clrstrip at outerT#1\relax\clrstrip at outerB#1\relax}
-\clrstrip at key{inner top}{\clrstrip at innerT#1\relax}
-\clrstrip at key{inner bot}{\clrstrip at innerB#1\relax}
-\clrstrip at key{outer top}{\clrstrip at outerB#1\relax}
-\clrstrip at key{outer bot}{\clrstrip at outerB#1\relax}
-\clrstrip at key{width}{\clrstrip at width#1\relax}
-\clrstrip at key{left}{\clrstrip at left#1\relax}
+\clrstrip at key{inner}{\clrstrip at innerT=#1\relax\clrstrip at innerB=\clrstrip at innerT}
+\clrstrip at key{outer}{\clrstrip at outerT=#1\relax\clrstrip at outerB=\clrstrip at outerT}
+\clrstrip at key{inner top}{\clrstrip at innerT=#1\relax}
+\clrstrip at key{inner bot}{\clrstrip at innerB=#1\relax}
+\clrstrip at key{outer top}{\clrstrip at outerB=#1\relax}
+\clrstrip at key{outer bot}{\clrstrip at outerB=#1\relax}
+\clrstrip at key{width}{\clrstrip at width=#1\relax}
+\clrstrip at key{left}{\clrstrip at left=#1\relax}
\clrstrip at keyNV{afterheading}{\let\clrstrip at preventIndent\clrstrip at afterheading}
\clrstrip at keyNV{noindent}{\let\clrstrip at preventIndent\clrstrip at noindent}
% \end{macrocode}
@@ -399,7 +399,7 @@
% \begin{macro}{\colorstripSet}
% Shortcut for \pkg{expkv}'s \cs{ekvset}.
% \begin{macrocode}
-\protected\def\colorstripSet{\ekvset{clrstrip}}
+\protected\ekvsetdef\colorstripSet{clrstrip}
% \end{macrocode}
% \end{macro}
%
@@ -447,9 +447,9 @@
{%
\hskip-\paperwidth
\vrule
- width 2\paperwidth
+ width 2\paperwidth
height \clrstrip at innerT
- depth \clrstrip at innerB
+ depth \clrstrip at innerB
}%
\endgroup
% \end{macrocode}
@@ -457,7 +457,7 @@
% \begin{macrocode}
\ifdim\clrstrip at left=1sp
\advance\clrstrip at width-\linewidth
- \clrstrip at left-.5\clrstrip at width
+ \clrstrip at left=-.5\clrstrip at width
\fi
\rlap{\hskip\clrstrip at left\copy\clrstrip at box}%
% \end{macrocode}
Modified: trunk/Master/texmf-dist/tex/latex/clrstrip/clrstrip.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/clrstrip/clrstrip.sty 2021-08-29 20:24:46 UTC (rev 60362)
+++ trunk/Master/texmf-dist/tex/latex/clrstrip/clrstrip.sty 2021-08-29 20:24:58 UTC (rev 60363)
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% --------------------------------------------------------------
%%
-%% Copyright (C) 2018-2020 Jonathan P. Spratte
+%% Copyright (C) 2018-2021 Jonathan P. Spratte
%%
%% This work may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License (LPPL), either version 1.3c of this license or
@@ -29,22 +29,22 @@
%% and the derived files clrstrip.pdf and
%% clrstrip.sty.
%%
-\newcommand*\clrstrip at date{2020-01-23}
+\newcommand*\clrstrip at date{2021-08-28}
\ProvidesPackage{clrstrip}
[\clrstrip at date\space place contents into a full width colour strip]
\RequirePackage{expkv}
\newsavebox\clrstrip at box
\newlength\clrstrip at innerT
-\clrstrip at innerT\medskipamount
+\clrstrip at innerT=\medskipamount
\newlength\clrstrip at innerB
-\clrstrip at innerB\clrstrip at innerT
+\clrstrip at innerB=\clrstrip at innerT
\newlength\clrstrip at outerT
-\clrstrip at outerT\clrstrip at innerT
+\clrstrip at outerT=\clrstrip at innerT
\newlength\clrstrip at outerB
-\clrstrip at outerB\clrstrip at innerT
+\clrstrip at outerB=\clrstrip at innerT
\newlength\clrstrip at width
\newlength\clrstrip at left
-\clrstrip at left1sp
+\clrstrip at left=1sp
\newcommand*\clrstrip at arg{}
\newcommand*\clrstrip at key{\protected\ekvdef{clrstrip}}
\newcommand*\clrstrip at keyNV{\protected\ekvdefNoVal{clrstrip}}
@@ -52,11 +52,11 @@
{%
\colorstripSet{#1}%
\ifdim\clrstrip at width=\z@
- \clrstrip at width\linewidth
+ \clrstrip at width=\linewidth
\fi
\setbox\clrstrip at box\vbox\bgroup
- \hsize\clrstrip at width
- \linewidth\hsize
+ \hsize=\clrstrip at width
+ \linewidth=\hsize
\color at setgroup
\clrstrip at preventIndent
}
@@ -64,17 +64,17 @@
\newcommand*\clrstrip at noindent{\noindent\ignorespaces}
\newcommand*\clrstrip at preventIndent{}
\let\clrstrip at preventIndent\clrstrip at afterheading
-\clrstrip at key{inner}{\clrstrip at innerT#1\relax\clrstrip at innerB#1\relax}
-\clrstrip at key{outer}{\clrstrip at outerT#1\relax\clrstrip at outerB#1\relax}
-\clrstrip at key{inner top}{\clrstrip at innerT#1\relax}
-\clrstrip at key{inner bot}{\clrstrip at innerB#1\relax}
-\clrstrip at key{outer top}{\clrstrip at outerB#1\relax}
-\clrstrip at key{outer bot}{\clrstrip at outerB#1\relax}
-\clrstrip at key{width}{\clrstrip at width#1\relax}
-\clrstrip at key{left}{\clrstrip at left#1\relax}
+\clrstrip at key{inner}{\clrstrip at innerT=#1\relax\clrstrip at innerB=\clrstrip at innerT}
+\clrstrip at key{outer}{\clrstrip at outerT=#1\relax\clrstrip at outerB=\clrstrip at outerT}
+\clrstrip at key{inner top}{\clrstrip at innerT=#1\relax}
+\clrstrip at key{inner bot}{\clrstrip at innerB=#1\relax}
+\clrstrip at key{outer top}{\clrstrip at outerB=#1\relax}
+\clrstrip at key{outer bot}{\clrstrip at outerB=#1\relax}
+\clrstrip at key{width}{\clrstrip at width=#1\relax}
+\clrstrip at key{left}{\clrstrip at left=#1\relax}
\clrstrip at keyNV{afterheading}{\let\clrstrip at preventIndent\clrstrip at afterheading}
\clrstrip at keyNV{noindent}{\let\clrstrip at preventIndent\clrstrip at noindent}
-\protected\def\colorstripSet{\ekvset{clrstrip}}
+\protected\ekvsetdef\colorstripSet{clrstrip}
\newenvironment{colorstrip}[2][]
{%
\def\clrstrip at arg{#1}%
@@ -99,14 +99,14 @@
{%
\hskip-\paperwidth
\vrule
- width 2\paperwidth
+ width 2\paperwidth
height \clrstrip at innerT
- depth \clrstrip at innerB
+ depth \clrstrip at innerB
}%
\endgroup
\ifdim\clrstrip at left=1sp
\advance\clrstrip at width-\linewidth
- \clrstrip at left-.5\clrstrip at width
+ \clrstrip at left=-.5\clrstrip at width
\fi
\rlap{\hskip\clrstrip at left\copy\clrstrip at box}%
\par
More information about the tex-live-commits
mailing list.