summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-02-04 21:36:40 +0000
committerKarl Berry <karl@freefriends.org>2019-02-04 21:36:40 +0000
commit1a215a70625796984cb80f9112537f6b8590bcf8 (patch)
treee342a1a9ac8bb484b24d47464402b212301d33f9 /Master/texmf-dist
parente5c35879e655b37a1b5c2ae23cbaf0d8eebf359a (diff)
duckuments (4feb19)
git-svn-id: svn://tug.org/texlive/trunk@49936 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/duckuments/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/duckuments/duckuments.pdfbin516564 -> 516599 bytes
-rw-r--r--Master/texmf-dist/doc/latex/duckuments/example-image-duck-portrait.tex2
-rw-r--r--Master/texmf-dist/doc/latex/duckuments/example-image-duck.tex2
-rw-r--r--Master/texmf-dist/source/latex/duckuments/duckuments.dtx54
-rw-r--r--Master/texmf-dist/tex/latex/duckuments/duckuments.sty50
6 files changed, 55 insertions, 55 deletions
diff --git a/Master/texmf-dist/doc/latex/duckuments/README.md b/Master/texmf-dist/doc/latex/duckuments/README.md
index 4a26d605e46..a1aa15bbac0 100644
--- a/Master/texmf-dist/doc/latex/duckuments/README.md
+++ b/Master/texmf-dist/doc/latex/duckuments/README.md
@@ -8,7 +8,7 @@ file
https://www.latex-project.org/lppl.txt
-Copyright (C) 2018 by Jonathan P. Spratte
+Copyright (C) 2018-2019 by Jonathan P. Spratte
This package provides means to create duckified dummy contents. The following
macros are available:
diff --git a/Master/texmf-dist/doc/latex/duckuments/duckuments.pdf b/Master/texmf-dist/doc/latex/duckuments/duckuments.pdf
index 84c0e50deb3..6f8bfc2fc99 100644
--- a/Master/texmf-dist/doc/latex/duckuments/duckuments.pdf
+++ b/Master/texmf-dist/doc/latex/duckuments/duckuments.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/duckuments/example-image-duck-portrait.tex b/Master/texmf-dist/doc/latex/duckuments/example-image-duck-portrait.tex
index 0324a48310c..70877d00405 100644
--- a/Master/texmf-dist/doc/latex/duckuments/example-image-duck-portrait.tex
+++ b/Master/texmf-dist/doc/latex/duckuments/example-image-duck-portrait.tex
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% --------------------------------------------------------------
%%
-%% Copyright (C) 2018 Jonathan P. Spratte
+%% Copyright (C) 2018-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
diff --git a/Master/texmf-dist/doc/latex/duckuments/example-image-duck.tex b/Master/texmf-dist/doc/latex/duckuments/example-image-duck.tex
index 9072dfef040..5d8c33df304 100644
--- a/Master/texmf-dist/doc/latex/duckuments/example-image-duck.tex
+++ b/Master/texmf-dist/doc/latex/duckuments/example-image-duck.tex
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% --------------------------------------------------------------
%%
-%% Copyright (C) 2018 Jonathan P. Spratte
+%% Copyright (C) 2018-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
diff --git a/Master/texmf-dist/source/latex/duckuments/duckuments.dtx b/Master/texmf-dist/source/latex/duckuments/duckuments.dtx
index 6c7e99f98c0..102b64926a6 100644
--- a/Master/texmf-dist/source/latex/duckuments/duckuments.dtx
+++ b/Master/texmf-dist/source/latex/duckuments/duckuments.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% File: duckuments.dtx Copyright (C) 2018 Jonathan P. Spratte
+% File: duckuments.dtx Copyright (C) 2018-2019 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 @@ Released under the LaTeX Project Public License v1.3c or later
See http://www.latex-project.org/lppl.txt
--------------------------------------------------------------
-Copyright (C) 2018 Jonathan P. Spratte
+Copyright (C) 2018-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
@@ -60,13 +60,13 @@ and the derived files duckuments.pdf,
%
%<*driver|pkg>
\RequirePackage{xparse,letltxmacro,l3keys2e}
-\def\duckuments@version{0.4b}
-\def\duckuments@date{2018/09/13}
+\def\duckuments@version{0.4c}
+\def\duckuments@date{2019/02/03}
%</driver|pkg>
%
%<*driver>
\ProvidesFile{duckuments.dtx}
- [\csname duckuments@date\endcsname\ minimal working duckuments]
+ [\csname duckuments@date\endcsname\space minimal working duckuments]
\documentclass{l3doc}
\usepackage{duckuments}
\usepackage{enumitem}
@@ -562,7 +562,7 @@ and the derived files duckuments.pdf,
%
% \begin{macro}{\duckuments_patch_see_duckumentation:}^^A>>>
% \begin{macrocode}
-\cs_new:Nn \duckuments_patch_see_duckumentation:
+\cs_new:Npn \duckuments_patch_see_duckumentation:
{%>>>
\cs_set:Nn \msg_see_documentation_text:n
{
@@ -822,7 +822,7 @@ and the derived files duckuments.pdf,
%
% \begin{macro}{\duckuments_list_example:n}^^A>>>
% \begin{macrocode}
-\cs_new_protected_nopar:Nn \duckuments_list_example:n
+\cs_new_protected_nopar:Npn \duckuments_list_example:n #1
{%>>>
\subsection{Example\ for\ ducks\ (#1)}
\ducklist { #1 }
@@ -890,7 +890,7 @@ and the derived files duckuments.pdf,
%
% \begin{macro}{\duckuments_patch_includegraphics:}^^A>>>
% \begin{macrocode}
-\cs_new_protected_nopar:Nn \duckuments_patch_includegraphics:
+\cs_new_protected_nopar:Npn \duckuments_patch_includegraphics:
{%>>>
\@ifpackageloaded { graphicx }
{
@@ -921,7 +921,7 @@ and the derived files duckuments.pdf,
%
% \begin{macro}{\duckuments_blindduck_range_test:n}^^A>>>
% \begin{macrocode}
-\cs_new_protected:Nn \duckuments_blindduck_range_test:n
+\cs_new_protected:Npn \duckuments_blindduck_range_test:n #1
{%>>>
\regex_match:NnTF \c_duckuments_range_regex { #1 }
{
@@ -969,7 +969,7 @@ and the derived files duckuments.pdf,
%
% \begin{macro}{\duckuments_blindduck_set_text:nn}^^A>>>
% \begin{macrocode}
-\cs_new:Nn \duckuments_blindduck_set_text:nn
+\cs_new:Npn \duckuments_blindduck_set_text:nn #1 #2
{%>>>
\def \duckuments@blindduck@text
{
@@ -984,7 +984,7 @@ and the derived files duckuments.pdf,
%
% \begin{macro}{\duckuments_blindduck_set_next_start:n}^^A>>>
% \begin{macrocode}
-\cs_new:Nn \duckuments_blindduck_set_next_start:n
+\cs_new:Npn \duckuments_blindduck_set_next_start:n #1
{%>>>
\int_gset:Nn \g_duckuments_blindduck_start_int
{ \int_mod:nn { #1 } { \c_duckuments_blindduck_pars_int } + \c_one }
@@ -994,7 +994,7 @@ and the derived files duckuments.pdf,
%
% \begin{macro}{\duckuments_blindduck_single_par:n}^^A>>>
% \begin{macrocode}
-\cs_new:Nn \duckuments_blindduck_single_par:n
+\cs_new:Npn \duckuments_blindduck_single_par:n #1
{%>>>
\bool_if:nTF
{
@@ -1016,7 +1016,7 @@ and the derived files duckuments.pdf,
%
% \begin{macro}{\duckuments_blindduck_par_loop:n}^^A>>>
% \begin{macrocode}
-\cs_new:Nn \duckuments_blindduck_par_loop:n
+\cs_new:Npn \duckuments_blindduck_par_loop:n #1
{%>>>
\duckuments_blindduck_single_par:n { #1 }
\par
@@ -1026,7 +1026,7 @@ and the derived files duckuments.pdf,
%
% \begin{macro}{\duckuments_starred:n}^^A>>>
% \begin{macrocode}
-\cs_new_protected:Nn \duckuments_starred:n
+\cs_new_protected:Npn \duckuments_starred:n #1
{%>>>
\IfBooleanTF { #1 }
{ \def\ProcessedArgument{*} }
@@ -1053,17 +1053,17 @@ and the derived files duckuments.pdf,
% \end{macrocode}
% Initialize the S array:
% \begin{macrocode}
- \cs_new_protected_nopar:Nn \duckuments_RCiv_S_new:n
+ \cs_new_protected_nopar:Npn \duckuments_RCiv_S_new:n #1
{ \int_new:c { g_duckuments_RCiv_S_ \int_eval:n { #1 } _int } }
- \cs_new_protected_nopar:Nn \duckuments_RCiv_S_set:nn
+ \cs_new_protected_nopar:Npn \duckuments_RCiv_S_set:nn #1 #2
{ \int_gset:cn { g_duckuments_RCiv_S_ \int_eval:n { #1 } _int } { #2 } }
- \cs_new_nopar:Nn \duckuments_RCiv_S_get:n
+ \cs_new_nopar:Npn \duckuments_RCiv_S_get:n #1
{ \int_use:c { g_duckuments_RCiv_S_ \int_eval:n { #1 } _int } }
- \cs_new_protected_nopar:Nn \duckuments_RCiv_key_new:n
+ \cs_new_protected_nopar:Npn \duckuments_RCiv_key_new:n #1
{ \int_new:c { g_duckuments_RCiv_key_ \int_eval:n { #1 } _int } }
- \cs_new_protected_nopar:Nn \duckuments_RCiv_key_set:nn
+ \cs_new_protected_nopar:Npn \duckuments_RCiv_key_set:nn #1 #2
{ \int_gset:cn { g_duckuments_RCiv_key_ \int_eval:n { #1 } _int } { #2 } }
- \cs_new_nopar:Nn \duckuments_RCiv_key_get:n
+ \cs_new_nopar:Npn \duckuments_RCiv_key_get:n #1
{ \int_use:c { g_duckuments_RCiv_key_ \int_eval:n { #1 } _int } }
\int_step_inline:nnnn { 0 } { 1 } { 255 }
{
@@ -1087,7 +1087,7 @@ and the derived files duckuments.pdf,
{ \int_from_alph:n { #1 } }
\int_gincr:N \g_duckuments_RCiv_keylength_int
}
- \cs_new_protected_nopar:Nn \duckuments_swap_S_entries:nn
+ \cs_new_protected_nopar:Npn \duckuments_swap_S_entries:nn #1 #2
{
\int_set_eq:Nc
\g_duckuments_tmpa_int
@@ -1100,9 +1100,9 @@ and the derived files duckuments.pdf,
\g_duckuments_tmpa_int
}
\int_gset:Nn \g_duckuments_RCiv_keylength_int { 5 }
- \cs_new:Nn \duckuments_gadd_mod:Nnn
+ \cs_new:Npn \duckuments_gadd_mod:Nnn #1 #2 #3
{ \int_gset:Nn #1 { \int_mod:nn { #1 + ( #2 ) } { #3 } } }
- \cs_new:Nn \duckuments_gadd_mod_Slength:Nn
+ \cs_new:Npn \duckuments_gadd_mod_Slength:Nn #1 #2
{
\duckuments_gadd_mod:Nnn #1
{ #2 } { \c_duckuments_RCiv_Slength_int }
@@ -1124,7 +1124,7 @@ and the derived files duckuments.pdf,
% Provide a function which gets the next random number and sets
% |\duckuments_random_page:| to it.
% \begin{macrocode}
- \cs_new_protected_nopar:Nn \duckuments_get_random_page:
+ \cs_new_protected_nopar:Npn \duckuments_get_random_page:
{
\duckuments_gadd_mod_Slength:Nn \g_duckuments_RCiv_i_int { \c_one }
\duckuments_gadd_mod_Slength:Nn \g_duckuments_RCiv_j_int
@@ -1147,15 +1147,15 @@ and the derived files duckuments.pdf,
}
}
}
- \cs_new:Nn \duckuments_random_page: { 1 }
+ \cs_new:Npn \duckuments_random_page: { 1 }
}
% \end{macrocode}
% Both \pdfTeX\ and \LuaTeX\ don't need the RC4 as there |\int_random:nn| is
% available.
% \begin{macrocode}
{
- \cs_new:Nn \duckuments_get_random_page: {}
- \cs_new:Nn \duckuments_random_page:
+ \cs_new:Npn \duckuments_get_random_page: {}
+ \cs_new:Npn \duckuments_random_page:
{ \int_rand:nn { 1 } { \c_duckuments_example_pages_int } }
}
% \end{macrocode}
diff --git a/Master/texmf-dist/tex/latex/duckuments/duckuments.sty b/Master/texmf-dist/tex/latex/duckuments/duckuments.sty
index 7edc58fdc29..8f2d66435a6 100644
--- a/Master/texmf-dist/tex/latex/duckuments/duckuments.sty
+++ b/Master/texmf-dist/tex/latex/duckuments/duckuments.sty
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% --------------------------------------------------------------
%%
-%% Copyright (C) 2018 Jonathan P. Spratte
+%% Copyright (C) 2018-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
@@ -32,8 +32,8 @@
%% example-image-duck-portrait.tex
%%
\RequirePackage{xparse,letltxmacro,l3keys2e}
-\def\duckuments@version{0.4b}
-\def\duckuments@date{2018/09/13}
+\def\duckuments@version{0.4c}
+\def\duckuments@date{2019/02/03}
\ProvidesExplPackage
{duckuments} {\duckuments@date}
{\duckuments@version} {minimal working duckuments}
@@ -198,7 +198,7 @@
\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~>()_\\
\ \ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~\ ~(__)__
}
-\cs_new:Nn \duckuments_patch_see_duckumentation:
+\cs_new:Npn \duckuments_patch_see_duckumentation:
{%>>>
\cs_set:Nn \msg_see_documentation_text:n
{
@@ -375,7 +375,7 @@
{ \bool_if:NTF \l_duckuments_math_inline_bool { #2 } { #1 } }
\newcommand*\duckuments@ifdisplay[2][]
{ \bool_if:NTF \l_duckuments_math_display_bool { #2 } { #1 } }
-\cs_new_protected_nopar:Nn \duckuments_list_example:n
+\cs_new_protected_nopar:Npn \duckuments_list_example:n #1
{%>>>
\subsection{Example\ for\ ducks\ (#1)}
\ducklist { #1 }
@@ -418,7 +418,7 @@
\draw[black] (0,0) rectangle (#1,#2);
\end{tikzpicture}
}%<<<
-\cs_new_protected_nopar:Nn \duckuments_patch_includegraphics:
+\cs_new_protected_nopar:Npn \duckuments_patch_includegraphics:
{%>>>
\@ifpackageloaded { graphicx }
{
@@ -444,7 +444,7 @@
}
{}
}%<<<
-\cs_new_protected:Nn \duckuments_blindduck_range_test:n
+\cs_new_protected:Npn \duckuments_blindduck_range_test:n #1
{%>>>
\regex_match:NnTF \c_duckuments_range_regex { #1 }
{
@@ -487,7 +487,7 @@
}
}%<<<
\cs_generate_variant:Nn \duckuments_blindduck_range_test:n { V }
-\cs_new:Nn \duckuments_blindduck_set_text:nn
+\cs_new:Npn \duckuments_blindduck_set_text:nn #1 #2
{%>>>
\def \duckuments@blindduck@text
{
@@ -497,12 +497,12 @@
}
}%<<<
\cs_generate_variant:Nn \duckuments_blindduck_set_text:nn { xx }
-\cs_new:Nn \duckuments_blindduck_set_next_start:n
+\cs_new:Npn \duckuments_blindduck_set_next_start:n #1
{%>>>
\int_gset:Nn \g_duckuments_blindduck_start_int
{ \int_mod:nn { #1 } { \c_duckuments_blindduck_pars_int } + \c_one }
}%<<<
-\cs_new:Nn \duckuments_blindduck_single_par:n
+\cs_new:Npn \duckuments_blindduck_single_par:n #1
{%>>>
\bool_if:nTF
{
@@ -519,12 +519,12 @@
\use:c { duckuments@blindduck@text@ \int_to_roman:n { #1 } }
}
}%<<<
-\cs_new:Nn \duckuments_blindduck_par_loop:n
+\cs_new:Npn \duckuments_blindduck_par_loop:n #1
{%>>>
\duckuments_blindduck_single_par:n { #1 }
\par
}%<<<
-\cs_new_protected:Nn \duckuments_starred:n
+\cs_new_protected:Npn \duckuments_starred:n #1
{%>>>
\IfBooleanTF { #1 }
{ \def\ProcessedArgument{*} }
@@ -539,17 +539,17 @@
\int_const:Nn \c_duckuments_RCiv_Slength_int { 256 }
\tl_new:N \l_duckuments_tmpa_tl
\tl_new:N \l_duckuments_tmpb_tl
- \cs_new_protected_nopar:Nn \duckuments_RCiv_S_new:n
+ \cs_new_protected_nopar:Npn \duckuments_RCiv_S_new:n #1
{ \int_new:c { g_duckuments_RCiv_S_ \int_eval:n { #1 } _int } }
- \cs_new_protected_nopar:Nn \duckuments_RCiv_S_set:nn
+ \cs_new_protected_nopar:Npn \duckuments_RCiv_S_set:nn #1 #2
{ \int_gset:cn { g_duckuments_RCiv_S_ \int_eval:n { #1 } _int } { #2 } }
- \cs_new_nopar:Nn \duckuments_RCiv_S_get:n
+ \cs_new_nopar:Npn \duckuments_RCiv_S_get:n #1
{ \int_use:c { g_duckuments_RCiv_S_ \int_eval:n { #1 } _int } }
- \cs_new_protected_nopar:Nn \duckuments_RCiv_key_new:n
+ \cs_new_protected_nopar:Npn \duckuments_RCiv_key_new:n #1
{ \int_new:c { g_duckuments_RCiv_key_ \int_eval:n { #1 } _int } }
- \cs_new_protected_nopar:Nn \duckuments_RCiv_key_set:nn
+ \cs_new_protected_nopar:Npn \duckuments_RCiv_key_set:nn #1 #2
{ \int_gset:cn { g_duckuments_RCiv_key_ \int_eval:n { #1 } _int } { #2 } }
- \cs_new_nopar:Nn \duckuments_RCiv_key_get:n
+ \cs_new_nopar:Npn \duckuments_RCiv_key_get:n #1
{ \int_use:c { g_duckuments_RCiv_key_ \int_eval:n { #1 } _int } }
\int_step_inline:nnnn { 0 } { 1 } { 255 }
{
@@ -573,7 +573,7 @@
{ \int_from_alph:n { #1 } }
\int_gincr:N \g_duckuments_RCiv_keylength_int
}
- \cs_new_protected_nopar:Nn \duckuments_swap_S_entries:nn
+ \cs_new_protected_nopar:Npn \duckuments_swap_S_entries:nn #1 #2
{
\int_set_eq:Nc
\g_duckuments_tmpa_int
@@ -586,9 +586,9 @@
\g_duckuments_tmpa_int
}
\int_gset:Nn \g_duckuments_RCiv_keylength_int { 5 }
- \cs_new:Nn \duckuments_gadd_mod:Nnn
+ \cs_new:Npn \duckuments_gadd_mod:Nnn #1 #2 #3
{ \int_gset:Nn #1 { \int_mod:nn { #1 + ( #2 ) } { #3 } } }
- \cs_new:Nn \duckuments_gadd_mod_Slength:Nn
+ \cs_new:Npn \duckuments_gadd_mod_Slength:Nn #1 #2
{
\duckuments_gadd_mod:Nnn #1
{ #2 } { \c_duckuments_RCiv_Slength_int }
@@ -606,7 +606,7 @@
}
\int_gzero:N \g_duckuments_RCiv_i_int
\int_gzero:N \g_duckuments_RCiv_j_int
- \cs_new_protected_nopar:Nn \duckuments_get_random_page:
+ \cs_new_protected_nopar:Npn \duckuments_get_random_page:
{
\duckuments_gadd_mod_Slength:Nn \g_duckuments_RCiv_i_int { \c_one }
\duckuments_gadd_mod_Slength:Nn \g_duckuments_RCiv_j_int
@@ -629,11 +629,11 @@
}
}
}
- \cs_new:Nn \duckuments_random_page: { 1 }
+ \cs_new:Npn \duckuments_random_page: { 1 }
}
{
- \cs_new:Nn \duckuments_get_random_page: {}
- \cs_new:Nn \duckuments_random_page:
+ \cs_new:Npn \duckuments_get_random_page: {}
+ \cs_new:Npn \duckuments_random_page:
{ \int_rand:nn { 1 } { \c_duckuments_example_pages_int } }
}
\ExplSyntaxOff