texlive[65066] Master/texmf-dist: pst-plot (21nov22)

commits+karl at tug.org commits+karl at tug.org
Mon Nov 21 21:48:08 CET 2022


Revision: 65066
          http://tug.org/svn/texlive?view=revision&revision=65066
Author:   karl
Date:     2022-11-21 21:48:07 +0100 (Mon, 21 Nov 2022)
Log Message:
-----------
pst-plot (21nov22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/pst-plot/Changes
    trunk/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf
    trunk/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex

Modified: trunk/Master/texmf-dist/doc/generic/pst-plot/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-plot/Changes	2022-11-21 11:57:16 UTC (rev 65065)
+++ trunk/Master/texmf-dist/doc/generic/pst-plot/Changes	2022-11-21 20:48:07 UTC (rev 65066)
@@ -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 at i
                   - fix for LSM plots; needs gsave .. grestore    

Modified: trunk/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex	2022-11-21 11:57:16 UTC (rev 65065)
+++ trunk/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex	2022-11-21 20:48:07 UTC (rev 65066)
@@ -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 @@
   \psset{#1}%
   \psreadDataColumn at ii
 }
+
+\define at key[psset]{pst-plot}{outDelimiter}[\space]{\def\ps at OutDelimiter{#1}}
+\psset[pst-plot]{outDelimiter=\space}
+
+
 \def\psreadDataColumn at ii#1#2#3#4{%    #1:column #2:delimiter #3:\result #4:data file
   \immediate\openin\RCD at file=#4\relax
   \global\let#3=\@empty
@@ -181,8 +186,15 @@
       \if\reserved at a#2\relax%                delimiter?
         \advance\@tempcnta \m at ne
         \ifnum \@tempcnta=\z@
-          \expandafter\g at addto@macro\expandafter#3\expandafter{\reserved at b\space}%
-          \@tempswatrue
+          \if$\reserved at b$\else
+            \if$#3$ % no value saved
+              \xdef#3{\reserved at b}%
+            \else
+              \xdef#3{#3\expandafter\ps at OutDelimiter\reserved at b}%
+%              \expandafter\g at addto@macro\expandafter#3\expandafter{\expandafter\ps at OutDelimiter\reserved at b}%
+            \fi
+            \@tempswatrue
+          \fi
         \fi
         \def\reserved at b{}% ???
       \else



More information about the tex-live-commits mailing list.