summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-script/scrtime.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scrtime.sty')
-rw-r--r--Master/texmf-dist/tex/latex/koma-script/scrtime.sty47
1 files changed, 39 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scrtime.sty b/Master/texmf-dist/tex/latex/koma-script/scrtime.sty
index 33fa468a96f..fc1c09987dc 100644
--- a/Master/texmf-dist/tex/latex/koma-script/scrtime.sty
+++ b/Master/texmf-dist/tex/latex/koma-script/scrtime.sty
@@ -4,7 +4,11 @@
%%
%% The original source files were:
%%
-%% scrtime.dtx (with options: `scrtime')
+%% scrkvers.dtx (with options: `package,scrtime')
+%% scrtime.dtx (with options: `package,scrtime,identify')
+%% scrkbase.dtx (with options: `load')
+%% scrtime.dtx (with options: `package,scrtime,option')
+%% scrtime.dtx (with options: `package,scrtime,body')
%% scrlogo.dtx (with options: `logo')
%%
%% Copyright (c) 1994-2010
@@ -40,16 +44,43 @@
%% find a complete unmodified copy of LaTeX2e at
%% <http://www.ctan.org/pub/tex-archive/macros/latex/base/>.
%%
+%%% From File: scrkvers.dtx
+\begingroup
+ \makeatletter
+ \ifx\KOMAScriptVersion\undefined
+ \newcommand*{\@CheckKOMAScriptVersion}[1]{%
+ \gdef\KOMAScriptVersion{#1}%
+ }%
+ \else
+ \newcommand*{\@CheckKOMAScriptVersion}[1]{%
+ \def\@tempa{#1}%
+ \ifx\KOMAScriptVersion\@tempa\else
+ \@latex@warning@no@line{%
+ \noexpand\KOMAScriptVersion\space is
+ `\KOMAScriptVersion',\MessageBreak
+ but `#1' was expected!\MessageBreak
+ You should not use classes, packages or files
+ from\MessageBreak
+ different KOMA-Script versions%
+ }%
+ \fi
+ }
+ \fi
+ \@CheckKOMAScriptVersion{2010/06/17 v3.06 KOMA-Script}%
+\endgroup
%%% From File: scrtime.dtx
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{scrtime}
- [2009/01/01 v1.1p LaTeX2e KOMA-Script
- package]
+\ProvidesPackage{scrtime}[%
+ \KOMAScriptVersion\space package (%
+ time of LaTeX run)]
+%%% From File: scrkbase.dtx
+\RequirePackage{scrkbase}[\KOMAScriptVersion]
+%%% From File: scrtime.dtx
\newif\if@Hxii
-\DeclareOption{12h}{\@Hxiitrue}
-\DeclareOption{24h}{\@Hxiifalse}
-\ExecuteOptions{24h}
-\ProcessOptions
+\KOMA@ifkey{12h}{@Hxii}
+\KOMA@DeclareDeprecatedOption[scrtime]{24h}{12h=false}
+\KOMAProcessOptions\relax
+%%% From File: scrtime.dtx
\def\thistime{%
\@ifstar
{\let\@tempif\iffalse\@thistime}