texlive[68927] Master/texmf-dist: kantlipsum (21nov23)
commits+karl at tug.org
commits+karl at tug.org
Tue Nov 21 22:30:14 CET 2023
Revision: 68927
https://tug.org/svn/texlive?view=revision&revision=68927
Author: karl
Date: 2023-11-21 22:30:14 +0100 (Tue, 21 Nov 2023)
Log Message:
-----------
kantlipsum (21nov23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/kantlipsum/README.md
trunk/Master/texmf-dist/doc/latex/kantlipsum/kantlipsum.pdf
trunk/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.dtx
trunk/Master/texmf-dist/tex/latex/kantlipsum/kantlipsum.sty
Removed Paths:
-------------
trunk/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.ins
Modified: trunk/Master/texmf-dist/doc/latex/kantlipsum/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/kantlipsum/README.md 2023-11-21 21:29:51 UTC (rev 68926)
+++ trunk/Master/texmf-dist/doc/latex/kantlipsum/README.md 2023-11-21 21:30:14 UTC (rev 68927)
@@ -2,17 +2,14 @@
by the "Kant generator for Python" by Mark Pilgrim, described in the
book "Dive into Python".
-This is version 0.8a of the package
+This is version 0.8b of the package
Changes from earlier version:
-Support for printing only a few sentences from one paragraph has been added;
-the code has been polished.
+Version 0.8b is a maintenance release.
-Version 0.8a fixes a small glitch.
+ Copyright 2011-2023 Enrico Gregorio
- Copyright 2011-2019 Enrico Gregorio
-
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
Modified: trunk/Master/texmf-dist/doc/latex/kantlipsum/kantlipsum.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.dtx 2023-11-21 21:29:51 UTC (rev 68926)
+++ trunk/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.dtx 2023-11-21 21:30:14 UTC (rev 68927)
@@ -7,17 +7,14 @@
by the "Kant generator for Python" by Mark Pilgrim, described in the
book "Dive into Python".
-This is version 0.8a of the package
+This is version 0.8b of the package
Changes from earlier version:
-Support for printing only a few sentences from one paragraph has been added;
-the code has been polished.
+Version 0.8b is a maintenance release.
-Version 0.8a fixes a small glitch.
+ Copyright 2011-2023 Enrico Gregorio
- Copyright 2011-2019 Enrico Gregorio
-
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
@@ -65,7 +62,7 @@
---------------------------------------------------------------
\endpreamble
\postamble
-Copyright (C) 2011-2019 by
+Copyright (C) 2011-2023 by
Enrico Gregorio
enrico DOT gregorio AT univr DOT it
@@ -101,10 +98,6 @@
\expandafter\endgroup
\fi
%</internal>
-%<*driver|package>
-\RequirePackage{expl3}[2019/07/01]
-\RequirePackage{xparse}
-%</driver|package>
%<*driver>
\documentclass[a4paper,full]{l3doc}
\usepackage{bookmark}
@@ -141,6 +134,7 @@
%\changes{v0.7}{2017/11/16}{Use new kernel function}
%\changes{v0.8}{2017/07/23}{Print only a few sentences of a paragraph}
%\changes{v0.8a}{2017/07/24}{Respect options and *-version}
+%\changes{v0.8b}{2023/11/21}{Maintenance release}
%
% \begin{documentation}
%
@@ -275,16 +269,16 @@
% \begin{macrocode}
\ProvidesExplPackage
{kantlipsum}
- {2019/07/23}
- {0.8}
+ {2023/11/21}
+ {0.8b}
{Generate text in Kantian style}
% \end{macrocode}
%
% A check to make sure that \pkg{expl3} is not too old
% \begin{macrocode}
-\@ifpackagelater { expl3 } { 2019/07/01 }
- { }
- {
+\@ifl at t@r\ExplLoaderFileDate{2022-11-09}
+ {}
+ {%
\PackageError { kantlipsum } { Support~package~expl3~too~old }
{
You~need~to~update~your~installation~of~the~bundles~
@@ -425,7 +419,7 @@
}
\cs_new_protected:Nn \@@_process:nnnn
{
- \tl_set:Nx \l_tmpa_tl { \seq_item:Nn \g_@@_pars_seq {#1} }
+ \tl_set:Ne \l_tmpa_tl { \seq_item:Nn \g_@@_pars_seq {#1} }
\tl_if_novalue:nTF {#4}
{ \@@_extract:nnV {#3} {#3} \l_tmpa_tl }
{ \@@_extract:nnV {#3} {#4} \l_tmpa_tl }
@@ -494,11 +488,11 @@
\msg_error:nnn {kantlipsum} {already-defined} {#1}
}
{
- \tl_set:Nx \l_tmpa_tl { \seq_item:Nn \g_@@_pars_seq {#2} }
+ \tl_set:Ne \l_tmpa_tl { \seq_item:Nn \g_@@_pars_seq {#2} }
\tl_if_novalue:nTF {#4}
{ \@@_extract:nnV {#3} {#3} \l_tmpa_tl }
{ \@@_extract:nnV {#3} {#4} \l_tmpa_tl }
- \cs_new:Npx #1 { \l_tmpa_tl }
+ \cs_new:Npe #1 { \l_tmpa_tl }
}
}
% \end{macrocode}
@@ -512,12 +506,12 @@
{
\seq_set_split:Nnn \l_@@_sentences_seq { . } {#3}
\seq_clear:N \l_tmpa_seq
- \seq_indexed_map_inline:Nn \l_@@_sentences_seq
+ \seq_map_indexed_inline:Nn \l_@@_sentences_seq
{
\int_compare:nT { #1 <= ##1 <= #2 }
{\seq_put_right:Nn \l_tmpa_seq { ##2 } }
}
- \tl_set:Nx \l_tmpa_tl { \seq_use:Nn \l_tmpa_seq { .~ }. }
+ \tl_set:Ne \l_tmpa_tl { \seq_use:Nn \l_tmpa_seq { .~ }. }
}
\cs_generate_variant:Nn \@@_extract:nnn { nnV }
% \end{macrocode}
@@ -3616,7 +3610,7 @@
% stating how many sentences are available.
% \begin{macrocode}
\group_end:
-\msg_info:nnx {kantlipsum} {how-many}
+\msg_info:nne {kantlipsum} {how-many}
{ \int_eval:n {\seq_count:N \g_@@_pars_seq} }
% \end{macrocode}
%
Deleted: trunk/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.ins 2023-11-21 21:29:51 UTC (rev 68926)
+++ trunk/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.ins 2023-11-21 21:30:14 UTC (rev 68927)
@@ -1,61 +0,0 @@
-%%
-%% This is file `kantlipsum.ins',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% kantlipsum.dtx (with options: `install')
-%% ---------------------------------------------------------------
-%% The kantlipsum package --- Generate text in Kantian style
-%% Maintained by Enrico Gregorio
-%% E-mail: enrico DOT gregorio AT univr DOT it
-%% Released under the LaTeX Project Public License v1.3c or later
-%% See http://www.latex-project.org/lppl.txt
-%% ---------------------------------------------------------------
-\input l3docstrip.tex
-\keepsilent
-\askforoverwritefalse
-\preamble
----------------------------------------------------------------
-The kantlipsum package --- Generate text in Kantian style
-Maintained by Enrico Gregorio
-E-mail: enrico DOT gregorio AT univr DOT it
-Released under the LaTeX Project Public License v1.3c or later
-See http://www.latex-project.org/lppl.txt
----------------------------------------------------------------
-\endpreamble
-\postamble
-Copyright (C) 2011-2019 by
- Enrico Gregorio
- enrico DOT gregorio AT univr DOT it
-
-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
- http://www.latex-project.org/lppl.txt
-This work consists of the file kantlipsum.dtx
- and the derived files kantlipsum.pdf,
- kantlipsum.sty and
- kantlipsum.ins.
-\endpostamble
-\usedir{tex/latex/kantlipsum}
-\generate{
- \file{\jobname.sty}{\from{\jobname.dtx}{package}}
-}
-\endbatchfile
-%% Copyright (C) 2011-2019 by
-%% Enrico Gregorio
-%% enrico DOT gregorio AT univr DOT it
-%%
-%% 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
-%% http://www.latex-project.org/lppl.txt
-%% This work consists of the file kantlipsum.dtx
-%% and the derived files kantlipsum.pdf,
-%% kantlipsum.sty and
-%% kantlipsum.ins.
-%%
-%% End of file `kantlipsum.ins'.
Modified: trunk/Master/texmf-dist/tex/latex/kantlipsum/kantlipsum.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kantlipsum/kantlipsum.sty 2023-11-21 21:29:51 UTC (rev 68926)
+++ trunk/Master/texmf-dist/tex/latex/kantlipsum/kantlipsum.sty 2023-11-21 21:30:14 UTC (rev 68927)
@@ -12,16 +12,14 @@
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
-\RequirePackage{expl3}[2019/07/01]
-\RequirePackage{xparse}
\ProvidesExplPackage
{kantlipsum}
- {2019/07/23}
- {0.8}
+ {2023/11/21}
+ {0.8b}
{Generate text in Kantian style}
-\@ifpackagelater { expl3 } { 2019/07/01 }
- { }
- {
+\@ifl at t@r\ExplLoaderFileDate{2022-11-09}
+ {}
+ {%
\PackageError { kantlipsum } { Support~package~expl3~too~old }
{
You~need~to~update~your~installation~of~the~bundles~
@@ -105,7 +103,7 @@
}
\cs_new_protected:Nn \__kgl_process:nnnn
{
- \tl_set:Nx \l_tmpa_tl { \seq_item:Nn \g__kgl_pars_seq {#1} }
+ \tl_set:Ne \l_tmpa_tl { \seq_item:Nn \g__kgl_pars_seq {#1} }
\tl_if_novalue:nTF {#4}
{ \__kgl_extract:nnV {#3} {#3} \l_tmpa_tl }
{ \__kgl_extract:nnV {#3} {#4} \l_tmpa_tl }
@@ -138,11 +136,11 @@
\msg_error:nnn {kantlipsum} {already-defined} {#1}
}
{
- \tl_set:Nx \l_tmpa_tl { \seq_item:Nn \g__kgl_pars_seq {#2} }
+ \tl_set:Ne \l_tmpa_tl { \seq_item:Nn \g__kgl_pars_seq {#2} }
\tl_if_novalue:nTF {#4}
{ \__kgl_extract:nnV {#3} {#3} \l_tmpa_tl }
{ \__kgl_extract:nnV {#3} {#4} \l_tmpa_tl }
- \cs_new:Npx #1 { \l_tmpa_tl }
+ \cs_new:Npe #1 { \l_tmpa_tl }
}
}
\cs_new_protected:Nn \__kgl_extract:nnn
@@ -149,12 +147,12 @@
{
\seq_set_split:Nnn \l__kgl_sentences_seq { . } {#3}
\seq_clear:N \l_tmpa_seq
- \seq_indexed_map_inline:Nn \l__kgl_sentences_seq
+ \seq_map_indexed_inline:Nn \l__kgl_sentences_seq
{
\int_compare:nT { #1 <= ##1 <= #2 }
{\seq_put_right:Nn \l_tmpa_seq { ##2 } }
}
- \tl_set:Nx \l_tmpa_tl { \seq_use:Nn \l_tmpa_seq { .~ }. }
+ \tl_set:Ne \l_tmpa_tl { \seq_use:Nn \l_tmpa_seq { .~ }. }
}
\cs_generate_variant:Nn \__kgl_extract:nnn { nnV }
\group_begin:
@@ -3231,9 +3229,9 @@
\__kgl_newword:n {duck}
\__kgl_newword:n {Kant}
\group_end:
-\msg_info:nnx {kantlipsum} {how-many}
+\msg_info:nne {kantlipsum} {how-many}
{ \int_eval:n {\seq_count:N \g__kgl_pars_seq} }
-%% Copyright (C) 2011-2019 by
+%% Copyright (C) 2011-2023 by
%% Enrico Gregorio
%% enrico DOT gregorio AT univr DOT it
%%
More information about the tex-live-commits
mailing list.