texlive[45954] Master/texmf-dist: randomwalk (30nov17)

commits+karl at tug.org commits+karl at tug.org
Thu Nov 30 22:53:50 CET 2017


Revision: 45954
          http://tug.org/svn/texlive?view=revision&revision=45954
Author:   karl
Date:     2017-11-30 22:53:49 +0100 (Thu, 30 Nov 2017)
Log Message:
-----------
randomwalk (30nov17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/randomwalk/README.md
    trunk/Master/texmf-dist/doc/latex/randomwalk/randomwalk.pdf
    trunk/Master/texmf-dist/source/latex/randomwalk/randomwalk.dtx
    trunk/Master/texmf-dist/tex/latex/randomwalk/randomwalk.sty

Modified: trunk/Master/texmf-dist/doc/latex/randomwalk/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/randomwalk/README.md	2017-11-30 21:53:38 UTC (rev 45953)
+++ trunk/Master/texmf-dist/doc/latex/randomwalk/README.md	2017-11-30 21:53:49 UTC (rev 45954)
@@ -13,6 +13,7 @@
 
 
 All suggestions/comments/bug reports are welcome!
+See https://github.com/blefloch/latex-randomwalk
 
 
 The package is extracted by running

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

Modified: trunk/Master/texmf-dist/source/latex/randomwalk/randomwalk.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/randomwalk/randomwalk.dtx	2017-11-30 21:53:38 UTC (rev 45953)
+++ trunk/Master/texmf-dist/source/latex/randomwalk/randomwalk.dtx	2017-11-30 21:53:49 UTC (rev 45954)
@@ -1,13 +1,17 @@
 % \iffalse
-%% File: randomwalk.dtx Copyright (C) 2011-2015 Bruno Le Floch
+%% File: randomwalk.dtx Copyright (C) 2011-2017 Bruno Le Floch
 %%
-%% 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 option) any later version.  The latest version
-%% of this license is in the file
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%%   http://www.latex-project.org/lppl.txt
 %%
-%%    http://www.latex-project.org/lppl.txt
+%% This work has the LPPL maintenance status 'maintained'
+%% and the current maintainer is Bruno Le Floch.
 %%
+%% This work consists of the files randomwalk.dtx and randomwalk.ins and
+%% derived files randomwalk.sty and randomwalk.pdf.
 %% -----------------------------------------------------------------------
 %
 %<*driver|package>
@@ -25,8 +29,8 @@
 % \fi
 %
 %^^A The date here also is in \ProvidesExplPackage, and in the copyright.
