texlive[53755] Master/texmf-dist: tokcycle (11feb20)
commits+karl at tug.org
commits+karl at tug.org
Tue Feb 11 23:09:26 CET 2020
Revision: 53755
http://tug.org/svn/texlive?view=revision&revision=53755
Author: karl
Date: 2020-02-11 23:09:26 +0100 (Tue, 11 Feb 2020)
Log Message:
-----------
tokcycle (11feb20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.pdf
trunk/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.tex
trunk/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.pdf
trunk/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.tex
trunk/Master/texmf-dist/tex/generic/tokcycle/tokcycle.tex
Modified: trunk/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.tex 2020-02-11 22:09:05 UTC (rev 53754)
+++ trunk/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.tex 2020-02-11 22:09:26 UTC (rev 53755)
@@ -204,7 +204,7 @@
provided to define new \TokCycle{} environments:
\begin{verbbox}[\vbdelim]
-\tokencycleenvironment\environment_name
+\tokcycleenvironment\environment_name
{<Character processing directive>}
{<Group-content processing directive>}
{<Macro processing directive>}
Modified: trunk/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.tex 2020-02-11 22:09:05 UTC (rev 53754)
+++ trunk/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.tex 2020-02-11 22:09:26 UTC (rev 53755)
@@ -952,7 +952,7 @@
token assignment will apply.
The following example demonstrates this concept, while showing,
- whithout changing the input in any way, that \TokCycle{}
+ without changing the input in any way, that \TokCycle{}
can properly digest active and implicit grouping (cat-1,2) characters:
\begin{exampleA}[lefthand width=8cm]{Active and implicit grouping
Modified: trunk/Master/texmf-dist/tex/generic/tokcycle/tokcycle.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tokcycle/tokcycle.tex 2020-02-11 22:09:05 UTC (rev 53754)
+++ trunk/Master/texmf-dist/tex/generic/tokcycle/tokcycle.tex 2020-02-11 22:09:26 UTC (rev 53755)
@@ -1,7 +1,7 @@
\def\tcname {tokcycle}
-\def\tcver {1.11}
+\def\tcver {1.12}
%
-\def\tcdate {2020/02/04}
+\def\tcdate {2020/02/11}
%
% Author : Steven B Segletes, Christian Tellechea (contributor)
% Maintainer : Steven B Segletes
@@ -46,8 +46,8 @@
\tc at deftok\tc at sptoken{ }
\expandafter\def\expandafter\tc at absorbSpace\space{}
\def\tc at ifempty#1{\tc at testxifx{\expandafter\relax\detokenize{#1}\relax}}
-\def\tc at defx#1#2{\tc at earg{\def\expandafter#1}{#2}}
-\long\def\tc at earg#1#2{\expandafter#1\expandafter{#2}}
+\def\tc at defx#1{\tc at earg{\def\expandafter#1}}
+\long\def\tc at earg#1{\expandafter#1\expandafter}
\long\def\tc at xarg#1#2{\tc at earg#1{\expanded{#2}}}
\long\def\tc at exfirst#1#2{#1}
\long\def\tc at exsecond#1#2{#2}
@@ -136,7 +136,7 @@
\def\tc at trapescape#1{\tctestifx{\@tcEscapeptr#1}}
% TRAP CAT-6
\long\def\trapcatSIX#1{\tctestifcatnx#1\relax{}{\trapcatSIXb#1}}
-\def\trapcatSIXb#1{\tc at earg\tctestifcatnx\sv at hash#1{\catSIXtrue\trapcatSIXc#1}{}}
+\def\trapcatSIXb#1{\expandafter\tctestifcatnx\sv at hash#1{\catSIXtrue\trapcatSIXc#1}{}}
\def\trapcatSIXc#1{\tctestifnum{\count at stringtoks{#1}>1}{\tc at defx\six at str{\string#1}%
\global\let\implicitsixtok\six at str\tc at tok{\implicitsixtok}}%
{\tc at tok\expandafter{\string#1}\tctestifnum{\number\catcode`#1=6}%
@@ -217,4 +217,10 @@
v1.11 2020/02/04
- Fixed bug in \can at absorb@@ macro, which prevented the proper absorption/
- handling of the = token.
\ No newline at end of file
+ handling of the = token.
+
+v1.12 2020/02/11
+ - Documentation correction: \tokcycleenvironment, not \tokencycleenvironment
+ - Documentation correction: misspelling in tokcycle-examples.tex
+ - Redefined \tc at defx and \tc at earg to omit #2 as part of definition
+ - Corrected \trapcatSIXb definition to account for revised \tc at earg definition.
\ No newline at end of file
More information about the tex-live-commits
mailing list.