diff options
author | Karl Berry <karl@freefriends.org> | 2015-09-20 22:31:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-09-20 22:31:12 +0000 |
commit | 9280f63533af6460c33dbfcf486a5e5368afed53 (patch) | |
tree | 4d9646df783056a13bfdfe201d510c6fe07c5858 /Master/texmf-dist/tex | |
parent | bf941dd6fd9a67534bf00d114908c151b5fd1606 (diff) |
multiexpand (20sep15)
git-svn-id: svn://tug.org/texlive/trunk@38416 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/multiexpand/multiexpand.sty (renamed from Master/texmf-dist/tex/latex/multiexpand/multiexpand.sty) | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/multiexpand/multiexpand.sty b/Master/texmf-dist/tex/generic/multiexpand/multiexpand.sty index 23ef936a250..7bbad01a38f 100644 --- a/Master/texmf-dist/tex/latex/multiexpand/multiexpand.sty +++ b/Master/texmf-dist/tex/generic/multiexpand/multiexpand.sty @@ -16,13 +16,13 @@ \catcode `\@=11 \gdef \MultiExpand {\romannumeral \multiexpand } \gdef \MultiExpandAfter {\romannumeral \multiexpandafter } -\expandafter\ifx\csname numexpr\endcsname\relax -\long\gdef\multiexpand@gobble#1{} -\gdef\multiexpand{\multiexpand@aux\multiexpand@} -\gdef\multiexpandafter{\multiexpand@aux\multiexpand@after} +\expandafter \ifx \csname numexpr\endcsname \relax +\long \gdef \multiexpand@gobble #1{} +\gdef \multiexpand {\multiexpand@aux \multiexpand@ } +\gdef \multiexpandafter {\multiexpand@aux \multiexpand@after } \long \gdef \multiexpand@aux #1#2% {\expandafter \multiexpand@test \number #2;#1} -\long \gdef \multiexpand@test #1;#2% +\gdef \multiexpand@test #1;#2% {% \ifnum #1>0 \multiexpand@reverse #1{?\multiexpand@reverse@end }?;;#2% @@ -43,11 +43,11 @@ \ifcase #3 \or 0\or 1\or 2\or 3\or 4\or 5\or 6\or 7\or 8\fi #1% } -\gdef\multiexpand@zero#1#2\number1#3\ifcase#4\fi#5% - {#1\multiexpand@iterate#59#31} -\gdef\multiexpand@end#1#2\ifcase#3\fi#4{#10 } -\gdef\multiexpand@#1;{#1\expandafter;} -\gdef\multiexpand@after#1;{#1\expandafter;\expandafter} +\gdef \multiexpand@zero #1#2\number 1#3\ifcase #4\fi #5% + {#1\multiexpand@iterate #59#31} +\gdef \multiexpand@end #1#2\ifcase #3\fi #4{#10 } +\gdef \multiexpand@ #1;{#1\expandafter ;} +\gdef \multiexpand@after #1;{#1\expandafter ;\expandafter } \else \gdef \multiexpand@ #1;% {% |