texlive[49385] Master/texmf-dist: pstricks (11dec18)
commits+karl at tug.org
commits+karl at tug.org
Tue Dec 11 23:20:19 CET 2018
Revision: 49385
http://tug.org/svn/texlive?view=revision&revision=49385
Author: karl
Date: 2018-12-11 23:20:19 +0100 (Tue, 11 Dec 2018)
Log Message:
-----------
pstricks (11dec18)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/generic/pstricks/README
trunk/Master/texmf-dist/doc/generic/pstricks/pst-news18.pdf
trunk/Master/texmf-dist/doc/generic/pstricks/pst-news18.tex
trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
Modified: trunk/Master/texmf-dist/doc/generic/pstricks/README
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pstricks/README 2018-12-11 22:20:01 UTC (rev 49384)
+++ trunk/Master/texmf-dist/doc/generic/pstricks/README 2018-12-11 22:20:19 UTC (rev 49385)
@@ -1,4 +1,4 @@
-PSTricks 2018
+PSTricks 2019
This package may be distributed under the terms of the LaTeX Project
Public License, as described in lppl.txt in the base LaTeX distribution.
@@ -103,19 +103,15 @@
5 - Running pdflatex or lualatex
- Load package pstricks-pdf instead of pstricks and run your example with
+ Load package auto-pst-pdf or auto-pst-pdf-lua and run your example with
the optional argument --shell-escape (MikTeX allows also -enable-write18)
lualatex --shell-escape <file>
pdflatex --shell-escape <file>
-pstricks-pdf creates in the background all pspicture environment as single
-pdf graphic files. In difference to auto-pst-pdf the package pstricks-pdf allows running
-lualatex.
-All optional arguments of package auto-pst-pdf are possible.
-See documentation for more informations. The package pst-platform is
-loaded by default and similiar to ifplatform.sty, it fixes a problem with
-lualatex.
+auto-pst-pdf(-lua) creates in the background all pspicture environment as single
+pdf graphic files.
+See documentation for more informations.
@@ -127,4 +123,4 @@
--
-Denis Girou, Sebastian Rahtz and Herbert Voss (updated November 2017)
+Denis Girou, Sebastian Rahtz and Herbert Voss (updated December 2018)
Modified: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news18.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news18.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pstricks/pst-news18.tex 2018-12-11 22:20:01 UTC (rev 49384)
+++ trunk/Master/texmf-dist/doc/generic/pstricks/pst-news18.tex 2018-12-11 22:20:19 UTC (rev 49385)
@@ -51,12 +51,18 @@
%--------------------------------------------------------------------------------------
-\section{\texttt{pstricks.tex} (v. 2.84 -- 2018/05/01)}
+\section{\texttt{pstricks.tex} (v. 2.87 -- 2018/12/11)}
%--------------------------------------------------------------------------------------
Use the \Lcs{long} definition for \Lcs{@fornoop} to be compatible to the latest
-chanegs in \LaTeX.
+changes in \LaTeX.
+In old versions the macro \Lcs{rput} can't be used with the key-value setting. The latest version
+of \Lfile{pstricks.tex} defines a modified \Lcs{rput} which ckecks first if a following
+optional argument has the old behaviour, eg \Lcs{rput}\texttt{[lb]\{...\}} or
+a key/value setting like \Lcs{rput}\texttt{[ref=lb,rot=...,](...)}. However, there should be no
+change in the output and, of course, it makes no sense to mix the old and new setting in \emph{one}
+\Lcs{rput} macro.
\subsection{PostScript Fonts}
Modified: trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex 2018-12-11 22:20:01 UTC (rev 49384)
+++ trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex 2018-12-11 22:20:19 UTC (rev 49385)
@@ -1,8 +1,8 @@
-%% $Id: pstricks.tex 838 2018-11-14 19:00:45Z herbert $
+%% $Id: pstricks.tex 856 2018-12-11 11:20:46Z herbert $
%% pstricks.tex
%% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt, tvz at nwu.edu.
%% COPYRIGHT 2000-2003 by Denis Girou.
-%% Copyright 2004-2018 Herbert Voss
+%% Copyright 2004-2019 Herbert Voss
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -80,8 +80,8 @@
\fi
\let\pgfforeach\foreach
%
-\def\fileversion{2.86a}
-\def\filedate{2018/11/14}
+\def\fileversion{2.87}
+\def\filedate{2018/12/11}
\pst at addfams{pstricks}
%
%\define at boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{}
@@ -4101,20 +4101,36 @@
\def\tx at PutCoor{PutCoor }
\def\tx at PutBegin{PutBegin }
\def\tx at PutEnd{PutEnd }
-\def\rput{\def\pst at par{}\pst at ifstar{\@ifnextchar[{\rput at i}{\rput at ii}}}
-\def\rput at i[#1]{\addto at par{ref={#1}}\rput at ii}
+\def\rput{\pst at ifstar{\@ifnextchar[{\rput at i}{\begingroup\rput at ii}}}
+\def\rput at i[#1]{%
+ \begingroup
+ \test at for@options#1=\@nil
+ \ifnum\the\pst at cntm=\z@
+ \addto at par{ref={#1}}%
+ \else
+ \expandafter\psset\expandafter{#1}%
+ \fi
+ \rput at ii
+}
+\def\test at for@options#1=#2\@nil{%
+ \if$#2$ % #2 is empty -> old syntax
+ \pst at cntm=\z@
+ \else % something like foo=bar
+ \pst at cntm=\@ne
+ \fi
+}
+
\def\rput at ii{\@ifnextchar({\rput at iv}{\rput at iii}}
\def\rput at iii#1{\addto at par{rot={#1}}\@ifnextchar({\rput at iv}{\rput at iv(\z@,\z@)}}
\def\rput at iv(#1){\pst at killglue\pst at makebox{\rput at v{#1}}}
\def\rput at v#1{%
- \begingroup%
- \use at par%
- \if at star\pst at starbox\fi%
- \pst at makesmall\pst at hbox%
+ \use at par
+ \if at star\pst at starbox\fi
+ \pst at makesmall\pst at hbox
\ifx\psk at rot\@empty\else\pst at rotate{ps at rot }\pst at hbox\fi% (MJS)
% \pst at rotate\psk at rot\pst at hbox%
\psput@{#1}\pst at hbox%
- \endgroup%
+ \endgroup
\ignorespaces}
%
\def\multirput{%
More information about the tex-live-commits
mailing list