summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-11-21 21:30:14 +0000
committerKarl Berry <karl@freefriends.org>2023-11-21 21:30:14 +0000
commit8f7f354ef6f6ffca87151344ba8315e0e76e3bec (patch)
tree57e78f73dd08ab6e95976679c3c183b002de7448 /Master/texmf-dist
parentb4e3a97df4966ea9fce5cf72fcb082a29e8b5830 (diff)
kantlipsum (21nov23)
git-svn-id: svn://tug.org/texlive/trunk@68927 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/kantlipsum/README.md9
-rw-r--r--Master/texmf-dist/doc/latex/kantlipsum/kantlipsum.pdfbin585715 -> 677247 bytes
-rw-r--r--Master/texmf-dist/source/latex/kantlipsum/kantlipsum.dtx38
-rw-r--r--Master/texmf-dist/source/latex/kantlipsum/kantlipsum.ins61
-rw-r--r--Master/texmf-dist/tex/latex/kantlipsum/kantlipsum.sty26
5 files changed, 31 insertions, 103 deletions
diff --git a/Master/texmf-dist/doc/latex/kantlipsum/README.md b/Master/texmf-dist/doc/latex/kantlipsum/README.md
index 6bfce609d03..344ede9199f 100644
--- a/Master/texmf-dist/doc/latex/kantlipsum/README.md
+++ b/Master/texmf-dist/doc/latex/kantlipsum/README.md
@@ -2,16 +2,13 @@ The kantlipsum package spits out sentences in Kantian style provided
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-2019 Enrico Gregorio
+ Copyright 2011-2023 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
diff --git a/Master/texmf-dist/doc/latex/kantlipsum/kantlipsum.pdf b/Master/texmf-dist/doc/latex/kantlipsum/kantlipsum.pdf
index 297d1eb9416..d58f559606e 100644
--- a/Master/texmf-dist/doc/latex/kantlipsum/kantlipsum.pdf
+++ b/Master/texmf-dist/doc/latex/kantlipsum/kantlipsum.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.dtx b/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.dtx
index 744a8c7f533..9d3faf6bee3 100644
--- a/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.dtx
+++ b/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.dtx
@@ -7,16 +7,13 @@ The kantlipsum package spits out sentences in Kantian style provided
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-2019 Enrico Gregorio
+ Copyright 2011-2023 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
@@ -65,7 +62,7 @@ See http://www.latex-project.org/lppl.txt
---------------------------------------------------------------
\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 @@ This work consists of the file kantlipsum.dtx
\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 @@ This work consists of the file kantlipsum.dtx
%\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 @@ This work consists of the file kantlipsum.dtx
% \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@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 @@ This work consists of the file kantlipsum.dtx
}
\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 @@ This work consists of the file kantlipsum.dtx
\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 @@ This work consists of the file kantlipsum.dtx
{
\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 @@ whole content of philosophy.}
% 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}
%
diff --git a/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.ins b/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.ins
deleted file mode 100644
index 5ab4d563110..00000000000
--- a/Master/texmf-dist/source/latex/kantlipsum/kantlipsum.ins
+++ /dev/null
@@ -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'.
diff --git a/Master/texmf-dist/tex/latex/kantlipsum/kantlipsum.sty b/Master/texmf-dist/tex/latex/kantlipsum/kantlipsum.sty
index ee10f138dfa..55861b7e47d 100644
--- a/Master/texmf-dist/tex/latex/kantlipsum/kantlipsum.sty
+++ b/Master/texmf-dist/tex/latex/kantlipsum/kantlipsum.sty
@@ -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@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,23 +136,23 @@
\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
{
\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 @@ whole content of philosophy.}
\__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
%%