texlive[45288] Master/texmf-dist: pstricks (14sep17)

commits+karl at tug.org commits+karl at tug.org
Thu Sep 14 00:05:25 CEST 2017


Revision: 45288
          http://tug.org/svn/texlive?view=revision&revision=45288
Author:   karl
Date:     2017-09-14 00:05:24 +0200 (Thu, 14 Sep 2017)
Log Message:
-----------
pstricks (14sep17)

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/pst-doc.cls
    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-13 22:04:42 UTC (rev 45287)
+++ trunk/Master/texmf-dist/doc/generic/pstricks/pst-news17.tex	2017-09-13 22:05:24 UTC (rev 45288)
@@ -1,4 +1,4 @@
-%% $Id: pst-news17.tex 476 2017-06-15 19:44:19Z herbert $
+%% $Id: pst-news17.tex 545 2017-09-12 18:45:32Z herbert $
 \documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
     headinclude=false,footinclude=false,twoside]{pst-doc}
 \listfiles
@@ -60,6 +60,7 @@
 NimbusSanL-Regu. The URW fonts are always embedded in the created ps or pdf output.
 This is not the default for the PostScript fonts.
 
+
 \subsection{Error message}
 
 Using PSTricks with \Lprog{pdflatex} will work only when using package
@@ -174,6 +175,25 @@
 \end{verbatim}
 
 
+%--------------------------------------------------------------------------------------
+\section{\texttt{pstricks.pro}}
+%--------------------------------------------------------------------------------------
+
+A full circle has by default an angle of 360 degrees. 
+Setting the circle with \Lcs{degrees}\Largs{17} to another value doesn't work for the 
+PostScript function \texttt{PtoC} (Polat to Cartesian -- $(r,\phi)\rightarrow (x,y)$).
+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.
+
+\begin{LTXexample}[pos=t]
+\degrees[16]
+\begin{pspicture}[showgrid](-2,-2)(2,2)
+\psline[linecolor=blue](!1.8 2 PtoC)%  45 degrees
+\end{pspicture}
+\end{LTXexample}
+
+
+
 \clearpage
 \nocite{*}
 \printbibliography

Modified: trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro
===================================================================
--- trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro	2017-09-13 22:04:42 UTC (rev 45287)
+++ trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro	2017-09-13 22:05:24 UTC (rev 45288)
@@ -1,7 +1,7 @@
 % $Id: pstricks.pro 446 2017-04-19 11:40:55Z herbert $
 %
 %% PostScript prologue for pstricks.tex.
-%% Version 1.24, 2016/04/22
+%% Version 1.25, 2017/09/12
 %%
 %% This program can be redistributed and/or modified under the terms
 %% of the LaTeX Project Public License Distributed from CTAN archives
@@ -54,7 +54,8 @@
   3 1 roll 		% yB-yA xA xB
   sub			% yB-yA xA-xB
   Pyth } def
-/PtoC { 2 copy cos mul 3 1 roll sin mul } def % Polar to Cartesian
+/PtoC360 { 2 copy cos mul 3 1 roll sin mul } def % Polar to Cartesian (origimal)
+/PtoC { pst at angleunit 2 copy cos mul 3 1 roll sin mul } def % Polar to Cartesian
 /PtoCab { dup cos 4 -1 roll mul 3 1 roll sin mul } def % Polar to Cartesian (Ellipse) a b phi-> x y 
 %/Rand { rand 4294967295 div } def		% a real random number
 /Rand { rand 2147483447 div } def		% a real random number between 0 and 1

Modified: trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex	2017-09-13 22:04:42 UTC (rev 45287)
+++ trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex	2017-09-13 22:05:24 UTC (rev 45288)
@@ -141,8 +141,8 @@
 \@ifundefined{pgffor at emptyvalues}{\input pgffor.code.tex}{}
 \let\pgfforeach\foreach
 %
-\def\fileversion{2.75}
-\def\filedate{2017/08/24}
+\def\fileversion{2.75a}
+\def\filedate{2017/09/12}
 \pst at addfams{pstricks}
 %
 %\define at boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{}
