diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-08 00:12:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-08 00:12:18 +0000 |
commit | 7f549680dc21a5a0b6c80ce7b1252b232d8535ff (patch) | |
tree | 8f8fd8be391bd9e650d01094a09fc16e1602ab53 /Master/texmf-dist/tex | |
parent | 71ba36e9c3d9def1d38c13384caf3b3737c1b188 (diff) |
datetime update (7dec06)
git-svn-id: svn://tug.org/texlive/trunk@2623 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
43 files changed, 459 insertions, 393 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime/datetime.sty b/Master/texmf-dist/tex/latex/datetime/datetime.sty index d4fbe566df1..9b5db911e7b 100644 --- a/Master/texmf-dist/tex/latex/datetime/datetime.sty +++ b/Master/texmf-dist/tex/latex/datetime/datetime.sty @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `datetime.sty,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,91 +27,90 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{datetime}[2005/09/30 v2.46 Date Time Package] +\ProvidesPackage{datetime}[2006/12/05 v2.49 Date Time Package] \RequirePackage{fmtcount} \newif\if@dt@nodate \@dt@nodatefalse \newcommand{\dateseparator}{/} +\newif\if@dt@multilingual +\@ifpackageloaded{babel}{% +\@dt@multilingualtrue}{\@dt@multilingualfalse} \newcommand{\ordinaldateenglish}[1]{\ordinalnum{#1}} -\let\ordinaldatenohyphenation=\ordinaldateenglish - \newcommand{\ordinaldatewelsh}[1]{% #1\ifnum#1=1\/\textsuperscript{a\~n}\fi} - \newcommand{\ordinaldatebreton}[1]{% #1\ifnum#1=1\/\textsuperscript{a\~n}\fi} - \newcommand{\ordinaldatefrench}[1]{% #1\ifnum#1=1\ier\fi} - \newcommand{\ordinaldate}[1]{% -\@ifundefined{languagename}{\ordinalnum{#1}}{% +\if@dt@multilingual \@ifundefined{ordinaldate\languagename}{#1}{% -\csname ordinaldate\languagename\endcsname{#1}}}} +\csname ordinaldate\languagename\endcsname{#1}} +\else +\ordinalnum{#1}% +\fi} +\providecommand{\ier}{\textsuperscript{er}} \newif\ifshowdow % show the day of week if true - -\providecommand{\formatdate}[3]{} - +\providecommand*{\formatdate}[3]{} \newcount\@day \newcount\@month \newcount\@year - \DeclareRobustCommand*{\longdate}{% -\renewcommand{\formatdate}[3]{\ifshowdow\dayofweekname{##1}{##2}{##3} \fi +\renewcommand*{\formatdate}[3]{% +\ifshowdow\dayofweekname{##1}{##2}{##3} \fi \@day=##1\relax\@month=##2\relax\@year=##3\relax \ordinaldate{\the\@day}\ \monthname[\@month], \the\@year}} - \DeclareRobustCommand*{\shortdate}{% -\renewcommand{\formatdate}[3]{\ifshowdow\shortdayofweekname{##1}{##2}{##3} \fi +\renewcommand*{\formatdate}[3]{% +\ifshowdow\shortdayofweekname{##1}{##2}{##3} \fi \@day=##1\relax\@month=##2\relax\@year=##3\relax \ordinaldate{\the\@day}\ \shortmonthname[\@month], \the\@year}} - -\providecommand*{\twodigit}[1]{{\@dtctr=#1\relax\ifnum\@dtctr<10 0\fi\the\@dtctr}} - +\let\twodigit\two@digits \DeclareRobustCommand*{\ddmmyyyydate}{% -\renewcommand{\formatdate}[3]{\@day=##1\relax\@month=##2\relax\@year=##3\relax -\twodigit\@day\dateseparator \twodigit\@month\dateseparator \the\@year}} - +\renewcommand*{\formatdate}[3]{% +\@day=##1\relax\@month=##2\relax\@year=##3\relax +\twodigit\@day\dateseparator \twodigit\@month\dateseparator +\the\@year}} \DeclareRobustCommand*{\dmyyyydate}{% -\renewcommand{\formatdate}[3]{\@day=##1\relax\@month=##2\relax\@year=##3\relax +\renewcommand*{\formatdate}[3]{% +\@day=##1\relax\@month=##2\relax\@year=##3\relax \the\@day\dateseparator \the\@month\dateseparator \the\@year}} - -\DeclareRobustCommand*{\ddmmyydate}{\renewcommand{\formatdate}[3]{% +\DeclareRobustCommand*{\ddmmyydate}{\renewcommand*{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \@dtctr=\@year% \@modulo{\@dtctr}{100}% -\twodigit\@day\dateseparator \twodigit\@month\dateseparator \twodigit\@dtctr}} - -\DeclareRobustCommand*{\dmyydate}{\renewcommand{\formatdate}[3]{% +\twodigit\@day\dateseparator \twodigit\@month\dateseparator +\twodigit\@dtctr}} +\DeclareRobustCommand*{\dmyydate}{\renewcommand*{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \@dtctr=\@year% \@modulo{\@dtctr}{100}% \the\@day\dateseparator \the\@month\dateseparator \twodigit\@dtctr}} - \DeclareRobustCommand*{\textdate}{% -\renewcommand{\formatdate}[3]{\ifshowdow\dayofweekname{##1}{##2}{##3} the \fi +\renewcommand*{\formatdate}[3]{% +\ifshowdow\dayofweekname{##1}{##2}{##3} the \fi \@day=##1\relax\@month=##2\relax\@year=##3\relax \@Ordinalstring\@day\ of \monthname[\@month], \@Numberstring\@year}} - \DeclareRobustCommand*{\usdate}{% -\renewcommand{\formatdate}[3]{\@day=##1\relax\@month=##2\relax\@year=##3\relax +\renewcommand*{\formatdate}[3]{% +\@day=##1\relax\@month=##2\relax\@year=##3\relax \monthname[\@month]\ \the\@day, \the\@year}} - \DeclareRobustCommand*{\mmddyyyydate}{% -\renewcommand{\formatdate}[3]{\@day=##1\relax\@month=##2\relax\@year=##3\relax -\twodigit\@month\dateseparator \twodigit\@day\dateseparator \the\@year}} - +\renewcommand*{\formatdate}[3]{% +\@day=##1\relax\@month=##2\relax\@year=##3\relax +\twodigit\@month\dateseparator \twodigit\@day\dateseparator +\the\@year}} \DeclareRobustCommand*{\mdyyyydate}{% -\renewcommand{\formatdate}[3]{\@day=##1\relax\@month=##2\relax\@year=##3\relax +\renewcommand*{\formatdate}[3]{% +\@day=##1\relax\@month=##2\relax\@year=##3\relax \the\@month\dateseparator \the\@day\dateseparator \the\@year}} - -\DeclareRobustCommand*{\mmddyydate}{\renewcommand{\formatdate}[3]{% +\DeclareRobustCommand*{\mmddyydate}{\renewcommand*{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \@dtctr=\@year% \@modulo{\@dtctr}{100}% -\twodigit\@month\dateseparator \twodigit\@day\dateseparator \twodigit\@dtctr}} - -\DeclareRobustCommand*{\mdyydate}{\renewcommand{\formatdate}[3]{% +\twodigit\@month\dateseparator \twodigit\@day\dateseparator +\twodigit\@dtctr}} +\DeclareRobustCommand*{\mdyydate}{\renewcommand*{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \@dtctr=\@year% \@modulo{\@dtctr}{100}% @@ -122,22 +121,18 @@ \@namedef{date@#1@m}{#3}% \@namedef{date@#1@y}{#4}}{% \PackageError{datetime}{Date `#1' already defined}{}}} - \newcommand{\getdateyear}[1]{% \@ifundefined{date@#1@y}{% \PackageError{datetime}{Date `#1' not defined}{}}{% \csname date@#1@y\endcsname}} - \newcommand{\getdatemonth}[1]{% \@ifundefined{date@#1@m}{% \PackageError{datetime}{Date `#1' not defined}{}}{% \csname date@#1@m\endcsname}} - \newcommand{\getdateday}[1]{% \@ifundefined{date@#1@d}{% \PackageError{datetime}{Date `#1' not defined}{}}{% \csname date@#1@d\endcsname}} - \newcommand{\displaydate}[1]{% \@ifundefined{date@#1@y}{% \PackageError{datetime}{Date `#1' not defined}{}}{% @@ -145,13 +140,15 @@ \csname date@#1@m\endcsname}{% \csname date@#1@y\endcsname}}} \DeclareRobustCommand*{\currenttime}{\xxivtime} - \newcommand{\timeseparator}{:} - -\providecommand{\settimeformat}[1]{\DeclareRobustCommand*\currenttime{\csname#1\endcsname}} +\providecommand{\settimeformat}[1]{% +\DeclareRobustCommand*\currenttime{\csname#1\endcsname}} \longdate \showdowtrue -\InputIfFileExists{datetime.cfg}{\typeout{Loading local datetime configurations}}{\typeout{No datetime.cfg file found}} +\InputIfFileExists{datetime.cfg}{\PackageInfo{datetime}{% +Loading local datetime configurations}}{% +\PackageInfo{datetime}{No datetime.cfg file found, using default +settings}} \RequirePackage{fmtcount} \DeclareOption{long}{\longdate} \DeclareOption{short}{\shortdate} @@ -173,8 +170,6 @@ \DeclareOption{24hr}{\settimeformat{xxivtime}} \DeclareOption{12hr}{\settimeformat{ampmtime}} \DeclareOption{oclock}{\settimeformat{oclock}} - - \DeclareOption{austrian}{\input{dt-austrian.def}} \DeclareOption{bahasa}{\input{dt-bahasa.def}} \DeclareOption{basque}{\input{dt-basque.def}} @@ -217,16 +212,17 @@ \DeclareOption{ukraineb}{\input{dt-ukraineb.def}} \DeclareOption{usorbian}{\input{dt-usorbian.def}} \DeclareOption{welsh}{\input{dt-welsh.def}} - \ProcessOptions \RequirePackage{ifthen} \if@dt@nodate -\typeout{datetime package message : option "nodate" used, so not defining \protect\monthname} +\PackageInfo{datetime}{option "nodate" used, so not defining +\string\monthname} \else \providecommand{\monthnameenglish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (January) to 12 (December)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month +numbers should go from 1 (January) to 12 (December)}% \or January% \or February% \or March% @@ -239,21 +235,28 @@ \or October% \or November% \or December% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (January) to 12 (December)}% +\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (January) to 12 (December)}% +\fi} +\newcommand{\monthname}[1][\month]{% +\if@dt@multilingual +\@ifundefined{monthname\languagename}{% +\PackageWarning{datetime}{No month names provided for language +'\languagename'}% +\monthnameenglish[#1]}{\csname monthname\languagename\endcsname[#1]}% +\else +\monthnameenglish[#1]% \fi} - - %\let\monthname=\monthnameenglish -\newcommand{\monthname}{\@ifundefined{languagename}{% -\monthnameenglish}{\@ifundefined{monthname\languagename}{% -\monthnameenglish}{\csname monthname\languagename\endcsname}}} \fi \if@dt@nodate -\typeout{datetime package message : option "nodate" used, so not defining \protect\shortmonthname} +\PackageInfo{datetime}{option "nodate" used, so not defining +\protect\shortmonthname} \else \providecommand{\shortmonthnameenglish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (jan) to 12 (dec)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month +numbers should go from 1 (jan) to 12 (dec)}% \or Jan% \or Feb% \or Mar% @@ -267,23 +270,26 @@ \or Nov% \or Dec% \else% -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (jan) to 12 (dec)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month +numbers should go from 1 (jan) to 12 (dec)}% +\fi} +\newcommand{\shortmonthname}[1][\month]{% +\if@dt@multilingual +\@ifundefined{shortmonthname\languagename}{% +\PackageWarning{datetime}{No abbreviated month name defined for +language '\languagename', using full version instead}% +\monthname[#1]}{% +\csname shortmonthname\languagename\endcsname[#1]}% +\else +\shortmonthnameenglish[#1]% \fi} - - %\let\shortmonthname=\shortmonthnameenglish - -\newcommand{\shortmonthname}{\@ifundefined{languagename}{% -\shortmonthnameenglish}{\@ifundefined{shortmonthname\languagename}{% -\shortmonthnameenglish}{\csname shortmonthname\languagename\endcsname}}} \fi \newif\ifleapyear - \newcount\@dtctr - \if@dt@nodate -\typeout{datetime package message : option "nodate" used, so not defining \protect\dayofweek \space or \protect\shortdayofweek} +\PackageInfo{datetime}{option "nodate" used, so not defining +\string\dayofweek \space or \string\shortdayofweek} \else - \providecommand{\testifleapyear}[1]{% \leapyearfalse \@year=#1\relax @@ -305,10 +311,8 @@ \fi \fi } - \newcount\dayofyear - \providecommand{\computedayofyear}[3]{% \testifleapyear{#3}% \dayofyear=0\relax @@ -327,18 +331,16 @@ \or \advance\dayofyear by 304\relax \or \advance\dayofyear by 334\relax \else -\PackageError{datetime}{Invalid month number}{The second argument to \protect\computedayofyear -should lie in the range 1-12} +\PackageError{datetime}{Invalid month number}{The second argument to +\string\computedayofyear \space should lie in the range 1-12} \fi \ifnum\@month>2\relax \ifleapyear\advance\dayofyear by 1\relax\fi \fi \advance\dayofyear by \@day\relax } - \newcount\dayofweek - \providecommand{\computedayofweek}[3]{% \computedayofyear{#1}{#2}{#3}% \@dtctr=#3\relax @@ -353,7 +355,6 @@ should lie in the range 1-12} \advance\dayofweek by -1\relax \@modulo{\dayofweek}{7}% \advance\dayofweek by 1\relax} - \providecommand{\dayofweeknameidenglish}[1]{% \ifcase#1\relax \or Sunday% @@ -364,23 +365,24 @@ should lie in the range 1-12} \or Friday% \or Saturday% \fi} - \providecommand{\dayofweeknameid}[1]{% -\@ifundefined{languagename}{% -\dayofweeknameidenglish{#1}}{% +\if@dt@multilingual \@ifundefined{dayofweeknameid\languagename}{% +\ifthenelse{\equal{\languagename}{nohyphenation}}{}{% +\PackageWarning{datetime}{No week day names defined for language +'\languagename', defaulting to English}}% \dayofweeknameidenglish{#1}}{% -\csname dayofweeknameid\languagename\endcsname{#1}}}% +\csname dayofweeknameid\languagename\endcsname{#1}}% +\else +\dayofweeknameidenglish{#1}% +\fi } - \providecommand{\dayofweekname}[3]{% \computedayofweek{#1}{#2}{#3}% \dayofweeknameid{\dayofweek}% } - \providecommand{\thisdayofweekname}{% \dayofweekname{\day}{\month}{\year}} - \providecommand{\shortdayofweeknameidenglish}[1]{% \ifcase#1\relax \or Sun% @@ -391,19 +393,22 @@ should lie in the range 1-12} \or Fri% \or Sat% \fi} - \providecommand{\shortdayofweekname}[3]{% \computedayofweek{#1}{#2}{#3}% -\@ifundefined{languagename}{% -\shortdayofweeknameidenglish{\dayofweek}}{% +\if@dt@multilingual \@ifundefined{shortdayofweeknameid\languagename}{% -\shortdayofweeknameidenglish{\dayofweek}}{% -\csname shortdayofweeknameid\languagename\endcsname\dayofweek}}% +\ifthenelse{\equal{\languagename}{nohyphenation}}{}{% +\PackageWarning{datetime}{No abbreviated week day names defined for +language '\languagename', defaulting to long version}}% +\dayofweeknameid{\dayofweek}}{% +\csname shortdayofweeknameid\languagename\endcsname\dayofweek}% +\else +\shortdayofweeknameidenglish{\dayofweek}% +\fi } - +\providecommand{\thisshortdayofweekname}{% +\dayofweekname{\day}{\month}{\year}} \fi - -\providecommand{\thisshortdayofweekname}{\dayofweekname{\day}{\month}{\year}} \if@dt@nodate \else \DeclareRobustCommand*{\today}{\formatdate{\day}{\month}{\year}} @@ -455,24 +460,25 @@ should lie in the range 1-12} \@ifundefined{datewelsh}{}{\input{dt-welsh.def}} \fi \if@dt@nodate -\typeout{datetime package message : option "nodate" used, so not defining \protect\newdateformat} +\PackageInfo{datetime}{option "nodate" used, so not +defining \string\newdateformat} \else - \providecommand\THEDAY{\the\@day} \providecommand\THEMONTH{\the\@month} \providecommand\THEYEAR{\the\@year} \let\c@DAY=\@day \let\c@MONTH=\@month \let\c@YEAR=\@year - -\providecommand{\dateformat}[4]{\@day=#2\relax\@month=#3\relax\@year=#4\relax#1} - +\providecommand{\dateformat}[4]{% +\@day=#2\relax\@month=#3\relax\@year=#4\relax#1} \providecommand{\newdateformat}[2]{% -\@ifundefined{#1}{\expandafter\DeclareRobustCommand\csname#1\endcsname{\renewcommand{\formatdate}{\dateformat{#2}}}}{% -\PackageError{datetime}{Can't create new date format, command \textbackslash#1 already defined}{You will need to -give you new date format a different name}}} +\@ifundefined{#1}{% +\expandafter\DeclareRobustCommand\csname#1\endcsname{% +\renewcommand{\formatdate}{\dateformat{#2}}}}{% +\PackageError{datetime}{Can't create new date format, command +\textbackslash#1 already defined}{You will need to +give your new date format a different name}}} \fi - \newcount\c@HOUR \newcount\c@HOURXII \newcount\c@MINUTE @@ -483,7 +489,6 @@ give you new date format a different name}}} \def\THEMINUTE{\the\c@MINUTE} \def\THETOHOUR{\the\c@TOHOUR} \def\THETOMINUTE{\the\c@TOMINUTE} - \providecommand{\newtimeformat}[2]{% \@ifundefined{#1}{% \expandafter\def\csname#1\endcsname{% @@ -504,11 +509,14 @@ give you new date format a different name}}} #2\relax }}{% \PackageError{datetime}{Command \textbackslash#1 already defined}{% -You can't create a new time format called "#1" as the command \textbackslash#1 already exists}}} -\newtimeformat{xxivtime}{\twodigit\THEHOUR\timeseparator\twodigit\THEMINUTE} - -\newtimeformat{ampmtime}{\THEHOURXII\timeseparator\twodigit\THEMINUTE\ifthenelse{\value{HOUR}<12}{\amname}{\ifthenelse{\time=720}{ \noon}{\pmname}}} - +You can't create a new time format called "#1" as the command +\textbackslash#1 already exists}}} +\newtimeformat{xxivtime}{% +\twodigit\THEHOUR\timeseparator\twodigit\THEMINUTE} +\newtimeformat{ampmtime}{% +\THEHOURXII\timeseparator\twodigit\THEMINUTE +\ifthenelse{\value{HOUR}<12}{\amname}{% +\ifthenelse{\time=720}{ \noon}{\pmname}}} \newtimeformat{oclock}{\ifthenelse{\time=0 \or \time=720}{% \ifthenelse{\time=0}{\midnight}{\noon}}{% \ifthenelse{\value{MINUTE}=0}{% @@ -520,49 +528,64 @@ You can't create a new time format called "#1" as the command \textbackslash#1 a \ifthenelse{\value{MINUTE}=45}{% \quarterto\ \Numberstring{TOHOUR}}{% \ifthenelse{\value{MINUTE}<30}{% -\Numberstring{MINUTE}\ \ifthenelse{\value{MINUTE}=1}{minute}{minutes} past \Numberstring{HOURXII}}{% -\Numberstring{TOMINUTE}\ \ifthenelse{\value{TOMINUTE}=1}{minute}{minutes} to \Numberstring{TOHOUR}}}}}}\ +\Numberstring{MINUTE}\ \ifthenelse{\value{MINUTE}=1}{minute}{minutes} +past \Numberstring{HOURXII}}{% +\Numberstring{TOMINUTE}\ \ifthenelse{% +\value{TOMINUTE}=1}{minute}{minutes} to \Numberstring{TOHOUR}}}}}}\ \ifthenelse{\value{HOUR}<12}{% \amstring}{% \pmstring}}} - \providecommand{\amname}{am} \providecommand{\pmname}{pm} -\providecommand{\amorpmname}{\ifthenelse{\value{HOUR}>12}{\pmname}{\amname}} +\providecommand{\amorpmname}{% +\ifthenelse{\value{HOUR}>12}{\pmname}{\amname}} \providecommand{\amstring}{in the morning} \providecommand{\pmstring}{in the afternoon} -\providecommand{\amorpmstring}{\ifthenelse{\value{HOUR}>12}{\pmstring}{\amstring}} +\providecommand{\amorpmstring}{% +\ifthenelse{\value{HOUR}>12}{\pmstring}{\amstring}} \providecommand{\halfpast}{Half past} \providecommand{\quarterpast}{Quarter past} \providecommand{\quarterto}{Quarter to} \providecommand{\noon}{Noon} \providecommand{\midnight}{Midnight} \providecommand{\oclockstring}{O'Clock} - -\newcount\pdftimectr -\newcount\pdfdatectr - -\pdftimectr=0\relax +\toksdef\dt@a=0 \toksdef\dt@b=2 +\edef\pdfdate{\the\year} +\dt@b=\expandafter{\pdfdate} +\dt@a=\expandafter{\the\month} +\ifnum\month<10 +\edef\pdfdate{\the\dt@b0\the\dt@a} +\else +\edef\pdfdate{\the\dt@b\the\dt@a} +\fi +\dt@b=\expandafter{\pdfdate} +\dt@a=\expandafter{\the\day} +\ifnum\day<10 +\edef\pdfdate{\the\dt@b0\the\dt@a} +\else +\edef\pdfdate{\the\dt@b\the\dt@a} +\fi \@dtctr=\time% \divide\@dtctr by 60\relax -\multiply\@dtctr by 10000\relax -\pdftimectr=\@dtctr +\dt@b=\expandafter{\pdfdate} +\dt@a=\expandafter{\the\@dtctr} +\ifnum\@dtctr<10 +\edef\pdfdate{\the\dt@b0\the\dt@a} +\else +\edef\pdfdate{\the\dt@b\the\dt@a} +\fi \@dtctr=\time% \@modulo{\@dtctr}{60}% -\multiply\@dtctr by 100\relax -\advance\pdftimectr by \@dtctr -\pdfdatectr=\day -\@dtctr=\month -\multiply\@dtctr by 100\relax -\advance\pdfdatectr by \@dtctr -\@dtctr=\year -\multiply\@dtctr by 10000\relax -\advance\pdfdatectr by \@dtctr -\ifnum\pdftimectr<100000 -\edef\pdfdate{\the\pdfdatectr0\the\pdftimectr} +\dt@b=\expandafter{\pdfdate} +\dt@a=\expandafter{\the\@dtctr} +\ifnum\@dtctr<10 +\edef\pdfdate{\the\dt@b0\the\dt@a} \else -\edef\pdfdate{\the\pdfdatectr\the\pdftimectr} +\edef\pdfdate{\the\dt@b\the\dt@a} \fi +\dt@a={00} +\dt@b=\expandafter{\pdfdate} +\edef\pdfdate{\the\dt@b\the\dt@a} \endinput %% %% End of file `datetime.sty'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-austrian.def b/Master/texmf-dist/tex/latex/datetime/dt-austrian.def index 0a5a5419526..23659ea6a0e 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-austrian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-austrian.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-austrian.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-austrian.def}[2004/10/31] - \providecommand{\monthnameaustrian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or J\"anner% \or Februar% \or M\"arz% @@ -44,9 +44,10 @@ \or Oktober% \or November% \or Dezember% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (janvier) to 12 (decembre)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (janvier) to 12 (decembre)}% \fi} - \DeclareRobustCommand*\dateaustrian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-bahasa.def b/Master/texmf-dist/tex/latex/datetime/dt-bahasa.def index 2107b0dde1f..b08519ba464 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-bahasa.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-bahasa.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-bahasa.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-bahasa.def}[2004/10/31] - \providecommand{\monthnamebahasa}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (Januari) to 12 (Desember)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (Januari) to 12 (Desember)}% \or Januari% \or Pebruari% \or Maret% @@ -44,13 +44,15 @@ \or Oktober% \or Nopember% \or Desember% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (Januari) to 12 (Desember)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (Januari) to 12 (Desember)}% \fi} - \providecommand{\shortmonthnamebahasa}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (Januari) to 12 (Desember)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (Januari) to 12 (Desember)}% \or Januari% \or Pebruari% \or Maret% @@ -63,9 +65,10 @@ \or Oktober% \or Nopember% \or Desember% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (Januari) to 12 (Desember)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (Januari) to 12 (Desember)}% \fi} - \DeclareRobustCommand*\datebahasa{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-basque.def b/Master/texmf-dist/tex/latex/datetime/dt-basque.def index 5d13e7aff36..cf5790e6320 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-basque.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-basque.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-basque.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-basque.def}[2004/10/31] - \providecommand{\monthnamebasque}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}% \or urtarrilaren% \or otsailaren% \or martxoaren% @@ -44,13 +44,14 @@ \or urriaren% \or azaroaren% \or abenduaren% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}% +\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}% \fi} - \providecommand{\shortmonthnamebasque}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}% \or urtarrilaren% \or otsailaren% \or martxoaren% @@ -63,9 +64,10 @@ \or urriaren% \or azaroaren% \or abenduaren% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}% \fi} - \DeclareRobustCommand*\datebasque{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-breton.def b/Master/texmf-dist/tex/latex/datetime/dt-breton.def index e1afea9bcdb..120cea4de83 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-breton.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-breton.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-breton.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-breton.def}[2004/10/31] - \providecommand{\monthnamebreton}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (Genver) to 12 (Kerzu)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (Genver) to 12 (Kerzu)}% \or Genver% \or C'hwevrer% \or Meurzh% @@ -44,13 +44,15 @@ \or Here% \or Du% \or Kerzu% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (Genver) to 12 (Kerzu)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (Genver) to 12 (Kerzu)}% \fi} - \providecommand{\shortmonthnamebreton}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (Genver) to 12 (Kerzu)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (Genver) to 12 (Kerzu)}% \or Genver% \or C'hwevrer% \or Meurzh% @@ -63,14 +65,16 @@ \or Here% \or Du% \or Kerzu% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (Genver) to 12 (Kerzu)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (Genver) to 12 (Kerzu)}% \fi} - \DeclareRobustCommand*\datebreton{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\ifnum\@day=1\relax 1\/\textsuperscript{a\~n}\else\number\@day\fi\space -a\space viz\space\monthnamebreton[\@month]\space\number\@year +\ifnum\@day=1\relax 1\/\textsuperscript{a\~n}\else\number\@day\fi +\space a\space viz\space\monthnamebreton[\@month]\space +\number\@year }} \endinput %% diff --git a/Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def b/Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def index a4195beb82f..e6989b3141a 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-bulgarian.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-bulgarian.def}[2004/10/31] - \providecommand{\monthnamebulgarian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or\cyrya\cyrn\cyru\cyra\cyrr\cyri\or \cyrf\cyre\cyrv\cyrr\cyru\cyra\cyrr\cyri\or \cyrm\cyra\cyrr\cyrt\or @@ -44,13 +44,15 @@ \cyro\cyrk\cyrt\cyro\cyrm\cyrv\cyrr\cyri\or \cyrn\cyro\cyre\cyrm\cyrv\cyrr\cyri\or \cyrd\cyre\cyrk\cyre\cyrm\cyrv\cyrr\cyri -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \providecommand{\shortmonthnamebulgarian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or\cyrya\cyrn\cyru\cyra\cyrr\cyri\or \cyrf\cyre\cyrv\cyrr\cyru\cyra\cyrr\cyri\or \cyrm\cyra\cyrr\cyrt\or @@ -63,9 +65,10 @@ \cyro\cyrk\cyrt\cyro\cyrm\cyrv\cyrr\cyri\or \cyrn\cyro\cyre\cyrm\cyrv\cyrr\cyri\or \cyrd\cyre\cyrk\cyre\cyrm\cyrv\cyrr\cyri -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datebulgarian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-catalan.def b/Master/texmf-dist/tex/latex/datetime/dt-catalan.def index 56b4be92067..b3a6a5e39a5 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-catalan.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-catalan.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-catalan.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-catalan.def}[2004/10/31] - \providecommand{\monthnamecatalan}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (de gener) to 12 (de desembre)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (de gener) to 12 (de desembre)}% \or de gener% \or de febrer% \or de mar\c{c}% @@ -44,13 +44,15 @@ \or d'octubre% \or de novembre% \or de desembre% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (de gener) to 12 (de desembre)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (de gener) to 12 (de desembre)}% \fi} - \providecommand{\shortmonthnamecatalan}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (de gener) to 12 (de desembre)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (de gener) to 12 (de desembre)}% \or de gener% \or de febrer% \or de mar\c{c}% @@ -63,9 +65,10 @@ \or d'octubre% \or de novembre% \or de desembre% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (de gener) to 12 (de desembre)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (de gener) to 12 (de desembre)}% \fi} - \DeclareRobustCommand*\datecatalan{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-croatian.def b/Master/texmf-dist/tex/latex/datetime/dt-croatian.def index e9d66060d13..9ca7aba1973 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-croatian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-croatian.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-croatian.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-croatian.def}[2004/10/31] - \providecommand{\monthnamecroatian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (sijecnja) to 12 (prosinca)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (sijecnja) to 12 (prosinca)}% \or sije\v{c}nja% \or velja\v{c}e% \or o\v{z}ujka% @@ -44,13 +44,15 @@ \or listopada% \or studenog% \or prosinca% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (sijecnja) to 12 (prosinca)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (sijecnja) to 12 (prosinca)}% \fi} - \providecommand{\shortmonthnamecroatian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (sijecnja) to 12 (prosinca)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (sijecnja) to 12 (prosinca)}% \or sije\v{c}nja% \or velja\v{c}e% \or o\v{z}ujka% @@ -63,9 +65,10 @@ \or listopada% \or studenog% \or prosinca% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (sijecnja) to 12 (prosinca)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (sijecnja) to 12 (prosinca)}% \fi} - \DeclareRobustCommand*\datecroatian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-czech.def b/Master/texmf-dist/tex/latex/datetime/dt-czech.def index 73444abab81..3c792b2b0d7 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-czech.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-czech.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-czech.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-czech.def}[2004/10/31] - \providecommand{\monthnameczech}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or ledna% \or \'unora% \or b\v{r}ezna% @@ -44,13 +44,15 @@ \or \v{r}\'{\i}jna% \or listopadu% \or prosince% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \providecommand{\shortmonthnameczech}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or ledna% \or \'unora% \or b\v{r}ezna% @@ -63,9 +65,10 @@ \or \v{r}\'{\i}jna% \or listopadu% \or prosince% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateczech{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-danish.def b/Master/texmf-dist/tex/latex/datetime/dt-danish.def index 7391570d325..07113aed468 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-danish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-danish.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-danish.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-danish.def}[2004/10/31] - \providecommand{\monthnamedanish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or januar% \or februar% \or marts% @@ -44,9 +44,10 @@ \or oktober% \or november% \or december% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datedanish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-dutch.def b/Master/texmf-dist/tex/latex/datetime/dt-dutch.def index 62e6c3914e6..e7df8ea80e2 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-dutch.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-dutch.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-dutch.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-dutch.def}[2004/10/31] - \providecommand{\monthnamedutch}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or januari% \or februari% \or maart% @@ -44,9 +44,10 @@ \or oktober% \or november% \or december% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datedutch{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def b/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def index fc0bc9290a0..098ca7b7f83 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-esperanto.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-esperanto.def}[2004/10/31] - \providecommand{\monthnameesperanto}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or januaro% \or februaro% \or marto% @@ -44,13 +44,15 @@ \or oktobro% \or novembro% \or decembro% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateesperanto{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day{--a}~de~\monthnameesperanto[\@month],\space \number\@year}} +\number\@day{--a}~de~\monthnameesperanto[\@month],\space +\number\@year}} \endinput %% %% End of file `dt-esperanto.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-estonian.def b/Master/texmf-dist/tex/latex/datetime/dt-estonian.def index 0381f594088..15a97372e1f 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-estonian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-estonian.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-estonian.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-estonian.def}[2004/10/31] - \providecommand{\monthnameestonian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or jaanuar% \or veebruar% \or m"arts% @@ -44,13 +44,15 @@ \or oktoober% \or november% \or detsember% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateestonian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.\space\monthnameestonian[\@month]\space \number\@year.\space a.}} +\number\@day.\space\monthnameestonian[\@month]\space +\number\@year.\space a.}} \endinput %% %% End of file `dt-estonian.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-finnish.def b/Master/texmf-dist/tex/latex/datetime/dt-finnish.def index ea067331c73..aa851516739 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-finnish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-finnish.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-finnish.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-finnish.def}[2004/10/31] - \providecommand{\monthnamefinnish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or tammikuuta% \or helmikuuta% \or maaliskuuta% @@ -44,9 +44,10 @@ \or lokakuuta% \or marraskuuta% \or joulukuuta% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datefinnish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-french.def b/Master/texmf-dist/tex/latex/datetime/dt-french.def index 8594e5f1c00..31254b4435b 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-french.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-french.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-french.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,7 +27,6 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-french.def}[2004/10/31] - \providecommand{\dayofweeknameidfrench}[1]{% \ifcase#1\relax \or dimanche% @@ -38,8 +37,6 @@ \or vendredi% \or samedi% \fi} - - % is this correct? \providecommand{\shortdayofweeknameidfrench}[1]{% \ifcase#1\relax \or dim% @@ -50,11 +47,11 @@ \or ven% \or sam% \fi} - \providecommand{\monthnamefrench}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (janvier) to 12 (decembre)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (janvier) to 12 (decembre)}% \or janvier% \or f\'evrier% \or mars% @@ -67,13 +64,15 @@ \or octobre% \or novembre% \or d\'ecembre% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (janvier) to 12 (decembre)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (janvier) to 12 (decembre)}% \fi} - \DeclareRobustCommand*\datefrench{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day\ifnum\@day=1{\ier}\fi\space\monthnamefrench[\@month]\space \number\@year}} +\number\@day\ifnum\@day=1{\ier}\fi\space +\monthnamefrench[\@month]\space \number\@year}} \endinput %% %% End of file `dt-french.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-galician.def b/Master/texmf-dist/tex/latex/datetime/dt-galician.def index 89e115bfd51..3678b6b05ff 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-galician.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-galician.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-galician.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-galician.def}[2004/10/31] - \providecommand{\monthnamegalician}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or xaneiro% \or febreiro% \or marzo% @@ -44,13 +44,15 @@ \or outubro% \or novembro% \or decembro% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dategalician{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~de\space\monthnamegalician[\@month]\space de~\number\@year}} +\number\@day~de\space\monthnamegalician[\@month]\space +de~\number\@year}} \endinput %% %% End of file `dt-galician.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-german.def b/Master/texmf-dist/tex/latex/datetime/dt-german.def index efa4e954f27..9949e1f99df 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-german.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-german.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-german.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-german.def}[2004/10/31] - \providecommand{\monthnamegerman}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or Januar% \or Februar% \or M\"arz% @@ -44,9 +44,10 @@ \or Oktober% \or November% \or Dezember% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (janvier) to 12 (decembre)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (janvier) to 12 (decembre)}% \fi} - \DeclareRobustCommand*\dategerman{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-greek.def b/Master/texmf-dist/tex/latex/datetime/dt-greek.def index b9e80093896..7bf1ab560cd 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-greek.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-greek.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-greek.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-greek.def}[2004/10/31] - \providecommand{\monthnamegreek}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or Ianouar'iou% \or Febrouar'iou% \or Mart'iou% @@ -44,9 +44,10 @@ \or Oktwbr'iou% \or Noembr'iou% \or Dekembr'iou% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dategreek{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-hebrew.def b/Master/texmf-dist/tex/latex/datetime/dt-hebrew.def index 1df3899c375..44a106dea4d 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-hebrew.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-hebrew.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-hebrew.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,7 +27,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-hebrew.def}[2004/10/31] - +\let\monthnamehebrew=\hebmonth \DeclareRobustCommand*\datehebrew{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-icelandic.def b/Master/texmf-dist/tex/latex/datetime/dt-icelandic.def index b62ffe12a58..39c499bb955 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-icelandic.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-icelandic.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-icelandic.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-icelandic.def}[2004/10/31] - \providecommand{\monthnameicelandic}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or janúar% \or febrúar% \or mars% @@ -44,9 +44,10 @@ \or október% \or nóvember% \or desembe% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateicelandic{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-irish.def b/Master/texmf-dist/tex/latex/datetime/dt-irish.def index d1af84cd34f..7ce011042a0 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-irish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-irish.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-irish.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-irish.def}[2004/10/31] - \providecommand{\monthnameirish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or Ean\'air% \or Feabhra% \or M\'arta% @@ -44,9 +44,10 @@ \or Deireadh F\'omhair% \or M\'{\i} na Samhna% \or M\'{\i} na Nollag% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateirish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-italian.def b/Master/texmf-dist/tex/latex/datetime/dt-italian.def index c1e0f6ac4b3..3119861e113 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-italian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-italian.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-italian.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-italian.def}[2004/10/31] - \providecommand{\monthnameitalian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or gennaio% \or febbraio% \or marzo% @@ -44,9 +44,10 @@ \or ottobre% \or novembre% \or dicembre% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateitalian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-latin.def b/Master/texmf-dist/tex/latex/datetime/dt-latin.def index d9d644f8d40..51e12f1d774 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-latin.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-latin.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-latin.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-latin.def}[2004/10/31] - \providecommand{\monthnamelatin}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or Ianuarii% \or Februarii% \or Martii% @@ -44,14 +44,17 @@ \or Octobris% \or Novembris% \or Decembris% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datelatin{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \check@mathfonts\fontsize\sf@size\z@\math@fontsfalse\selectfont - \uppercase\expandafter{\romannumeral\@day}~\monthnamelatin[\@month]\space{\uppercase\expandafter{\romannumeral\@year}}}} +\uppercase\expandafter{\romannumeral\@day}% +~\monthnamelatin[\@month]\space +{\uppercase\expandafter{\romannumeral\@year}}}} \endinput %% %% End of file `dt-latin.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def b/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def index 00b94ea8447..03e48c061fb 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-lsorbian.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-lsorbian.def}[2004/10/31] - \providecommand{\monthnamenewlsorbian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or januara% \or februara% \or m\v erca% @@ -44,13 +44,15 @@ \or oktobra% \or nowembra% \or decembra% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \providecommand{\monthnameoldlsorbian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or wjelikego ro\v zka% \or ma\l ego ro\v zka% \or nal\v etnika% @@ -63,21 +65,19 @@ \or winowca% \or nazymnika% \or godownika% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \let\monthnamelsorbian=\monthnamenewlsorbian - \DeclareRobustCommand*\newdatelsorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day.~\monthnamenewlsorbian[\@month]\space\number\@year}} - \DeclareRobustCommand*\olddatelsorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day.~\monthnameoldlsorbian[\@month]\space\number\@year}} - \let\datelsorbian\newdatelsorbian \endinput %% diff --git a/Master/texmf-dist/tex/latex/datetime/dt-magyar.def b/Master/texmf-dist/tex/latex/datetime/dt-magyar.def index 1adeb870494..16dec8bdafb 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-magyar.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-magyar.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-magyar.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-magyar.def}[2004/10/31] - \providecommand{\monthnamemagyar}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or janu\'ar% \or febru\'ar% \or m\'arcius% @@ -44,9 +44,10 @@ \or okt\'ober% \or november% \or december% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datemagyar{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-naustrian.def b/Master/texmf-dist/tex/latex/datetime/dt-naustrian.def index 0ab98e504a2..472ff31c727 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-naustrian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-naustrian.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-naustrian.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-naustrian.def}[2004/10/31] - \providecommand{\monthnamenaustrian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or J\"anner% \or Februar% \or M\"arz% @@ -44,9 +44,10 @@ \or Oktober% \or November% \or Dezember% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datenaustrian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-ngerman.def b/Master/texmf-dist/tex/latex/datetime/dt-ngerman.def index d276e500827..f66dc0fcf3b 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-ngerman.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-ngerman.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-ngerman.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-ngerman.def}[2004/10/31] - \providecommand{\monthnamengerman}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or Januar% \or Februar% \or M\"arz% @@ -44,9 +44,10 @@ \or Oktober% \or November% \or Dezember% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datengerman{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-norsk.def b/Master/texmf-dist/tex/latex/datetime/dt-norsk.def index 37becc19887..6f0246a6e5e 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-norsk.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-norsk.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-norsk.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-norsk.def}[2004/10/31] - \providecommand{\monthnamenorsk}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or januar% \or februar% \or mars% @@ -44,9 +44,10 @@ \or oktober% \or november% \or desember% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datenorsk{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-polish.def b/Master/texmf-dist/tex/latex/datetime/dt-polish.def index fb938d3d95f..f98fe986d78 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-polish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-polish.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-polish.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-polish.def}[2004/10/31] - \providecommand{\monthnamepolish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or stycznia% \or lutego% \or marca% @@ -44,9 +44,10 @@ \or pa\'zdziernika% \or listopada% \or grudnia% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datepolish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-portuges.def b/Master/texmf-dist/tex/latex/datetime/dt-portuges.def index ae22448faf6..8a53bdbec5e 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-portuges.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-portuges.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-portuges.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,7 +27,6 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-portuges.def}[2004/10/31] - \providecommand{\dayofweeknameidportuges}[1]{% \ifcase#1\relax \or domingo% @@ -38,11 +37,11 @@ \or sexta-feira% \or sabado% \fi} - \providecommand{\monthnameportuges}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or Janeiro% \or Fevereiro% \or Mar\c{c}o% @@ -55,13 +54,15 @@ \or Outubro% \or Novembro% \or Dezembro% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateportuges{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day\space de\space\monthnameportuges[\@month]\space de\space\number\@year}} +\number\@day\space de\space\monthnameportuges[\@month]\space +de\space\number\@year}} \endinput %% %% End of file `dt-portuges.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-romanian.def b/Master/texmf-dist/tex/latex/datetime/dt-romanian.def index 1e1099c2d03..345ee845746 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-romanian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-romanian.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-romanian.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-romanian.def}[2004/10/31] - \providecommand{\monthnameromanian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or ianuarie% \or februarie% \or martie% @@ -44,9 +44,10 @@ \or octombrie% \or noiembrie% \or decembrie% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateromanian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-russian.def b/Master/texmf-dist/tex/latex/datetime/dt-russian.def index 88787ef3d7a..180b0b254b8 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-russian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-russian.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-russian.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-russian.def}[2004/10/31] - \providecommand{\monthnamerussian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or \cyrya\cyrn\cyrv\cyra\cyrr\cyrya\or \cyrf\cyre\cyrv\cyrr\cyra\cyrl\cyrya\or \cyrm\cyra\cyrr\cyrt\cyra\or @@ -44,9 +44,10 @@ \cyro\cyrk\cyrt\cyrya\cyrb\cyrr\cyrya\or \cyrn\cyro\cyrya\cyrb\cyrr\cyrya\or \cyrd\cyre\cyrk\cyra\cyrb\cyrr\cyrya% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\daterussian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-samin.def b/Master/texmf-dist/tex/latex/datetime/dt-samin.def index 4ccf93a2d8f..5e80c5a0ab1 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-samin.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-samin.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-samin.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-samin.def}[2004/10/31] - \providecommand{\monthnamesamin}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or o\dj{}\dj{}ajagem\'anu\or guovvam\'anu\or njuk\v cam\'anu\or @@ -44,13 +44,15 @@ golggotm\'anu\or sk\'abmam\'anu\or juovlam\'anu% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datesamin{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\monthnamesamin[\@month]\space\number\@day.~b.\space \number\@year}} +\monthnamesamin[\@month]\space\number\@day.~b.\space +\number\@year}} \endinput %% %% End of file `dt-samin.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-scottish.def b/Master/texmf-dist/tex/latex/datetime/dt-scottish.def index 6ea8ef7749a..0a8d4af1c0a 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-scottish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-scottish.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-scottish.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-scottish.def}[2004/10/31] - \providecommand{\monthnamescottish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or am Faoilteach% \or an Gearran% \or am M\`art% @@ -44,9 +44,10 @@ \or an D\`amhar% \or an t-Samhainn% \or an Dubhlachd% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datescottish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-serbian.def b/Master/texmf-dist/tex/latex/datetime/dt-serbian.def index 5d708b40770..04cddd474bd 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-serbian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-serbian.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-serbian.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-serbian.def}[2004/10/31] - \providecommand{\monthnameserbian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or januar% \or februar% \or mart% @@ -44,9 +44,10 @@ \or oktobar% \or novembar% \or decembar% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateserbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-slovak.def b/Master/texmf-dist/tex/latex/datetime/dt-slovak.def index 6d12fcbcf62..03d62101dd7 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-slovak.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-slovak.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-slovak.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-slovak.def}[2004/10/31] - \providecommand{\monthnameslovak}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month +numbers should go from 1 to 12}% \or janu\'ara% \or febru\'ara% \or marca% @@ -44,9 +44,9 @@ \or okt\'obra% \or novembra% \or decembra% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateslovak{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-slovene.def b/Master/texmf-dist/tex/latex/datetime/dt-slovene.def index 6352da06534..b0e54f811e2 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-slovene.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-slovene.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-slovene.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-slovene.def}[2004/10/31] - \providecommand{\monthnameslovene}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or januar% \or februar% \or marec% @@ -44,9 +44,9 @@ \or oktober% \or november% \or december% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateslovene{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-spanish.def b/Master/texmf-dist/tex/latex/datetime/dt-spanish.def index 6323669c94c..4a3cea0e3e5 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-spanish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-spanish.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-spanish.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,7 +27,6 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-spanish.def}[2004/10/31] - \providecommand{\dayofweeknameidspanish}[1]{% \ifcase#1\relax \or domingo% @@ -38,8 +37,6 @@ \or viernes% \or s\'abado% \fi} - - % is this correct? \providecommand{\shortdayofweeknameidspanish}[1]{% \ifcase#1\relax \or dom% @@ -50,11 +47,11 @@ \or vie% \or s\'ab% \fi} - \providecommand{\monthnamespanish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or enero% \or febrero% \or marzo% @@ -67,9 +64,9 @@ \or octubre% \or noviembre% \or diciembre% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datespanish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-swedish.def b/Master/texmf-dist/tex/latex/datetime/dt-swedish.def index 1e2e958dd9b..31b7bc09723 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-swedish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-swedish.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-swedish.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-swedish.def}[2004/10/31] - \providecommand{\monthnameswedish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or januari% \or februari% \or mars% @@ -44,20 +44,18 @@ \or oktober% \or november% \or december% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateswedish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day~\monthnameswedish[\@month]\space\number\@year}} - \DeclareRobustCommand*\datesymd{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@year-\two@digits\@month-\two@digits\@day} } - \DeclareRobustCommand*\datesdmy{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-turkish.def b/Master/texmf-dist/tex/latex/datetime/dt-turkish.def index 105407257f0..859a24cb64b 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-turkish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-turkish.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-turkish.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-turkish.def}[2004/10/31] - \providecommand{\monthnameturkish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or Ocak% \or \c Subat% \or Mart% @@ -44,9 +44,9 @@ \or Ekim% \or Kas\i{}m% \or Aral\i{}k% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateturkish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def b/Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def index fcc0b4f6414..89441a4c85f 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-ukraineb.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-ukraineb.def}[2004/10/31] - \providecommand{\monthnameukraineb}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or \cyrs\cyrii\cyrch\cyrn\cyrya\or \cyrl\cyryu\cyrt\cyro\cyrg\cyro\or \cyrb\cyre\cyrr\cyre\cyrz\cyrn\cyrya\or @@ -44,9 +44,9 @@ \cyrzh\cyro\cyrv\cyrt\cyrn\cyrya\or \cyrl\cyri\cyrs\cyrt\cyro\cyrp\cyra\cyrd\cyra\or \cyrg\cyrr\cyru\cyrd\cyrn\cyrya% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateukraineb{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def b/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def index 2d9b625ad18..ee23e698ff8 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-usorbian.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-usorbian.def}[2004/10/31] - \providecommand{\monthnamenewusorbian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or januara% \or februara% \or m\v erca% @@ -44,13 +44,14 @@ \or oktobra% \or nowembra% \or decembra% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \providecommand{\monthnameoldusorbian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or wulkeho r\'o\v zka% \or ma\l eho r\'o\v zka% \or nal\v etnika% @@ -65,19 +66,15 @@ \or hodownika% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% \fi} - \let\monthnameusorbian=\monthnamenewusorbian - \DeclareRobustCommand*\newdateusorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day.~\monthnamenewusorbian[\@month]\space\number\@year}} - \DeclareRobustCommand*\olddateusorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day.~\monthnameoldusorbian[\@month]\space\number\@year}} - \let\dateusorbian\newdateusorbian \endinput %% diff --git a/Master/texmf-dist/tex/latex/datetime/dt-welsh.def b/Master/texmf-dist/tex/latex/datetime/dt-welsh.def index c65ba5d41d3..332c96fb410 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-welsh.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-welsh.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-welsh.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-welsh.def}[2004/10/31] - \providecommand{\monthnamewelsh}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or Ionawr% \or Chwefror% \or Mawrth% @@ -44,14 +44,15 @@ \or Hydref% \or Tachwedd% \or Rhagfyr% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\datewelsh{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \ifnum\@day=1\relax 1\/$^{\mathrm{a\tilde{n}}}$\else -\number\@day\fi \space a\space viz\space\monthnamewelsh[\@month]\space\number\@year}} +\number\@day\fi \space a\space viz\space +\monthnamewelsh[\@month]\space\number\@year}} \endinput %% %% End of file `dt-welsh.def'. |