diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-18 00:16:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-18 00:16:31 +0000 |
commit | d9bd4cc7bc00bbe2637957dc1a44d9c949a6dbdc (patch) | |
tree | 0c8c9198b304f16b1b46962eef236c6bd290815a /Master/texmf-dist/tex/latex/koma-script/scrtime.sty | |
parent | 643866a0f27297875ee40ee641aa090114b87e51 (diff) |
koma-script update (17jun10)
git-svn-id: svn://tug.org/texlive/trunk@19027 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scrtime.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/koma-script/scrtime.sty | 47 |
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} |