texlive[42780] Master/texmf-dist: pstricks (23dec16)
commits+karl at tug.org
commits+karl at tug.org
Sat Dec 24 00:04:50 CET 2016
Revision: 42780
http://tug.org/svn/texlive?view=revision&revision=42780
Author: karl
Date: 2016-12-24 00:04:49 +0100 (Sat, 24 Dec 2016)
Log Message:
-----------
pstricks (23dec16)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/generic/pstricks/pst-news16.pdf
trunk/Master/texmf-dist/doc/generic/pstricks/pst-news16.tex
trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
Removed Paths:
-------------
trunk/Master/texmf-dist/dvips/pstricks/pst-show.pro
Modified: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news16.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news16.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pstricks/pst-news16.tex 2016-12-23 16:31:59 UTC (rev 42779)
+++ trunk/Master/texmf-dist/doc/generic/pstricks/pst-news16.tex 2016-12-23 23:04:49 UTC (rev 42780)
@@ -38,6 +38,8 @@
%--------------------------------------------------------------------------------------
\section{\texttt{pstricks.tex} (\pstricksFV -- \pstricksFD)}
%--------------------------------------------------------------------------------------
+\subsection{refangle}
+
This version fixes a bug with \verb|pst at refangle| which is used inside PostScript.
\begin{LTXexample}[pos=t]
@@ -53,7 +55,7 @@
\begin{sloppypar}
There is a new optional argument \Lkeyword{draft} which has the same meaning as
the one for \Lcs{includegraphics}. The PSTricks image is not drawn, only the
-area of the \Lenv{pspicture} coordinates is seen by a rectangle if (only for \LaTeX).
+area of the \Lenv{pspicture} coordinates is seen by a rectangle (only for \LaTeX).
\end{sloppypar}
\begin{LTXexample}[pos=t]
@@ -68,7 +70,22 @@
\end{LTXexample}
+\subsection{\Lcs{newpsstyle}}
+The command \Lcs{newpsstyle} has a new syntax:
+
+\begin{BDef}
+\Lcs{newpssytle}\OptArg{package name}\Largb{name}\Largb{definitions}
+\end{BDef}
+
+For example
+
+\begin{verbatim}
+\newpsstyle[pst-shell]{Epiteonium}{D=1,A=9.5,alpha=85.9,beta=9,mu=0,Omega=0,
+ phi=81,a=2.1,b=1.6,L=1.3,P=-60,W1=200,W2=20,N=8.3}
+\end{verbatim}
+
+
\clearpage
\nocite{*}
\bibliographystyle{plain}
Deleted: trunk/Master/texmf-dist/dvips/pstricks/pst-show.pro
===================================================================
--- trunk/Master/texmf-dist/dvips/pstricks/pst-show.pro 2016-12-23 16:31:59 UTC (rev 42779)
+++ trunk/Master/texmf-dist/dvips/pstricks/pst-show.pro 2016-12-23 23:04:49 UTC (rev 42780)
@@ -1,14 +0,0 @@
-%% To get PSTricks charpath and textpath to work:
-%----------- pst-show.pro ------------------------------------------
-%!
-% Patch for dvipsone to get PSTricks' charpath and textpath to work.
-% Save as pst-show.pro, put it with your other PSTricks .pro files.
-% Add "\pstheader{pst-show.pro}" to the beginning of your document.
-%
-% We unbind show:
-dvidict begin
-/S {show dup 0 rmoveto} def
-/T {show 2 index 0 rmoveto} def
-/s {show} def
-end
-%%
\ No newline at end of file
Modified: trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex 2016-12-23 16:31:59 UTC (rev 42779)
+++ trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex 2016-12-23 23:04:49 UTC (rev 42780)
@@ -137,8 +137,8 @@
\input pgffor.code.tex
\let\pgfforeach\foreach
%
-\def\fileversion{2.70}
-\def\filedate{2016/09/23}
+\def\fileversion{2.71}
+\def\filedate{2016/12/23}
\catcode`\@=11\relax
\pst at addfams{pstricks}
%
@@ -710,10 +710,15 @@
{\@pstrickserr{Custom style `#1' undefined}\@ehpa}%
{\@nameuse{pscs@#1}}%
}
-\def\newpsstyle#1#2{\@namedef{pscs@#1}{%
- \def\pst at tempA{#2}%
- \ifx\pst at tempA\@empty\else\psset{#2}\fi}%
-}
+\def\newpsstyle{\@ifnextchar[\newpsstyle at ii{\newpsstyle at ii[]}}%% hv 2016-12-23
+%
+%\def\newpsstyle at i#1#2{\@namedef{pscs@#1}{%
+% \def\pst at tempA{#2}%
+% \ifx\pst at tempA\@empty\else\psset{#2}\fi}}
+%
+\def\newpsstyle at ii[#1]#2#3{%
+ \@namedef{pscs@#2}{\if$#1$\psset{#3}\else\psset[#1]{#3}\fi}}%% end
+%
\def\addto at psstyle#1#2{%
\pst at toks=\expandafter{#1#2}%
\edef#1{\the\pst at toks}}
More information about the tex-live-commits
mailing list