diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/scrtime.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/koma-script/scrtime.dtx | 210 |
1 files changed, 67 insertions, 143 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/scrtime.dtx b/Master/texmf-dist/source/latex/koma-script/scrtime.dtx index ba74f76e7e5..b383b102476 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrtime.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrtime.dtx @@ -1,34 +1,42 @@ -% \CheckSum{283} +% \CheckSum{275} % \iffalse % ====================================================================== % scrtime.dtx -% Copyright (C) 1995-2004 Markus Kohm +% Copyright (c) Markus Kohm, 1995-2006 % -% This file is part of the LaTeX2e KOMA-Script-Bundle +% This file is part of the LaTeX2e KOMA-Script bundle. % -% This file can be redistributed and/or modified under the terms -% of the LaTeX Project Public License Version 1.0 distributed -% together with this file. See LEGAL.TXT or LEGALDE.TXT. +% This work may be distributed and/or modified under the conditions of +% the LaTeX Project Public License, version 1.3b of the license. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later and of this work. % -% This bundle is written specialy for use at german-language. So the -% main documentation is german. There is also a english documentation, -% but this is NOT up-to-date. +% This work has the LPPL maintenance status "author-maintained". +% +% The Current Maintainer and author of this work is Markus Kohm. +% +% This work consists of all files listed in manifest.txt. % ---------------------------------------------------------------------- % scrtime.dtx -% Copyright (C) 1995-2004 Markus Kohm +% Copyright (c) Markus Kohm, 1995-2006 % -% Diese Datei ist Teil des LaTeX2e KOMA-Script-Pakets. +% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz, +% Version 1.3b, verteilt und/oder veraendert werden. +% Die neuste Version dieser Lizenz ist +% http://www.latex-project.org/lppl.txt +% und Version 1.3b ist Teil aller Verteilungen von LaTeX +% Version 2005/12/01 oder spaeter und dieses Werks. % -% Diese Datei kann nach den Regeln der LaTeX Project Public -% Licence Version 1.0, wie sie zusammen mit dieser Datei verteilt -% wird, weiterverbreitet und/oder modifiziert werden. Siehe dazu -% auch LEGAL.TXT oder LEGALDE.TXT. +% Dieses Werk hat den LPPL-Verwaltungs-Status "author-maintained" +% (allein durch den Autor verwaltet). % -% Dieses Paket ist f"ur den deutschen Sprachraum konzipiert. Daher ist -% auch diese Anleitung komplett in Deutsch. Zwar existiert auch eine -% englische Version der Anleitung, diese hinkt der deutschen Anleitung -% jedoch fast immer hinterher. +% Der Aktuelle Verwalter und Autor dieses Werkes ist Markus Kohm. +% +% Dieses Werk besteht aus den in manifest.txt aufgefuehrten Dateien. % ====================================================================== +% \fi % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -46,140 +54,54 @@ % Grave accent \` Left brace \{ Vertical bar \| % Right brace \} Tilde \~} % +% \iffalse +%%% From File: scrtime.dtx %<*dtx> - \ProvidesFile{scrtime.dtx} +\ProvidesFile{scrtime.dtx} %</dtx> %<scrtime|scrdate>\NeedsTeXFormat{LaTeX2e}[1995/12/01] -%<driver> \ProvidesFile{scrtime.drv} +%<driver>\ProvidesFile{scrtime.drv} %<scrtime>\ProvidesPackage{scrtime} %<scrdate>\ProvidesPackage{scrdate} - [2002/02/02 v1.1m LaTeX2e KOMA -%<beta> BETA-VERSION + [2006/03/30 v1.1o LaTeX2e KOMA-Script %<scrtime|scrdate> package] %<*driver> driver] -\documentclass{ltxdoc} -\usepackage[a4paper]{typearea} +\documentclass{scrdoc} +\usepackage[german,english]{babel} +\usepackage[latin1]{inputenc} \CodelineIndex +\RecordChanges +\GetFileInfo{scrtime.dtx} +\title{The \textsf{KOMA}-timedate-bundle\thanks{This file has + version number \fileversion, last revised \filedate.}} +\author{Markus Kohm} +\date{\filedate} \begin{document} - \DocInput{scrtime.dtx} + \maketitle + \begin{abstract} + This bundle includes a package \texttt{scrtime} defining some macros to + handle compilation-time. It's a very simple implementation similar to + \texttt{time.sty}. I've tried to use no additional register. + + The second package \texttt{scrdate} defines some macros to handle the name + of the day! + \end{abstract} + \tableofcontents + \DocInput{scrtime.dtx} \end{document} %</driver> % \fi % -% \GetFileInfo{scrtime.dtx} -% \RecordChanges -% \title{The \textsf{KOMA}-timedate-bundle\thanks{This file has -% version number \fileversion, last revised \filedate.}} -% \author{Markus Kohm} -% \date{\filedate} -% \maketitle -% -% \def\oarg#1{{\ttfamily[}{\em#1\/}{\ttfamily]}} -% \def\arg#1{{\ttfamily\char`\{}{\em#1\/}{\ttfamily\char`\}}} -% \def\star{{\ttfamily*}} -% \makeatletter -% \def\Describe@Macro#1{\endgroup -% \setbox0=\lastbox\llap{\PrintDescribeMacro{#1}}}% -% \def\Describe@Env#1{\endgroup -% \setbox0=\lastbox\llap{\PrintDescribeEnv{#1}}}% -% \makeatother -% \marginparsep0pt -% -% \begin{abstract} -% This bundle includes a package \texttt{scrtime} defining some -% macros to handle compilation-time. -% It's a very simple implementation similar to \texttt{time.sty}. -% I've tried to use no additional register. -% -% The second package \texttt{scrdate} defines some macros to -% handle the name of the day! -% \end{abstract} -% % \tableofcontents % % \section{Introduction} -% \subsection{\texttt{scrtime}-package} -% \DescribeMacro -% \today\\ -% \DescribeMacro -% \date\arg{today's-value}\\ -% \DescribeMacro -% \thistime\oarg{hourseparator}\\ -% \DescribeMacro -% \settime\arg{thistime's-value}\\ -% At \LaTeX\ there's a macro |\today| to get compilation-date. There's -% a macro |\date| to set the value of |\today|, too. But to handle -% compilation-time there is only a macro |\time| which shows the -% gone minutes of the day. -% -% With the macro |\thistime| you get the actual time. The optional -% argument \oarg{hourseparator} is used to separate hours and minutes. -% Default-value is ``|:|''. |\thistime| writes values of minutes less than -% ten with prefix ``0''. |\thistime*| doesn't. -% -% With the macro |\settime| you may set the value of |\thistime|. After -% this the optional argument of |\thistime| will be ignored. -% -% -% \subsection{\texttt{scrdate}-package} -% -% At \LaTeX\ there are macros to get the actual day or month or year. Using -% |\today| you even may get the name of the month, but you will never get the -% name of the day. -% -% This package defines some macros to handle the name of the day. -% -% \begin{description} -% \item[Important:] If you use language-packages like \texttt{german} or -% \texttt{babel}, these \emph{must} be loaded \emph{after} -% \texttt{scrdate}-package. Otherwise the name of the day'll be wrong! -% \end{description} -% -% \noindent\texttt{scrdate} knows five languages: -% \begin{itemize} -% \item english -% \item USenglish -% \item german -% \item ngerman -% \item french -% \end{itemize} -% -% \DescribeMacro -% \newdaylanguage\arg{language}\arg{Monday}\arg{Tuesday}\arg{Wednesday}% -% \arg{Thursday}\arg{Friday}\arg{Saturday}\arg{Sunday}\\ -% You may add additional languages using the configurationfile -% \texttt{scrdate.cfg}. There you have to define a macro -% |\dayname@|\emph{language}. You may use |\newdaylanguage| to do so. -% -% -% \DescribeMacro -% \todaysname\\ -% shows the name of the actual day (defined by |\year|, |\month| and -% |\day| or by |\dayname|). -% -% \DescribeMacro -% \dayname\arg{Name}\\ -% sets the name of the day to \arg{Name}. -% -% -% \StopEventually % -% \section{Implementation} +% See the \KOMAScript{} guide for informations abouthow to use the package. % -%\iffalse -% \begin{macrocode} -%<*beta> -\PackageWarningNoLine -%<scrtime> {scrtime} -%<scrdate> {scrdate} - {THIS IS A BETA VERSION!\MessageBreak - YOU SHOULD NOT USE THIS VERSION!\MessageBreak - YOU SHOULD INSTALL THE RELEASE FROM CTAN\MessageBreak - AND USE THAT INSTEAD OF THIS BETA VERSION} -%</beta> -% \end{macrocode} -%\fi +% \StopEventually{\PrintIndex\PrintChanges} +% +% \section{Implementation} % % \subsection{Time-macros} % @@ -476,7 +398,15 @@ % \changes{v1.1m}{2002/02/02}{New (thanks to Henk Jongbloets)} % \begin{macrocode} \newdaylanguage{dutch}{Maandag}{Dinsdag}{Woensdag} - {Donderdag}{Vrijdag}{Zaterdag}{Zondag} + {Donderdag}{Vrijdag}{Zaterdag}{Zondag} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\dayname@finish} +% \changes{v1.1n}{2005/02/07}{New (thanks to Hannu V\"ais\"anen)} +% \begin{macrocode} +\newdaylanguage{finnish}{maanantai}{tiistai}{keskiviikko} + {torstai}{perjantai}{lauantai}{sunnuntai} % \end{macrocode} % \end{macro} % @@ -509,18 +439,12 @@ %</scrdate> % \end{macrocode} % -% \def\englishonly{} -% \input{scrlogo.dtx} -% % \Finale % \endinput % % Ende der Datei `scrtime.dtx' - %%% Local Variables: -%%% mode: latex -%%% Text-master: scrclass.ins -%%% TeX-open-quote: "\"`" -%%% TeX-close-quote: "\"'" +%%% mode: doctex +%%% Text-master: t %%% End:
\ No newline at end of file |