-% \def\fileversion{v0.4}
-% \def\filedate{2015/09/20}
+% \def\fileversion{v0.5}
+% \def\filedate{2017/11/29}
 %
 % \title{The \pkg{randomwalk} package: \\
 %   customizable random walks\thanks{This file describes version
@@ -135,10 +139,10 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\RequirePackage{expl3}[2015/09/11]
+\RequirePackage{expl3}[2017/11/14]
 \ProvidesExplPackage
-  {randomwalk.sty} {2015/09/20} {0.4} {Customizable random walks}
-\RequirePackage{xparse}[2015/09/11]
+  {randomwalk} {2017/11/29} {0.5} {Customizable random walks}
+\RequirePackage{xparse}[2017/11/14]
 %    \end{macrocode}
 %
 % Load \pkg{pgfcore} for figures.
@@ -210,8 +214,8 @@
 %   Set the \cs{l_@@_angle_fp} and \cs{l_@@_length_fp} of the next step,
 %   most often randomly.
 %    \begin{macrocode}
-\cs_new_protected_nopar:Npn \@@_next_angle: { }
-\cs_new_protected_nopar:Npn \@@_next_length: { }
+\cs_new_protected:Npn \@@_next_angle: { }
+\cs_new_protected:Npn \@@_next_length: { }
 %    \end{macrocode}
 % \end{macro}
 %
@@ -290,12 +294,12 @@
 %   that currently cannot be altered through keys, because it might be
 %   good to provide keys for their initial values too later on.
 %    \begin{macrocode}
-\cs_new_protected_nopar:Npn \@@_setup_defaults:
+\cs_new_protected:Npn \@@_setup_defaults:
   {
     \int_set:Nn \l_@@_step_number_int {10}
-    \cs_gset_protected_nopar:Npn \@@_next_angle:
+    \cs_gset_protected:Npn \@@_next_angle:
       { \@@_fp_set_rand:Nnn \l_@@_angle_fp { 0 } { 360 } }
-    \cs_gset_protected_nopar:Npn \@@_next_length:
+    \cs_gset_protected:Npn \@@_next_length:
       { \fp_set:Nn \l_@@_length_fp {10} }
     \bool_set_false:N \l_@@_revert_random_bool
     \bool_set_false:N \l_@@_relative_angles_bool
@@ -317,7 +321,7 @@
     \seq_set_split:Nnn \l_@@_lengths_seq { , } {#1}
     \seq_set_map:NNn \l_@@_lengths_seq
       \l_@@_lengths_seq { \dim_to_fp:n {##1} }
-    \cs_gset_protected_nopar:Npn \@@_next_length:
+    \cs_gset_protected:Npn \@@_next_length:
       {
         \@@_get_rand_seq_item:NN
           \l_@@_lengths_seq \l_@@_internal_tl
@@ -341,7 +345,7 @@
     \seq_set_split:Nnn \l_@@_angles_seq { , } {#1}
     \seq_set_map:NNn \l_@@_angles_seq
       \l_@@_angles_seq { \fp_to_tl:n {##1} }
-    \cs_gset_protected_nopar:Npn \@@_next_angle:
+    \cs_gset_protected:Npn \@@_next_angle:
       {
         \@@_get_rand_seq_item:NN
           \l_@@_angles_seq \l_@@_internal_tl
@@ -364,7 +368,7 @@
 %   Then draw the relevant \pkg{pgf} picture by repeatedly calling
 %   \cs{@@_walk_step:}.
 %    \begin{macrocode}
-\cs_new_protected_nopar:Npn \@@_walk:
+\cs_new_protected:Npn \@@_walk:
   {
     \@@_walk_start:
     \prg_replicate:nn { \l_@@_step_number_int }
@@ -385,18 +389,18 @@
 %   The \texttt{stop} function draws the path constructed by
 %   \cs{@@_walk_step:} and ends the pgfpicture environment.
 %    \begin{macrocode}
-\cs_new_protected_nopar:Npn \@@_walk_start:
+\cs_new_protected:Npn \@@_walk_start:
   {
     \begin{pgfpicture}
       \pgfpathmoveto
         { \pgfpoint { \l_@@_x_dim } { \l_@@_y_dim } }
   }
-\cs_new_protected_nopar:Npn \@@_walk_line:
+\cs_new_protected:Npn \@@_walk_line:
   {
     \pgfpathlineto
       { \pgfpoint { \l_@@_x_dim } { \l_@@_y_dim } }
   }
-\cs_new_protected_nopar:Npn \@@_walk_stop:
+\cs_new_protected:Npn \@@_walk_stop:
   {
       \pgfusepath { stroke }
     \end{pgfpicture}
@@ -411,7 +415,7 @@
 %   the previous end-point.  Finally, we call \pkg{pgf}'s \cs{pgfpathlineto} to
 %   produce a line to the new point.
 %    \begin{macrocode}
-\cs_new_protected_nopar:Npn \@@_walk_step:
+\cs_new_protected:Npn \@@_walk_step:
   {
     \@@_next_length:
     \@@_next_angle:

Modified: trunk/Master/texmf-dist/tex/latex/randomwalk/randomwalk.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/randomwalk/randomwalk.sty	2017-11-30 21:53:38 UTC (rev 45953)
+++ trunk/Master/texmf-dist/tex/latex/randomwalk/randomwalk.sty	2017-11-30 21:53:49 UTC (rev 45954)
@@ -12,20 +12,24 @@
 %% to Bruno Le Floch (see the latex-randomwalk repository
 %% on GitHub).
 %% 
-%% File: randomwalk.dtx Copyright (C) 2011-2015 Bruno Le Floch
+%% File: randomwalk.dtx Copyright (C) 2011-2017 Bruno Le Floch
 %%
-%% 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 option) any later version.  The latest version
-%% of this license is in the file
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%%   http://www.latex-project.org/lppl.txt
 %%
-%%    http://www.latex-project.org/lppl.txt
+%% This work has the LPPL maintenance status 'maintained'
+%% and the current maintainer is Bruno Le Floch.
 %%
+%% This work consists of the files randomwalk.dtx and randomwalk.ins and
+%% derived files randomwalk.sty and randomwalk.pdf.
 %% -----------------------------------------------------------------------
-\RequirePackage{expl3}[2015/09/11]
+\RequirePackage{expl3}[2017/11/14]
 \ProvidesExplPackage
-  {randomwalk.sty} {2015/09/20} {0.4} {Customizable random walks}
-\RequirePackage{xparse}[2015/09/11]
+  {randomwalk} {2017/11/29} {0.5} {Customizable random walks}
+\RequirePackage{xparse}[2017/11/14]
 \RequirePackage{pgfcore}
 \int_const:Nn \c__randomwalk_lcg_last_int { \c_max_int - \c_one }
 \AtBeginDocument
@@ -45,8 +49,8 @@
 \bool_new:N \l__randomwalk_relative_angles_bool
 \bool_new:N \l__randomwalk_degrees_bool
 \bool_new:N \l__randomwalk_revert_random_bool
-\cs_new_protected_nopar:Npn \__randomwalk_next_angle: { }
-\cs_new_protected_nopar:Npn \__randomwalk_next_length: { }
+\cs_new_protected:Npn \__randomwalk_next_angle: { }
+\cs_new_protected:Npn \__randomwalk_next_length: { }
 \fp_new:N \l__randomwalk_angle_fp
 \fp_new:N \l__randomwalk_length_fp
 \dim_new:N \l__randomwalk_x_dim
@@ -74,12 +78,12 @@
     angles-relative .bool_set:N = \l__randomwalk_relative_angles_bool ,
     revert-random .bool_set:N = \l__randomwalk_revert_random_bool ,
   }
-\cs_new_protected_nopar:Npn \__randomwalk_setup_defaults:
+\cs_new_protected:Npn \__randomwalk_setup_defaults:
   {
     \int_set:Nn \l__randomwalk_step_number_int {10}
-    \cs_gset_protected_nopar:Npn \__randomwalk_next_angle:
+    \cs_gset_protected:Npn \__randomwalk_next_angle:
       { \__randomwalk_fp_set_rand:Nnn \l__randomwalk_angle_fp { 0 } { 360 } }
-    \cs_gset_protected_nopar:Npn \__randomwalk_next_length:
+    \cs_gset_protected:Npn \__randomwalk_next_length:
       { \fp_set:Nn \l__randomwalk_length_fp {10} }
     \bool_set_false:N \l__randomwalk_revert_random_bool
     \bool_set_false:N \l__randomwalk_relative_angles_bool
@@ -93,7 +97,7 @@
     \seq_set_split:Nnn \l__randomwalk_lengths_seq { , } {#1}
     \seq_set_map:NNn \l__randomwalk_lengths_seq
       \l__randomwalk_lengths_seq { \dim_to_fp:n {##1} }
-    \cs_gset_protected_nopar:Npn \__randomwalk_next_length:
+    \cs_gset_protected:Npn \__randomwalk_next_length:
       {
         \__randomwalk_get_rand_seq_item:NN
           \l__randomwalk_lengths_seq \l__randomwalk_internal_tl
@@ -105,7 +109,7 @@
     \seq_set_split:Nnn \l__randomwalk_angles_seq { , } {#1}
     \seq_set_map:NNn \l__randomwalk_angles_seq
       \l__randomwalk_angles_seq { \fp_to_tl:n {##1} }
-    \cs_gset_protected_nopar:Npn \__randomwalk_next_angle:
+    \cs_gset_protected:Npn \__randomwalk_next_angle:
       {
         \__randomwalk_get_rand_seq_item:NN
           \l__randomwalk_angles_seq \l__randomwalk_internal_tl
@@ -116,7 +120,7 @@
           \l__randomwalk_angle_fp { \l__randomwalk_internal_tl }
       }
   }
-\cs_new_protected_nopar:Npn \__randomwalk_walk:
+\cs_new_protected:Npn \__randomwalk_walk:
   {
     \__randomwalk_walk_start:
     \prg_replicate:nn { \l__randomwalk_step_number_int }
@@ -125,23 +129,23 @@
       { \int_gset_eq:NN \cr at nd \cr at nd }
     \__randomwalk_walk_stop:
   }
-\cs_new_protected_nopar:Npn \__randomwalk_walk_start:
+\cs_new_protected:Npn \__randomwalk_walk_start:
   {
     \begin{pgfpicture}
       \pgfpathmoveto
         { \pgfpoint { \l__randomwalk_x_dim } { \l__randomwalk_y_dim } }
   }
-\cs_new_protected_nopar:Npn \__randomwalk_walk_line:
+\cs_new_protected:Npn \__randomwalk_walk_line:
   {
     \pgfpathlineto
       { \pgfpoint { \l__randomwalk_x_dim } { \l__randomwalk_y_dim } }
   }
-\cs_new_protected_nopar:Npn \__randomwalk_walk_stop:
+\cs_new_protected:Npn \__randomwalk_walk_stop:
   {
       \pgfusepath { stroke }
     \end{pgfpicture}
   }
-\cs_new_protected_nopar:Npn \__randomwalk_walk_step:
+\cs_new_protected:Npn \__randomwalk_walk_step:
   {
     \__randomwalk_next_length:
     \__randomwalk_next_angle:



More information about the tex-live-commits mailing list