From 6a1eca2ec87e69d7762d98299002759559b146c6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 14 Jan 2014 00:01:29 +0000 Subject: pict2e (13jan14) git-svn-id: svn://tug.org/texlive/trunk@32658 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/pict2e/pict2e.sty | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/latex/pict2e') diff --git a/Master/texmf-dist/tex/latex/pict2e/pict2e.sty b/Master/texmf-dist/tex/latex/pict2e/pict2e.sty index 2f764d3d90a..e4f8a364182 100644 --- a/Master/texmf-dist/tex/latex/pict2e/pict2e.sty +++ b/Master/texmf-dist/tex/latex/pict2e/pict2e.sty @@ -25,7 +25,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{pict2e} - [2011/04/05 v0.2y Improved picture commands (HjG,RN,JT)] + [2014/01/12 v0.2z Improved picture commands (HjG,RN,JT)] \edef\Gin@codes{% \catcode`\noexpand\^^A\the\catcode`\^^A\relax \catcode`\noexpand\"\the\catcode`\"\relax @@ -662,9 +662,10 @@ \pIIe@addtoGraph\pIIe@curveto@op \fi \endgroup} - \newcommand*\arc{\@ifstar{\@tempswatrue\@arc}{\@tempswafalse\@arc}} - \newcommand*\@arc[2][0,360]{\@@arc(#1){#2}} - \def\@@arc(#1,#2)#3{% + \newcommand*\pIIearc + {\@ifstar{\@tempswatrue\pIIe@arc@}{\@tempswafalse\pIIe@arc@}} + \newcommand*\pIIe@arc@[2][0,360]{\pIIe@arc@@(#1){#2}} + \def\pIIe@arc@@(#1,#2)#3{% \if@tempswa \pIIe@moveto\z@\z@ \pIIe@arc{\z@}{\z@}{#3\unitlength}{#1}{#2}% @@ -673,6 +674,11 @@ \pIIe@arc[1]{\z@}{\z@}{#3\unitlength}{#1}{#2}% \pIIe@strokeGraph \fi} + \ifx\undefined\arc + \else + \PackageWarning{pict2e}{\protect\arc\space redefined}% + \fi + \let\arc\pIIearc \let\lp@r( \let\rp@r) \def\Line(#1,#2)(#3,#4){\polyline(#1,#2)(#3,#4)} \def\polyline(#1,#2){% -- cgit v1.2.3