texlive[45343] Master/texmf-dist: pstricks (19sep17)

commits+karl at tug.org commits+karl at tug.org
Wed Sep 20 00:07:02 CEST 2017


Revision: 45343
          http://tug.org/svn/texlive?view=revision&revision=45343
Author:   karl
Date:     2017-09-20 00:07:02 +0200 (Wed, 20 Sep 2017)
Log Message:
-----------
pstricks (19sep17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/pstricks/pst-news17.pdf
    trunk/Master/texmf-dist/doc/generic/pstricks/pst-news17.tex
    trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro
    trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
    trunk/Master/texmf-dist/tex/latex/pstricks/pstricks.sty

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

Modified: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news17.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pstricks/pst-news17.tex	2017-09-19 22:06:47 UTC (rev 45342)
+++ trunk/Master/texmf-dist/doc/generic/pstricks/pst-news17.tex	2017-09-19 22:07:02 UTC (rev 45343)
@@ -1,4 +1,4 @@
-%% $Id: pst-news17.tex 545 2017-09-12 18:45:32Z herbert $
+%% $Id: pst-news17.tex 554 2017-09-17 19:04:49Z herbert $
 \documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
     headinclude=false,footinclude=false,twoside]{pst-doc}
 \listfiles
@@ -35,11 +35,16 @@
 \clearpage
 \part{\texttt{pstricks} -- package}
 
-\iffalse
 %--------------------------------------------------------------------------------------
 \section{\texttt{pstricks.sty} -- \texttt{pstricks-pdf.sty}}
 %--------------------------------------------------------------------------------------
+
+There is now a new optional argument for the package: \Loption{psfonts}. If it is
+enabled PSTricks will use the original PostScript fonts like Helvetica, Times, \ldots.
+The default is to use the URW fonts (Nimbus Roman, Nimbus Sans, \ldots) which are embedded by default!
+The PostScript fonts are only embedded if present on your system.
  
+\iffalse
 %--------------------------------------------------------------------------------------
 \section{\texttt{pstricks-pdf.sty}}
 %--------------------------------------------------------------------------------------
@@ -52,13 +57,16 @@
 \fi
 
 %--------------------------------------------------------------------------------------
-\section{\texttt{pstricks.tex} (v. 2.75 -- 2017/08/24)}
+\section{\texttt{pstricks.tex} (v. 2.76 -- 2017/09/17)}
 %--------------------------------------------------------------------------------------
+
+
 \subsection{PostScript Fonts}
-This version of PSTricks uses the Ghostscript fonts from URW instaed of the
-original base 14 fonts of PostScript. For example: instaed of Helvetica we use
+This version of PSTricks uses the Ghostscript fonts from URW instead of the
+original base 14 fonts of PostScript. For example: instead of Helvetica we use
 NimbusSanL-Regu. The URW fonts are always embedded in the created ps or pdf output.
-This is not the default for the PostScript fonts.
+This is not the default for the PostScript fonts. You change this setting with the optional
+argument to \LPack{pstricks.sty}.
 
 
 \subsection{Error message}
@@ -185,6 +193,7 @@
 Now there is a \texttt{PtoC360} for the old definition and a \texttt{PtoC} which now takes
 the setting of \Lcs{pst at angleunit}  into account.
 
+\bigskip
 \begin{LTXexample}[pos=t]
 \degrees[16]
 \begin{pspicture}[showgrid](-2,-2)(2,2)
@@ -192,8 +201,13 @@
 \end{pspicture}
 \end{LTXexample}
 
+The command \Lcs{framed} was build by clockwise line sequence. Now it is the
+other way round to get the same  behaviour as for all other commands
+with closed lines.
 
 
+
+
 \clearpage
 \nocite{*}
 \printbibliography

