summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-11 01:02:07 +0000
committerKarl Berry <karl@freefriends.org>2010-07-11 01:02:07 +0000
commit03170d5abeac0fc65b591f3177205c770f3220bc (patch)
tree826f7410efb82504bceec2d311140c53edf7a01d /Master/texmf-dist/tex/generic
parenta244b7a21a9c64e40eca4fcbb4c3603abb8e5eba (diff)
texapi update (10jul10)
git-svn-id: svn://tug.org/texlive/trunk@19359 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/texapi/texapi.tex9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/generic/texapi/texapi.tex b/Master/texmf-dist/tex/generic/texapi/texapi.tex
index 11b31c9eadf..8adfb7dfdc7 100644
--- a/Master/texmf-dist/tex/generic/texapi/texapi.tex
+++ b/Master/texmf-dist/tex/generic/texapi/texapi.tex
@@ -4,7 +4,7 @@
% Author: Paul Isambert.
% E-mail: zappathustra AT free DOT fr
% Comments and suggestions are welcome.
-% Date: June 2010.
+% Date: July 2010.
%
\ifx\texapialreadyloaded\somethingtotallyundefined
\else
@@ -16,6 +16,7 @@
\expandafter\endinput
\fi
%
+\def\texapiversion{1.01}
\expandafter\edef\csname pi@restorecatcodes\endcsname{%
\catcode`\noexpand\@=\the\catcode`@\relax
\catcode`\noexpand\_=\the\catcode`_\relax
@@ -509,7 +510,7 @@
\ifnextnospace[{\pi@newfor_create{#1}{#2}{#3}{#4}}
{\pi@newfor_create{#1}{#2}{#3}{#4}[]}%
}
-\let\pi@newfor_pi@nf_tm_\relax
+\letcs{pi@newfor_\detokenize{\pi@nf_tm}_}\relax
\let\pi@nf_tm\pi@terminator
\let\pi@newfor_preloop\emptycs
\long\def\pi@newfor_create#1#2#3#4[#5]{%
@@ -579,7 +580,7 @@
}%
\ifpi@dofor_noempty
\long\defcs{pi@newfor_userdefined:\commandtoname#1}#6#2{%
- \ifcs{pi@newfor_\commandtoname###5_}
+ \ifcs{pi@newfor_\detokenize{###5}_}
{\pi@gobbletoterminator{#4}}%
{\ifemptystring{###5}
{\usecs{pi@newfor_userdefined:\commandtoname#1}#7}
@@ -587,7 +588,7 @@
}%
\else
\long\defcs{pi@newfor_userdefined:\commandtoname#1}#6#2{%
- \ifcs{pi@newfor_\commandtoname###5_}
+ \ifcs{pi@newfor_\detokenize{###5}_}
{\pi@gobbletoterminator{#4}}
{#3\pi@newfor_preloop\pi@newfor_markloop{pi@newfor_userdefined:\commandtoname#1}#7}%
}%