From 55ef49769bfcb8d8d52f1a6c23a38d5d13b64426 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 13 Sep 2010 17:24:04 +0000 Subject: texapi update (20jul10) git-svn-id: svn://tug.org/texlive/trunk@19706 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/generic/texapi/texapi-doc.pdf | Bin 188829 -> 188968 bytes .../texmf-dist/doc/generic/texapi/texapi-doc.tex | 15 +++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/doc/generic') 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 Binary files a/Master/texmf-dist/doc/generic/texapi/texapi-doc.pdf and b/Master/texmf-dist/doc/generic/texapi/texapi-doc.pdf 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} -- cgit v1.2.3