diff options
author | Karl Berry <karl@freefriends.org> | 2010-07-11 01:02:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-07-11 01:02:07 +0000 |
commit | 03170d5abeac0fc65b591f3177205c770f3220bc (patch) | |
tree | 826f7410efb82504bceec2d311140c53edf7a01d | |
parent | a244b7a21a9c64e40eca4fcbb4c3603abb8e5eba (diff) |
texapi update (10jul10)
git-svn-id: svn://tug.org/texlive/trunk@19359 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/generic/texapi/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/texapi/texapi-doc.pdf | bin | 188234 -> 188829 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/texapi/texapi-doc.tex | 13 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/texapi/texapi.tex | 9 |
4 files changed, 17 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/generic/texapi/README b/Master/texmf-dist/doc/generic/texapi/README index 83581ee38ba..c92eb7e27b5 100644 --- a/Master/texmf-dist/doc/generic/texapi/README +++ b/Master/texmf-dist/doc/generic/texapi/README @@ -2,7 +2,7 @@ This is the README file for the texapi package. Author: Paul Isambert. E-mail: zappathustra AT free DOT fr Comments and suggestions are welcome. -Date: June 2010. +Date: July 2010. The package is set of macros to write format-independent (and -aware) packages. diff --git a/Master/texmf-dist/doc/generic/texapi/texapi-doc.pdf b/Master/texmf-dist/doc/generic/texapi/texapi-doc.pdf Binary files differindex f0ca5546c18..5e98a945220 100644 --- a/Master/texmf-dist/doc/generic/texapi/texapi-doc.pdf +++ b/Master/texmf-dist/doc/generic/texapi/texapi-doc.pdf diff --git a/Master/texmf-dist/doc/generic/texapi/texapi-doc.tex b/Master/texmf-dist/doc/generic/texapi/texapi-doc.tex index b50b850f928..fcba1d1933b 100644 --- a/Master/texmf-dist/doc/generic/texapi/texapi-doc.tex +++ b/Master/texmf-dist/doc/generic/texapi/texapi-doc.tex @@ -9,7 +9,7 @@ author = "Paul Isambert" title = \texapi pdftitle = TeXapi - version = 1.0 % hopefully... + version = \texapiversion date = "\the\month/\the\day/\the\year" subject = "The TeXapi documentation." display = outlines @@ -307,6 +307,15 @@ actually), and \csarg, which denotes an argument suitable to \com\csname. Braces are indicated only when mandatory, but of course they can be used to delimit arguments as usual. +\vskip\baselineskip +Finally, the following may be a useful indication (added in version 1.01). + +\vskip-\baselineskip +\cslist{ + \texapiversion + } +This a macro that holds \texapi's version number. Current: \texapiversion. + \description/ @@ -1780,7 +1789,7 @@ strings, and it could very well have handled the Brief Interviews with Hideous Men (1999), Girl with Curious Hair (1989), The Broom of the System (1987), - The Pale King (2011), + The Pale King (2011),% No parasitic space! } David Foster Wallace's books in alphabetical order:\par \passexpanded{\sortbooks\alpha{}}\books \par 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}% }% |