summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tokcycle/tokcycle.tex
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 /Master/texmf-dist/tex/generic/tokcycle/tokcycle.tex
parent1d2f86703b12cd7144620a2cbb2a8f54671fb2fa (diff)
tokcycle (11feb20)
git-svn-id: svn://tug.org/texlive/trunk@53755 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tokcycle/tokcycle.tex')
-rw-r--r--Master/texmf-dist/tex/generic/tokcycle/tokcycle.tex18
1 files changed, 12 insertions, 6 deletions
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