summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/isosafety/isosafety.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/isosafety/isosafety.sty')
-rw-r--r--Master/texmf-dist/tex/latex/isosafety/isosafety.sty31
1 files changed, 15 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/isosafety/isosafety.sty b/Master/texmf-dist/tex/latex/isosafety/isosafety.sty
index cab3cd68954..40cf3076281 100644
--- a/Master/texmf-dist/tex/latex/isosafety/isosafety.sty
+++ b/Master/texmf-dist/tex/latex/isosafety/isosafety.sty
@@ -1,14 +1,4 @@
-%%
-%% This is file `isosafety.sty',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% isosafety.dtx (with options: `package')
-%%
-%% This is a generated file.
-%%
-%% Copyright (C) 2023 by BenSt099
+%% Copyright (C) 2024 by BenSt099
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3 of this license
@@ -22,14 +12,17 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{isosafety}
- [2023/11/09 v1.1 ISO Safety Colors And Safety Signs]
+[2024/08/31 v1.4 ISO Safety Colors And Safety Signs]
\RequirePackage{graphicx}
\RequirePackage{xcolor}
+\RequirePackage{ifthen}
+\RequirePackage{xkeyval}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\definecolor{Warning}{HTML}{F9A800}
+\definecolor{Caution}{HTML}{F9A800}
+\definecolor{Warning}{HTML}{D05D29}
\definecolor{Prohibition}{HTML}{9B2423}
\definecolor{Mandatory}{HTML}{005387}
\definecolor{Rescue}{HTML}{237F52}
@@ -38,11 +31,17 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand{\isosafetypath}{false}
+\DeclareOptionX{fullpath}{\renewcommand{\isosafetypath}{#1}}
+\ProcessOptionsX\relax
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\Isosign}[1]{isosafety-pdfs/ISO_7010_#1.pdf}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\ifthenelse{\equal{\isosafetypath}{false}}
+{\newcommand{\Isosign}[1]{/isosafety-pdfs/ISO_7010_#1.pdf}}
+{\newcommand{\Isosign}[1]{\isosafetypath /isosafety-pdfs/ISO_7010_#1.pdf}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput
%%
-%% End of file `isosafety.sty'.
+%% End of file `isosafety.sty'. \ No newline at end of file