diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-06-25 12:55:51 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-06-25 12:55:51 +0000 |
commit | 038b125b57620c4bc3d908e8e22035040d2583cf (patch) | |
tree | 3caa209dbdd7984a7f71a69bb369bb4653a7d2ef /Master/texmf-dist/tex/latex/isodate/isodate.sty | |
parent | 1d22fff444d6ffab84d65b382c0780d893b5bf59 (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/isodate.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/isodate/isodate.sty | 22 |
1 files changed, 16 insertions, 6 deletions
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}% |