summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-28 23:26:28 +0000
committerKarl Berry <karl@freefriends.org>2018-12-28 23:26:28 +0000
commit3698d59030d872485eec21ff4c0ada832891dfd3 (patch)
treed22e1090aae6962e822f74b7bd1666056bc49a90 /Master/texmf-dist/tex
parentb725313018cecaf42e1e195dccf34e44ae02b30e (diff)
pstricks (27dec18)
git-svn-id: svn://tug.org/texlive/trunk@49519 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/generic/pstricks/pstricks.tex46
1 files changed, 25 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
index e5bcb18202f..4d74e68c9b5 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 872 2018-12-21 20:39:31Z herbert $
+%% $Id: pstricks.tex 881 2018-12-27 09:56:29Z herbert $
%% pstricks.tex
%% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt, tvz@nwu.edu.
%% COPYRIGHT 2000-2003 by Denis Girou.
@@ -80,8 +80,8 @@
\fi
\let\pgfforeach\foreach
%
-\def\fileversion{2.90a}
-\def\filedate{2018/12/22}
+\def\fileversion{2.92}
+\def\filedate{2018/12/27}
\pst@addfams{pstricks}
%
%\define@boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{}
@@ -3399,19 +3399,20 @@ pop
\def\psarc@i{\@ifnextchar({\psarc@iii}{\psarc@ii}}
\def\psarc@ii#1{\addto@par{arrows=#1}\@ifnextchar(\psarc@iii{\psarc@iii(0,0)}}
\def\psarc@iii(#1)#2#3#4{%
- \begin@OpenObj%
- \pst@getangle{#3}\pst@tempa%
- \pst@getangle{#4}\pst@tempb%
- \ifx\pst@tempa\pst@tempb\else%
+ \pst@getangle{#3}\pst@tempa
+ \pst@getangle{#4}\pst@tempb
+ \ifx\pst@tempa\pst@tempb
+ \else
+ \begin@OpenObj
\pst@@getcoor{#1}%
\pssetlength\pst@dima{#2}%
\addto@pscode{\psarc@iv \psarc@v
\ifPst@variableLW \pst@flattenpath \fi
}%
\gdef\psarc@type{0}%
- \showpointsfalse%
- \fi%
- \end@OpenObj%
+ \showpointsfalse
+ \end@OpenObj
+ \fi
}
\def\psarc@iv{%
\pst@coor /y ED /x ED
@@ -3578,17 +3579,19 @@ pop
\@ifnextchar({\psellipticarc@iv(#1)}{\psellipticarc@iv(0,0)(#1)}}
\def\psellipticarc@iv(#1)(#2)#3#4{%
% \addbefore@par{correctAngle=false}
- \begin@OpenObj%
- \pst@getcoor{#1}\pst@tempa % origin
- \pst@getcoor{#2}\pst@tempb % a b
\pst@getangle{#3}\pst@tempc % start angle
\pst@getangle{#4}\pst@tempd % end angle
- \addto@pscode{
- \psellipticarc@definearg \psellipticarc@draw
- \ifPst@variableLW \pst@flattenpath \fi
- }%
- \ifshowpoints
- \addto@pscode{
+ \ifdim\pst@tempc pt=\pst@tempd pt
+ \else % same angles? then do nothing
+ \begin@OpenObj
+ \pst@getcoor{#1}\pst@tempa % origin
+ \pst@getcoor{#2}\pst@tempb % a b
+ \addto@pscode{
+ \psellipticarc@definearg \psellipticarc@draw
+ \ifPst@variableLW \pst@flattenpath \fi
+ }%
+ \ifshowpoints
+ \addto@pscode{
gsave
xOrig yOrig T % set origin to ellipse origin
\ifx\psk@rot\@empty \else \psk@rot\space rotate \fi
@@ -3616,9 +3619,10 @@ pop
stroke
grestore
}
- \showpointsfalse%
+ \showpointsfalse
+ \fi
+ \end@OpenObj
\fi
- \end@OpenObj%
}
\def\psellipticarc@definearg{%
% \ifx\psk@rot\@empty \else \psk@rot\space rotate \fi