summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgfplots/numtable/pgfplotstable.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/numtable/pgfplotstable.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgfplots/numtable/pgfplotstable.code.tex16
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
}%