summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/isodate
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-06-25 12:55:51 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-06-25 12:55:51 +0000
commit038b125b57620c4bc3d908e8e22035040d2583cf (patch)
tree3caa209dbdd7984a7f71a69bb369bb4653a7d2ef /Master/texmf-dist/tex/latex/isodate
parent1d22fff444d6ffab84d65b382c0780d893b5bf59 (diff)
isodate update, entring tlpkg-ctan-check
git-svn-id: svn://tug.org/texlive/trunk@9042 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/isodate')
-rw-r--r--Master/texmf-dist/tex/latex/isodate/danish.idf2
-rw-r--r--Master/texmf-dist/tex/latex/isodate/english.idf25
-rw-r--r--Master/texmf-dist/tex/latex/isodate/french.idf2
-rw-r--r--Master/texmf-dist/tex/latex/isodate/german.idf2
-rw-r--r--Master/texmf-dist/tex/latex/isodate/isodate.sty22
-rw-r--r--Master/texmf-dist/tex/latex/isodate/italian.idf96
-rw-r--r--Master/texmf-dist/tex/latex/isodate/norsk.idf2
-rw-r--r--Master/texmf-dist/tex/latex/isodate/swedish.idf2
8 files changed, 133 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/isodate/danish.idf b/Master/texmf-dist/tex/latex/isodate/danish.idf
index 2d2d9949668..bcf1a2bc9a4 100644
--- a/Master/texmf-dist/tex/latex/isodate/danish.idf
+++ b/Master/texmf-dist/tex/latex/isodate/danish.idf
@@ -18,7 +18,7 @@
%% h.harders@tu-bs.de
%%
\ProvidesFile{danish.idf}
- [2005/03/11 v2.27 Language definitions for isodate package (HH)]
+ [2005/04/15 v2.28 Language definitions for isodate package (HH)]
\let\iso@languageloaded\active
\typeout{Define commands for Danish date format}
\def\month@danish{\ifcase\month\or
diff --git a/Master/texmf-dist/tex/latex/isodate/english.idf b/Master/texmf-dist/tex/latex/isodate/english.idf
index f29a1d25e32..204600fcf11 100644
--- a/Master/texmf-dist/tex/latex/isodate/english.idf
+++ b/Master/texmf-dist/tex/latex/isodate/english.idf
@@ -18,7 +18,7 @@
%% h.harders@tu-bs.de
%%
\ProvidesFile{english.idf}
- [2005/03/11 v2.27 Language definitions for isodate package (HH)]
+ [2005/04/15 v2.28 Language definitions for isodate package (HH)]
\let\iso@languageloaded\active
\def\month@english{\ifcase\month\or
January\or February\or March\or April\or May\or June\or
@@ -27,14 +27,21 @@
\equal{\CurrentOption}{british}\or
\equal{\CurrentOption}{UKenglish}}{%
\typeout{Define commands for English date format}
- \def\day@english{\ifcase\day\or
- 1st\or 2nd\or 3rd\or 4th\or 5th\or
- 6th\or 7th\or 8th\or 9th\or 10th\or
- 11th\or 12th\or 13th\or 14th\or 15th\or
- 16th\or 17th\or 18th\or 19th\or 20th\or
- 21st\or 22nd\or 23rd\or 24th\or 25th\or
- 26th\or 27th\or 28th\or 29th\or 30th\or
- 31st\fi}
+ \def\day@english{%
+ \ifiso@cleanlook
+ \day
+ \else
+ \ifcase\day\or
+ 1st\or 2nd\or 3rd\or 4th\or 5th\or
+ 6th\or 7th\or 8th\or 9th\or 10th\or
+ 11th\or 12th\or 13th\or 14th\or 15th\or
+ 16th\or 17th\or 18th\or 19th\or 20th\or
+ 21st\or 22nd\or 23rd\or 24th\or 25th\or
+ 26th\or 27th\or 28th\or 29th\or 30th\or
+ 31st%
+ \fi
+ \fi
+ }
\def\iso@printmonthday@english#1#2{%
\ifthenelse{\equal{\iso@dateformat}{numeric}\or%
\equal{\iso@dateformat}{short}}{%
diff --git a/Master/texmf-dist/tex/latex/isodate/french.idf b/Master/texmf-dist/tex/latex/isodate/french.idf
index 6afd1fcfe8a..2a85daaf1bf 100644
--- a/Master/texmf-dist/tex/latex/isodate/french.idf
+++ b/Master/texmf-dist/tex/latex/isodate/french.idf
@@ -18,7 +18,7 @@
%% h.harders@tu-bs.de
%%
\ProvidesFile{french.idf}
- [2005/03/11 v2.27 Language definitions for isodate package (HH)]
+ [2005/04/15 v2.28 Language definitions for isodate package (HH)]
\let\iso@languageloaded\active
\typeout{Define commands for French date format}
\def\month@french{\ifcase\month\or
diff --git a/Master/texmf-dist/tex/latex/isodate/german.idf b/Master/texmf-dist/tex/latex/isodate/german.idf
index 730ad12879a..a9c08a5bb41 100644
--- a/Master/texmf-dist/tex/latex/isodate/german.idf
+++ b/Master/texmf-dist/tex/latex/isodate/german.idf
@@ -18,7 +18,7 @@
%% h.harders@tu-bs.de
%%
\ProvidesFile{german.idf}
- [2005/03/11 v2.27 Language definitions for isodate package (HH)]
+ [2005/04/15 v2.28 Language definitions for isodate package (HH)]
\let\iso@languageloaded\active
\typeout{Define commands for German date format (\CurrentOption)}
\def\iso@dmsepgerman{\,}%
diff --git a/Master/texmf-dist/tex/latex/isodate/isodate.sty b/Master/texmf-dist/tex/latex/isodate/isodate.sty
index 958d0628046..8d631358199 100644
--- a/Master/texmf-dist/tex/latex/isodate/isodate.sty
+++ b/Master/texmf-dist/tex/latex/isodate/isodate.sty
@@ -19,7 +19,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{isodate}
- [2005/03/11 v2.27 Print dates with different formats (HH)]
+ [2005/04/15 v2.28 Print dates with different formats (HH)]
\RequirePackage{ifthen}
\IfFileExists{substr.sty}{\RequirePackage{substr}%
}{\PackageError{isodate.sty}{Package file substr.sty not found}
@@ -38,6 +38,8 @@
\DeclareOption{roman}{\AtEndOfPackage{\romandate}}
\DeclareOption{shortRoman}{\AtEndOfPackage{\shortRomandate}}
\DeclareOption{shortroman}{\AtEndOfPackage{\shortromandate}}
+\DeclareOption{cleanlook}{\AtEndOfPackage{\cleanlookdateon}}
+\DeclareOption{nocleanlook}{\AtEndOfPackage{\cleanlookdateoff}}
\DeclareOption{inputenglish}{\AtEndOfPackage{\dateinputformat{english}}}
\DeclareOption{inputbritish}{\AtEndOfPackage{\dateinputformat{english}}}
\DeclareOption{inputUKenglish}{\AtEndOfPackage{\dateinputformat{english}}}
@@ -56,6 +58,7 @@
\DeclareOption{french}{\input{french.idf}}
\DeclareOption{frenchb}{\input{french.idf}}
\DeclareOption{german}{\input{german.idf}}
+\DeclareOption{italian}{\input{italian.idf}}
\DeclareOption{naustrian}{\input{german.idf}}
\DeclareOption{newzealand}{\input{english.idf}}
\DeclareOption{ngerman}{\input{german.idf}}
@@ -70,7 +73,7 @@
Isodate definition file \CurrentOption.idf not found}{%
Maybe you misspelled the language option?}}%
}
-\ExecuteOptions{orig}
+\ExecuteOptions{orig,nocleanlook}
\ProcessOptions*
\ifx\iso@languageloaded\@undefined
\PackageError{isodate}{%
@@ -197,12 +200,16 @@
\DeclareRobustCommand*\printyearon{\iso@printyeartrue}
\DeclareRobustCommand*\printyearoff{\iso@printyearfalse}
\printyearon
+\newif\ifiso@cleanlook
+\DeclareRobustCommand*\cleanlookdateon{\iso@cleanlooktrue}
+\DeclareRobustCommand*\cleanlookdateoff{\iso@cleanlookfalse}
+\cleanlookdateoff
\newcommand*\iso@printdate[3]{%
\begingroup%
\@ifundefined{iso@printdate@\iso@languagename}{%
\PackageWarning{isodate}{Language \iso@languagename\space unknown
to isodate.\MessageBreak
- Using default format.}%
+ Using default format}%
}{}%
\year=#1 %
\month=#2 %
@@ -292,7 +299,8 @@
\@ifundefined{iso@daterange@\iso@languagename}{%
\PackageWarning{isodate}{Language \iso@languagename\space unknown
to isodate.\MessageBreak
- Using default date range with range sign --.}%
+ Using default date range\MessageBreak
+ with range sign --}%
\expandafter\def\csname iso@printdate@\iso@languagename\endcsname{}%
\iso@printdate{#1}{#2}{#3}--\iso@printdate{#4}{#5}{#6}%
}{%
@@ -307,7 +315,8 @@
\@ifundefined{iso@daterange@\iso@languagename}{%
\PackageWarning{isodate}{Language \iso@languagename\space unknown
to isodate.\MessageBreak
- Using default date range with range sign --.}%
+ Using default date range\MessageBreak
+ with range sign --}%
\expandafter\def\csname iso@printdate@\iso@languagename\endcsname{}%
\iso@printdate{#3}{#2}{#1}--\iso@printdate{#6}{#5}{#4}%
}{%
@@ -322,7 +331,8 @@
\@ifundefined{iso@daterange@\iso@languagename}{%
\PackageWarning{isodate}{Language \iso@languagename\space unknown
to isodate.\MessageBreak
- Using default date range with range sign --.}%
+ Using default date range\MessageBreak
+ with range sign --}%
\expandafter\def\csname iso@printdate@\iso@languagename\endcsname{}%
\ifthenelse{\equal{\iso@inputformat}{tex}}{%
\iso@printdate{#1}{#2}{#3}--\iso@printdate{#4}{#5}{#6}%
diff --git a/Master/texmf-dist/tex/latex/isodate/italian.idf b/Master/texmf-dist/tex/latex/isodate/italian.idf
new file mode 100644
index 00000000000..b010384eee2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/isodate/italian.idf
@@ -0,0 +1,96 @@
+%%
+%% This is file `italian.idf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% isodate.dtx (with options: `language,italian')
+%%
+%% 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{italian.idf}
+ [2005/04/15 v2.28 Language definitions for isodate package (HH)]
+\let\iso@languageloaded\active
+\typeout{Define commands for Italian date format}
+\def\month@italian{\ifcase\month\or
+ gennaio\or febbraio\or marzo\or aprile\or maggio\or giugno\or
+ luglio\or agosto\or settembre\or ottobre\or novembre\or
+ dicembre\fi}
+\def\iso@printmonthday@italian#1#2{%
+ \ifthenelse{\equal{\iso@dateformat}{numeric}\or%
+ \equal{\iso@dateformat}{short}}{%
+ \iso@printday{#2}/\iso@printmonth{#1}\ifiso@printyear/\fi}{%
+ \ifthenelse{\equal{\iso@dateformat}{iso}}{%
+ \ifiso@printyear\iso@isodash\fi\iso@printmonth{#1}%
+ \iso@isodash\iso@printday{#2}}{%
+ \ifthenelse{\equal{\iso@dateformat}{TeX}}{%
+ \ifiso@printyear/\fi\iso@printmonth{#1}/\iso@printday{#2}}{%
+ \ifthenelse{\equal{\iso@dateformat}{orig}\or
+ \equal{\iso@dateformat}{shortorig}}{%
+ \begingroup
+ \edef\lday{#2}\edef\day{\lday}%
+ \edef\lmonth{#1}\def\month{\lmonth}%
+ \number\day\ifnum1=\day \noexpand\textordmasculine\fi~\month@italian%
+ \endgroup
+ }{}}}}%
+ }
+\def\iso@printdate@italian#1#2#3{%
+ \ifthenelse{\equal{\iso@dateformat}{iso}\or%
+ \equal{\iso@dateformat}{TeX}}{%
+ \ifiso@printyear\iso@yearfour{\number#1}\fi}{}%
+ \iso@printmonthday@italian{\number#2}{\number#3}%
+ \ifiso@printyear
+ \ifthenelse{\equal{\iso@dateformat}{numeric}}{\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@yeartwo{\number#1}}{}}}}%
+ \fi
+}
+\def\iso@dateitalian{%
+ \def\today{\iso@printdate@italian{\year}{\month}{\day}}}%
+ \expandafter\def\csname iso@daterange@\CurrentOption\endcsname{%
+ \iso@daterange@italian}%
+\def\iso@daterange@italian#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}%
+ }{\iso@printmonthday@italian{#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}}{%
+ \begingroup
+ \edef\lday{#3}\edef\day{\lday}%
+ \number\day\ifnum1=\day \noexpand\textordmasculine\fi
+ \endgroup}{\iso@printday{#3}}%
+ }{\iso@printmonthday@italian{#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{~al~}
+\def\iso@languagename{italian}%
+\AtBeginDocument{%
+ \ifx\undefined\iso@dateitalian\else
+ \def\dateitalian{\iso@dateitalian}%
+ \fi
+}
+\endinput
+%%
+%% End of file `italian.idf'.
diff --git a/Master/texmf-dist/tex/latex/isodate/norsk.idf b/Master/texmf-dist/tex/latex/isodate/norsk.idf
index 53d95d50198..e41972bb4e9 100644
--- a/Master/texmf-dist/tex/latex/isodate/norsk.idf
+++ b/Master/texmf-dist/tex/latex/isodate/norsk.idf
@@ -18,7 +18,7 @@
%% h.harders@tu-bs.de
%%
\ProvidesFile{norsk.idf}
- [2005/03/11 v2.27 Language definitions for isodate package (HH)]
+ [2005/04/15 v2.28 Language definitions for isodate package (HH)]
\let\iso@languageloaded\active
\typeout{Define commands for Norwegian date format}
\def\month@norsk{\ifcase\month\or
diff --git a/Master/texmf-dist/tex/latex/isodate/swedish.idf b/Master/texmf-dist/tex/latex/isodate/swedish.idf
index 631465c031c..bbef8a82240 100644
--- a/Master/texmf-dist/tex/latex/isodate/swedish.idf
+++ b/Master/texmf-dist/tex/latex/isodate/swedish.idf
@@ -18,7 +18,7 @@
%% h.harders@tu-bs.de
%%
\ProvidesFile{swedish.idf}
- [2005/03/11 v2.27 Language definitions for isodate package (HH)]
+ [2005/04/15 v2.28 Language definitions for isodate package (HH)]
\let\iso@languageloaded\active
\typeout{Define commands for Swedish date format}
\def\month@swedish{\ifcase\month\or