summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-11 22:09:26 +0000
committerKarl Berry <karl@freefriends.org>2020-02-11 22:09:26 +0000
commit8787fd9a7c1efeb888b0a6df1c353359091d1ab2 (patch)
tree510dc8cceeee6f6e3aa62b286091d5e29f4d61a4
parent1d2f86703b12cd7144620a2cbb2a8f54671fb2fa (diff)
tokcycle (11feb20)
git-svn-id: svn://tug.org/texlive/trunk@53755 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.pdfbin254565 -> 255073 bytes
-rw-r--r--Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.tex2
-rw-r--r--Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.pdfbin258884 -> 258377 bytes
-rw-r--r--Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.tex2
-rw-r--r--Master/texmf-dist/tex/generic/tokcycle/tokcycle.tex18
5 files changed, 14 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.pdf b/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.pdf
index 1d143f75afb..5a86f5c5a2c 100644
--- a/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.pdf
+++ b/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.tex b/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.tex
index 882cea40c95..8614827a24f 100644
--- a/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.tex
+++ b/Master/texmf-dist/doc/generic/tokcycle/tokcycle-doc.tex
@@ -204,7 +204,7 @@ In addition to the above macros/environments, the means is
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>}
diff --git a/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.pdf b/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.pdf
index 34a21e3f68e..8b92d149766 100644
--- a/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.pdf
+++ b/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.tex b/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.tex
index e3b21b10074..0c46129bbd1 100644
--- a/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.tex
+++ b/Master/texmf-dist/doc/generic/tokcycle/tokcycle-examples.tex
@@ -952,7 +952,7 @@ But if the cat-13 active definition is changed prior to the
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
diff --git a/Master/texmf-dist/tex/generic/tokcycle/tokcycle.tex b/Master/texmf-dist/tex/generic/tokcycle/tokcycle.tex
index d0819da2cf2..50b9dd4cc95 100644
--- a/Master/texmf-dist/tex/generic/tokcycle/tokcycle.tex
+++ b/Master/texmf-dist/tex/generic/tokcycle/tokcycle.tex
@@ -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@deftok\tc@sptoken{ }
\expandafter\def\expandafter\tc@absorbSpace\space{}
\def\tc@ifempty#1{\tc@testxifx{\expandafter\relax\detokenize{#1}\relax}}
-\def\tc@defx#1#2{\tc@earg{\def\expandafter#1}{#2}}
-\long\def\tc@earg#1#2{\expandafter#1\expandafter{#2}}
+\def\tc@defx#1{\tc@earg{\def\expandafter#1}}
+\long\def\tc@earg#1{\expandafter#1\expandafter}
\long\def\tc@xarg#1#2{\tc@earg#1{\expanded{#2}}}
\long\def\tc@exfirst#1#2{#1}
\long\def\tc@exsecond#1#2{#2}
@@ -136,7 +136,7 @@
\def\tc@trapescape#1{\tctestifx{\@tcEscapeptr#1}}
% TRAP CAT-6
\long\def\trapcatSIX#1{\tctestifcatnx#1\relax{}{\trapcatSIXb#1}}
-\def\trapcatSIXb#1{\tc@earg\tctestifcatnx\sv@hash#1{\catSIXtrue\trapcatSIXc#1}{}}
+\def\trapcatSIXb#1{\expandafter\tctestifcatnx\sv@hash#1{\catSIXtrue\trapcatSIXc#1}{}}
\def\trapcatSIXc#1{\tctestifnum{\count@stringtoks{#1}>1}{\tc@defx\six@str{\string#1}%
\global\let\implicitsixtok\six@str\tc@tok{\implicitsixtok}}%
{\tc@tok\expandafter{\string#1}\tctestifnum{\number\catcode`#1=6}%
@@ -217,4 +217,10 @@ v1.1 2019/9/27
v1.11 2020/02/04
- Fixed bug in \can@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@defx and \tc@earg to omit #2 as part of definition
+ - Corrected \trapcatSIXb definition to account for revised \tc@earg definition. \ No newline at end of file