diff options
author | Karl Berry <karl@freefriends.org> | 2010-05-17 16:12:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-05-17 16:12:12 +0000 |
commit | e679d4dd811dedc2b164b4ec19ba8053b2cae3ad (patch) | |
tree | bbfc44f50886004ddca2edf17e0a2d28d72076b6 /Master/texmf-dist/tex/latex/spreadtab | |
parent | 385d87ea2dbe2f0f93ca4178af74997a5e0fdf12 (diff) |
spreadtab update (16may10)
git-svn-id: svn://tug.org/texlive/trunk@18315 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/spreadtab')
-rw-r--r-- | Master/texmf-dist/tex/latex/spreadtab/spreadtab.sty | 34 |
1 files changed, 23 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/spreadtab/spreadtab.sty b/Master/texmf-dist/tex/latex/spreadtab/spreadtab.sty index 0b99176c0e3..3b82d43ee65 100644 --- a/Master/texmf-dist/tex/latex/spreadtab/spreadtab.sty +++ b/Master/texmf-dist/tex/latex/spreadtab/spreadtab.sty @@ -1,9 +1,9 @@ % ____________________________________________________________________________ % | | % | | -% | spreadtab v0.3 | +% | spreadtab v0.3a | % | | -% | March 28, 2010 | +% | May 15, 2010 | % | | % |___________________________________________________________________________| % @@ -37,15 +37,15 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%% Définitions préalables %%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand\ST@ver {0.3} -\newcommand\ST@date {2010/03/28} -\newcommand\ST@fr@date {28 mars 2010} -\newcommand\ST@eng@date{March $28^\text{th}$ 2010} +\newcommand\ST@ver {0.3a} +\newcommand\ST@date {2010/05/15} +\newcommand\ST@fr@date {15 mai 2010} +\newcommand\ST@eng@date{May $15^\text{th}$ 2010} \ProvidesPackage{spreadtab}[\ST@date\space v\ST@ver\space Spreadsheet features for table environments] \NeedsTeXFormat{LaTeX2e} \RequirePackage{fp}% pour les calculs scientifiques -\RequirePackage{xstring}[2010/03/28]% version nécessaire +\RequirePackage{xstring}[2010/0/28]% version nécessaire \newcount\ST@count \newcount\ST@colcount @@ -201,7 +201,14 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%% Macros de manipulation de chaines %%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\def\ST@gobble@remain#1\relax{} +\def\ST@gobble@remain{% + \afterassignment\ST@gobble@remain@i + \let\ST@toks= +} + +\def\ST@gobble@remain@i{% + \unless\ifx\ST@toks\relax\expandafter\ST@gobble@remain\fi +} \newcommand\ST@splitatfirstcar[3]{% \def\ST@splitatfirstcar@i##1##2\@nil{\def#2{##1}\def#3{##2}}% @@ -440,7 +447,7 @@ }% \noexploregroups \unless\ifnum\csname code@\number\ST@colcount @\number\ST@rowcount\endcsname=\z@% si le code est <> 0 - \ST@try@calc@cell(\number\ST@colcount,\number\ST@rowcount)% on essaie de calculer la cellule en cours + \ST@try@calc@cell(\number\ST@colcount,\number\ST@rowcount)% on essaie de calculer la cellule en cours TODO : bug \fi \ST@letname{text@\number\ST@colcount @\number\ST@rowcount}\ST@current@cell \unless\ifx\@empty\ST@multicol@number% si c'est une cellule qui contient \multicolumn @@ -1063,7 +1070,7 @@ \let\ST@function@namefound\@empty\let\ST@function@argfound\@empty \let\ST@function@namefound@\@empty\let\ST@function@argfound@\@empty \let\ST@tempfunc#1% - \ST@find@first@func@i + \ST@find@first@func@i } \newcommand\ST@find@first@func@i{% @@ -1105,7 +1112,7 @@ \edef\ST@openbrace@catcode{\number\catcode`\(}\edef\ST@closebrace@catcode{\number\catcode`\)}% \catcode`\(1 \catcode`\)2 \everyeof{\relax}\endlinechar\m@ne - \afterassignment\ST@gobble@remain + \afterassignment\ST@gobble@remain% TODO bug \expandafter\def\expandafter#2\scantokens\expandafter{#1}% \catcode`\(\ST@openbrace@catcode\catcode`\)\ST@closebrace@catcode \def\ST@assignarg##1\relax{\def#2{##1}}% @@ -1851,6 +1858,11 @@ v0.3 2010/03/28 de \@xs@afterinteger lorsqu'on appelle \IfInteger 8 Correction d'un bug dans \ST@build@tab@i pour prendre en compte les cellules de code 0 dans lesquelles ":=" doit être supprimé +------------------------------------------------------------------------------- +v0.3a 2010/05/15 + 1 Correction d'un bug dans \ST@gobble@remain : ce qui reste à manger peut + contenir des tokens de catcode 1 ou 2 ce qui fait que l'utilisation + d'arguments délimités ne fonctionnerait pas dans ces cas. ############################################################################### # TODO list # ############################################################################### |