summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-13 17:24:04 +0000
committerKarl Berry <karl@freefriends.org>2010-09-13 17:24:04 +0000
commit55ef49769bfcb8d8d52f1a6c23a38d5d13b64426 (patch)
tree2388c09f5ae4d0cd1a8c59870631ac674f8436f9 /Master/texmf-dist/doc
parenta2a5d98db8396925801d7f3ea385465f1f633609 (diff)
texapi update (20jul10)
git-svn-id: svn://tug.org/texlive/trunk@19706 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/generic/texapi/texapi-doc.pdfbin188829 -> 188968 bytes
-rw-r--r--Master/texmf-dist/doc/generic/texapi/texapi-doc.tex15
2 files changed, 9 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/generic/texapi/texapi-doc.pdf b/Master/texmf-dist/doc/generic/texapi/texapi-doc.pdf
index 5e98a945220..b5f012612c5 100644
--- a/Master/texmf-dist/doc/generic/texapi/texapi-doc.pdf
+++ b/Master/texmf-dist/doc/generic/texapi/texapi-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/texapi/texapi-doc.tex b/Master/texmf-dist/doc/generic/texapi/texapi-doc.tex
index fcba1d1933b..32fe3753151 100644
--- a/Master/texmf-dist/doc/generic/texapi/texapi-doc.tex
+++ b/Master/texmf-dist/doc/generic/texapi/texapi-doc.tex
@@ -314,7 +314,8 @@ Finally, the following may be a useful indication (added in version 1.01).
\cslist{
\texapiversion
}
-This a macro that holds \texapi's version number. Current: \texapiversion.
+This a macro that holds \texapi's version number.
+The current version is \texapiversion.
\description/
@@ -799,10 +800,11 @@ with a conditional.
\description{Poking at what comes next}
\cslist{
- \nospace/code/
+ \skipspace/code/
}
This gobbles any incoming space, if any, and executes \arg{code}.
Of course it doesn't require there to be any space to work properly.
+(This was called \com\nospace prior to version 1.02.)
\vskip\baselineskip
@@ -813,7 +815,7 @@ variants by doubling the \tcode{f} and/or adding \tcode{nospace}
at the end.
\Example
-\nospace{foo} bar
+\skipspace{foo} bar
\Example/
\cslist{
@@ -987,18 +989,19 @@ These define \comarg\ as \arg{string} without \arg{prefix}
(resp. \arg{suffix}). No test either. Sorry.
\cslist{
- \splitstring/string1//string2//code/
+ \splitstringat/string1//string2//code/
}
This cuts \arg{string2} in two at \arg{string1}'s first occurrence
and passes the two parts as braced arguments to \arg{code}. And,
-again: no test.
+again: no test. (This was called \com\splitstring prior to version
+1.02.)
\Example
\def\record#1 : #2.{%
\par\bgroup
\it\ifprefix*{#1}{\removeprefix*{#1} [live]}{#1}
\egroup
- (\ifcontains/{#2}{\splitstring/{#2}{\dodate}}{#2})
+ (\ifcontains/{#2}{\splitstringat/{#2}{\dodate}}{#2})
}
\def\dodate#1#2{recorded #1, released #2}