diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:57:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:57:14 +0000 |
commit | 89676d2bc257e3b020cb4692ffa5cb092470a1b5 (patch) | |
tree | 008e97aad811c7f81018234028961f9370ccbe65 /Master/texmf-dist/tex/latex/isodate/german.idf | |
parent | 76f683b146315bf9236a0f9599561bd6d616555e (diff) |
isodate
git-svn-id: svn://tug.org/texlive/trunk@1000 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/isodate/german.idf')
-rw-r--r-- | Master/texmf-dist/tex/latex/isodate/german.idf | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/isodate/german.idf b/Master/texmf-dist/tex/latex/isodate/german.idf new file mode 100644 index 00000000000..730ad12879a --- /dev/null +++ b/Master/texmf-dist/tex/latex/isodate/german.idf @@ -0,0 +1,131 @@ +%% +%% This is file `german.idf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% isodate.dtx (with options: `language,german') +%% +%% isodate package +%% +%% Copyright 2000--2005 Harald Harders +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1 of the License, or any later version. +%% +%% h.harders@tu-bs.de +%% +\ProvidesFile{german.idf} + [2005/03/11 v2.27 Language definitions for isodate package (HH)] +\let\iso@languageloaded\active +\typeout{Define commands for German date format (\CurrentOption)} +\def\iso@dmsepgerman{\,}% +\def\iso@mylongsepgerman{~}% +\def\iso@myshortsepgerman{\,}% +\DeclareRobustCommand*\daymonthsepgerman[1]{\def\iso@dmsepgerman{#1}} +\DeclareRobustCommand*\monthyearsepgerman[2]{% + \def\iso@mylongsepgerman{#1}% + \def\iso@myshortsepgerman{#2}} +\def\month@german{\ifcase\month\or + Januar\or Februar\or M\"arz\or April\or Mai\or Juni\or + Juli\or August\or September\or Oktober\or November\or Dezember\fi} +\def\month@ngerman{\month@german} +\def\month@austrian{\ifnum1=\month + J\"anner\else \month@german\fi} +\def\month@naustrian{\month@austrian} +\@namedef{iso@printmonthday@\CurrentOption}#1#2{% + \ifthenelse{\equal{\iso@dateformat}{numeric}\or% + \equal{\iso@dateformat}{short}}{% + \iso@printday{#2}.\iso@dmsepgerman\iso@printmonth{#1}.}{% + \ifthenelse{\equal{\iso@dateformat}{iso}}{% + \iso@printmonth{#1}\iso@isodash\iso@printday{#2}}{% + \ifthenelse{\equal{\iso@dateformat}{TeX}}{% + \iso@printmonth{#1}/\iso@printday{#2}}{% + \ifthenelse{\equal{\iso@dateformat}{orig}\or + \equal{\iso@dateformat}{shortorig}}{% + \iso@printday{#2}.~\begingroup + \edef\lmonth{#1}% + \def\month{\lmonth}\csname month@\iso@languagename\endcsname% + \endgroup + }{}}}}% +} +\@namedef{iso@printdate@\CurrentOption}#1#2#3{% + \ifiso@printyear + \ifthenelse{\equal{\iso@dateformat}{iso}}{% + \iso@yearfour{\number#1}\iso@isodash}{% + \ifthenelse{\equal{\iso@dateformat}{TeX}}{% + \iso@yearfour{\number#1}/}{}}% + \fi + \csname iso@printmonthday@\iso@languagename\endcsname{% + \number#2}{\number#3}% + \ifiso@printyear + \ifthenelse{\equal{\iso@dateformat}{numeric}}{% + \iso@mylongsepgerman\iso@yearfour{\number#1}}{% + \ifthenelse{\equal{\iso@dateformat}{orig}}{~\iso@yearfour{\number#1}}{% + \ifthenelse{\equal{\iso@dateformat}{shortorig}}{% + ~\iso@twodigitsign\iso@yeartwo{\number#1}}{% + \ifthenelse{\equal{\iso@dateformat}{short}}{% + \iso@myshortsepgerman\iso@yeartwo{\number#1}}{}}}}% + \fi +} +\@namedef{iso@daterange@\CurrentOption}#1#2#3#4#5#6{% + \ifthenelse{\equal{\iso@dateformat}{iso}\or% + \equal{\iso@dateformat}{TeX}}{% + \csname iso@printdate@\iso@languagename\endcsname{#1}{#2}{#3}% + \iso@rangesign% + \ifthenelse{\equal{\number#1}{\number#4}}{% + \ifthenelse{\equal{\number#2}{\number#5}}{\iso@printday{#6}% + }{\csname iso@printmonthday@\iso@languagename\endcsname{#5}{#6}}}{% + \csname iso@printdate@\iso@languagename\endcsname{#4}{#5}{#6}}}{% + \ifthenelse{\equal{\number#1}{\number#4}}{% + \ifthenelse{\equal{\number#2}{\number#5}}{% + \ifthenelse{\equal{\iso@dateformat}{orig}}{% + \iso@printday{#3}}{\iso@printday{#3}}.% + }{\csname iso@printmonthday@\iso@languagename\endcsname{% + #2}{#3}}}{% + \csname iso@printdate@\iso@languagename\endcsname{#1}{#2}{#3}}% + \iso@rangesign\csname iso@printdate@\iso@languagename\endcsname{% + #4}{#5}{#6}% + }% +} +\expandafter\def\csname iso@rangesign@\CurrentOption\endcsname{~bis~} +\ifthenelse{\equal{\CurrentOption}{german}}{% + \def\iso@dategerman{% + \def\today{\iso@printdate@german{\year}{\month}{\day}}}% + \def\iso@languagename{german}% +}{% +\ifthenelse{\equal{\CurrentOption}{ngerman}}{% + \def\iso@datengerman{% + \def\today{\iso@printdate@ngerman{\year}{\month}{\day}}}% + \def\iso@languagename{ngerman}% +}{% +\ifthenelse{\equal{\CurrentOption}{austrian}}{% + \def\iso@dateaustrian{% + \def\today{\iso@printdate@austrian{\year}{\month}{\day}}}% + \def\iso@languagename{austrian}% +}{% +\ifthenelse{\equal{\CurrentOption}{naustrian}}{% + \def\iso@datenaustrian{% + \def\today{\iso@printdate@naustrian{\year}{\month}{\day}}}% + \def\iso@languagename{naustrian}% +}{% +}}}} +\AtBeginDocument{% + \ifx\undefined\iso@dategerman\else + \def\dategerman{\iso@dategerman}% + \fi + \ifx\undefined\iso@datengerman\else + \def\datengerman{\iso@datengerman}% + \fi + \ifx\undefined\iso@dateaustrian\else + \def\dateaustrian{\iso@dateaustrian}% + \fi + \ifx\undefined\iso@datenaustrian\else + \def\datenaustrian{\iso@datenaustrian}% + \fi +} +\endinput +%% +%% End of file `german.idf'. |