diff options
author | Karl Berry <karl@freefriends.org> | 2016-12-23 23:04:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-12-23 23:04:49 +0000 |
commit | ddd286f02bd5b5cb542c2315e1d4a6dcf0476f75 (patch) | |
tree | bddfc719522902cb3ddba543894e894ce330b2af /Master/texmf-dist | |
parent | d7c295bc09011849639dea06f2efcbf7fe42ed94 (diff) |
pstricks (23dec16)
git-svn-id: svn://tug.org/texlive/trunk@42780 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-news16.pdf | bin | 45192 -> 48912 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-news16.tex | 19 | ||||
-rw-r--r-- | Master/texmf-dist/dvips/pstricks/pst-show.pro | 14 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/pstricks/pstricks.tex | 17 |
4 files changed, 29 insertions, 21 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news16.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news16.pdf Binary files differindex 9f4d5980eb2..04f57e851eb 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-news16.pdf +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news16.pdf diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news16.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news16.tex index c1f16a56381..4cead08047d 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-news16.tex +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news16.tex @@ -38,6 +38,8 @@ basic package \nxLFile{pstricks}} %-------------------------------------------------------------------------------------- \section{\texttt{pstricks.tex} (\pstricksFV -- \pstricksFD)} %-------------------------------------------------------------------------------------- +\subsection{refangle} + This version fixes a bug with \verb|pst@refangle| which is used inside PostScript. \begin{LTXexample}[pos=t] @@ -53,7 +55,7 @@ This version fixes a bug with \verb|pst@refangle| which is used inside PostScrip \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,6 +70,21 @@ area of the \Lenv{pspicture} coordinates is seen by a rectangle if (only for \L \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{*} diff --git a/Master/texmf-dist/dvips/pstricks/pst-show.pro b/Master/texmf-dist/dvips/pstricks/pst-show.pro deleted file mode 100644 index c951f3a3f2b..00000000000 --- a/Master/texmf-dist/dvips/pstricks/pst-show.pro +++ /dev/null @@ -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 diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex index 0b64852b66f..c471a7fd9af 100644 --- a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex +++ b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex @@ -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@addfams{pstricks} % @@ -710,10 +710,15 @@ {\@pstrickserr{Custom style `#1' undefined}\@ehpa}% {\@nameuse{pscs@#1}}% } -\def\newpsstyle#1#2{\@namedef{pscs@#1}{% - \def\pst@tempA{#2}% - \ifx\pst@tempA\@empty\else\psset{#2}\fi}% -} +\def\newpsstyle{\@ifnextchar[\newpsstyle@ii{\newpsstyle@ii[]}}%% hv 2016-12-23 +% +%\def\newpsstyle@i#1#2{\@namedef{pscs@#1}{% +% \def\pst@tempA{#2}% +% \ifx\pst@tempA\@empty\else\psset{#2}\fi}} +% +\def\newpsstyle@ii[#1]#2#3{% + \@namedef{pscs@#2}{\if$#1$\psset{#3}\else\psset[#1]{#3}\fi}}%% end +% \def\addto@psstyle#1#2{% \pst@toks=\expandafter{#1#2}% \edef#1{\the\pst@toks}} |