summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-06-16 20:43:06 +0000
committerKarl Berry <karl@freefriends.org>2021-06-16 20:43:06 +0000
commit06ec64595c3f158672d23aadefeff2d07439700f (patch)
tree8b6015a8fc8f237aa2b85806d63b96a71be5c2a2 /Master/texmf-dist/tex
parent1804a1e365fb792699ec4c5799640eb8358aa671 (diff)
circledsteps (16jun21)
git-svn-id: svn://tug.org/texlive/trunk@59608 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty12
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty b/Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty
index 8b5d69cfc8c..a8f769a3b13 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/12 v1.3 Circled steps that you can reference]
-\def\cstepsversion{v1.3}
+\ProvidesPackage{circledsteps}[2020/01/12 v1.3.1 Circled steps that you can reference]
+\def\cstepsversion{v1.3.1}
% \end{macrocode}
%
% Copyright (c) 2019 Romano Giannetti
@@ -10,6 +10,7 @@
% License: LPPL 1.3c
%
% \begin{macrocode}
+\RequirePackage{xcolor}
\RequirePackage{pict2e}
\RequirePackage{picture}
\RequirePackage{pgfkeys} % for the pgfkeys
@@ -31,6 +32,9 @@
\ProcessOptions\relax
% thanks @egreg https://tex.stackexchange.com/a/523450/38080
\RequirePackage{etoolbox}
+% patch either picture.sty or pict2e.sty to add the possibility
+% to fill oval shapes. Will break as soon as that option is added
+% to either package...
\newif\ifcstepsfilledovals\cstepsfilledovalsfalse
\@ifpackageloaded{picture}{\patchcmd\PcOrg@@oval}{\patchcmd\@oval}
{\pIIe@strokeGraph}
@@ -39,8 +43,8 @@
\PackageWarningNoLine{circledsteps}{%
Failed to patch either picture.sty or pict2e.sty:\MessageBreak
\space\space oval shapes will not be filled.
- }
- }
+ }%
+}
\newsavebox\csteps@CBox