@@ -853,10 +853,12 @@
 \def\@degrees[#1]{%
   \pst at checknum{#1}\pst at tempg
   \edef\pst at angleunit{360 \pst at tempg div mul }%
+  \pstVerb{tx at Dict begin startGlobal /pst at angleunit {\pst at angleunit} def endGlobal end}%
   \ignorespaces}
 %
-\def\radians{\def\pst at angleunit{57.2956 mul }}
-\def\pst at angleunit{}
+\def\radians{\def\pst at angleunit{57.2956 mul }}%
+\def\pst at angleunit{}%
+\pstVerb{tx at Dict begin startGlobal /pst at angleunit {\pst at angleunit} def endGlobal end}%
 %
 \def\SpecialCoor{%
   \def\pst@@getcoor##1{%

Modified: trunk/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls	2017-09-13 22:04:42 UTC (rev 45287)
+++ trunk/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls	2017-09-13 22:05:24 UTC (rev 45288)
@@ -1,4 +1,4 @@
-% $Id: pst-doc.cls 461 2017-05-18 10:17:06Z herbert $
+% $Id: pst-doc.cls 533 2017-08-24 14:56:30Z herbert $
 %
 %%
 %% The PSTricks Project
@@ -26,8 +26,8 @@
 \RequirePackage{amsmath, amssymb} 
 \ifxetex
   \usepackage{unicode-math}
-  \usepackage{libertinus}
-  \setmonofont[Scale=MatchLowercase,FakeStretch=0.92]{Anonymous Pro}
+  \usepackage{libertinus-otf}
+  \setmonofont[Scale=MatchLowercase,FakeStretch=0.92]{DejaVu Sans Mono}
   \setmathfont{XITS Math}
 \else
   \RequirePackage[T1]{fontenc}

Modified: trunk/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pstricks/pstricks.sty	2017-09-13 22:04:42 UTC (rev 45287)
+++ trunk/Master/texmf-dist/tex/latex/pstricks/pstricks.sty	2017-09-13 22:05:24 UTC (rev 45288)
@@ -1,4 +1,4 @@
-% $Id: pstricks.sty 474 2017-06-15 16:40:57Z herbert $
+% $Id: pstricks.sty 545 2017-09-12 18:45:32Z herbert $
 %%
 %% This is file `pstricks.sty'.
 %%
@@ -17,7 +17,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 
-\ProvidesPackage{pstricks}[2017/03/17 v0.63 LaTeX wrapper for `PSTricks' (RN,HV)]
+\ProvidesPackage{pstricks}[2017/07/16 v0.64 LaTeX wrapper for `PSTricks' (RN,HV)]
 % 
 \def\documentclass{%
   \edef\@tempa{\jobname.tex }%
@@ -82,11 +82,11 @@
   \let\saved at scalebox\scalebox
   \input{pstricks}%
   \ProvidesFile{pstricks.tex}[\filedate\space v\fileversion\space `PSTricks' (tvz,hv)]
-  \input{pst-fp.tex}
+  \input{pst-fp.tex}%
   \ProvidesFile{pst-fp.tex}[\filedate\space v\fileversion\space `PST-fp' (hv)]
   \IfFileExists{pstricks.pro}{%
     \ProvidesFile{pstricks.pro}
-      [2012/10/16 v. 1.15,  PostScript prologue file (hv)]
+      [2017/09/12 v. 1.25,  PostScript prologue file (hv)]
         \@addtofilelist{pstricks.pro}}{}%
   \IfFileExists{pst-algparser.pro}{%
     \ProvidesFile{pst-algparser.pro}[2011/10/31 v. 0.04,  PostScript prologue file (hv)]
@@ -107,25 +107,29 @@
     [ /ca \psk at strokeopacityalpha 
       /CA \psk at strokeopacityalpha /SetTransparency pdfmark >
   \pst at def{setBlendmode}<
-    [ /BM\ifcase\psk at blendmode%
-        /Normal \or	% 0
-	/Multiply \or	% 1
-	/Screen \or	% 2
-	/Overlay \or	% 3
-	/Darken \or	% 4
-	/Lighten \or	% 5
-	/ColorDodge \or	% 6
-	/ColorBurn \or	% 7
-	/HardLight \or	% 8
-	/SoftLight \or	% 9
-	/Difference \or	% 10
-	/Exclusion \or	% 11
-	/Hue \or	% 12
-	/Color \or	% 13
-	/Saturation \or	% 14
-	/Luminosity 	% 15
-      \else /Normal \fi
-      /ca \psk at shapealpha /CA \psk at opacityalpha /SetTransparency pdfmark >%
+    [ /BM%
+     \ifcase\psk at blendmode
+      /Normal \or
+      /Compatible \or
+      /Screen \or
+      /Multiply \or
+      /HardLight \or
+      /Darken \or
+      /Lighten \or
+      /Difference \or
+      /ColorDodge \or
+      /ColorBurn \or
+      /SoftLight \or
+      /Hue \or
+      /Saturation \or
+      /Luminosity \or
+      /Overlay \or
+      /Exclusion \or
+      /Color
+    \else 
+      /Normal 
+    \fi
+    /ca \psk at shapealpha /CA \psk at opacityalpha /SetTransparency pdfmark >
 \fi
 %
 \@ifpackageloaded{xcolor}{%



More information about the tex-live-commits mailing list