summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-12 23:15:13 +0000
committerKarl Berry <karl@freefriends.org>2011-08-12 23:15:13 +0000
commita1cdf58b410e3210e483fdfda71bfeaf72bf3647 (patch)
tree6210de5d7075dfe87fbafc3955d002761278bdc5 /Master/texmf-dist/tex/latex
parentdad5d555511f1efe4370058c5c49baa1ab19a5bb (diff)
spreadtab (11aug11)
git-svn-id: svn://tug.org/texlive/trunk@23526 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/spreadtab/spreadtab.sty36
1 files changed, 22 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/spreadtab/spreadtab.sty b/Master/texmf-dist/tex/latex/spreadtab/spreadtab.sty
index b7bfbfba56a..6a3cd0c0760 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.4 |
+% | spreadtab v0.4a |
% | |
-% | 4 July 2011 |
+% | 11 August 2011 |
% | |
% |___________________________________________________________________________|
%
@@ -37,10 +37,10 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%% D\'efinitions pr\'ealables %%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand\ST@ver {0.4}
-\newcommand\ST@date {2011/07/04}
-\newcommand\ST@fr@date {4 juillet 2011}
-\newcommand\ST@eng@date{4 July 2011}
+\newcommand\ST@ver {0.4a}
+\newcommand\ST@date {2011/08/10}
+\newcommand\ST@fr@date {11 ao\^ut 2011}
+\newcommand\ST@eng@date{11 August 2011}
\ProvidesPackage{spreadtab}[\ST@date\space v\ST@ver\space Spreadsheet features for table environments]
\NeedsTeXFormat{LaTeX2e}
@@ -361,7 +361,12 @@
}%
\relax
\ST@search@hline% on va purger les hlines et les mettre dans la fin de ligne
- \ifx\ST@tab\@empty\let\ST@next@readrows\relax\edef\ST@total@rownumber{\number\ST@rowcount}\else\let\ST@next@readrows\ST@read@tab@i\fi
+ \ifx\ST@tab\@empty
+ \let\ST@next@readrows\relax
+ \edef\ST@total@rownumber{\number\ST@rowcount}%
+ \else
+ \let\ST@next@readrows\ST@read@tab@i
+ \fi
}%
{\let\ST@current@row\ST@tab% plus de ligne ? on prend le tout c-\'a-d la ligne incompl\`ete qui finit le tableau
\let\ST@next@readrows\relax
@@ -496,7 +501,7 @@
\newcommand\ST@search@hline@i{%
\ST@remove@first@spaces\ST@tab% on enl\`eve les espaces au d\'ebut
\StrChar\ST@tab1[\ST@temp@a]% \ST@temp@a est le 1er car
- \let\ST@temp@b\ST@search@hline@i
+ \let\ST@next\ST@search@hline@i
\IfStrEqCase\ST@temp@a{% on envisage tous les cas de trac\'e de ligne horizontale
{\@empty\hline}{\StrGobbleLeft\ST@tab1[\ST@tab]\expandafter\ST@add@tomacro\csname endrow@\number\ST@rowcount\endcsname\hline}%
{\@empty\cline}{\StrSplit\ST@tab2\ST@temp@a\ST@tab\expandafter\ST@expadd@tomacro\csname endrow@\number\ST@rowcount\endcsname\ST@temp@a}%
@@ -532,8 +537,8 @@
}%
{\@empty\morecmidrules}{\StrGobbleLeft\ST@tab1[\ST@tab]\expandafter\ST@add@tomacro\csname endrow@\number\ST@rowcount\endcsname\morecmidrules}%
{\@empty\specialrule}{\StrSplit\ST@tab4\ST@temp@a\ST@tab\expandafter\ST@expadd@tomacro\csname endrow@\number\ST@rowcount\endcsname\ST@temp@a}%
- }[\let\ST@temp@b\relax]%
- \ST@temp@b
+ }[\let\ST@next\relax]%
+ \ST@next
}
% Cette macro transpose toutes les r\'ef\'erences (absolues et relatives) de la sc #3.
@@ -1080,12 +1085,12 @@
% liste des fonctions dont l'argument est une plage ou est vide
\newcommand\ST@functions@with@range@arg{sum,rand,randint,sumprod}
-% liste des fonctions dont l'argument ne doit pas \^etre calcul\'e
-\newcommand\ST@functions@no@calc@arg{ifeq,ifgt,iflt,gcd,lcm}
-
% liste des fonctions dont l'argument est un texte
\newcommand\ST@functions@with@text@arg{frshortdatetonum,engshortdatetonum,englongdatetonum,frlongdatetonum,scitodec,tag,row,col,cell}
+% liste des fonctions dont l'argument ne doit pas \^etre calcul\'e
+\newcommand\ST@functions@no@calc@arg{ifeq,ifgt,iflt,gcd,lcm}
+
% liste des fonctions dont l'argument est une variable -> il ne faut donc pas aller chercher des r\'ef\'erences dans l'argument
\newcommand\ST@functions@with@assign@argument{tag,row,col,cell}
@@ -2123,4 +2128,7 @@ v0.4 2011/07/04
4 La commande \STeol permet de choisir quel est le marqueur de
fin de ligne dans les tableau de spreadtab
5 dans une cellule mixte, les macro fonctions renvoyant du texte ont leur
- r\'esultat qui prend la place de :={<formule>} \ No newline at end of file
+ r\'esultat qui prend la place de :={<formule>}
+-------------------------------------------------------------------------------
+v0.4a 2011/08/11
+ 1 Un bug corrig\'e dans \ST@search@hline@i \ No newline at end of file