Modified: trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro
===================================================================
--- trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro	2017-09-19 22:06:47 UTC (rev 45342)
+++ trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro	2017-09-19 22:07:02 UTC (rev 45343)
@@ -1,7 +1,7 @@
-% $Id: pstricks.pro 446 2017-04-19 11:40:55Z herbert $
+% $Id: pstricks.pro 554 2017-09-17 19:04:49Z herbert $
 %
 %% PostScript prologue for pstricks.tex.
-%% Version 1.25, 2017/09/12
+%% Version 1.26, 2017/09/17
 %%
 %% This program can be redistributed and/or modified under the terms
 %% of the LaTeX Project Public License Distributed from CTAN archives
@@ -840,10 +840,14 @@
 %
 /Rect { 
   x1 y1 y2 add 2 div moveto 
+%  x1 y2 lineto 
+%  x2 y2 lineto 
+%  x2 y1 lineto
+%  x1 y1 lineto 
+  x1 y1 lineto  % counter clockwise path
+  x2 y1 lineto 
+  x2 y2 lineto
   x1 y2 lineto 
-  x2 y2 lineto 
-  x2 y1 lineto
-  x1 y1 lineto 
   closepath 
 } def
 %
@@ -977,7 +981,10 @@
   /w x2 x1 sub 0 gt { 1 } { -1 } ifelse def 
   b 0 gt { 
     /z1 b 4 div CLW 2 div add def
-%    /Helvetica findfont b scalefont setfont 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%    Helvetica findfont b scalefont setfont 
+%    is set in pstricks.tex
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
     /b b .95 mul CLW 2 div add def } if 
   systemdict /setstrokeadjust known 
     { true setstrokeadjust /t { } def }

Modified: trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex	2017-09-19 22:06:47 UTC (rev 45342)
+++ trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex	2017-09-19 22:07:02 UTC (rev 45343)
@@ -18,7 +18,7 @@
 \csname PSTricksLoaded\endcsname
 \let\PSTricksLoaded\endinput  
 %
-%% !! loading additional TeX packages see line 105/136 !!
+%% !! loading additional TeX packages see line 105/140 !!
 %% !! loading config file pstricks.con    line 491 !!
 %% !! loading pro files                   line 515 !!
 %% !! fileversion and date see            line 143 !!
@@ -83,7 +83,7 @@
     \else\ifx\@tempc\@tempe \let\@tempd\@tempa \else \let\@tempd\@tempb \fi
     \fi
     \@tempd%
-  }
+  }%
   \begingroup
   \def\:{\global\let\@sptoken= } \:
   \def\:{\@xifnch} \expandafter\gdef\: {\futurelet\@tempc\@ifnch}
@@ -97,7 +97,8 @@
        \expandafter\@fornoop \else
       #4\relax\expandafter\@tforloop\fi#2\@@#3{#4}}
   \long\def\@break at tfor#1\@@#2#3{\csname fi\endcsname\csname fi\endcsname}
