diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scrdate.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/koma-script/scrdate.sty | 64 |
1 files changed, 47 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scrdate.sty b/Master/texmf-dist/tex/latex/koma-script/scrdate.sty index 12e566fb90c..b8ce5f44b45 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrdate.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrdate.sty @@ -11,7 +11,7 @@ %% scrtime.dtx (with options: `package,scrdate,body') %% scrlogo.dtx (with options: `logo') %% -%% Copyright (c) 1994-2013 Markus Kohm [komascript at gmx info] +%% Copyright (c) 1994-2014 Markus Kohm [komascript at gmx info] %% %% This file was generated from file(s) of the KOMA-Script bundle. %% --------------------------------------------------------------- @@ -43,7 +43,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://www.ctan.org/pub/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 1560 2013-12-19 07:13:30Z mjk $ +%%% From File: $Id: scrkernel-version.dtx 1815 2014-10-28 10:15:59Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -65,18 +65,19 @@ \fi } \fi - \@CheckKOMAScriptVersion{2013/12/19 v3.12 KOMA-Script}% + \@CheckKOMAScriptVersion{2014/10/28 v3.14 KOMA-Script}% \endgroup -%%% From File: $Id: scrtime.dtx 1383 2013-10-01 15:44:28Z mjk $ +%%% From File: $Id: scrtime.dtx 1701 2014-02-26 10:04:57Z kohm $ \NeedsTeXFormat{LaTeX2e}[1995/06/01] \ProvidesPackage{scrdate}[% - 2011/03/31 v3.08b KOMA-Script package - (day of the week)% + 2014/10/28 v3.14 KOMA-Script + package + (day of the week)% ] -%%% From File: $Id: scrkernel-basics.dtx 1502 2013-11-06 11:00:12Z mjk $ +%%% From File: $Id: scrkernel-basics.dtx 1809 2014-10-17 08:02:00Z kohm $ \RequirePackage{scrkbase}[\KOMAScriptVersion] -%%% From File: $Id: scrtime.dtx 1383 2013-10-01 15:44:28Z mjk $ -%%% From File: $Id: scrtime.dtx 1383 2013-10-01 15:44:28Z mjk $ +%%% From File: $Id: scrtime.dtx 1701 2014-02-26 10:04:57Z kohm $ +%%% From File: $Id: scrtime.dtx 1701 2014-02-26 10:04:57Z kohm $ \newcommand*{\CenturyPart}[1]{\XdivY{#1}{100}} \newcommand*{\DecadePart}[1]{\XmodY{#1}{100}} \newcommand*{\@GaussYear}[3]{% @@ -136,12 +137,13 @@ This may result in use of wrong language!\MessageBreak You should use a compatible language package\MessageBreak - (e.g. `Babel', `german', `french', ...)}% - \let\scrdate@languagenamewarning\relax} + (e.g. `babel', `german', `french', ...)}% + \let\scrdate@languagenamewarning\relax +} \newcommand\newdaylanguage[8]{% \scr@ifundefinedorrelax{l@#1}{% - \PackageInfo{scrdate}{Language #1\space not defined.\MessageBreak - \protect\dayname@#1\space skipped!}% + \PackageInfoNoLine{scrdate}{Language #1\space not defined.\MessageBreak + \protect\dayname@#1\space skipped}% }{% \@namedef{dayname@#1}##1{% \ifcase ##1 @@ -149,10 +151,10 @@ }% \AtBeginDocument{% \scr@ifundefinedorrelax{date#1}{% - \PackageWarningNoLine{scrdate} - {\protect\date#1\space not defined.\MessageBreak - \protect\todaysname maybe can't use - \protect\dayname@#1!}% + \PackageInfoNoLine{scrdate} + {\protect\date#1\space not defined.\MessageBreak + \protect\todaysname\space probably cannot use + \protect\dayname@#1}% }{% \expandafter\let\csname D@date#1\expandafter\endcsname \csname date#1\endcsname @@ -181,10 +183,32 @@ {Donnerstag}{Freitag}{Samstag}{Sonntag} \newdaylanguage{austrian}{Montag}{Dienstag}{Mittwoch} {Donnerstag}{Freitag}{Samstag}{Sonntag} +\newdaylanguage{swissgerman}{Montag}{Dienstag}{Mittwoch} + {Donnerstag}{Freitag}{Samstag}{Sonntag} +\newdaylanguage{nswissgerman}{Montag}{Dienstag}{Mittwoch} + {Donnerstag}{Freitag}{Samstag}{Sonntag} +\newdaylanguage{american}{Monday}{Tuesday}{Wednesday} + {Thursday}{Friday}{Saturday}{Sunday} +\newdaylanguage{australian}{Monday}{Tuesday}{Wednesday} + {Thursday}{Friday}{Saturday}{Sunday} +\newdaylanguage{british}{Monday}{Tuesday}{Wednesday} + {Thursday}{Friday}{Saturday}{Sunday} +\newdaylanguage{canadian}{Monday}{Tuesday}{Wednesday} + {Thursday}{Friday}{Saturday}{Sunday} \newdaylanguage{english}{Monday}{Tuesday}{Wednesday} {Thursday}{Friday}{Saturday}{Sunday} +\newdaylanguage{newzealand}{Monday}{Tuesday}{Wednesday} + {Thursday}{Friday}{Saturday}{Sunday} +\newdaylanguage{UKenglish}{Monday}{Tuesday}{Wednesday} + {Thursday}{Friday}{Saturday}{Sunday} \newdaylanguage{USenglish}{Monday}{Tuesday}{Wednesday} {Thursday}{Friday}{Saturday}{Sunday} +\newdaylanguage{acadian}{Lundi}{Mardi}{Mercredi} + {Jeudi}{Vendredi}{Samedi}{Dimanche} +\newdaylanguage{canadien}{Lundi}{Mardi}{Mercredi} + {Jeudi}{Vendredi}{Samedi}{Dimanche} +\newdaylanguage{francais}{Lundi}{Mardi}{Mercredi} + {Jeudi}{Vendredi}{Samedi}{Dimanche} \newdaylanguage{french}{Lundi}{Mardi}{Mercredi} {Jeudi}{Vendredi}{Samedi}{Dimanche} \newdaylanguage{italian}{Luned\`\i}{Marted\`\i}{Mercoled\`\i} @@ -203,6 +227,12 @@ {Torsdag}{Fredag}{L\o{}rdag}{S\o{}ndag} \newdaylanguage{swedish}{M\aa{}ndag}{Tisdag}{Onsdag} {Torsdag}{Fredag}{L\"ordag}{S\"ondag} +\newdaylanguage{polish}{Poniedzia\l{}ek}{Wtorek}{\'Sroda} + {Czwartek}{Pi\aob{}tek}{Sobota}{Niedziela} +\newdaylanguage{czech}{Pond\v{e}l\'\i}{\'Uter\'y}{St\v{r}eda} + {\v{C}tvrtek}{P\'atek}{Sobota}{Ned\v{e}le} +\newdaylanguage{slovak}{Pondelok}{Utorok}{Streda} + {\v{S}tvrtok}{Piatok}{Sobota}{Nede\v{l}a} \def\@dayname#1{% \ifcase #1 Monday\or Tuesday\or Wednesday\or Thursday\or |