diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/progressbar/progressbar.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/progressbar/progressbar.sty | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/progressbar/progressbar.sty b/Master/texmf-dist/tex/latex/progressbar/progressbar.sty index ac50bf87f4a..167dbbcc64d 100644 --- a/Master/texmf-dist/tex/latex/progressbar/progressbar.sty +++ b/Master/texmf-dist/tex/latex/progressbar/progressbar.sty @@ -1,10 +1,9 @@ - % ProgressBar % % kindly supported by mrunix-forum: http://www.mrunix.de/ % %% progressbar.sty -%% Copyright 2010 Marcel Jira +%% Copyright 2012 Marcel Jira % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -22,22 +21,27 @@ % \NeedsTeXFormat{LaTeX2e}% % -\ProvidesPackage{progressbar}[2010/10/02 v1.0b: progressbar]% +\ProvidesPackage{progressbar}[2012/02/18 v1.0b~2: progressbar]% % \newcommand{\progressbarpackagename}{progressbar}% \newcommand{\progressbar@PackageWarning}[1]{\PackageWarning{\progressbarpackagename}{#1}}% -\newcommand{\progressbar@LoadFile@IfExist}[1]{% - \IfFileExists{#1.sty}{% - \RequirePackage{#1}% +\newcommand{\progressbar@LoadFile@IfExist}[2][]{% + \IfFileExists{#2.sty}{% + \@ifpackagelater{#2}{#1}{% + \RequirePackage{#2}% + }{% + \progressbar@PackageWarning{The package #2 is older than #1\MessageBreak% + but a version from or newer #1 is required by \progressbarname}% + }% }{% - \progressbar@PackageWarning{The package #1 does not exist\MessageBreak% + \progressbar@PackageWarning{The package #2 does not exist\MessageBreak% but it is required by \progressbarname}% }% }% % \progressbar@LoadFile@IfExist{calc}% \progressbar@LoadFile@IfExist{tikz}% -\progressbar@LoadFile@IfExist{kvoptions}% +\progressbar@LoadFile@IfExist[2011/08/03]{kvoptions}% \progressbar@LoadFile@IfExist{kvsetkeys}% % % Define lengths for later use @@ -173,4 +177,4 @@ % Rounded Corners again \draw[rounded corners=\BarRoundedCorners,line width=\BarBorderWidth,color=\progressbarlocal@linecolor] (Begin) rectangle (End);% \end{tikzpicture}% -}%
\ No newline at end of file +}% |