summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorReinhard Kotucha <reinhard.kotucha@web.de>2006-11-25 01:18:43 +0000
committerReinhard Kotucha <reinhard.kotucha@web.de>2006-11-25 01:18:43 +0000
commit1bd799706928befd9841f464f5a77628c0e1410f (patch)
tree28903d09f7e3ffb8b4520ca05dd8d7246be093d7 /Master/texmf-dist/tex/latex
parent13498066deeb9fbb37c453e3e1bca4ebee464f4d (diff)
update active.conf and curve2e.
git-svn-id: svn://tug.org/texlive/trunk@2510 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/curve2e/curve2e.sty19
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/curve2e/curve2e.sty b/Master/texmf-dist/tex/latex/curve2e/curve2e.sty
index e01f0e2d27b..cbd3c1f2fc3 100644
--- a/Master/texmf-dist/tex/latex/curve2e/curve2e.sty
+++ b/Master/texmf-dist/tex/latex/curve2e/curve2e.sty
@@ -32,11 +32,11 @@
%%
%%
%% File `curve2e.dtx'.
-%% Copyright (C) 2005 Claudio Beccari all rights reserved.
+%% Copyright (C) 2005--2006 Claudio Beccari all rights reserved.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{curve2e}%
- [2005/08/15 v.0.10 Extension package for pict2e]
+ [2006/11/20 v.0.20 Extension package for pict2e]
\RequirePackage{color}
\RequirePackageWithOptions{pict2e}[2004/06/01]
\ifcase\pIIe@mode\relax
@@ -115,9 +115,12 @@
\pIIe@lineto{\@xnum\@linelen}{\@ynum\@linelen}%
\pIIe@strokeGraph\fi
\endgroup}
-\def\Vector(#1,#2){\vector(#1,#2){#1}}
+\def\Vector(#1,#2){%
+\ifdim#1\p@=\z@\vector(#1,#2){#2}
+\else
+\vector(#1,#2){#1}\fi}
\def\VECTOR(#1)(#2){\begingroup
-\SubVect#1 from #2 to \@tempa
+\SubVect#1from#2to\@tempa
\expandafter\put\expandafter(#1){\expandafter\Vector\expandafter(\@tempa)}%
\endgroup\ignorespaces}
\let\lp@r( \let\rp@r)
@@ -305,7 +308,7 @@
\@tempcnta=5\relax
\@whilenum\@tempcnta>\z@\do{\DividE\@tempdima by\@tempdimb to\@T
\advance\@tempdimb \@T\p@ \@tempdimb=.5\@tempdimb
- \advance\@tempcnta\m@ne}%\
+ \advance\@tempcnta\m@ne}%
\@tempdimc=\@T\@tempdimc
\fi
\Numero#2\@tempdimc
@@ -468,8 +471,7 @@
\fi
\SubVect#1from#2to\@V \ModOfVect\@V to\@Raggio \CopyVect#2to\@pPun
\@tdE=\pIIe@FAW\@wholewidth \@tdE=\pIIe@FAL\@tdE
-\Numero\@Freccia\@tdE
-\DividE\@Freccia\p@ by \@Raggio\p@ to\DeltaGradi
+\DividE\@tdE by \@Raggio\unitlength to\DeltaGradi
\@tdD=\DeltaGradi\p@
\@tdD=57.29578\@tdD \Numero\DeltaGradi\@tdD
\@tdD=\ifx\Segno--\fi\@gradi\p@ \Numero\@tempa\@tdD
@@ -505,8 +507,7 @@
\fi
\SubVect#1from#2to\@V \ModOfVect\@V to\@Raggio \CopyVect#2to\@pPun
\@tdE=\pIIe@FAW\@wholewidth \@tdE=0.8\@tdE
-\Numero\@Freccia\@tdE
-\DividE\@Freccia\p@ by \@Raggio\p@ to\DeltaGradi
+\DividE\@tdE by \@Raggio\unitlength to\DeltaGradi
\@tdD=\DeltaGradi\p@ \@tdD=57.29578\@tdD \Numero\DeltaGradi\@tdD
\@tdD=\ifx\Segno--\fi\@gradi\p@ \Numero\@tempa\@tdD
\DirFromAngle\@tempa to\@Dir