summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/generic/pst-plot/Changes2
-rw-r--r--Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdfbin1202217 -> 1271317 bytes
-rw-r--r--Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex20
3 files changed, 18 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-plot/Changes b/Master/texmf-dist/doc/generic/pst-plot/Changes
index a47e13f871a..f2000c6d5f7 100644
--- a/Master/texmf-dist/doc/generic/pst-plot/Changes
+++ b/Master/texmf-dist/doc/generic/pst-plot/Changes
@@ -1,4 +1,6 @@
----- pst-plot.tex
+1.94 2022-11-21 - added option outDelimiter, preset to \space, for
+ \psReadDataColumn
1.93 2021-09-23 - dont't use function names from pstricks.pro
for own use NArray->NArray@i
- fix for LSM plots; needs gsave .. grestore
diff --git a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf
index 1d763d0fe20..97a7d267426 100644
--- a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex b/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex
index a426f7fb51f..db9d77127ca 100644
--- a/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex
+++ b/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex
@@ -23,8 +23,8 @@
\ifx\PSTFPloaded\endinput\else \input pst-fp.tex \fi
\ifx\MultidoLoaded\endinput\else \input multido.tex \fi
%
-\def\fileversion{1.93}
-\def\filedate{2021/09/23}
+\def\fileversion{1.94}
+\def\filedate{2022/11/21}
\message{ v\fileversion, \filedate\space (tvz,hv)}
%
\edef\TheAtCode{\the\catcode`\@}
@@ -161,6 +161,11 @@ D\space##1%
\psset{#1}%
\psreadDataColumn@ii
}
+
+\define@key[psset]{pst-plot}{outDelimiter}[\space]{\def\ps@OutDelimiter{#1}}
+\psset[pst-plot]{outDelimiter=\space}
+
+
\def\psreadDataColumn@ii#1#2#3#4{% #1:column #2:delimiter #3:\result #4:data file
\immediate\openin\RCD@file=#4\relax
\global\let#3=\@empty
@@ -181,8 +186,15 @@ D\space##1%
\if\reserved@a#2\relax% delimiter?
\advance\@tempcnta \m@ne
\ifnum \@tempcnta=\z@
- \expandafter\g@addto@macro\expandafter#3\expandafter{\reserved@b\space}%
- \@tempswatrue
+ \if$\reserved@b$\else
+ \if$#3$ % no value saved
+ \xdef#3{\reserved@b}%
+ \else
+ \xdef#3{#3\expandafter\ps@OutDelimiter\reserved@b}%
+% \expandafter\g@addto@macro\expandafter#3\expandafter{\expandafter\ps@OutDelimiter\reserved@b}%
+ \fi
+ \@tempswatrue
+ \fi
\fi
\def\reserved@b{}% ???
\else