summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty')
-rw-r--r--Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty19
1 files changed, 12 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty b/Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty
index db49c69cbc7..8b5d69cfc8c 100644
--- a/Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty
+++ b/Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty
@@ -1,7 +1,7 @@
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1996/06/01]
-\ProvidesPackage{circledsteps}[2020/01/08 v1.2 Circled steps that you can reference]
-\def\cstepsversion{v1.2}
+\ProvidesPackage{circledsteps}[2020/01/12 v1.3 Circled steps that you can reference]
+\def\cstepsversion{v1.3}
% \end{macrocode}
%
% Copyright (c) 2019 Romano Giannetti
@@ -35,7 +35,12 @@
\@ifpackageloaded{picture}{\patchcmd\PcOrg@@oval}{\patchcmd\@oval}
{\pIIe@strokeGraph}
{\ifcstepsfilledovals\pIIe@fillGraph\else\pIIe@strokeGraph\fi}
- {}{}
+ {}{%
+ \PackageWarningNoLine{circledsteps}{%
+ Failed to patch either picture.sty or pict2e.sty:\MessageBreak
+ \space\space oval shapes will not be filled.
+ }
+ }
\newsavebox\csteps@CBox
@@ -56,8 +61,8 @@
\makebox[\csteps@XLength]{% X bigger than Y
\makebox(0,\csteps@YLength){%
\ifx\csteps@fillcolor\csteps@none\else
- \color{\csteps@fillcolor}%
- {\cstepsfilledovalstrue\put(0,0){\oval(\csteps@XLength,\csteps@YLength)}}%
+ {\color{\csteps@fillcolor}%
+ \cstepsfilledovalstrue\put(0,0){\oval(\csteps@XLength,\csteps@YLength)}}%
\fi
\ifx\csteps@outercolor\csteps@none\else
\color{\csteps@outercolor}%
@@ -77,8 +82,8 @@
\makebox[\csteps@YLength]{%
\makebox(0,\csteps@YLength){%
\ifx\csteps@fillcolor\csteps@none\else
- \color{\csteps@fillcolor}%
- \put(0,0){\circle*{\csteps@YLength}}%
+ {\color{\csteps@fillcolor}%
+ \put(0,0){\circle*{\csteps@YLength}}}%
\fi
\ifx\csteps@outercolor\csteps@none\else
\color{\csteps@outercolor}%