summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/pst-flags/tex/pst-flags.sty
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pstricks/contrib/pst-flags/tex/pst-flags.sty')
-rw-r--r--graphics/pstricks/contrib/pst-flags/tex/pst-flags.sty11
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/pstricks/contrib/pst-flags/tex/pst-flags.sty b/graphics/pstricks/contrib/pst-flags/tex/pst-flags.sty
index 95cba4aa02..572492d116 100644
--- a/graphics/pstricks/contrib/pst-flags/tex/pst-flags.sty
+++ b/graphics/pstricks/contrib/pst-flags/tex/pst-flags.sty
@@ -6,7 +6,7 @@
% Mailer: manthanwar@hotmail.com
% WebURL: https://manthanwar.github.io
% GitHub: https://github.com/manthanwar/PST-Flags
-% Rights: Copyright ©2022 Amit Manohar Manthanwar
+% Rights: Copyright ©2022-2023 Amit Manohar Manthanwar
%-------------------------------------------------------------------------------
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN archives
@@ -19,12 +19,13 @@
%---------------+---------+----------------------------------------------------
% 25-Dec-2022 | AMM | CTAN Review Updates
%---------------+---------+----------------------------------------------------
+% 09-Jan-2023 | AMM | Removed xcolor
+%---------------+---------+----------------------------------------------------
%---------------+---------+----------------------------------------------------
%---------------+---------+----------------------------------------------------
%===============================================================================
-\NeedsTeXFormat{LaTeX2e}[2022/12/25]
-\ProvidesPackage{pst-flags}[2022/12/25 LaTeX package for country flags]
-\RequirePackage[dvipsnames,svgnames]{xcolor}
+\NeedsTeXFormat{LaTeX2e}[2022/01/09]
+\ProvidesPackage{pst-flags}[2022/01/09 LaTeX package for country flags]
\RequirePackage{fp}
\RequirePackage{xfp}
\RequirePackage{expl3}
@@ -5105,7 +5106,7 @@ linestyle=solid,linecolor=black,linewidth=0.04}%
\newcommand{\flagHK}[1][4]{%
\FPeval{\wide}{round(#1/9:3)}\psscalebox{\wide}{%
\psset{dimen=middle, fillstyle=solid, linestyle=none}%
-\psframe[fillcolor=Red](0,0)(9,6)%
+\psframe[fillcolor=hkRed](0,0)(9,6)%
%\psset{fillstyle=none,linestyle=solid,linewidth=0.02}%
%\pscircle(4.5,3){1.8}%
\rput(4.5,3){\multido{\nA=-103.48+72}{5}{%