texlive[45112] Master/texmf-dist: pst-func (24aug17)

commits+karl at tug.org commits+karl at tug.org
Thu Aug 24 23:59:35 CEST 2017


Revision: 45112
          http://tug.org/svn/texlive?view=revision&revision=45112
Author:   karl
Date:     2017-08-24 23:59:34 +0200 (Thu, 24 Aug 2017)
Log Message:
-----------
pst-func (24aug17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/pst-func/Changes
    trunk/Master/texmf-dist/doc/generic/pst-func/README.md
    trunk/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf
    trunk/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex
    trunk/Master/texmf-dist/tex/generic/pst-func/pst-func.tex
    trunk/Master/texmf-dist/tex/latex/pst-func/pst-func.sty

Modified: trunk/Master/texmf-dist/doc/generic/pst-func/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-func/Changes	2017-08-24 21:59:19 UTC (rev 45111)
+++ trunk/Master/texmf-dist/doc/generic/pst-func/Changes	2017-08-24 21:59:34 UTC (rev 45112)
@@ -1,4 +1,7 @@
 ..... pst-func.tex
+0.88  2017-08-24  - use always URW fonts instead of PostScript, 
+                    eg Helvetica->NimbusSanL
+0.87a 2017-08-17  - added \RequirePackage for pst-func.sty
 0.87  2017-08-03  - modified algorithm for the distributions
 0.86  2017-06-21  - allow alternating colors for bars
 0.85  2017-04-18  - allow framing of function values (ts)

Modified: trunk/Master/texmf-dist/doc/generic/pst-func/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-func/README.md	2017-08-24 21:59:19 UTC (rev 45111)
+++ trunk/Master/texmf-dist/doc/generic/pst-func/README.md	2017-08-24 21:59:34 UTC (rev 45112)
@@ -28,11 +28,14 @@
 - psVolume (rotating f(x) around the x-axis)
 - psPrintValue
 
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN archives
+%% in directory macros/latex/base/lppl.txt.
 
 Save the files pst-func.sty|pro|tex in a directory, which is part of your 
 local TeX tree. The pro file should go into $TEXMF/dvips/pstricks/
 Then do not forget to run texhash to update this tree.
-For more information  see the documentation of your LATEX distribution 
+For more information  see the documentation of your TeX distribution 
 on installing packages into your local TeX system or read the 
 TeX Frequently Asked Questions:
 (http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages).
@@ -42,6 +45,7 @@
 CTAN server, http://mirror.ctan.org
 
 PSTricks is PostScript Tricks, the documentation cannot be run
-with pdftex, use the sequence latex->dvips->ps2pdf.
+with pdftex, use the sequence latex->dvips->ps2pdf or
+pdflatex with package auto-pst-pdf or xelatex.
 
 %% $Id: README 897 2014-03-21 08:06:41Z herbert $

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

Modified: trunk/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex	2017-08-24 21:59:19 UTC (rev 45111)
+++ trunk/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex	2017-08-24 21:59:34 UTC (rev 45112)
@@ -2264,7 +2264,7 @@
 The data of an implicit plot can be written into an external file for further purposes.
 Use the optional argument \Lkeyword[pstricks-add]{saveData} to write the $x|y$ values
 into the file \nxLcs{jobname.data}. The file name can be changed with
-the keyword {\Lkeyword[pstricks-add]{filename}. When running a \TeX\ file from within a GUI
+the keyword \Lkeyword[pstricks-add]{filename}. When running a \TeX\ file from within a GUI
 it may be possible that you get a writeaccess error from GhostScript, because it prevents writing
 into a file when called from another program. In this case run GhostScript on the \PS-output from
 the command line.

Modified: trunk/Master/texmf-dist/tex/generic/pst-func/pst-func.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-func/pst-func.tex	2017-08-24 21:59:19 UTC (rev 45111)
+++ trunk/Master/texmf-dist/tex/generic/pst-func/pst-func.tex	2017-08-24 21:59:34 UTC (rev 45112)
@@ -31,8 +31,8 @@
 % interface to the `xkeyval' package
 \pst at addfams{pst-func}
 %
-\def\fileversion{0.87}
-\def\filedate{2017/08/03}
+\def\fileversion{0.88}
+\def\filedate{2017/08/24}
 \message{`PST-func' v\fileversion, \filedate\space (hv)}
 %
 \pstheader{pst-func.pro}
@@ -387,11 +387,11 @@
   \end at OpenObj%
 }
 %
-\define at key[psset]{pst-func}{PSfont}[Times-Roman]{\def\psk at PSfont{/#1 }}
+\define at key[psset]{pst-func}{PSfont}[NimbusRomNo9L-Regu]{\def\psk at PSfont{/#1 }}
 \define at key[psset]{pst-func}{valuewidth}[10]{\pst at getint{#1}\psk at valuewidth }
 \define at key[psset]{pst-func}{fontscale}[10]{\pst at checknum{#1}\psk at fontscale }
 \define at key[psset]{pst-func}{decimals}[-1]{\pst at getint{#1}\psk at decimals }
-\psset[pst-func]{PSfont=Times-Roman,fontscale=10,valuewidth=10,decimals=-1}
+\psset[pst-func]{PSfont=NimbusRomNo9L-Regu,fontscale=10,valuewidth=10,decimals=-1}
 %
 \def\psPrintValue{\pst at object{psPrintValue}}
 \def\psPrintValue at i#1{\expandafter\psPrintValue at ii#1,,\@nil}
@@ -398,7 +398,7 @@
 \def\psPrintValue at ii#1,#2,#3\@nil{%  #1,#2 only for algebraic code
   \begin at SpecialObj
   \addto at pscode{
-     gsave \psk at PSfont findfont \psk at fontscale scalefont setfont
+     gsave \psk at PSfont\space findfont \psk at fontscale scalefont setfont
      \ifPst at algebraic
        /x #1 def
        /Func (#2) tx at AlgToPs begin AlgToPs end cvx def
@@ -422,9 +422,9 @@
 \def\psPrintValueNew at ii#1,#2,#3\@nil{%  #1,#2 only for algebraic code
   \begin at SpecialObj
   \addto at pscode{  %		thanks to Buddy Ledger
-     /mfont { \psk at PSfont findfont \psk at fontscale scalefont setfont } bind def
-     /mfontexp { \psk at PSfont findfont \psk at fontscale 1.2 div scalefont setfont } bind def
-     /s1 { /Symbol findfont \psk at fontscale scalefont setfont } bind def
+     /mfont { \psk at PSfont\space findfont \psk at fontscale scalefont setfont } bind def
+     /mfontexp { \psk at PSfont\space findfont \psk at fontscale 1.2 div scalefont setfont } bind def
+     /s1 { /StandardSymL findfont \psk at fontscale scalefont setfont } bind def
      \ifPst at algebraic
         /x #1 def
         /Func (#2) tx at AlgToPs begin AlgToPs end cvx def
@@ -636,7 +636,7 @@
         /toggle toggle not def
       \fi
       \ifPst at printValue
-        gsave \psk at PSfont findfont \psk at fontscale scalefont setfont \pst at usecolor\psk at LabelColor %
+        gsave \psk at PSfont\space findfont \psk at fontscale scalefont setfont \pst at usecolor\psk at LabelColor %
         Y \psFunc at PrintVLimit le { () } { Y \psk at valuewidth\space string cvs } ifelse
         \ifPst at comma dot2comma \fi
         k scx \psk at fontscale 2 div add \psFunc at xlabelsep scx add
@@ -692,7 +692,7 @@
           \ifPst at markZeros x scx 0 L \fi %
         } ifelse
       \ifPst at printValue
-        gsave \psk at PSfont findfont \psk at fontscale scalefont setfont \pst at usecolor\psk at LabelColor %
+        gsave \psk at PSfont\space findfont \psk at fontscale scalefont setfont \pst at usecolor\psk at LabelColor %
         y \psk at valuewidth string cvs %/Output exch def
         \ifPst at comma dot2comma \fi      % do we have to change dot to comma
         x dx sub scx \psk at fontscale 2 div add \psFunc at xlabelsep scx add
@@ -831,7 +831,7 @@
       { k scx F Y sub scy moveto k scx F scy L \pst at usecolor\pslinecolor [3 2] 0 setdash stroke } ifelse
      \fi\fi\fi
       \ifPst at printValue
-        gsave \psk at PSfont findfont \psk at fontscale scalefont setfont \pst at usecolor\psk at LabelColor %
+        gsave \psk at PSfont\space findfont \psk at fontscale scalefont setfont \pst at usecolor\psk at LabelColor %
         Y \psFunc at PrintVLimit le { () } { F \psk at valuewidth\space string cvs } ifelse
         \ifPst at comma dot2comma \fi
         k scx \psk at fontscale 2 div add \psFunc at xlabelsep scx add
@@ -963,7 +963,7 @@
       { k scx FS Y add scy moveto k scx FS scy L \pst at usecolor\pslinecolor [3 2] 0 setdash stroke } ifelse
      \fi\fi\fi
       \ifPst at printValue
-        gsave \psk at PSfont findfont \psk at fontscale scalefont setfont \pst at usecolor\psk at LabelColor %
+        gsave \psk at PSfont\space findfont \psk at fontscale scalefont setfont \pst at usecolor\psk at LabelColor %
         Y \psFunc at PrintVLimit le { () } { FS \psk at valuewidth\space string cvs } ifelse
          \ifPst at comma dot2comma \fi
         k 0.1 add scx \psk at fontscale 2 div add \psFunc at xlabelsep scx add
@@ -1105,7 +1105,7 @@
       kOld scx Y scy L k dx add scx Y scy L
       \ifPst at markZeros k dx add scx 0 L \fi
       \ifPst at printValue
-        gsave \psk at PSfont findfont \psk at fontscale scalefont setfont
+        gsave \psk at PSfont\space findfont \psk at fontscale scalefont setfont
         Y \psk at valuewidth string cvs %/Output exch def
         \ifPst at comma dot2comma \fi         % do we have to change dot to comma
         k scx \psk at fontscale 2 div add
@@ -1335,7 +1335,7 @@
     add
   } for
   2 mul 1 sub neg % triangle area divided by the area under the polygon
-  \psk at PSfont findfont \psk at fontscale scalefont setfont
+  \psk at PSfont\space findfont \psk at fontscale scalefont setfont
   \psk at decimals -1 gt { 10 \psk at decimals exp dup 3 1 roll mul cvi exch div } if
   \psk at valuewidth string cvs %/Output exch def % save output
   \ifPst at comma dot2comma \fi      % do we have to change dot to comma
@@ -1389,7 +1389,7 @@
     add
   } for
   2 mul 1 sub neg % triangle area divided by the area under the polygon
-  \psk at PSfont findfont \psk at fontscale scalefont setfont
+  \psk at PSfont\space findfont \psk at fontscale scalefont setfont
   \psk at decimals -1 gt { 10 \psk at decimals exp dup 3 1 roll mul cvi exch div } if
   \psk at valuewidth string cvs %/Output exch def % save output
   \ifPst at comma dot2comma \fi      % do we have to change dot to comma
@@ -1726,7 +1726,7 @@
 % (#1,#2) Intervall f\"{u}r die Nullstelle, bzw #1 Startwert f\"{u}r Newton, #3 1. Funktion, #4 2. Funktion, #5 Knotenname
  \begingroup
  \pst at killglue
-  \addbefore at par{framesep=1pt}%fontscale=40,PSfont=Times-Roman}%
+  \addbefore at par{framesep=1pt}%fontscale=40,PSfont=NimbusRomNo9L-Regu}%
  \use at par
  \pst at Verb{
    /FunctionA
@@ -1770,9 +1770,9 @@
 \ifPst at onlyNode\else
   /dec \psk at decimals\space def   % Anzahl der Dezimahlen f\"{u}r x
   /ydec \psk at ydecimals\space def % Anzahl der Dezimalen f\"{u}r y
-  /symb { /Symbol findfont \psk at fontscale\space scalefont setfont } bind def             % Symbolschrift f\"{u}r Klammer und senkrechten Strich
-  /schrift { \psk at PSfont findfont \psk at fontscale scalefont setfont } bind def            % Schrift f\"{u}r die Ergebnisse
-  /TiefSchrift { /Symbol findfont \psk at fontscale 1.8 div scalefont setfont } bind def    % Schrift f\"{u}r tiefergestellte Buchstaben
+  /symb { /StandardSymL findfont \psk at fontscale\space scalefont setfont } bind def             % Symbolschrift f\"{u}r Klammer und senkrechten Strich
+  /schrift { \psk at PSfont\space findfont \psk at fontscale scalefont setfont } bind def            % Schrift f\"{u}r die Ergebnisse
+  /TiefSchrift { /StandardSymL findfont \psk at fontscale 1.8 div scalefont setfont } bind def    % Schrift f\"{u}r tiefergestellte Buchstaben
   /spdx \psk at fontscale 4 div def % Abstand, der mit der Schriftg\"{o}{\ss}e skaliert ist
   /spdy \psk at fontscale 15 div def % Abstand, der mit der Schriftg\"{o}{\ss}e skaliert ist
   /Wert { dec -1 le { /dec 15 def } if 10 dec exp mul round 10 dec exp div dec 0 eq { cvi 15 string cvs } { 15 string cvs } ifelse % x-Wert runden und als string ablegen

Modified: trunk/Master/texmf-dist/tex/latex/pst-func/pst-func.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pst-func/pst-func.sty	2017-08-24 21:59:19 UTC (rev 45111)
+++ trunk/Master/texmf-dist/tex/latex/pst-func/pst-func.sty	2017-08-24 21:59:34 UTC (rev 45112)
@@ -1,12 +1,16 @@
 \RequirePackage{pstricks}
-\ProvidesPackage{pst-func}[2013/06/03 package wrapper for 
-  pst-func.tex (hv)]
+\ProvidesPackage{pst-func}[2017/08/17 package wrapper for pst-func.tex (hv)]
+\RequirePackage{pst-plot}
+\RequirePackage{pst-math}
+\RequirePackage{pst-tools}
+\RequirePackage{pstricks-add}
+\RequirePackage{pst-xkey}
+%
 \input{pst-func.tex}
 \ProvidesFile{pst-func.tex}
   [\filedate\space v\fileversion\space `PST-func' (hv)]
 \IfFileExists{pst-func.pro}{%
-  \ProvidesFile{pst-func.pro}
-    [2014/05/07 v. 0.16,  PostScript prologue file (hv)]
+  \ProvidesFile{pst-func.pro}[2014/05/07 v. 0.16,  PostScript prologue file (hv)]
 \@addtofilelist{pst-func.pro}}{}%
 \endinput
 %% $Id: pst-func.sty 918 2014-05-19 12:32:37Z herbert $



More information about the tex-live-commits mailing list