diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-03 23:06:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-03 23:06:54 +0000 |
commit | 36080b5cf06fe9bdde3b1edb30fd795a58e6bf10 (patch) | |
tree | 172e727ca5a42cbd0c2440855dbb81f3a5c2148e /Master/texmf-dist/tex/generic/pgfplots/numtable | |
parent | e27b3d0aaf815fdab1497a0a827998ac044e245d (diff) |
pgfplots update (1apr10)
git-svn-id: svn://tug.org/texlive/trunk@17670 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/numtable')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgfplots/numtable/pgfplotstable.code.tex | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/numtable/pgfplotstable.code.tex b/Master/texmf-dist/tex/generic/pgfplots/numtable/pgfplotstable.code.tex index ef27a7a2728..157f8874691 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/numtable/pgfplotstable.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/numtable/pgfplotstable.code.tex @@ -448,7 +448,7 @@ \pgfkeyslet{/pgfplots/table/@cell content}\pgfplots@glob@TMPa% }% },% - /pgfplots/table/date type/.default={\year/\month/\day}% + /pgfplots/table/date type/.default={\year/\month/\day},% /pgfplots/table/set content/.style={% /pgfplots/table/postproc cell content/.style={% /pgfplots/table/@cell content={#1}% @@ -916,6 +916,8 @@ /pgfplots/table/every even row/.code=, /pgfplots/table/every first row/.code=, /pgfplots/table/every last row/.code=, + /pgfplots/table/postproc cell content/.code=, + /pgfplots/table/preproc cell content/.code=, }, /pgfplots/table/colnames from/.initial=,% for \pgfplotstabletranspose /pgfplots/table/input colnames to/.initial=colnames,% for \pgfplotstabletranspose @@ -1080,7 +1082,7 @@ \pgfplotsutil@ifdefinedui@withsuffix{#1}{@@table@name}{#2}{#3}% }% -% Defines \pgfmathresult to be the number of rows in table #1. +% Defines \pgfmathresult (and now also \pgfplotsretval) to be the number of rows in table #1. % % #1 may be either a loaded table structure (a macro name) or a table % file name. In the latter case, the file will be loaded temporarily. @@ -1101,6 +1103,7 @@ \pgfmath@smuggleone\pgfmathresult \endgroup }% + \let\pgfplotsretval=\pgfmathresult }% % \pgfplotstablesave[<options>]{<\tablename>}{file name} @@ -1176,7 +1179,8 @@ /pgfplots/table/in col sep=space,% % WARNING: you NEED a '%' before '#1': #1,% - outfile={#3}% + /pgfplots/table/include outfiles=false, + /pgfplots/table/outfile={#3}% ]{#2}% }% @@ -1856,7 +1860,7 @@ \def\thepgfplotstableread@curcol{\the\pgfplotstableread@curcol}% \def\thepgfplotstableread@numcols{\the\pgfplotstableread@numcols}% \def\pgfplotstableread@countreset##1{##1=0 }% - \def\pgfplotstableread@countset##1##2{##1=##2 }% + \def\pgfplotstableread@countset##1##2{##1=##2\relax}% \def\pgfplotstableread@countadvance##1{\advance##1 by1 }% \else % don't re-use integers! We have no protecting scopes! @@ -1906,7 +1910,7 @@ % #1: the <\macro> name of the table which is to be copied to global buffers. % #2: the table file name. \def\pgfplotstable@copy@to@globalbuffers#1#2{% - \global\let\pgfplotstable@colnames@glob=#1 + \global\let\pgfplotstable@colnames@glob=#1\relax \c@pgfplotstable@counta=0\relax% \pgfplotslistforeachungrouped\pgfplotstable@colnames@glob\as\pgfplotstable@loc@TMPa{% \def\pgfplotstable@loc@TMPb{% @@ -3199,7 +3203,7 @@ \global\let\pgfplots@glob@TMPb=\pgfplotstable@newcolname \endgroup \ifpgfplotstablecreatecol@isreallynew - \expandafter\pgfplotslistpushback\expandafter{\pgfplots@glob@TMPb}\to#3 + \expandafter\pgfplotslistpushback\expandafter{\pgfplots@glob@TMPb}\to#3% \fi \expandafter\let\csname\string#3@\pgfplots@glob@TMPb\endcsname=\pgfplots@glob@TMPc }% |