texlive[49644] Master/texmf-dist: ducksay (8jan19)
commits+karl at tug.org
commits+karl at tug.org
Tue Jan 8 22:54:40 CET 2019
Revision: 49644
http://tug.org/svn/texlive?view=revision&revision=49644
Author: karl
Date: 2019-01-08 22:54:40 +0100 (Tue, 08 Jan 2019)
Log Message:
-----------
ducksay (8jan19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/ducksay/README.md
trunk/Master/texmf-dist/doc/latex/ducksay/ducksay.pdf
trunk/Master/texmf-dist/source/latex/ducksay/ducksay.dtx
trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.animals.tex
trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.code.v1.tex
trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.code.v2.tex
trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.sty
Modified: trunk/Master/texmf-dist/doc/latex/ducksay/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ducksay/README.md 2019-01-08 21:54:14 UTC (rev 49643)
+++ trunk/Master/texmf-dist/doc/latex/ducksay/README.md 2019-01-08 21:54:40 UTC (rev 49644)
@@ -9,7 +9,7 @@
This work is "maintained" (as per LPPL maintenance status) by
Jonathan P. Spratte.
-Copyright (C) 2017-2018 by Jonathan P. Spratte
+Copyright (C) 2017-2019 by Jonathan P. Spratte
The package draws ASCII art of animals saying a specified message. The following
macros are available:
Modified: trunk/Master/texmf-dist/doc/latex/ducksay/ducksay.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/ducksay/ducksay.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/ducksay/ducksay.dtx 2019-01-08 21:54:14 UTC (rev 49643)
+++ trunk/Master/texmf-dist/source/latex/ducksay/ducksay.dtx 2019-01-08 21:54:40 UTC (rev 49644)
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% File: ducksay.dtx Copyright (C) 2017-2018 Jonathan P. Spratte
+% File: ducksay.dtx Copyright (C) 2017-2019 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
@@ -27,7 +27,7 @@
See http://www.latex-project.org/lppl.txt
--------------------------------------------------------------
-Copyright (C) 2017-2018 Jonathan P. Spratte
+Copyright (C) 2017-2019 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
@@ -74,7 +74,7 @@
{%
\href{https://ctan.org/pkg/l3kernel}{\file{interface3.pdf}} and the
documentation of \href{https://ctan.org/pkg/xcoffins}{\pkg{xcoffins}} for
- information about coffin poles.%
+ information about coffin poles%
}
\usepackage{enumitem}
\newenvironment{options}[1][]
@@ -187,8 +187,8 @@
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{xparse,l3keys2e}
-\def\ducksay at version{2.2}
-\def\ducksay at date{2018-12-29}
+\def\ducksay at version{2.2.1}
+\def\ducksay at date{2019-01-08}
\ProvidesExplPackage
{ducksay} {\ducksay at date}
@@ -699,32 +699,35 @@
% \item[msg-align-c=\meta{token list}]
% set the \meta{token list} which is responsible to typeset the message
% centred if the option |msg-align=c| is used. It is used independent of the
-% |arg| key. For |arg=tab| and |arg=tab*| the macro \cs{arraybackslash}
-% provided by \pkg{array} is used afterwards. The package default is
-% |\centering|. It might be useful if you want to use \pkg{ragged2e}'s
-% \cs{Centering} for example.
+% |arg| key. For |arg=tab| and |arg=tab*| it is only used if a fixed width
+% is specified and the macro \cs{arraybackslash} provided by \pkg{array} is
+% used afterwards. The package default is |\centering|. It might be useful
+% if you want to use \pkg{ragged2e}'s \cs{Centering} for example.
% \item[msg-align-j=\meta{token list}]
% set the \meta{token list} which is responsible to typeset the message
% justified if the option |msg-align=j| is used. It is used independent of
-% the |arg| key. For |arg=tab| and |arg=tab*| the macro \cs{arraybackslash}
-% provided by \pkg{array} is used afterwards. The package default is
-% empty as justification is the default behaviour of contents of a |p|
-% column and of a \cs{vbox}. It might be useful if you want to use
-% \pkg{ragged2e}'s \cs{justifying} for example.
+% the |arg| key. For |arg=tab| and |arg=tab*| it is only used if a fixed
+% width is specified and the macro \cs{arraybackslash} provided by
+% \pkg{array} is used afterwards. The package default is empty as
+% justification is the default behaviour of contents of a |p| column and of
+% a \cs{vbox}. It might be useful if you want to use \pkg{ragged2e}'s
+% \cs{justifying} for example.
% \item[msg-align-l=\meta{token list}]
% set the \meta{token list} which is responsible to typeset the message
% flushed left if the option |msg-align=l| is used. It is used independent
-% of the |arg| key. For |arg=tab| and |arg=tab*| the macro
-% \cs{arraybackslash} provided by \pkg{array} is used afterwards. The
-% package default is |\raggedright|. It might be useful if you want to use
-% \pkg{ragged2e}'s \cs{RaggedRight} for example.
+% of the |arg| key. For |arg=tab| and |arg=tab*| it is only used if a fixed
+% width is specified and the macro \cs{arraybackslash} provided by
+% \pkg{array} is used afterwards. The package default is |\raggedright|. It
+% might be useful if you want to use \pkg{ragged2e}'s \cs{RaggedRight} for
+% example.
% \item[msg-align-r=\meta{token list}]
% set the \meta{token list} which is responsible to typeset the message
% flushed right if the option |msg-align=r| is used. It is used independent
-% of the |arg| key. For |arg=tab| and |arg=tab*| the macro
-% \cs{arraybackslash} provided by \pkg{array} is used afterwards. The
-% package default is |\raggedleft|. It might be useful if you want to use
-% \pkg{ragged2e}'s \cs{RaggedLeft} for example.
+% of the |arg| key. For |arg=tab| and |arg=tab*| it is only used if a fixed
+% width is specified and the macro \cs{arraybackslash} provided by
+% \pkg{array} is used afterwards. The package default is |\raggedleft|. It
+% might be useful if you want to use \pkg{ragged2e}'s \cs{RaggedLeft} for
+% example.
% \item[msg-to-bubble=\meta{pole}]
% defines the horizontal coffin \meta{pole} to be used as the reference
% point for the placement of the \anml\ beneath the \msg. See \PolesInfo.
@@ -936,6 +939,9 @@
\regex_const:Nn \c_ducksay_second_regex { \A(.[^\c{null}]*\c{null}\s*)\\ }
\regex_const:Nn \c_ducksay_third_regex {
\A(.[^\c{null}]*\c{null}[^\c{null}]*\c{null}\s*)\\ }
+% \end{macrocode}
+% And for \cs{AddColoredAnimal}
+% \begin{macrocode}
\regex_const:Nn \c_ducksay_textcolor_regex
{ \cO(?:\\textcolor\{(.*?)\}\{(.*?)\}) }
\regex_const:Nn \c_ducksay_color_delim_regex
@@ -1888,7 +1894,16 @@
% \begin{macrocode}
\NewDocumentCommand \ducksay_eat_argument_tabular_verb:w
{ >{ \ducksay_process_verb_newline:nnn { ~ } { ~ \par } } +v }
- { \ducksay_eat_argument_tabular_inner:w { \scantokens { #1 } } }
+ {
+ \ducksay_eat_argument_tabular_inner:w
+ {
+ \group_begin:
+ \tex_everyeof:D { \exp_not:N }
+ \exp_after:wN
+ \group_end:
+ \tex_scantokens:D { #1 }
+ }
+ }
% \end{macrocode}
% \end{macro}^^A<<<
%
Modified: trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.animals.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.animals.tex 2019-01-08 21:54:14 UTC (rev 49643)
+++ trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.animals.tex 2019-01-08 21:54:40 UTC (rev 49644)
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% --------------------------------------------------------------
%%
-%% Copyright (C) 2017-2018 Jonathan P. Spratte
+%% Copyright (C) 2017-2019 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
Modified: trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.code.v1.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.code.v1.tex 2019-01-08 21:54:14 UTC (rev 49643)
+++ trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.code.v1.tex 2019-01-08 21:54:40 UTC (rev 49644)
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% --------------------------------------------------------------
%%
-%% Copyright (C) 2017-2018 Jonathan P. Spratte
+%% Copyright (C) 2017-2019 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
Modified: trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.code.v2.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.code.v2.tex 2019-01-08 21:54:14 UTC (rev 49643)
+++ trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.code.v2.tex 2019-01-08 21:54:40 UTC (rev 49644)
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% --------------------------------------------------------------
%%
-%% Copyright (C) 2017-2018 Jonathan P. Spratte
+%% Copyright (C) 2017-2019 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
@@ -446,7 +446,16 @@
}
\NewDocumentCommand \ducksay_eat_argument_tabular_verb:w
{ >{ \ducksay_process_verb_newline:nnn { ~ } { ~ \par } } +v }
- { \ducksay_eat_argument_tabular_inner:w { \scantokens { #1 } } }
+ {
+ \ducksay_eat_argument_tabular_inner:w
+ {
+ \group_begin:
+ \tex_everyeof:D { \exp_not:N }
+ \exp_after:wN
+ \group_end:
+ \tex_scantokens:D { #1 }
+ }
+ }
\NewDocumentCommand \ducksay_eat_argument_tabular_normal:w { +m }
{ \ducksay_eat_argument_tabular_inner:w { #1 } }
\cs_new_protected_nopar:Npn \ducksay_eat_argument_hbox:w
Modified: trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.sty 2019-01-08 21:54:14 UTC (rev 49643)
+++ trunk/Master/texmf-dist/tex/latex/ducksay/ducksay.sty 2019-01-08 21:54:40 UTC (rev 49644)
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% --------------------------------------------------------------
%%
-%% Copyright (C) 2017-2018 Jonathan P. Spratte
+%% Copyright (C) 2017-2019 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
@@ -35,8 +35,8 @@
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{xparse,l3keys2e}
-\def\ducksay at version{2.2}
-\def\ducksay at date{2018-12-29}
+\def\ducksay at version{2.2.1}
+\def\ducksay at date{2019-01-08}
\ProvidesExplPackage
{ducksay} {\ducksay at date}
More information about the tex-live-commits
mailing list