summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-06-17 21:34:29 +0000
committerKarl Berry <karl@freefriends.org>2020-06-17 21:34:29 +0000
commitf1f08454a69f26b09f7697a5591be470dc98a58b (patch)
treef4acec969598b95567ab6d7dbf355b26964eab90 /Master/texmf-dist/tex/generic
parent7659b72ac7899921e7e21c2b248e2b921ab8d4ef (diff)
pst-eucl (17jun20)
git-svn-id: svn://tug.org/texlive/trunk@55576 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/pst-eucl/pst-eucl.tex25
1 files changed, 14 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-eucl/pst-eucl.tex b/Master/texmf-dist/tex/generic/pst-eucl/pst-eucl.tex
index c821347f8ca..8abea6715b0 100644
--- a/Master/texmf-dist/tex/generic/pst-eucl/pst-eucl.tex
+++ b/Master/texmf-dist/tex/generic/pst-eucl/pst-eucl.tex
@@ -20,8 +20,8 @@
\csname PSTEuclideLoaded\endcsname
\let\PSTEuclideLoaded\endinput
%
-\def\fileversion{1.72a}
-\def\filedate{2020/06/07}
+\def\fileversion{1.73}
+\def\filedate{2020/06/17}
%%
\message{`PST-Euclide v\fileversion, \filedate\space (dr,hv)}%
%% prologue for postcript
@@ -284,7 +284,8 @@
\pnode(#1){#2}
\xdef\@@GenCourbe{\@@GenCourbe(#2)}%%for accumulating points% DR 22032005
\Pst@ManageParamList{#2}%
- \@ifnextchar(\Pst@Geonode@ii{\pst@MngTransformCurve\endgroup}}% DR 22032005
+ \@ifnextchar(\Pst@Geonode@ii{\pst@MngTransformCurve\endgroup
+ }}% DR 22032005
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% \pstPolygon[options](A)(B)(C)(D)...
@@ -3011,15 +3012,17 @@
%% - offset: the seperation between label and segment
%% - nrot: the rotation of the label
%% - npos: the proportion of the label
-\def\pstLabelAB{\@ifnextchar[\Pst@LabelAB{\Pst@LabelAB[]}}
-\def\Pst@LabelAB[#1]#2#3#4{%
+\def\pstLabelAB{\pst@object{pstLabelAB}}
+\def\pstLabelAB@i#1#2#3{%
\begingroup
- \psset{linestyle=none} % default not show the rule bar.
- \psset{offset=10pt} % default offset is 10pt
- \psset{nrot=:U} % default rotation is :U
- \psset{npos=0.5} % default label proportion from A to B is 0.5
- \psset{#1}\ncline{#2}{#3}\ncput*{#4}
- \endgroup%
+ \addbefore@par{linestyle=none,offset=10pt,nrot=:U,npos=0.5}% the defaults
+ \use@par
+ \if@star
+ \ncline{#1}{#2}\ncput*{#3}%
+ \else
+ \ncline{#1}{#2}\ncput{#3}%
+ \fi
+ \endgroup
}%
%% \pstExtendAB[Options]{A}{B}{distance}{C}
%% Extend AB to C such that |BC|=distance, then create node C.