-\fi%
+  %\ifx\pst at psfontstrue\@undefined \let\ifpst at psfonts\iffalse\fi  % is defined in pstricks.sty
+\fi
 \catcode`\@=\PstAtCode\relax
 %
 % now we have all commands defined, for TeX and LaTeX
@@ -141,8 +142,8 @@
 \@ifundefined{pgffor at emptyvalues}{\input pgffor.code.tex}{}
 \let\pgfforeach\foreach
 %
-\def\fileversion{2.75a}
-\def\filedate{2017/09/12}
+\def\fileversion{2.76}
+\def\filedate{2017/09/17}
 \pst at addfams{pstricks}
 %
 %\define at boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{}
@@ -515,9 +516,6 @@
 \@ifundefined{pst at def}{\def\pst at def#1<#2>{\@namedef{tx@#1}{#2 }}}{}
 \@ifundefined{pst at ATH}{\def\pst at ATH<#1>{}}{}
 %
-%\ifPst at useURWfonts
-%  \pstheader{pstricks-fonts.pro}
-%\fi
 \pstheader{pstricks.pro}
 \pstheader{pst-algparser.pro}
 \pstheader{pst-tools.pro}
@@ -1092,18 +1090,16 @@
   \fi\fi}
 %
 \def\special at length#1#2\@nil#3{%
-  \psDEBUG[special at length]{ #1|#2|#3 }%
   \ifx !#1\relax
     \edef\pst at SpecialLength{ #2 \pst at number\psunit mul }%
-    \Pst at SpecialLengthtrue%
-    \psDEBUG[special at length]{ Special length: \pst at SpecialLength}%
+    \Pst at SpecialLengthtrue
   \else
     \let\@psunit\psunit
     \afterassignment\pstunit at off
-    #3 #1#2\@psunit%
-    \Pst at SpecialLengthfalse%
-  \psDEBUG[special at length]{ Normal length: \the#3 }%
-  \fi}
+    #3 #1#2\@psunit
+    \Pst at SpecialLengthfalse
+  \fi
+}
 %
 \def\Cartesian{%
   \def\cartesian at coor##1,##2,##3\@nil{%
@@ -1128,14 +1124,14 @@
 \def\psk at origin{}
 %
 \define at boolkey[psset]{pstricks}[Pst@]{algebraic}[true]{}
-\psset%[pstricks]
-{algebraic=false}
+\psset{algebraic=false}
 %
-\define at boolkey[psset]{pstricks}[]{swapaxes}[true]{%			\if at pst
+\define at boolkey[psset]{pstricks}[]{swapaxes}[true]{%	\if at pst
   \@nameuse{@pst#1}%
   \if at pst\def\psk at swapaxes{-90 rotate -1 1 scale }%
   \else\def\psk at swapaxes{}%
-  \fi}
+  \fi
+}
 \psset[pstricks]{swapaxes=false}
 %
 \define at boolkey[psset]{pstricks}[]{showpoints}[true]{}
@@ -2871,7 +2867,11 @@
 \psset[pstricks]{subgriddiv=5}
 %
 \define at key[psset]{pstricks}{gridfont}[NimbusSanL-Regu]{\def\psk at gridfont{/#1 }}%   hv 2007-11-13
-\psset[pstricks]{gridfont=NimbusSanL-Regu}
+\ifpst at psfonts
+  \psset[pstricks]{gridfont=Helvetica}%
+\else
+  \psset[pstricks]{gridfont=NimbusSanL-Regu}%
+\fi
 %
 \define at key[psset]{pstricks}{gridlabels}[10pt]{\pst at getlength{#1}\psk at gridlabels}
 \psset[pstricks]{gridlabels=10pt}

Modified: trunk/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pstricks/pstricks.sty	2017-09-19 22:06:47 UTC (rev 45342)
+++ trunk/Master/texmf-dist/tex/latex/pstricks/pstricks.sty	2017-09-19 22:07:02 UTC (rev 45343)
@@ -1,4 +1,4 @@
-% $Id: pstricks.sty 545 2017-09-12 18:45:32Z herbert $
+% $Id: pstricks.sty 554 2017-09-17 19:04:49Z herbert $
 %%
 %% This is file `pstricks.sty'.
 %%
@@ -17,7 +17,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 
-\ProvidesPackage{pstricks}[2017/07/16 v0.64 LaTeX wrapper for `PSTricks' (RN,HV)]
+\ProvidesPackage{pstricks}[2017/09/17 v0.65 LaTeX wrapper for `PSTricks' (RN,HV)]
 % 
 \def\documentclass{%
   \edef\@tempa{\jobname.tex }%
@@ -40,7 +40,9 @@
 %---------------------------------DISTILLER --------------------------------
 \newif\ifpst at distiller\pst at distillerfalse
 \DeclareOption{distiller}{\pst at distillertrue}
-
+%
+\newif\ifpst at psfonts\pst at psfontsfalse
+\DeclareOption{psfonts}{\pst at psfontstrue}
 %---------------------------------COLOR --------------------------------
 \DeclareOption{monochrome}{%
   \AtBeginDocument{\special{ps:



More information about the tex-live-commits mailing list