summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/koma-script/source/scrtime.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/koma-script/source/scrtime.dtx')
-rw-r--r--macros/latex/contrib/koma-script/source/scrtime.dtx121
1 files changed, 60 insertions, 61 deletions
diff --git a/macros/latex/contrib/koma-script/source/scrtime.dtx b/macros/latex/contrib/koma-script/source/scrtime.dtx
index a301769a38..9829fe01ce 100644
--- a/macros/latex/contrib/koma-script/source/scrtime.dtx
+++ b/macros/latex/contrib/koma-script/source/scrtime.dtx
@@ -2,7 +2,7 @@
% \iffalse
% ======================================================================
% scrtime.dtx
-% Copyright (c) Markus Kohm, 1995-2017
+% Copyright (c) Markus Kohm, 1995-2019
%
% This file is part of the LaTeX2e KOMA-Script bundle.
%
@@ -20,7 +20,7 @@
% This work consists of all files listed in manifest.txt.
% ----------------------------------------------------------------------
% scrtime.dtx
-% Copyright (c) Markus Kohm, 1995-2017
+% Copyright (c) Markus Kohm, 1995-2019
%
% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
% Version 1.3c, verteilt und/oder veraendert werden.
@@ -55,15 +55,15 @@
% Right brace \} Tilde \~}
%
% \iffalse
-%%% From File: $Id: scrtime.dtx 2649 2017-05-29 09:39:43Z kohm $
+%%% From File: $Id: scrtime.dtx 3256 2019-10-10 07:06:49Z kohm $
%<package&identify>\NeedsTeXFormat{LaTeX2e}[1995/06/01]
%<*driver>
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\begingroup
\def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}}
- \filedate$Date: 2017-05-29 11:39:43 +0200 (Mon, 29 May 2017) $
+ \filedate$Date: 2019-10-10 09:06:49 +0200 (Thu, 10 Oct 2019) $
\def\filerevision$#1: #2 ${\gdef\filerevision{r#2}}
- \filerevision$Revision: 2649 $
+ \filerevision$Revision: 3256 $
\endgroup
\ProvidesFile{scrtime.dtx}[\filedate\space\filerevision\space
%</driver>
@@ -113,7 +113,6 @@
%<*driver>
\documentclass{scrdoc}
\usepackage[german,english]{babel}
-\usepackage[latin1]{inputenc}
\CodelineIndex
\RecordChanges
\GetFileInfo{scrtime.dtx}
@@ -163,13 +162,13 @@
% \fi
%
% \begin{option}{12h}
-% \changes{v1.1b}{1995/02/15}{Option \texttt{12h} added.}
-% \changes{v1.2}{2010/03/10}{Option uses \textsf{scrkbase}.}
+% \changes{v1.1b}{1995/02/15}{Option \texttt{12h} added.}
+% \changes{v1.2}{2010/03/10}{Option uses \textsf{scrkbase}.}
% \begin{option}{24h}
-% \changes{v1.1b}{1995/02/15}{Option \texttt{24h} added.}
-% \changes{v1.2}{2010/03/10}{Option is deprecated.}
+% \changes{v1.1b}{1995/02/15}{Option \texttt{24h} added.}
+% \changes{v1.2}{2010/03/10}{Option is deprecated.}
% \begin{macro}{\if@Hxii}
-% \changes{v1.1b}{1995/02/15}{new switch}
+% \changes{v1.1b}{1995/02/15}{new switch}
% There are two the two Options |24h| and |12h|. We need a switch to
% distinguish.
% \begin{macrocode}
@@ -210,10 +209,10 @@
% a very good idea.
%
% \begin{macro}{\thistime}
-% \changes{v1.1b}{1995/02/15}{{\cmd\thistime*} added.}^^A
-% \changes{v1.1b}{1995/02/15}{{\cmd\thistime} works.}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v1.1b}{1995/02/15}{{\cmd\thistime*} added.}%^^A
+% \changes{v1.1b}{1995/02/15}{{\cmd\thistime} works.}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% First we have to decide, is it a star-version ore not.
% \begin{macrocode}
\def\thistime{%
@@ -273,7 +272,7 @@
% functionality.
%
% \begin{macro}{\CenturyPart}
-% \changes{v3.05a}{2010/03/10}{New}
+% \changes{v3.05a}{2010/03/10}{New}
% This is the century part of a year number and so only a shortcut to
% |\XdivY{...}{100}|, that is defined at \textsf{scrbase}.
% \begin{macrocode}
@@ -282,7 +281,7 @@
% \end{macro}
%
% \begin{macro}{\DecadePart}
-% \changes{v3.05a}{2010/03/10}{New}
+% \changes{v3.05a}{2010/03/10}{New}
% This is the year number withoud the century part and therefrso only a
% shortcut to |\XmodY{...}{100}|, that is defined at \textsf{scrbase}.
% \begin{macrocode}
@@ -291,7 +290,7 @@
% \end{macro}
%
% \begin{macro}{\@GaussYear}
-% \changes{v3.05a}{2010/03/10}{New (internal)}
+% \changes{v3.05a}{2010/03/10}{New (internal)}
% At the Gauss calculation of the day of the week January and February relates
% to the year before. This macro does the correction for any date.
% \begin{macrocode}
@@ -312,7 +311,7 @@
% \end{macro}
%
% \begin{macro}{\DayNumber}
-% \changes{v3.05a}{2010/03/10}{New}
+% \changes{v3.05a}{2010/03/10}{New}
% Returns the numerical value of the day of week. Note, that Sunday is 0,
% Monday is 1, \dots, Saturday is 6. We use the Gauss calculation of the day
% of the week. First argument is the year, second the month and last the day
@@ -341,13 +340,13 @@
% \end{macrocode}
% \end{macro}
% \begin{macro}{\ISODayNumber}
-% \changes{v3.05a}{2010/03/10}{New}
+% \changes{v3.05a}{2010/03/10}{New}
% Das gleiche wie \cs{DayNumber} aber mit einem ISO-Datum als Argument.
% \begin{macrocode}
\newcommand*{\ISODayNumber}[1]{\expandafter\@IsoDayNumber#1\@nil}
% \end{macrocode}
% \begin{macro}{\@IsoDayNumber}
-% \changes{v3.05a}{2010/03/10}{New (internal)}
+% \changes{v3.05a}{2010/03/10}{New (internal)}
% \begin{macrocode}
\newcommand*{\@IsoDayNumber}{}
\def\@IsoDayNumber#1-#2-#3\@nil{\DayNumber{#1}{#2}{#3}}
@@ -356,14 +355,14 @@
% \end{macro}
%
% \begin{macro}{\DayName}
-% \changes{v3.05a}{2010/03/10}{New}
+% \changes{v3.05a}{2010/03/10}{New}
% Returns the name of the day of the week. Arguments like \cs{DayNumber}.
% \begin{macrocode}
\newcommand*{\DayName}[3]{\@dayname{\DayNumber{#1}{#2}{#3}}}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\ISODayName}
-% \changes{v3.05a}{2010/03/10}{New}
+% \changes{v3.05a}{2010/03/10}{New}
% Das gleiche wie \cs{DayName} aber mit einem ISO-Datum als Argument.
% \begin{macrocode}
\newcommand*{\ISODayName}[1]{\@dayname{\ISODayNumber{#1}}}
@@ -371,7 +370,7 @@
% \end{macro}
%
% \begin{macro}{\DayNameByNumber}
-% \changes{v3.05a}{2010/03/10}{New}
+% \changes{v3.05a}{2010/03/10}{New}
% Returns the name of the day of the week. The argument is a number that will
% be transposed to the range 0..6.
% \begin{macrocode}
@@ -382,7 +381,7 @@
% \end{macro}
%
% \begin{macro}{\ISOToday}
-% \changes{v3.05a}{2010/03/10}{New}
+% \changes{v3.05a}{2010/03/10}{New}
% Returns the ISO date.
% \begin{macrocode}
\newcommand*{\ISOToday}{%
@@ -392,7 +391,7 @@
% \end{macro}
%
% \begin{macro}{\IsoToday}
-% \changes{v3.05a}{2010/03/10}{New}
+% \changes{v3.05a}{2010/03/10}{New}
% Returns the ISO date.
% \begin{macrocode}
\newcommand*{\IsoToday}{%
@@ -402,7 +401,7 @@
% \end{macro}
%
% \begin{macro}{\todaysname}
-% \changes{v3.05a}{2010/03/10}{Rewritten}
+% \changes{v3.05a}{2010/03/10}{Rewritten}
% Using \cs{DayName} this is very, very simple.
% \begin{macrocode}
\newcommand*{\todaysname}{\DayName{\year}{\month}{\day}}
@@ -410,7 +409,7 @@
% \end{macro}
%
% \begin{macro}{\todaysnumber}
-% \changes{v3.05a}{2010/03/11}{New}
+% \changes{v3.05a}{2010/03/11}{New}
% Using \cs{DayNumber} this is very, very simple.
% \begin{macrocode}
\newcommand*{\todaysnumber}{\DayNumber{\year}{\month}{\day}}
@@ -418,7 +417,7 @@
% \end{macro}
%
% \begin{macro}{\nameday}
-% \changes{v3.05a}{2010/03/10}{Not longer \cs{long}}
+% \changes{v3.05a}{2010/03/10}{Not longer \cs{long}}
% We simply have to redefine |\todaysname|
% \begin{macrocode}
\newcommand\nameday[1]{\renewcommand*{\todaysname}{#1}}
@@ -426,7 +425,7 @@
% \end{macro}
%
% \begin{macro}{\newdaylanguage}
-% \changes{v3.05a}{2010/03/10}{Sunday is 0}
+% \changes{v3.05a}{2010/03/10}{Sunday is 0}
% We write a macro to define the name of the days.
% \begin{macro}{\scrdate@languagenamewarning}
% But before this, we have to define a once only warning.
@@ -530,35 +529,35 @@
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@ngerman}
-% \changes{v1.1i}{1999/10/09}{new language ``ngerman''.}
+% \changes{v1.1i}{1999/10/09}{new language ``ngerman''.}
% \begin{macrocode}
\newdaylanguage{ngerman}{Montag}{Dienstag}{Mittwoch}
{Donnerstag}{Freitag}{Samstag}{Sonntag}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@naustrian}
-% \changes{v3.08b}{2011/02/22}{new language ``naustrian''.}
+% \changes{v3.08b}{2011/02/22}{new language ``naustrian''.}
% \begin{macrocode}
\newdaylanguage{naustrian}{Montag}{Dienstag}{Mittwoch}
{Donnerstag}{Freitag}{Samstag}{Sonntag}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@austrian}
-% \changes{v3.08b}{2011/02/22}{new language ``austrian''.}
+% \changes{v3.08b}{2011/02/22}{new language ``austrian''.}
% \begin{macrocode}
\newdaylanguage{austrian}{Montag}{Dienstag}{Mittwoch}
{Donnerstag}{Freitag}{Samstag}{Sonntag}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@swissgerman}
-% \changes{v3.13}{2014/01/23}{new language ``swissgerman''.}
+% \changes{v3.13}{2014/01/23}{new language ``swissgerman''.}
% \begin{macrocode}
\newdaylanguage{swissgerman}{Montag}{Dienstag}{Mittwoch}
{Donnerstag}{Freitag}{Samstag}{Sonntag}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@nswissgerman}
-% \changes{v3.13}{2014/01/23}{new language ``nswissgerman''.}
+% \changes{v3.13}{2014/01/23}{new language ``nswissgerman''.}
% \begin{macrocode}
\newdaylanguage{nswissgerman}{Montag}{Dienstag}{Mittwoch}
{Donnerstag}{Freitag}{Samstag}{Sonntag}
@@ -566,70 +565,70 @@
% \end{macro}
%
% \begin{macro}{\dayname@american}
-% \changes{v3.13}{2014/01/23}{new language ``american''.}
+% \changes{v3.13}{2014/01/23}{new language ``american''.}
% \begin{macrocode}
\newdaylanguage{american}{Monday}{Tuesday}{Wednesday}
{Thursday}{Friday}{Saturday}{Sunday}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@australian}
-% \changes{v3.13}{2014/01/23}{new language ``australian''.}
+% \changes{v3.13}{2014/01/23}{new language ``australian''.}
% \begin{macrocode}
\newdaylanguage{australian}{Monday}{Tuesday}{Wednesday}
{Thursday}{Friday}{Saturday}{Sunday}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@british}
-% \changes{v3.13}{2014/01/23}{new language ``british''.}
+% \changes{v3.13}{2014/01/23}{new language ``british''.}
% \begin{macrocode}
\newdaylanguage{british}{Monday}{Tuesday}{Wednesday}
{Thursday}{Friday}{Saturday}{Sunday}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@canadian}
-% \changes{v3.13}{2014/01/23}{new language ``canadian''.}
+% \changes{v3.13}{2014/01/23}{new language ``canadian''.}
% \begin{macrocode}
\newdaylanguage{canadian}{Monday}{Tuesday}{Wednesday}
{Thursday}{Friday}{Saturday}{Sunday}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@english}
-% \changes{v1.1g}{1997/06/21}{correct name is ``tuesday''.}
+% \changes{v1.1g}{1997/06/21}{correct name is ``tuesday''.}
% \begin{macrocode}
\newdaylanguage{english}{Monday}{Tuesday}{Wednesday}
{Thursday}{Friday}{Saturday}{Sunday}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@newzealand}
-% \changes{v3.13}{2014/01/23}{new language ``newzealand''.}
+% \changes{v3.13}{2014/01/23}{new language ``newzealand''.}
% \begin{macrocode}
\newdaylanguage{newzealand}{Monday}{Tuesday}{Wednesday}
{Thursday}{Friday}{Saturday}{Sunday}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@UKenglish}
-% \changes{v3.13}{2014/01/23}{new language ``UKenglish''.}
+% \changes{v3.13}{2014/01/23}{new language ``UKenglish''.}
% \begin{macrocode}
\newdaylanguage{UKenglish}{Monday}{Tuesday}{Wednesday}
{Thursday}{Friday}{Saturday}{Sunday}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@ukenglish}
-% \changes{v3.24}{2017/05/29}{new language ``ukenglish''.}
+% \changes{v3.24}{2017/05/29}{new language ``ukenglish''.}
% \begin{macrocode}
\newdaylanguage{ukenglish}{Monday}{Tuesday}{Wednesday}
{Thursday}{Friday}{Saturday}{Sunday}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@USenglish}
-% \changes{v1.1g}{1997/06/21}{correct name is ``tuesday''.}
+% \changes{v1.1g}{1997/06/21}{correct name is ``tuesday''.}
% \begin{macrocode}
\newdaylanguage{USenglish}{Monday}{Tuesday}{Wednesday}
{Thursday}{Friday}{Saturday}{Sunday}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@usenglish}
-% \changes{v3.24}{2017/05/29}{new language ``usenglish''.}
+% \changes{v3.24}{2017/05/29}{new language ``usenglish''.}
% \begin{macrocode}
\newdaylanguage{usenglish}{Monday}{Tuesday}{Wednesday}
{Thursday}{Friday}{Saturday}{Sunday}
@@ -637,21 +636,21 @@
% \end{macro}
%
% \begin{macro}{\dayname@acadian}
-% \changes{v3.13}{2014/01/23}{new language ``acadian''.}
+% \changes{v3.13}{2014/01/23}{new language ``acadian''.}
% \begin{macrocode}
\newdaylanguage{acadian}{Lundi}{Mardi}{Mercredi}
{Jeudi}{Vendredi}{Samedi}{Dimanche}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@canadien}
-% \changes{v3.13}{2014/01/23}{new language ``canadien''.}
+% \changes{v3.13}{2014/01/23}{new language ``canadien''.}
% \begin{macrocode}
\newdaylanguage{canadien}{Lundi}{Mardi}{Mercredi}
{Jeudi}{Vendredi}{Samedi}{Dimanche}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@francais}
-% \changes{v3.13}{2014/01/23}{new language ``francais''.}
+% \changes{v3.13}{2014/01/23}{new language ``francais''.}
% \begin{macrocode}
\newdaylanguage{francais}{Lundi}{Mardi}{Mercredi}
{Jeudi}{Vendredi}{Samedi}{Dimanche}
@@ -664,29 +663,29 @@
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@italian}
-% \changes{v1.1f}{1997/06/06}{New (thanks to Lorenzo M.\ Catucci)}
+% \changes{v1.1f}{1997/06/06}{New (thanks to Lorenzo M.\ Catucci)}
% \begin{macrocode}
\newdaylanguage{italian}{Luned\`\i}{Marted\`\i}{Mercoled\`\i}
{Gioved\`\i}{Venerd\`\i}{Sabato}{Domenica}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@spanish}
-% \changes{v1.1h}{1997/07/26}{New (thanks to Ralph J.\ Hangleiter)}
+% \changes{v1.1h}{1997/07/26}{New (thanks to Ralph J.\ Hangleiter)}
% \begin{macrocode}
\newdaylanguage{spanish}{Lunes}{Martes}{Mi\'ercoles}
{Jueves}{Viernes}{S\'abado}{Domingo}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@croatian}
-% \changes{v1.1l}{2001/10/05}{New (thanks to Branka Lon\v{c}arevi\'{c})}
+% \changes{v1.1l}{2001/10/05}{New (thanks to Branka Lon\v{c}arevi\'{c})}
% \begin{macrocode}
\newdaylanguage{croatian}{Ponedjeljak}{Utorak}{Srijeda}
{\v{C}etvrtak}{Petak}{Subota}{Nedjelja}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\dayname@dutch}
-% \changes{v1.1m}{2002/02/02}{New (thanks to Henk Jongbloets)}
-% \changes{v1.1p}{2009/01/01}{fixed to upper case}
+% \changes{v1.1m}{2002/02/02}{New (thanks to Henk Jongbloets)}
+% \changes{v1.1p}{2009/01/01}{fixed to upper case}
% \begin{macrocode}
\newdaylanguage{dutch}{Maandag}{Dinsdag}{Woensdag}
{Donderdag}{Vrijdag}{Zaterdag}{Zondag}
@@ -694,7 +693,7 @@
% \end{macro}
%
% \begin{macro}{\dayname@finnish}
-% \changes{v1.1n}{2005/02/07}{New (thanks to Hannu V\"ais\"anen)}
+% \changes{v1.1n}{2005/02/07}{New (thanks to Hannu V\"ais\"anen)}
% \begin{macrocode}
\newdaylanguage{finnish}{Maanantai}{Tiistai}{Keskiviikko}
{Torstai}{Perjantai}{Lauantai}{Sunnuntai}
@@ -702,7 +701,7 @@
% \end{macro}
%
% \begin{macro}{\dayname@norsk}
-% \changes{v1.1p}{2009/01/01}{New (thank to Sveinung Heggen)}
+% \changes{v1.1p}{2009/01/01}{New (thank to Sveinung Heggen)}
% \begin{macrocode}
\newdaylanguage{norsk}{Mandag}{Tirsdag}{Onsdag}
{Torsdag}{Fredag}{L\o{}rdag}{S\o{}ndag}
@@ -710,7 +709,7 @@
% \end{macro}
%
% \begin{macro}{\dayname@danish}
-% \changes{v3.08}{2011/01/18}{New (thanks to Benjamin Hell)}
+% \changes{v3.08}{2011/01/18}{New (thanks to Benjamin Hell)}
% \begin{macrocode}
\newdaylanguage{danish}{Mandag}{Tirsdag}{Onsdag}
{Torsdag}{Fredag}{L\o{}rdag}{S\o{}ndag}
@@ -718,7 +717,7 @@
% \end{macro}
%
% \begin{macro}{\dayname@swedish}
-% \changes{v3.08}{2011/01/18}{New (thanks to Benjamin Hell)}
+% \changes{v3.08}{2011/01/18}{New (thanks to Benjamin Hell)}
% \begin{macrocode}
\newdaylanguage{swedish}{M\aa{}ndag}{Tisdag}{Onsdag}
{Torsdag}{Fredag}{L\"ordag}{S\"ondag}
@@ -726,8 +725,8 @@
% \end{macro}
%
% \begin{macro}{\dayname@polish}
-% \changes{v3.13}{2014/01/07}{New (thanks to Blandyna Bogdol)}
-% \changes{v3.13}{2014/01/23}{Fixed (thanks to Elke Schubert)}
+% \changes{v3.13}{2014/01/07}{New (thanks to Blandyna Bogdol)}
+% \changes{v3.13}{2014/01/23}{Fixed (thanks to Elke Schubert)}
% \begin{macrocode}
\newdaylanguage{polish}{Poniedzia\l{}ek}{Wtorek}{\'Sroda}
{Czwartek}{Pi\aob{}tek}{Sobota}{Niedziela}
@@ -735,7 +734,7 @@
% \end{macro}
%
% \begin{macro}{\dayname@czech}
-% \changes{v3.13}{2014/01/23}{New (thanks to Elke Schubert)}
+% \changes{v3.13}{2014/01/23}{New (thanks to Elke Schubert)}
% \begin{macrocode}
\newdaylanguage{czech}{Pond\v{e}l\'\i}{\'Uter\'y}{St\v{r}eda}
{\v{C}tvrtek}{P\'atek}{Sobota}{Ned\v{e}le}
@@ -743,7 +742,7 @@
% \end{macro}
%
% \begin{macro}{\dayname@slovak}
-% \changes{v3.13}{2014/02/26}{New (thanks to Elke Schubert)}
+% \changes{v3.13}{2014/02/26}{New (thanks to Elke Schubert)}
% \begin{macrocode}
\newdaylanguage{slovak}{Pondelok}{Utorok}{Streda}
{\v{S}tvrtok}{Piatok}{Sobota}{Nede\v{l}a}