texlive[49936] Master/texmf-dist: duckuments (4feb19)

commits+karl at tug.org commits+karl at tug.org
Mon Feb 4 22:36:40 CET 2019


Revision: 49936
          http://tug.org/svn/texlive?view=revision&revision=49936
Author:   karl
Date:     2019-02-04 22:36:40 +0100 (Mon, 04 Feb 2019)
Log Message:
-----------
duckuments (4feb19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/duckuments/README.md
    trunk/Master/texmf-dist/doc/latex/duckuments/duckuments.pdf
    trunk/Master/texmf-dist/doc/latex/duckuments/example-image-duck-portrait.tex
    trunk/Master/texmf-dist/doc/latex/duckuments/example-image-duck.tex
    trunk/Master/texmf-dist/source/latex/duckuments/duckuments.dtx
    trunk/Master/texmf-dist/tex/latex/duckuments/duckuments.sty

Modified: trunk/Master/texmf-dist/doc/latex/duckuments/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/duckuments/README.md	2019-02-04 21:36:21 UTC (rev 49935)
+++ trunk/Master/texmf-dist/doc/latex/duckuments/README.md	2019-02-04 21:36:40 UTC (rev 49936)
@@ -8,7 +8,7 @@
 
    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:

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

Modified: trunk/Master/texmf-dist/doc/latex/duckuments/example-image-duck-portrait.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/duckuments/example-image-duck-portrait.tex	2019-02-04 21:36:21 UTC (rev 49935)
+++ trunk/Master/texmf-dist/doc/latex/duckuments/example-image-duck-portrait.tex	2019-02-04 21:36:40 UTC (rev 49936)
@@ -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

Modified: trunk/Master/texmf-dist/doc/latex/duckuments/example-image-duck.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/duckuments/example-image-duck.tex	2019-02-04 21:36:21 UTC (rev 49935)
+++ trunk/Master/texmf-dist/doc/latex/duckuments/example-image-duck.tex	2019-02-04 21:36:40 UTC (rev 49936)
@@ -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

Modified: trunk/Master/texmf-dist/source/latex/duckuments/duckuments.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/duckuments/duckuments.dtx	2019-02-04 21:36:21 UTC (rev 49935)
+++ trunk/Master/texmf-dist/source/latex/duckuments/duckuments.dtx	2019-02-04 21:36:40 UTC (rev 49936)
@@ -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 @@
 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 @@
 %
 %<*driver|pkg>
 \RequirePackage{xparse,letltxmacro,l3keys2e}
-\def\duckuments at version{0.4b}
-\def\duckuments at date{2018/09/13}
+\def\duckuments at version{0.4c}
+\def\duckuments at date{2019/02/03}
 %</driver|pkg>
 %
 %<*driver>
 \ProvidesFile{duckuments.dtx}
-  [\csname duckuments at date\endcsname\ minimal working duckuments]
+  [\csname duckuments at date\endcsname\space minimal working duckuments]
 \documentclass{l3doc}
 \usepackage{duckuments}
 \usepackage{enumitem}
@@ -562,7 +562,7 @@
 %
 % \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 @@
 %
 % \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 @@
 %
 % \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 @@
 %
 % \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 @@
 %
 % \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 at blindduck@text
       {
@@ -984,7 +984,7 @@
 %
 % \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 @@
 %
 % \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 @@
 %
 % \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 @@
 %
 % \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 @@
 %    \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 @@
           { \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 @@
           \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 @@
 % 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,7 +1147,7 @@
               }
           }
       }
-    \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
@@ -1154,8 +1154,8 @@
 % 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}

Modified: trunk/Master/texmf-dist/tex/latex/duckuments/duckuments.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/duckuments/duckuments.sty	2019-02-04 21:36:21 UTC (rev 49935)
+++ trunk/Master/texmf-dist/tex/latex/duckuments/duckuments.sty	2019-02-04 21:36:40 UTC (rev 49936)
@@ -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 at version{0.4b}
-\def\duckuments at date{2018/09/13}
+\def\duckuments at version{0.4c}
+\def\duckuments at date{2019/02/03}
 \ProvidesExplPackage
   {duckuments}          {\duckuments at date}
   {\duckuments at 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 at 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 at 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 at 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



More information about the tex-live-commits mailing list