diff options
author | Karl Berry <karl@freefriends.org> | 2017-12-31 22:10:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-12-31 22:10:30 +0000 |
commit | ba0ba8f0702bea26b7a9ee9ebd902b4876ae2a21 (patch) | |
tree | 642865e6fd3b270f1cbc09c0a983c42cfabd1509 /Master/texmf-dist/tex/generic | |
parent | 8b4d65171eea43e02340571e360ce3aa67c962fc (diff) |
pstricks (31dec17)
git-svn-id: svn://tug.org/texlive/trunk@46177 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/pstricks/pstricks.tex | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex index 3c8c5edd124..93dbb8c388a 100644 --- a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex +++ b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex @@ -1,4 +1,4 @@ -%% $Id: pstricks.tex 617 2017-10-04 16:16:21Z herbert $ +%% $Id: pstricks.tex 698 2017-12-30 19:08:50Z herbert $ %% pstricks.tex %% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt, tvz@nwu.edu. %% COPYRIGHT 2000-2003 by Denis Girou. @@ -28,8 +28,10 @@ \edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax % -\ifx\c@lor@to@ps\@undefined - \def\c@lor@to@ps{\PSTricks_Not_Configured_For_This_Format}% message for a pdflatex run +\if@check@engine + \ifx\c@lor@to@ps\@undefined + \def\c@lor@to@ps{\PSTricks_Not_Configured_For_This_Format}% message for a pdflatex run + \fi \fi \expandafter\ifx\csname @latexerr\endcsname\relax % do we have TeX? then @latexerr isn't defined \input pstricks-tex.def @@ -76,8 +78,8 @@ \fi \let\pgfforeach\foreach % -\def\fileversion{2.78} -\def\filedate{2017/11/26} +\def\fileversion{2.80a} +\def\filedate{2017/12/30} \pst@addfams{pstricks} % %\define@boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{} @@ -791,9 +793,10 @@ \pstVerb{tx@Dict begin startGlobal /pst@angleunit {\pst@angleunit} def endGlobal end}% \ignorespaces} % -\def\radians{\def\pst@angleunit{57.2956 mul }}% +\def\radians{\def\pst@angleunit{57.2956 mul } + \pstVerb{tx@Dict begin startGlobal /pst@angleunit {\pst@angleunit} def endGlobal end}}% \def\pst@angleunit{}% -\pstVerb{tx@Dict begin startGlobal /pst@angleunit {\pst@angleunit} def endGlobal end}% + % \def\SpecialCoor{% \def\pst@@getcoor##1{% @@ -3721,8 +3724,9 @@ pop \def\pst@linetype{4}% \addto@pscode{ \pst@coor 2 copy moveto - \ifPst@SpecialLength \pst@SpecialLength \else \pst@number\pst@dimc \fi - \psk@dimen CLW mul sub + \ifPst@SpecialLength \pst@SpecialLength \else \pst@number\pst@dimc \fi + \psk@dimen CLW mul round % prevent rounding errors + sub dup 0 rmoveto 0 360 arc \ifPst@variableLW \pst@flattenpath \fi @@ -4213,13 +4217,17 @@ pop \def\uput{\def\pst@par{}\pst@ifstar{\@ifnextchar[{\uput@ii}{\uput@i}}} % DG/SR modification end \def\uput@i#1{\addto@par{labelsep=#1}\uput@ii} +% \def\uput@ii[#1]{% \addto@par{refangle={#1}}% \@ifnextchar({\uput@iv}{\uput@iii}} +% \def\uput@iii#1{% \addto@par{rot={#1}}% \@ifnextchar({\uput@iv}{\uput@iv(\z@,\z@)}} +% \def\uput@iv(#1){\pst@killglue\pst@makebox{\uput@v{#1}}} +% \def\uput@v#1{% \begingroup \use@par @@ -4239,7 +4247,7 @@ pop % \def\uput@vii#1#2{% \edef\pst@coor{% - \ifPst@SpecialLength \pst@SpecialLength \else \pst@number\pslabelsep \fi + \ifPst@SpecialLength\pst@SpecialLength\else\pst@number\pslabelsep\fi % \pst@number\pslabelsep % \ifdim\pslabelsep<\z@ neg \fi #2% \pst@number{\wd\pst@hbox}% |