diff options
author | Karl Berry <karl@freefriends.org> | 2013-09-10 22:45:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-09-10 22:45:40 +0000 |
commit | 91ff0e396787dd80a11dfb7b633db20058c3963a (patch) | |
tree | dd443cf6592d51828d68f96d694e617c166fb97f | |
parent | 78c50a94a4aa14fb22aa8b8dedcdc630ca8d1405 (diff) |
datetime (10sep13)
git-svn-id: svn://tug.org/texlive/trunk@31622 c570f23f-e606-0410-a88d-b1316a301751
64 files changed, 3511 insertions, 2334 deletions
diff --git a/Master/texmf-dist/doc/latex/datetime/CHANGES b/Master/texmf-dist/doc/latex/datetime/CHANGES index 766dcd017f3..23292708813 100644 --- a/Master/texmf-dist/doc/latex/datetime/CHANGES +++ b/Master/texmf-dist/doc/latex/datetime/CHANGES @@ -1,5 +1,15 @@ datetime.sty history +Version 2.59: + + * Made \ordinaldate robust. + + * Renamed \ifleapyear to \ifDTleapyear to help avoid name clash + with other packages. (If \ifleapyear hasn't been defined, + it's defined to \ifDTLleapyear for backward compatibility.) + + * New: \DTifDefLoaded, \DTloadDefIfNotLoadedButExists + Version 2.58: * Added Polish days of the week (supplied by Piotr Kempa). diff --git a/Master/texmf-dist/doc/latex/datetime/README b/Master/texmf-dist/doc/latex/datetime/README index b4500574e16..c4d3134c89c 100644 --- a/Master/texmf-dist/doc/latex/datetime/README +++ b/Master/texmf-dist/doc/latex/datetime/README @@ -1,6 +1,6 @@ -LaTeX Package : datetime v 2.57 +LaTeX Package : datetime v2.59 -Last Modified : 6 Feb 2010 +Last Modified : 2013-09-10 Author : Nicola Talbot @@ -21,7 +21,7 @@ To extract the code do: latex datetime.ins -This will create datetime.sty and lots of dt-*.def files, +This will create datetime.sty datetime-defaults.sty and lots of dt-*.def files, (NB it may take a while to extract if you have a slow computer!) Move the .sty and .def files to somewhere LaTeX will find it @@ -50,4 +50,4 @@ This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. -http://theoval.cmp.uea.ac.uk/~nlct/ +http://www.dickimaw-books.com/ diff --git a/Master/texmf-dist/doc/latex/datetime/datetime-manual.css b/Master/texmf-dist/doc/latex/datetime/datetime-manual.css index 1e03683653c..d295e3be6dc 100644 --- a/Master/texmf-dist/doc/latex/datetime/datetime-manual.css +++ b/Master/texmf-dist/doc/latex/datetime/datetime-manual.css @@ -1,38 +1,77 @@ /* start css.sty */ -.cmmi-10{font-style: italic;} -.cmr-17{font-size:170%;} -.cmr-12{font-size:120%;} -.cmr-8{font-size:80%;} -.cmsy-8{font-size:80%;} -.cmtt-12{font-size:120%;font-family: monospace;} -.cmtt-12{font-family: monospace;} -.cmtt-12{font-family: monospace;} -.cmtt-12{font-family: monospace;} -.cmtt-10{font-family: monospace;} -.cmtt-10{font-family: monospace;} -.cmtt-10{font-family: monospace;} -.cmtt-10{font-family: monospace;} -.cmti-10{ font-style: italic;} -.cmss-10{ font-family: sans-serif;} -.cmss-10{ font-family: sans-serif;} -.cmss-10{ font-family: sans-serif;} -.cmtt-9{font-size:90%;font-family: monospace;} -.cmtt-9{font-family: monospace;} -.cmtt-9{font-family: monospace;} -.cmtt-9{font-family: monospace;} -.cmr-9{font-size:90%;} -.cmss-8{font-size:80%; font-family: sans-serif;} -.cmss-8{ font-family: sans-serif;} -.cmss-8{ font-family: sans-serif;} -.cmbx-10{ font-weight: bold;} -.cmtt-8{font-size:80%;font-family: monospace;} -.cmtt-8{font-family: monospace;} -.cmtt-8{font-family: monospace;} -.cmtt-8{font-family: monospace;} -.cmssbx-10{ font-family: sans-serif; font-weight: bold;} -.cmssbx-10{ font-family: sans-serif; font-weight: bold;} -.cmssbx-10{ font-family: sans-serif; font-weight: bold;} +.futr8t-x-x-109{} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-2074{font-size:181%; font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.futr8t-x-x-144{font-size:130%;} +.futr8t-{font-size:90%;} +.ectt-1440{font-size:127%; font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.futmii-x-x-109{} +.futsy-x-x-109{} +.futri8t-x-x-109{} +.ectt-1000{font-size:90%; font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.futr8t-x-x-90{font-size:81%;} +.ecss-0900{font-size:81%; font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.futb8t-x-x-109{} +.ectt-0900{font-size:81%; font-family: monospace;} +.ectt-0900{ font-family: monospace;} +.ectt-0900{ font-family: monospace;} +.ectt-0900{ font-family: monospace;} +.ectt-0900{ font-family: monospace;} +.ectt-0900{ font-family: monospace;} +.ectt-0900{ font-family: monospace;} +.ectt-0900{ font-family: monospace;} p.noindent { text-indent: 0em } td p.noindent { text-indent: 0em; margin-top:0em; } p.nopar { text-indent: 0em; } @@ -141,6 +180,7 @@ div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; } .quotation {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; } .abstract p {margin-left:5%; margin-right:5%;} div.abstract {width:100%;} +span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; } table.multicols { width:100%; margin-left:1em; margin-top:1em; margin-bottom:1em; } div.important { background-color:red; } /* end css.sty */ diff --git a/Master/texmf-dist/doc/latex/datetime/datetime-manual.html b/Master/texmf-dist/doc/latex/datetime/datetime-manual.html index 4fb4601e7a9..e269968cea4 100644 --- a/Master/texmf-dist/doc/latex/datetime/datetime-manual.html +++ b/Master/texmf-dist/doc/latex/datetime/datetime-manual.html @@ -1,55 +1,93 @@ -<a - id="top"></a><?xml version="1.0" encoding="iso-8859-1" ?> +<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd--> <html xmlns="http://www.w3.org/1999/xhtml" > -<head><title>datetime.sty v2.58: Formatting Current Date and Time</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +<head><title>datetime.sty v2.59: Formatting Current Date and Time</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> <meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> -<!-- xhtml,fn-in,css-in --> +<!-- xhtml,fn-in,css-in,uni-html4,utf8 --> <meta name="src" content="datetime-manual.tex" /> -<meta name="date" content="2010-09-21 10:07:00" /> +<meta name="date" content="2013-09-10 11:43:00" /> <style type="text/css"> <!-- /* start css.sty */ -.cmmi-10{font-style: italic;} -.cmr-17{font-size:170%;} -.cmr-12{font-size:120%;} -.cmr-8{font-size:80%;} -.cmsy-8{font-size:80%;} -.cmtt-12{font-size:120%;font-family: monospace;} -.cmtt-12{font-family: monospace;} -.cmtt-12{font-family: monospace;} -.cmtt-12{font-family: monospace;} -.cmtt-10{font-family: monospace;} -.cmtt-10{font-family: monospace;} -.cmtt-10{font-family: monospace;} -.cmtt-10{font-family: monospace;} -.cmti-10{ font-style: italic;} -.cmss-10{ font-family: sans-serif;} -.cmss-10{ font-family: sans-serif;} -.cmss-10{ font-family: sans-serif;} -.cmtt-9{font-size:90%;font-family: monospace;} -.cmtt-9{font-family: monospace;} -.cmtt-9{font-family: monospace;} -.cmtt-9{font-family: monospace;} -.cmr-9{font-size:90%;} -.cmss-8{font-size:80%; font-family: sans-serif;} -.cmss-8{ font-family: sans-serif;} -.cmss-8{ font-family: sans-serif;} -.cmbx-10{ font-weight: bold;} -.cmtt-8{font-size:80%;font-family: monospace;} -.cmtt-8{font-family: monospace;} -.cmtt-8{font-family: monospace;} -.cmtt-8{font-family: monospace;} -.cmssbx-10{ font-family: sans-serif; font-weight: bold;} -.cmssbx-10{ font-family: sans-serif; font-weight: bold;} -.cmssbx-10{ font-family: sans-serif; font-weight: bold;} +.futr8t-x-x-109{} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecss-1095{ font-family: sans-serif;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-1095{ font-weight: bold;} +.ecsx-2074{font-size:181%; font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.ecsx-2074{ font-weight: bold;} +.futr8t-x-x-144{font-size:130%;} +.futr8t-{font-size:90%;} +.ectt-1440{font-size:127%; font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1440{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.ectt-1095{ font-family: monospace;} +.futmii-x-x-109{} +.futsy-x-x-109{} +.futri8t-x-x-109{} +.ectt-1000{font-size:90%; font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.ectt-1000{ font-family: monospace;} +.futr8t-x-x-90{font-size:81%;} +.ecss-0900{font-size:81%; font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.ecss-0900{ font-family: sans-serif;} +.futb8t-x-x-109{} +.ectt-0900{font-size:81%; font-family: monospace;} +.ectt-0900{ font-family: monospace;} +.ectt-0900{ font-family: monospace;} +.ectt-0900{ font-family: monospace;} +.ectt-0900{ font-family: monospace;} +.ectt-0900{ font-family: monospace;} +.ectt-0900{ font-family: monospace;} +.ectt-0900{ font-family: monospace;} p.noindent { text-indent: 0em } td p.noindent { text-indent: 0em; margin-top:0em; } p.nopar { text-indent: 0em; } @@ -158,6 +196,7 @@ div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; } .quotation {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; } .abstract p {margin-left:5%; margin-right:5%;} div.abstract {width:100%;} +span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; } table.multicols { width:100%; margin-left:1em; margin-top:1em; margin-bottom:1em; } div.important { background-color:red; } /* end css.sty */ @@ -167,592 +206,580 @@ div.important { background-color:red; } </style> </head><body > - <div class="maketitle"> + <div class="maketitle"> - - +<div class="minipage"><a + id="top"></a> +</div> -<h2 class="titleHead">datetime.sty v2.58: Formatting Current Date and -Time</h2> +<h2 class="titleHead">datetime.sty v2.59: Formatting +Current Date and Time</h2> <div class="author" ><span -class="cmr-12">Nicola L. C. Talbot</span> -<br /> <span -class="cmr-12">School of Computing Sciences</span> -<br /> <span -class="cmr-12">University of East Anglia</span> +class="futr8t-x-x-144">Nicola L. C. Talbot</span> <br /> <span -class="cmr-12">Norwich. NR4 7TJ.</span> -<br /> <span -class="cmr-12">United Kingdom.</span> +class="futr8t-x-x-144">Dickimaw Books</span> <br /><a -href="http://theoval.cmp.uea.ac.uk/~nlct/" class="url" ><span -class="cmtt-12">http://theoval.cmp.uea.ac.uk/~nlct/</span></a></div><br /> +href="http://www.dickimaw-books.com/" class="url" ><span +class="ectt-1440">http://www.dickimaw-books.com/</span></a></div><br /> <div class="date" ><span -class="cmr-12">2010-09-21</span></div> - </div> - <h3 class="likesectionHead"><a +class="futr8t-x-x-144">2013-09-10</span></div> + </div> + <h3 class="likesectionHead"><a id="x1-1000"></a>Contents</h3> - <div class="tableofcontents"> - <span class="sectionToc" >1 <a + <div class="tableofcontents"> + <span class="sectionToc" >1 <a href="#x1-20001" id="QQ2-1-2">Introduction</a></span> -<br /> <span class="sectionToc" >2 <a -href="#x1-30002" id="QQ2-1-3">Predefined Date Formats</a></span> -<br />  <span class="subsectionToc" >2.1 <a +<br /> <span class="sectionToc" >2 <a +href="#x1-30002" id="QQ2-1-3">Prede +<br />  <span class="subsectionToc" >2.1 <a href="#x1-40002.1" id="QQ2-1-4">ISO format</a></span> -<br />  <span class="subsectionToc" >2.2 <a +<br />  <span class="subsectionToc" >2.2 <a href="#x1-50002.2" id="QQ2-1-5"><span -class="cmsy-10">⟨</span><span -class="cmti-10">Day</span><span -class="cmsy-10">⟩⟨</span><span -class="cmti-10">Month</span><span -class="cmsy-10">⟩⟨</span><span -class="cmti-10">Year</span><span -class="cmsy-10">⟩ </span>formats</a></span> -<br />  <span class="subsectionToc" >2.3 <a +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">Day</span><span +class="futsy-x-x-109">ih</span><span +class="futri8t-x-x-109">Month</span><span +class="futsy-x-x-109">ih</span><span +class="futri8t-x-x-109">Year</span><span +class="futsy-x-x-109">i </span>formats</a></span> +<br />  <span class="subsectionToc" >2.3 <a href="#x1-60002.3" id="QQ2-1-6"><span -class="cmsy-10">⟨</span><span -class="cmti-10">Month</span><span -class="cmsy-10">⟩⟨</span><span -class="cmti-10">Day</span><span -class="cmsy-10">⟩⟨</span><span -class="cmti-10">Year</span><span -class="cmsy-10">⟩ </span>formats</a></span> -<br />  <span class="subsectionToc" >2.4 <a -href="#x1-70002.4" id="QQ2-1-7">Dates defined by <span -class="cmss-10">babel</span></a></span> -<br /> <span class="sectionToc" >3 <a +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">Month</span><span +class="futsy-x-x-109">ih</span><span +class="futri8t-x-x-109">Day</span><span +class="futsy-x-x-109">ih</span><span +class="futri8t-x-x-109">Year</span><span +class="futsy-x-x-109">i </span>formats</a></span> +<br />  <span class="subsectionToc" >2.4 <a +href="#x1-70002.4" id="QQ2-1-7">Dates de +class="ecss-1095">babel</span></a></span> +<br /> <span class="sectionToc" >3 <a href="#x1-80003" id="QQ2-1-8">Time Commands</a></span> -<br /> <span class="sectionToc" >4 <a +<br /> <span class="sectionToc" >4 <a href="#x1-90004" id="QQ2-1-9">Formating Dates</a></span> -<br /> <span class="sectionToc" >5 <a -href="#x1-100005" id="QQ2-1-10">Defining New Date Formats</a></span> -<br /> <span class="sectionToc" >6 <a +<br /> <span class="sectionToc" >5 <a +href="#x1-100005" id="QQ2-1-10">De +<br /> <span class="sectionToc" >6 <a href="#x1-110006" id="QQ2-1-11">Saving Dates</a></span> -<br /> <span class="sectionToc" >7 <a -href="#x1-120007" id="QQ2-1-12">Predefined Names</a></span> -<br /> <span class="sectionToc" >8 <a +<br /> <span class="sectionToc" >7 <a +href="#x1-120007" id="QQ2-1-12">Prede +<br /> <span class="sectionToc" >8 <a href="#x1-130008" id="QQ2-1-13">Package Options</a></span> -<br /> <span class="sectionToc" >9 <a +<br /> <span class="sectionToc" >9 <a href="#x1-140009" id="QQ2-1-14">Multilingual Support</a></span> -<br /> <span class="sectionToc" >10 <a +<br /> <span class="sectionToc" >10 <a href="#x1-1500010" id="QQ2-1-15">Registers</a></span> -<br /> <span class="sectionToc" >11 <a -href="#x1-1600011" id="QQ2-1-16">Configuration File</a></span> -<br /> <span class="sectionToc" >12 <a +<br /> <span class="sectionToc" >11 <a +href="#x1-1600011" id="QQ2-1-16">Con +<br /> <span class="sectionToc" >12 <a href="#x1-1700012" id="QQ2-1-17">LaTeX2HTML styles</a></span> -<br /> <span class="sectionToc" >13 <a +<br /> <span class="sectionToc" >13 <a href="#x1-1800013" id="QQ2-1-18">Troubleshooting</a></span> -<br /> <span class="sectionToc" ><a +<br /> <span class="sectionToc" ><a href="#Q1-1-19">Index</a></span> - </div> - - <h3 class="sectionHead"><span class="titlemark">1 </span> <a + </div> + <h3 class="sectionHead"><span class="titlemark">1 </span> <a id="x1-20001"></a>Introduction</h3> <a id="dx1-2001"></a> <a id="dx1-2002"></a> -<!--l. 31--><p class="noindent" >The <span -class="cmss-10">datetime </span>package is a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span +<!--l. 28--><p class="noindent" >The <span +class="ecss-1095">datetime </span>package is a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span>2<span -class="cmmi-10">ε</span> package that provides various different formats for +class="futmii-x-x-109">"</span> package that provides various di +for <span +class="ectt-1095">\today</span><a + id="dx1-2003"></a>, and provides commands for displaying the current time. If you only want +the time commands but not the date changing commands, you can pass the option <span -class="cmtt-10">\today</span><a - id="dx1-2003"></a>, and provides commands for displaying the current time. If you only want the -time commands but not the date changing commands, you can pass the option <span -class="cmss-10">nodate</span><a - id="dx1-2004"></a> -to the package. <a +class="ecss-1095">nodate</span><a + id="dx1-2004"></a> to the package. <a id="dx1-2005"></a> <a id="dx1-2006"></a> -</p><!--l. 41--><p class="indent" > Since version 2.4, the <span -class="cmss-10">datetime </span>package has been separated into two packages: -<span -class="cmss-10">datetime </span>and <span -class="cmss-10">fmtcount</span><a - id="dx1-2007"></a>. When I originally created this package, I defined the commands, +</p><!--l. 38--><p class="indent" > Since version 2.4, the <span +class="ecss-1095">datetime </span>package has been separated into two packages: <span -class="cmtt-10">\ordinal</span><a - id="dx1-2008"></a> etc which could be used in the definition of <span -class="cmtt-10">\today</span>. Since then, I have -extended the number of commands available that can be used to display the value -of a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> counter, however it seems more appropriate to define all these +class="ecss-1095">datetime </span>and <span +class="ecss-1095">fmtcount</span><a + id="dx1-2007"></a>. When I originally created this package, I de +commands, <span +class="ectt-1095">\ordinal</span><a + id="dx1-2008"></a> etc which could be used in the de +class="ectt-1095">\today</span>. Since +then, I have extended the number of commands available that can be used to display +the value of a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span +class="E">E</span>X</span></span> counter, however it seems more appropriate to de counter-related commands in a separate package. The <span -class="cmss-10">fmtcount</span><a +class="ecss-1095">fmtcount</span><a id="dx1-2009"></a> package is now distributed separately from the <span -class="cmss-10">datetime </span>package, and will also need to be +class="ecss-1095">datetime </span>package, and will also need to be installed. <a id="dx1-2010"></a> -</p><!--l. 54--><p class="indent" > As from version 2.42, the <span -class="cmss-10">datetime </span>package is now compatible with <span -class="cmss-10">babel</span><a - id="dx1-2011"></a>, however -you must load the <span -class="cmss-10">datetime </span>package <span -class="cmti-10">after </span>the <span -class="cmss-10">babel</span><a - id="dx1-2012"></a> package. For example: +</p><!--l. 51--><p class="indent" > As from version 2.42, the <span +class="ecss-1095">datetime </span>package is now compatible with <span +class="ecss-1095">babel</span><a + id="dx1-2011"></a>, +however you must load the <span +class="ecss-1095">datetime </span>package <span +class="futri8t-x-x-109">after </span>the <span +class="ecss-1095">babel</span><a + id="dx1-2012"></a> package. For +example: - </p> - <div class="verbatim" id="verbatim-1"> + <div class="verbatim" id="verbatim-1"> \usepackage[francais]{babel}  <br />\usepackage{datetime} </div> -<!--l. 61--><p class="nopar" > -</p><!--l. 63--><p class="noindent" > +<!--l. 58--><p class="nopar" > +</p><!--l. 60--><p class="noindent" > </p> -<!--l. 63--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">2 </span> <a - id="x1-30002"></a>Predefined Date Formats</h3> -<!--l. 64--><p class="noindent" >There are various declarations that change the effect of <span -class="cmtt-10">\today</span><a +<!--l. 60--><p class="noindent" ><a +href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">2 </span> <a + id="x1-30002"></a>Prede +<!--l. 61--><p class="noindent" >There are various declarations that change the e +class="ectt-1095">\today</span><a id="dx1-3001"></a>. The change can be localised by placing the declaration within a group. -</p><!--l. 68--><p class="indent" > As from version 2.43, the numerical date formats (such as <span -class="cmtt-10">\ddmmyyyydate</span><a +</p><!--l. 65--><p class="indent" > As from version 2.43, the numerical date formats (such as <span +class="ectt-1095">\ddmmyyyydate</span><a id="dx1-3002"></a>) use the command -</p><!--l. 70--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\dateseparator</span><span -class="cmtt-9"> </span></span><a +</p><!--l. 67--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\dateseparator</span><span +class="ectt-1000"> </span></span><a id="dx1-3003"></a> <span -class="cmtt-10">\dateseparator </span></div><hr> -</p><!--l. 72--><p class="noindent" > -to separate the numbers. So, for example, if you want to hyphens instead of slashes, you -can do: +class="ectt-1095">\dateseparator </span></div><hr> +</p><!--l. 69--><p class="noindent" > +to separate the numbers. So, for example, if you want to hyphens instead of slashes, +you can do: - </p> - <div class="verbatim" id="verbatim-2"> + <div class="verbatim" id="verbatim-2"> \renewcommand{\dateseparator}{-} </div> -<!--l. 77--><p class="nopar" > -</p><!--l. 79--><p class="noindent" > +<!--l. 74--><p class="nopar" > +</p><!--l. 76--><p class="noindent" > </p> -<!--l. 79--><p class="noindent" ><a -href="#top">Top</a></p><h4 class="subsectionHead"><span class="titlemark">2.1 </span> <a +<!--l. 76--><p class="noindent" ><a +href="#top">Top</a></p><h4 class="subsectionHead"><span class="titlemark">2.1 </span> <a id="x1-40002.1"></a>ISO format</h4> -<!--l. 81--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\yyyymmdddate</span><span -class="cmtt-9"> </span></span><a +<!--l. 78--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\yyyymmdddate</span><span +class="ectt-1000"> </span></span><a id="dx1-4001"></a> <span -class="cmtt-10">\yyyymmdddate </span></div><hr> -</p><!--l. 83--><p class="noindent" > -This declaration will redefine <span -class="cmtt-10">\today</span><a +class="ectt-1095">\yyyymmdddate </span></div><hr> +</p><!--l. 80--><p class="noindent" > +This declaration will rede +class="ectt-1095">\today</span><a id="dx1-4002"></a> to produce the current date displayed in -the form 2000/03/08. (You can redefine <span -class="cmtt-10">\dateseparator</span><a +the form 2000/03/08. (You can rede +class="ectt-1095">\dateseparator</span><a id="dx1-4003"></a> to <span -class="cmtt-10">- </span>to change to +class="ectt-1095">- </span>to change to 2000-03-08.) -</p><!--l. 88--><p class="noindent" > +</p><!--l. 85--><p class="noindent" > </p> -<!--l. 88--><p class="noindent" ><a -href="#top">Top</a></p><h4 class="subsectionHead"><span class="titlemark">2.2 </span> <a +<!--l. 85--><p class="noindent" ><a +href="#top">Top</a></p><h4 class="subsectionHead"><span class="titlemark">2.2 </span> <a id="x1-50002.2"></a><span -class="cmsy-10">⟨</span><span -class="cmti-10">Day</span><span -class="cmsy-10">⟩⟨</span><span -class="cmti-10">Month</span><span -class="cmsy-10">⟩⟨</span><span -class="cmti-10">Year</span><span -class="cmsy-10">⟩ </span>formats</h4> -<!--l. 90--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\longdate</span><span -class="cmtt-9"> </span></span><a +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">Day</span><span +class="futsy-x-x-109">ih</span><span +class="futri8t-x-x-109">Month</span><span +class="futsy-x-x-109">ih</span><span +class="futri8t-x-x-109">Year</span><span +class="futsy-x-x-109">i </span>formats</h4> +<!--l. 87--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\longdate</span><span +class="ectt-1000"> </span></span><a id="dx1-5001"></a> <span -class="cmtt-10">\longdate </span></div><hr> -</p><!--l. 92--><p class="noindent" > -This declaration will redefine <span -class="cmtt-10">\today</span><a - id="dx1-5002"></a> to produce the current date displayed in the form -Wednesday 8<sup class="textsuperscript"><span -class="cmr-9">th</span></sup> March, 2000 if the package option <span -class="cmss-10">dayofweek</span><a +class="ectt-1095">\longdate </span></div><hr> +</p><!--l. 89--><p class="noindent" > +This declaration will rede +class="ectt-1095">\today</span><a + id="dx1-5002"></a> to produce the current date displayed in the +form Wednesday 8<sup class="textsuperscript"><span +class="futr8t-">th</span></sup> March, 2000 if the package option <span +class="ecss-1095">dayofweek</span><a id="dx1-5003"></a> is used, or 8<sup class="textsuperscript"><span -class="cmr-9">th</span></sup> March, 2000 -if the package option <span -class="cmss-10">nodayofweek</span><a +class="futr8t-">th</span></sup> +March, 2000 if the package option <span +class="ecss-1095">nodayofweek</span><a id="dx1-5004"></a> is used. -</p><!--l. 99--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\shortdate</span><span -class="cmtt-9"> </span></span><a +</p><!--l. 96--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\shortdate</span><span +class="ectt-1000"> </span></span><a id="dx1-5005"></a> <span -class="cmtt-10">\shortdate </span></div><hr> -</p><!--l. 101--><p class="noindent" > -This declaration will redefine <span -class="cmtt-10">\today</span><a - id="dx1-5006"></a> to produce the current date displayed in the form -Wed 8<sup class="textsuperscript"><span -class="cmr-9">th</span></sup> Mar, 2000 if the package option <span -class="cmss-10">dayofweek</span><a +class="ectt-1095">\shortdate </span></div><hr> +</p><!--l. 98--><p class="noindent" > +This declaration will rede +class="ectt-1095">\today</span><a + id="dx1-5006"></a> to produce the current date displayed in the +form Wed 8<sup class="textsuperscript"><span +class="futr8t-">th</span></sup> Mar, 2000 if the package option <span +class="ecss-1095">dayofweek</span><a id="dx1-5007"></a> is used, or 8<sup class="textsuperscript"><span -class="cmr-9">th</span></sup> Mar, 2000 if the -package option <span -class="cmss-10">nodayofweek</span><a +class="futr8t-">th</span></sup> Mar, 2000 if +the package option <span +class="ecss-1095">nodayofweek</span><a id="dx1-5008"></a> is used. -</p><!--l. 108--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\ddmmyyyydate</span><span -class="cmtt-9"> </span></span><a +</p><!--l. 105--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\ddmmyyyydate</span><span +class="ectt-1000"> </span></span><a id="dx1-5009"></a> <span -class="cmtt-10">\ddmmyyyydate </span></div><hr> -</p><!--l. 110--><p class="noindent" > -This declaration will redefine <span -class="cmtt-10">\today</span><a - id="dx1-5010"></a> to produce the current date displayed in the form -08/03/2000. -</p><!--l. 114--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\dmyyyydate</span><span -class="cmtt-9"> </span></span><a +class="ectt-1095">\ddmmyyyydate </span></div><hr> +</p><!--l. 107--><p class="noindent" > +This declaration will rede +class="ectt-1095">\today</span><a + id="dx1-5010"></a> to produce the current date displayed in the +form 08/03/2000. +</p><!--l. 111--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\dmyyyydate</span><span +class="ectt-1000"> </span></span><a id="dx1-5011"></a> <span -class="cmtt-10">\dmyyyydate </span></div><hr> -</p><!--l. 116--><p class="noindent" > -This declaration will redefine <span -class="cmtt-10">\today</span><a - id="dx1-5012"></a> to produce the current date displayed in the form -8/3/2000. -</p><!--l. 120--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\ddmmyydate</span><span -class="cmtt-9"> </span></span><a +class="ectt-1095">\dmyyyydate </span></div><hr> +</p><!--l. 113--><p class="noindent" > +This declaration will rede +class="ectt-1095">\today</span><a + id="dx1-5012"></a> to produce the current date displayed in the +form 8/3/2000. +</p><!--l. 117--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\ddmmyydate</span><span +class="ectt-1000"> </span></span><a id="dx1-5013"></a> <span -class="cmtt-10">\ddmmyydate </span></div><hr> -</p><!--l. 122--><p class="noindent" > -This declaration will redefine <span -class="cmtt-10">\today</span><a - id="dx1-5014"></a> to produce the current date displayed in the form -08/03/00. -</p><!--l. 126--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\dmyydate</span><span -class="cmtt-9"> </span></span><a - id="dx1-5015"></a> <span -class="cmtt-10">\dmyydate </span></div><hr> +class="ectt-1095">\ddmmyydate </span></div><hr> - -</p><!--l. 128--><p class="noindent" > -This declaration will redefine <span -class="cmtt-10">\today</span><a - id="dx1-5016"></a> to produce the current date displayed in the form -8/3/00. -</p><!--l. 132--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\textdate</span><span -class="cmtt-9"> </span></span><a +</p><!--l. 119--><p class="noindent" > +This declaration will rede +class="ectt-1095">\today</span><a + id="dx1-5014"></a> to produce the current date displayed in the +form 08/03/00. +</p><!--l. 123--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\dmyydate</span><span +class="ectt-1000"> </span></span><a + id="dx1-5015"></a> <span +class="ectt-1095">\dmyydate </span></div><hr> +</p><!--l. 125--><p class="noindent" > +This declaration will rede +class="ectt-1095">\today</span><a + id="dx1-5016"></a> to produce the current date displayed in the +form 8/3/00. +</p><!--l. 129--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\textdate</span><span +class="ectt-1000"> </span></span><a id="dx1-5017"></a> <span -class="cmtt-10">\textdate </span></div><hr> -</p><!--l. 134--><p class="noindent" > -This declaration will redefine <span -class="cmtt-10">\today</span><a - id="dx1-5018"></a> to produce the current date displayed -in the form: Wednesday the Eighth of March, Two Thousand if the package +class="ectt-1095">\textdate </span></div><hr> +</p><!--l. 131--><p class="noindent" > +This declaration will rede +class="ectt-1095">\today</span><a + id="dx1-5018"></a> to produce the current date displayed in +the form: Wednesday the Eighth of March, Two Thousand if the package option <span -class="cmss-10">dayofweek</span><a +class="ecss-1095">dayofweek</span><a id="dx1-5019"></a> is used, or Eighth of March, Two Thousand if the package option <span -class="cmss-10">nodayofweek</span><a +class="ecss-1095">nodayofweek</span><a id="dx1-5020"></a> is used. Note that <span -class="cmtt-10">\textdate </span>is defined for use with -English, it won’t look right if it is used when another language has been +class="ectt-1095">\textdate </span>is de +English, it won't look right if it is used when another language has been selected<span class="footnote-mark"><a href="#fn1x0" id="fn1x0-bk"><sup class="textsuperscript">1</sup></a></span><a id="x1-5021f1"></a>. -If you want to define a similar command for another language, you will first need to +If you want to de check that the <span -class="cmss-10">fmtcount</span><a +class="ecss-1095">fmtcount</span><a id="dx1-5023"></a> package supports that language. -</p><!--l. 147--><p class="noindent" > +</p><!--l. 144--><p class="noindent" > </p> -<!--l. 147--><p class="noindent" ><a -href="#top">Top</a></p><h4 class="subsectionHead"><span class="titlemark">2.3 </span> <a +<!--l. 144--><p class="noindent" ><a +href="#top">Top</a></p><h4 class="subsectionHead"><span class="titlemark">2.3 </span> <a id="x1-60002.3"></a><span -class="cmsy-10">⟨</span><span -class="cmti-10">Month</span><span -class="cmsy-10">⟩⟨</span><span -class="cmti-10">Day</span><span -class="cmsy-10">⟩⟨</span><span -class="cmti-10">Year</span><span -class="cmsy-10">⟩ </span>formats</h4> -<!--l. 149--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\usdate</span><span -class="cmtt-9"> </span></span><a +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">Month</span><span +class="futsy-x-x-109">ih</span><span +class="futri8t-x-x-109">Day</span><span +class="futsy-x-x-109">ih</span><span +class="futri8t-x-x-109">Year</span><span +class="futsy-x-x-109">i </span>formats</h4> +<!--l. 146--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\usdate</span><span +class="ectt-1000"> </span></span><a id="dx1-6001"></a> <span -class="cmtt-10">\usdate </span></div><hr> -</p><!--l. 151--><p class="noindent" > -This declaration will redefine <span -class="cmtt-10">\today </span>to produce the current date displayed in the form -March 8, 2000. (As <span class="TEX">T<span +class="ectt-1095">\usdate </span></div><hr> +</p><!--l. 148--><p class="noindent" > +This declaration will rede +class="ectt-1095">\today </span>to produce the current date displayed in the +form March 8, 2000. (As <span class="TEX">T<span class="E">E</span>X</span> and <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> do by default.) -</p><!--l. 156--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\mmddyyyydate</span><span -class="cmtt-9"> </span></span><a +</p><!--l. 153--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\mmddyyyydate</span><span +class="ectt-1000"> </span></span><a id="dx1-6002"></a> <span -class="cmtt-10">\mmddyyyydate </span></div><hr> -</p><!--l. 158--><p class="noindent" > -This declaration will redefine <span -class="cmtt-10">\today</span><a - id="dx1-6003"></a> to produce the current date displayed in the form -03/08/2000. -</p><!--l. 162--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\mdyyyydate</span><span -class="cmtt-9"> </span></span><a +class="ectt-1095">\mmddyyyydate </span></div><hr> +</p><!--l. 155--><p class="noindent" > +This declaration will rede +class="ectt-1095">\today</span><a + id="dx1-6003"></a> to produce the current date displayed in the +form 03/08/2000. +</p><!--l. 159--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\mdyyyydate</span><span +class="ectt-1000"> </span></span><a id="dx1-6004"></a> <span -class="cmtt-10">\mdyyyydate </span></div><hr> -</p><!--l. 164--><p class="noindent" > -This declaration will redefine <span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\today</span></span></span> to produce the current date displayed in the form -3/8/2000. -</p><!--l. 168--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\mmddyydate</span><span -class="cmtt-9"> </span></span><a +class="ectt-1095">\mdyyyydate </span></div><hr> +</p><!--l. 161--><p class="noindent" > +This declaration will rede +class="ectt-1095">\today</span></span></span> to produce the current date displayed in the +form 3/8/2000. +</p><!--l. 165--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\mmddyydate</span><span +class="ectt-1000"> </span></span><a id="dx1-6005"></a> <span -class="cmtt-10">\mmddyydate </span></div><hr> -</p><!--l. 170--><p class="noindent" > -This declaration will redefine <span -class="cmtt-10">\today</span><a - id="dx1-6006"></a> to produce the current date displayed in the form -03/08/00. -</p><!--l. 174--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\mdyydate</span><span -class="cmtt-9"> </span></span><a +class="ectt-1095">\mmddyydate </span></div><hr> +</p><!--l. 167--><p class="noindent" > +This declaration will rede +class="ectt-1095">\today</span><a + id="dx1-6006"></a> to produce the current date displayed in the +form 03/08/00. +</p><!--l. 171--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\mdyydate</span><span +class="ectt-1000"> </span></span><a id="dx1-6007"></a> <span -class="cmtt-10">\mdyydate </span></div><hr> -</p><!--l. 176--><p class="noindent" > -This declaration will redefine <span -class="cmtt-10">\today</span><a - id="dx1-6008"></a> to produce the current date displayed in the form -3/8/00. -</p><!--l. 180--><p class="noindent" > -</p> -<!--l. 180--><p class="noindent" ><a -href="#top">Top</a></p><h4 class="subsectionHead"><span class="titlemark">2.4 </span> <a - id="x1-70002.4"></a>Dates defined by <span -class="cmss-10">babel</span></h4> -<!--l. 182--><p class="noindent" >In addition to the above, the declarations <span -class="cmtt-10">\date</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">lang</span><span -class="cmsy-10">⟩ </span>are available for all languages -defined either by calling <span -class="cmss-10">babel</span><a - id="dx1-7001"></a> prior to <span -class="cmss-10">datetime </span>or by passing the language name as an +class="ectt-1095">\mdyydate </span></div><hr> +</p><!--l. 173--><p class="noindent" > +This declaration will rede +class="ectt-1095">\today</span><a + id="dx1-6008"></a> to produce the current date displayed in the +form 3/8/00. - -option to <span -class="cmss-10">datetime</span>. See <a -href="#x1-100005"><span -class="cmsy-10">§</span>5 </a><a -href="#x1-100005">Defining New Date Formats<!--tex4ht:ref: sec:newdate --></a> if you want to define your own -customised date format. -</p><!--l. 188--><p class="noindent" > +</p><!--l. 177--><p class="noindent" > +</p> +<!--l. 177--><p class="noindent" ><a +href="#top">Top</a></p><h4 class="subsectionHead"><span class="titlemark">2.4 </span> <a + id="x1-70002.4"></a>Dates de +class="ecss-1095">babel</span></h4> +<!--l. 179--><p class="noindent" >In addition to the above, the declarations <span +class="ectt-1095">\date</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">lang</span><span +class="futsy-x-x-109">i </span>are available for all languages +de +class="ecss-1095">babel</span><a + id="dx1-7001"></a> prior to <span +class="ecss-1095">datetime </span>or by passing the language name as +an option to <span +class="ecss-1095">datetime</span>. See <a +href="#x1-100005"> +href="#x1-100005">De +own customised date format. +</p><!--l. 185--><p class="noindent" > </p> -<!--l. 188--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">3 </span> <a +<!--l. 185--><p class="noindent" ><a +href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">3 </span> <a id="x1-80003"></a>Time Commands</h3> -<!--l. 190--><p class="noindent" >The current time is displayed using the command -</p><!--l. 191--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\currenttime</span><span -class="cmtt-9"> </span></span><a +<!--l. 187--><p class="noindent" >The current time is displayed using the command +</p><!--l. 188--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\currenttime</span><span +class="ectt-1000"> </span></span><a id="dx1-8001"></a> <span -class="cmtt-10">\currenttime </span></div><hr> -</p><!--l. 193--><p class="noindent" > -</p><!--l. 195--><p class="indent" > A specific time can be displayed using the command -</p><!--l. 196--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\formattime</span><span -class="cmtt-9"> </span></span><a +class="ectt-1095">\currenttime </span></div><hr> +</p><!--l. 190--><p class="noindent" > +</p><!--l. 192--><p class="indent" > A speci +</p><!--l. 193--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\formattime</span><span +class="ectt-1000"> </span></span><a id="dx1-8002"></a> <span -class="cmtt-10">\formattime{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">hour</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">}{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">minute</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">}{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">second</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 198--><p class="noindent" > +class="ectt-1095">\formattime{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">hour</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">}{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">minute</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">}{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">second</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 195--><p class="noindent" > where <span -class="cmsy-10">⟨</span><span -class="cmti-10">hour</span><span -class="cmsy-10">⟩ </span>is a number from 0 to 23, and <span -class="cmsy-10">⟨</span><span -class="cmti-10">minute</span><span -class="cmsy-10">⟩ </span>and <span -class="cmsy-10">⟨</span><span -class="cmti-10">second</span><span -class="cmsy-10">⟩ </span>are numbers +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">hour</span><span +class="futsy-x-x-109">i </span>is a number from 0 to 23, and <span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">minute</span><span +class="futsy-x-x-109">i </span>and <span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">second</span><span +class="futsy-x-x-109">i </span>are numbers from 0 to 59. -</p><!--l. 202--><p class="indent" > The format can be changed using the declaration -</p><!--l. 203--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\settimeformat</span><span -class="cmtt-9"> </span></span><a +</p><!--l. 199--><p class="indent" > The format can be changed using the declaration +</p><!--l. 200--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\settimeformat</span><span +class="ectt-1000"> </span></span><a id="dx1-8003"></a> <span -class="cmtt-10">\settimeformat{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">style</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 205--><p class="noindent" > +class="ectt-1095">\settimeformat{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">style</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 202--><p class="noindent" > where <span -class="cmsy-10">⟨</span><span -class="cmti-10">style</span><span -class="cmsy-10">⟩ </span>is the name of the format. Predefined formats are: +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">style</span><span +class="futsy-x-x-109">i </span>is the name of the format. Prede </p><dl class="description"><dt class="description"> <span -class="cmbx-10">xxivtime</span> </dt><dd +class="ecsx-1095">xxivtime</span> </dt><dd class="description">Twenty-four hour time in the form 22:28 (Default) </dd><dt class="description"> <span -class="cmbx-10">hhmmsstime</span> </dt><dd +class="ecsx-1095">hhmmsstime</span> </dt><dd class="description">Twenty-four hour time in the form 22:28:00 </dd><dt class="description"> <span -class="cmbx-10">ampmtime</span> </dt><dd +class="ecsx-1095">ampmtime</span> </dt><dd class="description">Twelve hour time in the form 10:28pm </dd><dt class="description"> <span -class="cmbx-10">oclock</span> </dt><dd -class="description">Displays the current time as a string, e.g. Twenty-Eight minutes past Ten - in the afternoon.</dd></dl> -<!--l. 216--><p class="indent" > New time formats can be defined using the command: -</p><!--l. 217--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\newtimeformat</span><span -class="cmtt-9"> </span></span><a +class="ecsx-1095">oclock</span> </dt><dd +class="description">Displays the current time as a string, e.g. Twenty-Eight minutes past + Ten in the afternoon.</dd></dl> + + +<!--l. 213--><p class="indent" > New time formats can be de +</p><!--l. 214--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\newtimeformat</span><span +class="ectt-1000"> </span></span><a id="dx1-8004"></a> <span -class="cmtt-10">\newtimeformat{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">name</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">}{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">format</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 219--><p class="noindent" > +class="ectt-1095">\newtimeformat{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">name</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">}{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">format</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 216--><p class="noindent" > where <span -class="cmsy-10">⟨</span><span -class="cmti-10">name</span><span -class="cmsy-10">⟩ </span>is the name of the new format (used in <span -class="cmtt-10">\settimeformat</span><a - id="dx1-8005"></a>), and <span -class="cmsy-10">⟨</span><span -class="cmti-10">format</span><span -class="cmsy-10">⟩</span> -is how to format the time. Within <span -class="cmsy-10">⟨</span><span -class="cmti-10">format</span><span -class="cmsy-10">⟩ </span>you can use the counters <span -class="cmss-10">HOUR</span><a - id="dx1-8006"></a> (number of -hours after midnight), <span -class="cmss-10">MINUTE</span><a - id="dx1-8007"></a> (number of minutes past the hour), <span -class="cmss-10">SECOND</span><a - id="dx1-8008"></a> (number -of seconds) <span -class="cmss-10">HOURXII</span><a - id="dx1-8009"></a> (number of hours after midnight/midday), <span -class="cmss-10">TOHOUR</span><a - id="dx1-8010"></a> (the next -hour) and <span -class="cmss-10">TOMINUTE</span><a - id="dx1-8011"></a> (number of minutes to the next hour), and the corresponding -commands: <span -class="cmtt-10">\THEHOUR</span><a +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">name</span><span +class="futsy-x-x-109">i </span>is the name of the new format (used in <span +class="ectt-1095">\settimeformat</span><a + id="dx1-8005"></a>), and +<span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">format</span><span +class="futsy-x-x-109">i </span>is how to format the time. Within <span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">format</span><span +class="futsy-x-x-109">i </span>you can use the counters <span +class="ecss-1095">HOUR</span><a + id="dx1-8006"></a> +(number of hours after midnight), <span +class="ecss-1095">MINUTE</span><a + id="dx1-8007"></a> (number of minutes past the hour), +<span +class="ecss-1095">SECOND</span><a + id="dx1-8008"></a> (number of seconds) <span +class="ecss-1095">HOURXII</span><a + id="dx1-8009"></a> (number of hours after midnight/midday), +<span +class="ecss-1095">TOHOUR</span><a + id="dx1-8010"></a> (the next hour) and <span +class="ecss-1095">TOMINUTE</span><a + id="dx1-8011"></a> (number of minutes to the next hour), +and the corresponding commands: <span +class="ectt-1095">\THEHOUR</span><a id="dx1-8012"></a>, <span -class="cmtt-10">\THEMINUTE</span><a +class="ectt-1095">\THEMINUTE</span><a id="dx1-8013"></a>, <span -class="cmtt-10">\THESECOND</span><a - id="dx1-8014"></a>, <span -class="cmtt-10">\THEHOURXII</span><a - id="dx1-8015"></a>, <span -class="cmtt-10">\THETOHOUR</span><a - id="dx1-8016"></a> and +class="ectt-1095">\THESECOND</span><a + id="dx1-8014"></a>, <span -class="cmtt-10">\THETOMINUTE</span><a +class="ectt-1095">\THEHOURXII</span><a + id="dx1-8015"></a>, <span +class="ectt-1095">\THETOHOUR</span><a + id="dx1-8016"></a> and <span +class="ectt-1095">\THETOMINUTE</span><a id="dx1-8017"></a>. -</p><!--l. 231--><p class="indent" > For example, to define a new time format that uses a dot instead of a colon: +</p><!--l. 228--><p class="indent" > For example, to de - </p> - <div class="verbatim" id="verbatim-3"> + <div class="verbatim" id="verbatim-3"> \newtimeformat{dottime}{\twodigit{\THEHOUR}.\twodigit{\THEMINUTE}} </div> -<!--l. 235--><p class="nopar" > You then need to switch to this new format before you can use it: +<!--l. 232--><p class="nopar" > You then need to switch to this new format before you can use it: - </p> - <div class="verbatim" id="verbatim-4"> + <div class="verbatim" id="verbatim-4"> \settimeformat{dottime}  <br />\currenttime </div> -<!--l. 240--><p class="nopar" > -</p><!--l. 242--><p class="indent" > As from version 2.43, if you only want to change the separator, you can simply -redefine -</p><!--l. 244--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\timeseparator</span><span -class="cmtt-9"> </span></span><a +<!--l. 237--><p class="nopar" > +</p><!--l. 239--><p class="indent" > As from version 2.43, if you only want to change the separator, you can simply +rede +</p><!--l. 241--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\timeseparator</span><span +class="ectt-1000"> </span></span><a id="dx1-8018"></a> <span -class="cmtt-10">\timeseparator </span></div><hr> -</p><!--l. 246--><p class="noindent" > -instead of defining a new time format. For example: +class="ectt-1095">\timeseparator </span></div><hr> +</p><!--l. 243--><p class="noindent" > +instead of de - </p> - <div class="verbatim" id="verbatim-5"> + <div class="verbatim" id="verbatim-5"> \renewcommand{\timeseparator}{.} </div> -<!--l. 250--><p class="nopar" > The <span -class="cmtt-10">xxivtime </span>format will now work like the <span -class="cmtt-10">dottime </span>format defined above. -</p><!--l. 254--><p class="noindent" > +<!--l. 247--><p class="nopar" > The <span +class="ectt-1095">xxivtime </span>format will now work like the <span +class="ectt-1095">dottime </span>format de +</p><!--l. 251--><p class="noindent" > </p> -<!--l. 254--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">4 </span> <a +<!--l. 251--><p class="noindent" ><a +href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">4 </span> <a id="x1-90004"></a>Formating Dates</h3> -<!--l. 255--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\pdfdate</span><span -class="cmtt-9"> </span></span><a +<!--l. 252--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\pdfdate</span><span +class="ectt-1000"> </span></span><a id="dx1-9001"></a> <span -class="cmtt-10">\pdfdate </span></div><hr> -</p><!--l. 257--><p class="noindent" > +class="ectt-1095">\pdfdate </span></div><hr> +</p><!--l. 254--><p class="noindent" > This command<span class="footnote-mark"><a href="#fn2x0" id="fn2x0-bk"><sup class="textsuperscript">2</sup></a></span><a id="x1-9002f2"></a> -prints the date in the format required for PDF files, e.g. if the date is 1 May 2004 and +prints the date in the format required for PDF time is 22:02, <span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\pdfdate</span></span></span> will print 20040501220200. The reason this date format is -separate from all the others is because the other form doesn’t get properly expanded by -PDF<span class="TEX">T<span -class="E">E</span>X</span>. (This command is defined regardless of whether the package option <span -class="cmtt-10">nodate</span> -is called.) Example: +class="ectt-1095">\pdfdate</span></span></span> will print 20040501220200. The reason this date format is +separate from all the others is because the other form doesn't get properly expanded +by PDF<span class="TEX">T<span +class="E">E</span>X</span>. (This command is de +<span +class="ectt-1095">nodate </span>is called.) Example: - </p> - <div class="verbatim" id="verbatim-6"> + <div class="verbatim" id="verbatim-6"> \pdfinfo{  <br />   /Author (Me)  <br />   /Title (A Sample Document) @@ -760,301 +787,296 @@ is called.) Example:  <br />   /ModDate (D:\pdfdate)  <br />} </div> -<!--l. 274--><p class="nopar" > <span -class="cmbx-10">Note </span>that PDF<span class="TEX">T<span +<!--l. 271--><p class="nopar" > <span +class="futb8t-x-x-109">Note </span>that PDF<span class="TEX">T<span class="E">E</span>X</span> introduced the new primitive <span -class="cmtt-10">\pdfcreationdate </span>in +class="ectt-1095">\pdfcreationdate </span>in version 1.30.0, so <span -class="cmtt-10">\pdfdate </span>isn’t required with newer versions of PDF<span class="TEX">T<span +class="ectt-1095">\pdfdate </span>isn't required with newer versions of PDF<span class="TEX">T<span class="E">E</span>X</span>. (<span -class="cmtt-10">\pdfcreationdate </span>is better than <span -class="cmtt-10">\pdfdate </span>as it also stores the time zone.) -</p><!--l. 280--><p class="indent" > There are two commands that print the name of the current month: -</p><!--l. 282--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\monthname</span><span -class="cmtt-9"> </span></span><a +class="ectt-1095">\pdfcreationdate </span>is better than <span +class="ectt-1095">\pdfdate </span>as it also stores the time zone.) +</p><!--l. 277--><p class="indent" > There are two commands that print the name of the current month: +</p><!--l. 279--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\monthname</span><span +class="ectt-1000"> </span></span><a id="dx1-9003"></a> <span -class="cmtt-10">\monthname[</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">num</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">] </span></div><hr> -</p><!--l. 284--><p class="noindent" > +class="ectt-1095">\monthname[</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">num</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">] </span></div><hr> +</p><!--l. 281--><p class="noindent" > prints the current month name in full, e.g. August, and -</p><!--l. 287--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\shortmonthname</span><span -class="cmtt-9"> </span></span><a +</p><!--l. 284--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\shortmonthname</span><span +class="ectt-1000"> </span></span><a id="dx1-9004"></a> <span -class="cmtt-10">\shortmonthname[</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">num</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">] </span></div><hr> -</p><!--l. 289--><p class="noindent" > +class="ectt-1095">\shortmonthname[</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">num</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">] </span></div><hr> +</p><!--l. 286--><p class="noindent" > prints the abbreviated month name, e.g. Aug. Both <span -class="cmtt-10">\monthname </span>and <span -class="cmtt-10">\shortmonthname</span> -take an optional argument (a number from 1 to 12) if the name of a specific +class="ectt-1095">\monthname </span>and <span +class="ectt-1095">\shortmonthname</span> +take an optional argument (a number from 1 to 12) if the name of a speci month is required. For example, <span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\monthname[6]</span></span></span> will produced the output: +class="ectt-1095">\monthname[6]</span></span></span> will produced the output: June. -</p><!--l. 295--><p class="indent" > The day of the week is computed using the algorithm documented at +</p><!--l. 292--><p class="indent" > The day of the week is computed using the algorithm documented at <a href="http://userpages.wittenburg.edu/bshelburne/Comp150/DayOfWeek.htm" class="url" ><span -class="cmtt-10">http://userpages.wittenburg.edu/bshelburne/Comp150/DayOfWeek.htm</span></a>. This -algorithm works for any date between 1<sup class="textsuperscript"><span -class="cmr-9">st</span></sup> Jan, 1901 and 31<sup class="textsuperscript"><span -class="cmr-9">st</span></sup> Dec, 2099. The following -macros display the day of week for a given date: -</p><!--l. 301--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\dayofweekname</span><span -class="cmtt-9"> </span></span><a +class="ectt-1095">http://userpages.wittenburg.edu/bshelburne/Comp150/DayOfWeek.htm</span></a>. +This algorithm works for any date between 1<sup class="textsuperscript"><span +class="futr8t-">st</span></sup> Jan, 1901 and 31<sup class="textsuperscript"><span +class="futr8t-">st</span></sup> Dec, 2099. The +following macros display the day of week for a given date: +</p><!--l. 298--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\dayofweekname</span><span +class="ectt-1000"> </span></span><a id="dx1-9005"></a> <span -class="cmtt-10">\dayofweekname{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">day</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">}{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">month</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">}{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">year</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 303--><p class="noindent" > -prints the day of week for the specified date. For example, +class="ectt-1095">\dayofweekname{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">day</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">}{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">month</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">}{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">year</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 300--><p class="noindent" > +prints the day of week for the speci - </p> - <div class="verbatim" id="verbatim-7"> + <div class="verbatim" id="verbatim-7"> \dayofweekname{31}{10}{2002} </div> -<!--l. 307--><p class="nopar" > will produce the output: Thursday. -</p><!--l. 310--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\shortdayofweekname</span><span -class="cmtt-9"> </span></span><a +<!--l. 304--><p class="nopar" > will produce the output: Thursday. +</p><!--l. 307--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\shortdayofweekname</span><span +class="ectt-1000"> </span></span><a id="dx1-9006"></a> <span -class="cmtt-10">\shortdayofweekname</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">day</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">month</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">}{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">year</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 312--><p class="noindent" > -prints the abbreviated name for the day of week for the specified date. For +class="ectt-1095">\shortdayofweekname</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">day</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">month</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">}{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">year</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">}</span> +</div><hr> +</p><!--l. 309--><p class="noindent" > +prints the abbreviated name for the day of week for the speci example - </p> - <div class="verbatim" id="verbatim-8"> + <div class="verbatim" id="verbatim-8"> \shortdayofweekname{31}{10}{2002} </div> -<!--l. 317--><p class="nopar" > will produce the output: Thu. -</p><!--l. 320--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\ifshowdow</span><span -class="cmtt-9"> </span></span><a +<!--l. 314--><p class="nopar" > will produce the output: Thu. +</p><!--l. 317--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\ifshowdow</span><span +class="ectt-1000"> </span></span><a id="dx1-9007"></a> <span -class="cmtt-10">\ifshowdow </span></div><hr> -</p><!--l. 322--><p class="noindent" > +class="ectt-1095">\ifshowdow </span></div><hr> +</p><!--l. 319--><p class="noindent" > This <span class="TEX">T<span class="E">E</span>X</span> conditional can be used to determine whether or not the option <span -class="cmss-10">dayofweek</span><a +class="ecss-1095">dayofweek</span><a id="dx1-9008"></a> has been passed to the package. For example: - </p> - <div class="verbatim" id="verbatim-9"> + <div class="verbatim" id="verbatim-9"> \ifshowdow\dayofweekname{31}{10}{2002} \fi </div> -<!--l. 328--><p class="nopar" > will only display the day of week if the <span -class="cmss-10">dayofweek</span><a +<!--l. 325--><p class="nopar" > will only display the day of week if the <span +class="ecss-1095">dayofweek</span><a id="dx1-9009"></a> option was passed to <span -class="cmss-10">datetime</span>. -Alternatively, you can use David Carlisle’s <span -class="cmss-10">ifthen</span><a +class="ecss-1095">datetime</span>. +Alternatively, you can use David Carlisle's <span +class="ecss-1095">ifthen</span><a id="dx1-9010"></a> package: - </p> - <div class="verbatim" id="verbatim-10"> + <div class="verbatim" id="verbatim-10"> \ifthenelse{\boolean{showdow}}{\dayofweekname{31}{10}{2002} }{} </div> -<!--l. 334--><p class="nopar" > -</p><!--l. 336--><p class="indent" > The command -</p><!--l. 337--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\ordinaldate</span><span -class="cmtt-9"> </span></span><a +<!--l. 331--><p class="nopar" > +</p><!--l. 333--><p class="indent" > The command +</p><!--l. 334--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\ordinaldate</span><span +class="ectt-1000"> </span></span><a id="dx1-9011"></a> <span -class="cmtt-10">\ordinaldate{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">number</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 339--><p class="noindent" > +class="ectt-1095">\ordinaldate{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">number</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 336--><p class="noindent" > displays <span -class="cmsy-10">⟨</span><span -class="cmti-10">number</span><span -class="cmsy-10">⟩ </span>as a date-type ordinal. If the current language is English, this will +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">number</span><span +class="futsy-x-x-109">i </span>as a date-type ordinal. If the current language is English, this will simply pass the argument to <span -class="cmtt-10">\ordinalnum</span><a - id="dx1-9012"></a> (defined in the <span -class="cmss-10">fmtcount</span><a +class="ectt-1095">\ordinalnum</span><a + id="dx1-9012"></a> (de +class="ecss-1095">fmtcount</span><a id="dx1-9013"></a> package), if the current language is Breton, Welsh or French, a superscript will only be added if <span -class="cmsy-10">⟨</span><span -class="cmti-10">number</span><span -class="cmsy-10">⟩ </span>is 1, otherwise only <span -class="cmsy-10">⟨</span><span -class="cmti-10">number</span><span -class="cmsy-10">⟩ </span>will be displayed. -</p><!--l. 347--><p class="indent" > The macro<span class="footnote-mark"><a +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">number</span><span +class="futsy-x-x-109">i </span>is 1, otherwise only <span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">number</span><span +class="futsy-x-x-109">i </span>will be displayed. +</p><!--l. 344--><p class="indent" > The macro<span class="footnote-mark"><a href="#fn3x0" id="fn3x0-bk"><sup class="textsuperscript">3</sup></a></span><a id="x1-9014f3"></a> -</p><!--l. 350--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\formatdate</span><span -class="cmtt-9"> </span></span><a +</p><!--l. 347--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\formatdate</span><span +class="ectt-1000"> </span></span><a id="dx1-9016"></a> <span -class="cmtt-10">\formatdate{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">day</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">}{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">month</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">}{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">year</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 352--><p class="noindent" > -formats the specified date according to the current format of +class="ectt-1095">\formatdate{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">day</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">}{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">month</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">}{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">year</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 349--><p class="noindent" > +formats the speci <span -class="cmtt-10">\today</span><a +class="ectt-1095">\today</span><a id="dx1-9017"></a><span class="footnote-mark"><a href="#fn4x0" id="fn4x0-bk"><sup class="textsuperscript">4</sup></a></span><a id="x1-9018f4"></a>. (Arguments must all be integers.) For example, in combination with <span -class="cmtt-10">\longdate</span><a +class="ectt-1095">\longdate</span><a id="dx1-9022"></a>, the command - </p> - <div class="verbatim" id="verbatim-11"> + <div class="verbatim" id="verbatim-11"> \formatdate{27}{9}{2004} </div> -<!--l. 361--><p class="nopar" > will produce the output: Monday 27<sup class="textsuperscript"><span -class="cmr-9">th</span></sup> September, 2004. -</p><!--l. 365--><p class="indent" > You can ensure that a number is displayed with at least two digits using the +<!--l. 358--><p class="nopar" > will produce the output: Monday 27<sup class="textsuperscript"><span +class="futr8t-">th</span></sup> September, 2004. +</p><!--l. 362--><p class="indent" > You can ensure that a number is displayed with at least two digits using the command -</p><!--l. 367--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\twodigit</span><span -class="cmtt-9"> </span></span><a +</p><!--l. 364--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\twodigit</span><span +class="ectt-1000"> </span></span><a id="dx1-9023"></a> <span -class="cmtt-10">\twodigit{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">num</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 369--><p class="noindent" > -</p><!--l. 371--><p class="noindent" > +class="ectt-1095">\twodigit{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">num</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 366--><p class="noindent" > +</p><!--l. 368--><p class="noindent" > </p> -<!--l. 371--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">5 </span> <a - id="x1-100005"></a>Defining New Date Formats</h3> -<!--l. 373--><p class="noindent" >New date formats can be defined using the command: -</p><!--l. 374--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\newdateformat</span><span -class="cmtt-9"> </span></span><a +<!--l. 368--><p class="noindent" ><a +href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">5 </span> <a + id="x1-100005"></a>De +<!--l. 370--><p class="noindent" >New date formats can be de +</p><!--l. 371--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\newdateformat</span><span +class="ectt-1000"> </span></span><a id="dx1-10001"></a> <span -class="cmtt-10">\newdateformat{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">name</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">}{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">format</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 376--><p class="noindent" > +class="ectt-1095">\newdateformat{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">name</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">}{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">format</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 373--><p class="noindent" > where <span -class="cmsy-10">⟨</span><span -class="cmti-10">name</span><span -class="cmsy-10">⟩ </span>is the name of the new format, and <span -class="cmsy-10">⟨</span><span -class="cmti-10">format</span><span -class="cmsy-10">⟩ </span>is how to format the date. +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">name</span><span +class="futsy-x-x-109">i </span>is the name of the new format, and <span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">format</span><span +class="futsy-x-x-109">i </span>is how to format the date. Within the argument <span -class="cmsy-10">⟨</span><span -class="cmti-10">format</span><span -class="cmsy-10">⟩ </span>you can use the commands <span -class="cmtt-10">\THEDAY</span><a +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">format</span><span +class="futsy-x-x-109">i </span>you can use the commands <span +class="ectt-1095">\THEDAY</span><a id="dx1-10002"></a>, <span -class="cmtt-10">\THEMONTH</span><a - id="dx1-10003"></a> and -<span -class="cmtt-10">\THEYEAR</span><a - id="dx1-10004"></a> to represent the relevant day, month and year, or you can use the counters -<span -class="cmss-10">DAY</span><a +class="ectt-1095">\THEMONTH</span><a + id="dx1-10003"></a> +and <span +class="ectt-1095">\THEYEAR</span><a + id="dx1-10004"></a> to represent the relevant day, month and year, or you can +use the counters <span +class="ecss-1095">DAY</span><a id="dx1-10005"></a>, <span -class="cmss-10">MONTH</span><a +class="ecss-1095">MONTH</span><a id="dx1-10006"></a> and <span -class="cmss-10">YEAR</span><a +class="ecss-1095">YEAR</span><a id="dx1-10007"></a> if you want to use <span -class="cmtt-10">\ordinal</span><a - id="dx1-10008"></a> etc. Once you have defined the -new date format, you can then switch to it using the declaration <span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\</span></span></span><span -class="cmsy-10">⟨</span><span -class="cmti-10">name</span><span -class="cmsy-10">⟩ </span>(i.e. the -name you specified preceded by a backslash), and subsequent calls to <span -class="cmtt-10">\today</span><a - id="dx1-10009"></a> and -<span -class="cmtt-10">\formatdate</span><a - id="dx1-10010"></a> will use your new format. -</p><!--l. 388--><p class="indent" > For example, suppose you want to define a new date format called, say, <span -class="cmtt-10">mydate</span>, that -will typeset the date in the form: 8-3-2002, then you can do: +class="ectt-1095">\ordinal</span><a + id="dx1-10008"></a> +etc. Once you have de +using the declaration <span class="obeylines-h"><span class="verb"><span +class="ectt-1095">\</span></span></span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">name</span><span +class="futsy-x-x-109">i </span>(i.e. the name you speci +backslash), and subsequent calls to <span +class="ectt-1095">\today</span><a + id="dx1-10009"></a> and <span +class="ectt-1095">\formatdate</span><a + id="dx1-10010"></a> will use your new +format. +</p><!--l. 385--><p class="indent" > For example, suppose you want to de +class="ectt-1095">mydate</span>, +that will typeset the date in the form: 8-3-2002, then you can do: - </p> - <div class="verbatim" id="verbatim-12"> + <div class="verbatim" id="verbatim-12"> \newdateformat{mydate}{\THEDAY-\THEMONTH-\THEYEAR} </div> -<!--l. 393--><p class="nopar" > <span -class="cmtt-10">\newdateformat</span><a - id="dx1-10011"></a> will then define the declaration <span -class="cmtt-10">\mydate </span>which can be used to switch -to your new format. In the following example, two new date formats are defined, -and they are then selected to produce two different formats for the current +<!--l. 390--><p class="nopar" ><span +class="ectt-1095">\newdateformat</span><a + id="dx1-10011"></a> will then de +class="ectt-1095">\mydate </span>which can be used to +switch to your new format. In the following example, two new date formats are +de date: - </p> - <div class="verbatim" id="verbatim-13"> + <div class="verbatim" id="verbatim-13"> \newdateformat{dashdate}{%  <br />\twodigit{\THEDAY}-\twodigit{\THEMONTH}-\THEYEAR}  <br />\newdateformat{usvardate}{% @@ -1062,591 +1084,585 @@ date:  <br />Dash: \dashdate\today.  <br />US: \usvardate\today. </div> -<!--l. 408--><p class="nopar" > If the current date is, say, 8th March, 2002, the above code will produce the following: +<!--l. 405--><p class="nopar" > If the current date is, say, 8th March, 2002, the above code will produce the following: Dash: 08-03-2002. US: March 8<sup class="textsuperscript"><span -class="cmr-9">th</span></sup>, 2002. -</p><!--l. 413--><p class="indent" > Note that <span -class="cmtt-10">\THEDAY</span><a +class="futr8t-">th</span></sup>, 2002. +</p><!--l. 410--><p class="indent" > Note that <span +class="ectt-1095">\THEDAY</span><a id="dx1-10012"></a> etc and <span -class="cmss-10">DAY</span><a +class="ecss-1095">DAY</span><a id="dx1-10013"></a> etc have no real meaning outside <span -class="cmtt-10">\newdateformat</span><a +class="ectt-1095">\newdateformat</span><a id="dx1-10014"></a> (this is why they are in uppercase). Incidentally, the <span -class="cmtt-10">dashdate </span>format is not really +class="ectt-1095">dashdate </span>format is not really necessary, as you can achieve this format using: - </p> - <div class="verbatim" id="verbatim-14"> + <div class="verbatim" id="verbatim-14"> \renewcommand{\dateseparator}{-}  <br />\ddmmyyyydate </div> -<!--l. 421--><p class="nopar" > -</p><!--l. 423--><p class="indent" > Another note: in the above code, <span -class="cmtt-10">\ordinal</span><a - id="dx1-10015"></a> was used to illustrate the use of the <span -class="cmss-10">DAY</span><a - id="dx1-10016"></a> -counter. It is better to use <span -class="cmtt-10">\ordinaldate</span><a +<!--l. 418--><p class="nopar" > +</p><!--l. 420--><p class="indent" > Another note: in the above code, <span +class="ectt-1095">\ordinal</span><a + id="dx1-10015"></a> was used to illustrate the use of the +<span +class="ecss-1095">DAY</span><a + id="dx1-10016"></a> counter. It is better to use <span +class="ectt-1095">\ordinaldate</span><a id="dx1-10017"></a> instead: - </p> - <div class="verbatim" id="verbatim-15"> + <div class="verbatim" id="verbatim-15"> \newdateformat{usvardate}{%  <br />\monthname[\THEMONTH] \ordinaldate{\THEDAY}, \THEYEAR} </div> -<!--l. 429--><p class="nopar" > -</p><!--l. 431--><p class="noindent" > +<!--l. 426--><p class="nopar" > +</p><!--l. 428--><p class="noindent" > </p> -<!--l. 431--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">6 </span> <a +<!--l. 428--><p class="noindent" ><a +href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">6 </span> <a id="x1-110006"></a>Saving Dates</h3> -<!--l. 433--><p class="noindent" >It is possible to save a date for later use using the command: +<!--l. 430--><p class="noindent" >It is possible to save a date for later use using the command: <span class="footnote-mark"><a href="#fn5x0" id="fn5x0-bk"><sup class="textsuperscript">5</sup></a></span><a id="x1-11001f5"></a> -</p><!--l. 435--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\newdate</span><span -class="cmtt-9"> </span></span><a +</p><!--l. 432--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\newdate</span><span +class="ectt-1000"> </span></span><a id="dx1-11002"></a> <span -class="cmtt-10">\newdate{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">name</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">}{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">day</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">}{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">month</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">}{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">year</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 437--><p class="noindent" > -</p><!--l. 439--><p class="indent" > This date can later be displayed using the same format as that used by +class="ectt-1095">\newdate{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">name</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">}{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">day</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">}{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">month</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">}{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">year</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 434--><p class="noindent" > +</p><!--l. 436--><p class="indent" > This date can later be displayed using the same format as that used by <span -class="cmtt-10">\formatdate</span><a +class="ectt-1095">\formatdate</span><a id="dx1-11003"></a> using the command: -</p><!--l. 441--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\displaydate</span><span -class="cmtt-9"> </span></span><a +</p><!--l. 438--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\displaydate</span><span +class="ectt-1000"> </span></span><a id="dx1-11004"></a> <span -class="cmtt-10">\displaydate{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">name</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 443--><p class="noindent" > -</p><!--l. 445--><p class="indent" > Individual elements of the date can be extracted using the commands: -</p><!--l. 447--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\getdateday</span><span -class="cmtt-9"> </span></span><a +class="ectt-1095">\displaydate{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">name</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 440--><p class="noindent" > +</p><!--l. 442--><p class="indent" > Individual elements of the date can be extracted using the commands: +</p><!--l. 444--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\getdateday</span><span +class="ectt-1000"> </span></span><a id="dx1-11005"></a> <span -class="cmtt-10">\getdateday{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">name</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 449--><p class="noindent" > -</p><!--l. 450--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\getdatemonth</span><span -class="cmtt-9"> </span></span><a +class="ectt-1095">\getdateday{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">name</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 446--><p class="noindent" > +</p><!--l. 447--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\getdatemonth</span><span +class="ectt-1000"> </span></span><a id="dx1-11006"></a> <span -class="cmtt-10">\getdatemonth{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">name</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 452--><p class="noindent" > -</p><!--l. 453--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\getdateyear</span><span -class="cmtt-9"> </span></span><a +class="ectt-1095">\getdatemonth{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">name</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 449--><p class="noindent" > +</p><!--l. 450--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\getdateyear</span><span +class="ectt-1000"> </span></span><a id="dx1-11007"></a> <span -class="cmtt-10">\getdateyear{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">name</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 455--><p class="noindent" > -</p><!--l. 457--><p class="noindent" > +class="ectt-1095">\getdateyear{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">name</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 452--><p class="noindent" > +</p><!--l. 454--><p class="noindent" > </p> -<!--l. 457--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">7 </span> <a - id="x1-120007"></a>Predefined Names</h3> -<!--l. 459--><p class="noindent" >The following commands are defined by the <span -class="cmss-10">datetime </span>package: +<!--l. 454--><p class="noindent" ><a +href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">7 </span> <a + id="x1-120007"></a>Prede +<!--l. 456--><p class="noindent" >The following commands are de +class="ecss-1095">datetime </span>package: </p> - - <div class="tabular"> <table id="TBL-2" class="tabular" + <div class="tabular"> <table id="TBL-2" class="tabular" cellspacing="0" cellpadding="0" ><colgroup id="TBL-2-1g"><col id="TBL-2-1" /><col id="TBL-2-2" /></colgroup><tr style="vertical-align:baseline;" id="TBL-2-1-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-1-1" class="td11"><span -class="cmbx-10">Command Name</span></td><td style="white-space:nowrap; text-align:left;" id="TBL-2-1-2" +class="futb8t-x-x-109">Command Name</span></td><td style="white-space:nowrap; text-align:left;" id="TBL-2-1-2" class="td11"><span -class="cmbx-10">Default Value </span></td></tr><tr +class="futb8t-x-x-109">Default Value </span></td></tr><tr style="vertical-align:baseline;" id="TBL-2-2-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-2-1" class="td11"><span -class="cmtt-10">\dateseparator</span><a +class="ectt-1095">\dateseparator</span><a id="dx1-12001"></a> </td> <td style="white-space:nowrap; text-align:left;" id="TBL-2-2-2" class="td11"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">/</span></span></span></td> +class="ectt-1095">/</span></span></span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-3-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-3-1" class="td11"><span -class="cmtt-10">\timeseparator</span><a - id="dx1-12002"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-3-2" +class="ectt-1095">\timeseparator</span><a + id="dx1-12002"></a></td><td style="white-space:nowrap; text-align:left;" id="TBL-2-3-2" class="td11"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">:</span></span></span> </td> +class="ectt-1095">:</span></span></span> </td> </tr><tr style="vertical-align:baseline;" id="TBL-2-4-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-4-1" class="td11"><span -class="cmtt-10">\amname</span><a - id="dx1-12003"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-4-2" +class="ectt-1095">\amname</span><a + id="dx1-12003"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-4-2" class="td11"><span -class="cmtt-10">am </span></td> +class="ectt-1095">am </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-5-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-5-1" class="td11"><span -class="cmtt-10">\pmname</span><a - id="dx1-12004"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-5-2" +class="ectt-1095">\pmname</span><a + id="dx1-12004"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-5-2" class="td11"><span -class="cmtt-10">pm </span></td> +class="ectt-1095">pm </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-6-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-6-1" class="td11"><span -class="cmtt-10">\amorpmname</span><a - id="dx1-12005"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-6-2" +class="ectt-1095">\amorpmname</span><a + id="dx1-12005"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-6-2" class="td11"><span -class="cmtt-10">\amname</span><a +class="ectt-1095">\amname</span><a id="dx1-12006"></a> if morning, otherwise <span -class="cmtt-10">\pmname</span><a +class="ectt-1095">\pmname</span><a id="dx1-12007"></a> </td> </tr><tr style="vertical-align:baseline;" id="TBL-2-7-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-7-1" class="td11"><span -class="cmtt-10">\amstring</span><a - id="dx1-12008"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-7-2" +class="ectt-1095">\amstring</span><a + id="dx1-12008"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-7-2" class="td11"><span -class="cmtt-10">in the morning </span></td> +class="ectt-1095">in the morning </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-8-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-8-1" class="td11"><span -class="cmtt-10">\pmstring</span><a - id="dx1-12009"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-8-2" +class="ectt-1095">\pmstring</span><a + id="dx1-12009"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-8-2" class="td11"><span -class="cmtt-10">in the afternoon </span></td> +class="ectt-1095">in the afternoon </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-9-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-9-1" class="td11"><span -class="cmtt-10">\amorpmstring</span><a - id="dx1-12010"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-9-2" +class="ectt-1095">\amorpmstring</span><a + id="dx1-12010"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-9-2" class="td11"><span -class="cmtt-10">\amstring</span><a +class="ectt-1095">\amstring</span><a id="dx1-12011"></a> if morning, otherwise <span -class="cmtt-10">\pmstring</span><a +class="ectt-1095">\pmstring</span><a id="dx1-12012"></a></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-10-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-10-1" class="td11"><span -class="cmtt-10">\halfpast</span><a - id="dx1-12013"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-10-2" +class="ectt-1095">\halfpast</span><a + id="dx1-12013"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-10-2" class="td11"><span -class="cmtt-10">Half past </span></td> +class="ectt-1095">Half past </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-11-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-11-1" class="td11"><span -class="cmtt-10">\quarterpast</span><a - id="dx1-12014"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-11-2" +class="ectt-1095">\quarterpast</span><a + id="dx1-12014"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-11-2" class="td11"><span -class="cmtt-10">Quarter past </span></td> +class="ectt-1095">Quarter past </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-12-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-12-1" class="td11"><span -class="cmtt-10">\quarterto</span><a - id="dx1-12015"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-12-2" +class="ectt-1095">\quarterto</span><a + id="dx1-12015"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-12-2" class="td11"><span -class="cmtt-10">Quarter to </span></td> +class="ectt-1095">Quarter to </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-13-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-13-1" class="td11"><span -class="cmtt-10">\noon</span><a - id="dx1-12016"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-13-2" +class="ectt-1095">\noon</span><a + id="dx1-12016"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-13-2" class="td11"><span -class="cmtt-10">Noon </span></td> +class="ectt-1095">Noon </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-14-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-14-1" class="td11"><span -class="cmtt-10">\midnight</span><a - id="dx1-12017"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-14-2" +class="ectt-1095">\midnight</span><a + id="dx1-12017"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-14-2" class="td11"><span -class="cmtt-10">Midnight </span></td> +class="ectt-1095">Midnight </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-15-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-15-1" class="td11"><span -class="cmtt-10">\oclockstring</span><a - id="dx1-12018"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-15-2" +class="ectt-1095">\oclockstring</span><a + id="dx1-12018"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-15-2" class="td11"><span -class="cmtt-10">O’Clock </span></td> </tr></table> +class="ectt-1095">O’Clock </span></td> </tr></table> </div> -<!--l. 481--><p class="noindent" > +<!--l. 478--><p class="noindent" > </p> -<!--l. 481--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">8 </span> <a +<!--l. 478--><p class="noindent" ><a +href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">8 </span> <a id="x1-130008"></a>Package Options</h3> -<!--l. 483--><p class="noindent" >The following options may be passed to this package: +<!--l. 480--><p class="noindent" >The following options may be passed to this package: </p><dl class="description"><dt class="description"> <span -class="cmssbx-10">long</span><a +class="ecsx-1095">long</span><a id="dx1-13001"></a> </dt><dd class="description">make <span -class="cmtt-10">\today </span>produce long date +class="ectt-1095">\today </span>produce long date </dd><dt class="description"> <span -class="cmssbx-10">short</span><a +class="ecsx-1095">short</span><a id="dx1-13002"></a> </dt><dd class="description">make <span -class="cmtt-10">\today </span>produce short date +class="ectt-1095">\today </span>produce short date </dd><dt class="description"> <span -class="cmssbx-10">yyyymmdd</span><a +class="ecsx-1095">yyyymmdd</span><a id="dx1-13003"></a> </dt><dd class="description">make <span -class="cmtt-10">\today </span>produce YYYY/MM/DD date +class="ectt-1095">\today </span>produce YYYY/MM/DD date </dd><dt class="description"> <span -class="cmssbx-10">ddmmyyyy</span><a +class="ecsx-1095">ddmmyyyy</span><a id="dx1-13004"></a> </dt><dd class="description">make <span -class="cmtt-10">\today </span>produce DD/MM/YYYY date +class="ectt-1095">\today </span>produce DD/MM/YYYY date </dd><dt class="description"> <span -class="cmssbx-10">dmyyyy</span><a +class="ecsx-1095">dmyyyy</span><a id="dx1-13005"></a> </dt><dd class="description">make <span -class="cmtt-10">\today </span>produce D/M/YYYY date +class="ectt-1095">\today </span>produce D/M/YYYY date </dd><dt class="description"> <span -class="cmssbx-10">ddmmyy</span><a +class="ecsx-1095">ddmmyy</span><a id="dx1-13006"></a> </dt><dd class="description">make <span -class="cmtt-10">\today </span>produce DD/MM/YY date +class="ectt-1095">\today </span>produce DD/MM/YY date </dd><dt class="description"> <span -class="cmssbx-10">dmyy</span><a +class="ecsx-1095">dmyy</span><a id="dx1-13007"></a> </dt><dd class="description">make <span -class="cmtt-10">\today </span>produce D/M/YY date +class="ectt-1095">\today </span>produce D/M/YY date </dd><dt class="description"> <span -class="cmssbx-10">text</span><a +class="ecsx-1095">text</span><a id="dx1-13008"></a> </dt><dd class="description">make <span -class="cmtt-10">\today </span>produce text date +class="ectt-1095">\today </span>produce text date in UK style </dd><dt class="description"> <span -class="cmssbx-10">us</span><a +class="ecsx-1095">us</span><a id="dx1-13009"></a> </dt><dd class="description">make <span -class="cmtt-10">\today </span>produce US style date +class="ectt-1095">\today </span>produce US style date + + </dd><dt class="description"> <span -class="cmssbx-10">mmddyyyy</span><a +class="ecsx-1095">mmddyyyy</span><a id="dx1-13010"></a> </dt><dd class="description">make <span -class="cmtt-10">\today </span>produce MM/DD/YYYY date - - - +class="ectt-1095">\today </span>produce MM/DD/YYYY date </dd><dt class="description"> <span -class="cmssbx-10">mdyyyy</span><a +class="ecsx-1095">mdyyyy</span><a id="dx1-13011"></a> </dt><dd class="description">make <span -class="cmtt-10">\today </span>produce M/D/YYYY date +class="ectt-1095">\today </span>produce M/D/YYYY date </dd><dt class="description"> <span -class="cmssbx-10">mmddyy</span><a +class="ecsx-1095">mmddyy</span><a id="dx1-13012"></a> </dt><dd class="description">make <span -class="cmtt-10">\today </span>produce MM/DD/YY date +class="ectt-1095">\today </span>produce MM/DD/YY date </dd><dt class="description"> <span -class="cmssbx-10">mdyy</span><a +class="ecsx-1095">mdyy</span><a id="dx1-13013"></a> </dt><dd class="description">make <span -class="cmtt-10">\today </span>produce M/D/YY date +class="ectt-1095">\today </span>produce M/D/YY date </dd><dt class="description"> <span -class="cmssbx-10">raise</span><a +class="ecsx-1095">raise</span><a id="dx1-13014"></a> </dt><dd class="description">make ordinal st,nd,rd,th appear as superscript </dd><dt class="description"> <span -class="cmssbx-10">level</span><a +class="ecsx-1095">level</span><a id="dx1-13015"></a> </dt><dd class="description">make ordinal st,nd,rd,th appear level with rest of text </dd><dt class="description"> <span -class="cmssbx-10">dayofweek</span><a +class="ecsx-1095">dayofweek</span><a id="dx1-13016"></a> </dt><dd class="description">make the day of week appear for <span -class="cmtt-10">\longdate</span><a +class="ectt-1095">\longdate</span><a id="dx1-13017"></a>, <span -class="cmtt-10">\shortdate</span><a +class="ectt-1095">\shortdate</span><a id="dx1-13018"></a> or <span -class="cmtt-10">\textdate</span><a +class="ectt-1095">\textdate</span><a id="dx1-13019"></a> </dd><dt class="description"> <span -class="cmssbx-10">nodayofweek</span><a +class="ecsx-1095">nodayofweek</span><a id="dx1-13020"></a> </dt><dd -class="description">don’t display the day of week. +class="description">don't display the day of week. </dd><dt class="description"> <span -class="cmssbx-10">hhmmss</span><a +class="ecsx-1095">hhmmss</span><a id="dx1-13021"></a> </dt><dd class="description">make <span -class="cmtt-10">\currenttime </span>produce <span -class="cmtt-10">hhmmsstime </span>format +class="ectt-1095">\currenttime </span>produce <span +class="ectt-1095">hhmmsstime </span>format </dd><dt class="description"> <span -class="cmssbx-10">24hr</span><a +class="ecsx-1095">24hr</span><a id="dx1-13022"></a> </dt><dd class="description">make <span -class="cmtt-10">\currenttime </span>produce <span -class="cmtt-10">xxivtime </span>format +class="ectt-1095">\currenttime </span>produce <span +class="ectt-1095">xxivtime </span>format </dd><dt class="description"> <span -class="cmssbx-10">12hr</span><a +class="ecsx-1095">12hr</span><a id="dx1-13023"></a> </dt><dd class="description">make <span -class="cmtt-10">\currenttime </span>produce <span -class="cmtt-10">ampmtime </span>format +class="ectt-1095">\currenttime </span>produce <span +class="ectt-1095">ampmtime </span>format </dd><dt class="description"> <span -class="cmssbx-10">oclock</span><a +class="ecsx-1095">oclock</span><a id="dx1-13024"></a> </dt><dd class="description">make <span -class="cmtt-10">\currenttime </span>produce <span -class="cmtt-10">oclock </span>format +class="ectt-1095">\currenttime </span>produce <span +class="ectt-1095">oclock </span>format </dd><dt class="description"> <span -class="cmssbx-10">nodate</span><a +class="ecsx-1095">nodate</span><a id="dx1-13025"></a> </dt><dd -class="description">Don’t redefine <span -class="cmtt-10">\today </span>or define the month or day of week commands +class="description">Don't rede +class="ectt-1095">\today </span>or de (useful if you only want the time commands) </dd><dt class="description"> <span -class="cmssbx-10">iso</span><a +class="ecsx-1095">iso</span><a id="dx1-13026"></a> </dt><dd -class="description">as <span -class="cmss-10">ddmmyyyy</span><a - id="dx1-13027"></a> and <span -class="cmss-10">hhmmss</span><a - id="dx1-13028"></a> but also sets date separator to <span -class="cmtt-10">- </span>and time separator - to <span -class="cmtt-10">:</span></dd></dl> -<!--l. 521--><p class="indent" > The default options are: <span -class="cmss-10">long</span><a +class="description">as <span +class="ecss-1095">ddmmyyyy</span><a + id="dx1-13027"></a> and <span +class="ecss-1095">hhmmss</span><a + id="dx1-13028"></a> but also sets date separator to <span +class="ectt-1095">- </span>and time + separator to <span +class="ectt-1095">:</span></dd></dl> +<!--l. 518--><p class="indent" > The default options are: <span +class="ecss-1095">long</span><a id="dx1-13029"></a>, <span -class="cmss-10">raise</span><a +class="ecss-1095">raise</span><a id="dx1-13030"></a>, <span -class="cmss-10">dayofweek</span><a +class="ecss-1095">dayofweek</span><a id="dx1-13031"></a> and <span -class="cmss-10">24hr</span><a +class="ecss-1095">24hr</span><a id="dx1-13032"></a>. -</p><!--l. 524--><p class="noindent" > -</p> -<!--l. 524--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">9 </span> <a - id="x1-140009"></a>Multilingual Support</h3> - -<!--l. 526--><p class="noindent" >If you use the <span -class="cmss-10">ngerman</span><a +</p><!--l. 521--><p class="noindent" > +</p> +<!--l. 521--><p class="noindent" ><a +href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">9 </span> <a + id="x1-140009"></a>Multilingual Support</h3> +<!--l. 523--><p class="noindent" >If you use the <span +class="ecss-1095">ngerman</span><a id="dx1-14001"></a> package, you must use <span -class="cmss-10">datetime</span>’s <span -class="cmss-10">ngerman</span><a - id="dx1-14002"></a> package option if you -want the date displayed in the same form as <span -class="cmss-10">ngerman</span><a - id="dx1-14003"></a>. You must also load <span -class="cmss-10">ngerman</span><a - id="dx1-14004"></a> -<span -class="cmti-10">before </span>you load <span -class="cmss-10">datetime</span>. Similarly for the <span -class="cmss-10">german</span><a - id="dx1-14005"></a> package. -</p><!--l. 532--><p class="indent" > If you want to use the <span -class="cmss-10">babel</span><a +class="ecss-1095">datetime</span>'s <span +class="ecss-1095">ngerman</span><a + id="dx1-14002"></a> package +option if you want the date displayed in the same form as <span +class="ecss-1095">ngerman</span><a + id="dx1-14003"></a>. You +must also load <span +class="ecss-1095">ngerman</span><a + id="dx1-14004"></a> <span +class="futri8t-x-x-109">before </span>you load <span +class="ecss-1095">datetime</span>. Similarly for the <span +class="ecss-1095">german</span><a + id="dx1-14005"></a> +package. +</p><!--l. 529--><p class="indent" > If you want to use the <span +class="ecss-1095">babel</span><a id="dx1-14006"></a> package, you must load it <span -class="cmti-10">before </span>you load the <span -class="cmss-10">datetime</span> +class="futri8t-x-x-109">before </span>you load the <span +class="ecss-1095">datetime</span> package. This is because the <span -class="cmss-10">babel</span><a +class="ecss-1095">babel</span><a id="dx1-14007"></a> <span -class="cmtt-10">\date</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">lang</span><span -class="cmsy-10">⟩ </span>commands redefine <span -class="cmtt-10">\today</span><a - id="dx1-14008"></a>, whereas the -<span -class="cmss-10">datetime</span><a - id="dx1-14009"></a> package redefines <span -class="cmtt-10">\today </span>to use <span -class="cmtt-10">\formatdate</span><a - id="dx1-14010"></a>, and the date formatting -commands (such as <span -class="cmtt-10">\longdate</span><a - id="dx1-14011"></a>) redefine <span -class="cmtt-10">\formatdate </span>rather than <span -class="cmtt-10">\today</span>. This ensures -consistent formatting of the dates whether you use <span -class="cmtt-10">\today </span>or <span -class="cmtt-10">\formatdate</span>. Therefore, -the <span -class="cmss-10">datetime </span>package has to redefine all the <span -class="cmtt-10">\date</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">lang</span><span -class="cmsy-10">⟩ </span>commands accordingly. Thus -the multilingual date support is mostly limited to that provided by <span -class="cmss-10">babel</span><a - id="dx1-14012"></a>. Additional -support, such as the day of week names and abbreviations, are only supplied for -those languages that I know, or that other people have been able to supply for +class="ectt-1095">\date</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">lang</span><span +class="futsy-x-x-109">i </span>commands rede +class="ectt-1095">\today</span><a + id="dx1-14008"></a>, +whereas the <span +class="ecss-1095">datetime</span><a + id="dx1-14009"></a> package rede +class="ectt-1095">\today </span>to use <span +class="ectt-1095">\formatdate</span><a + id="dx1-14010"></a>, and the +date formatting commands (such as <span +class="ectt-1095">\longdate</span><a + id="dx1-14011"></a>) rede +class="ectt-1095">\formatdate</span> +rather than <span +class="ectt-1095">\today</span>. This ensures consistent formatting of the dates whether +you use <span +class="ectt-1095">\today </span>or <span +class="ectt-1095">\formatdate</span>. Therefore, the <span +class="ecss-1095">datetime </span>package has to +rede +class="ectt-1095">\date</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">lang</span><span +class="futsy-x-x-109">i </span>commands accordingly. Thus the multilingual date +support is mostly limited to that provided by <span +class="ecss-1095">babel</span><a + id="dx1-14012"></a>. Additional support, such +as the day of week names and abbreviations, are only supplied for those +languages that I know, or that other people have been able to supply for me. -</p><!--l. 548--><p class="indent" > As from v2.56, the package options supplied to <span -class="cmss-10">datetime </span>override <span -class="cmss-10">babel</span><a - id="dx1-14013"></a>’s date +</p><!--l. 545--><p class="indent" > As from v2.56, the package options supplied to <span +class="ecss-1095">datetime </span>override <span +class="ecss-1095">babel</span><a + id="dx1-14013"></a>'s date format. For example: - </p> - <div class="verbatim" id="verbatim-16"> + <div class="verbatim" id="verbatim-16"> \usepackage[french,spanish]{babel}  <br />\usepackage[ddmmyyyy]{datetime} </div> -<!--l. 553--><p class="nopar" > will use ddmmyyyy date format regardless of language. Note that if you use a +<!--l. 550--><p class="nopar" > will use ddmmyyyy date format regardless of language. Note that if you use a declaration instead of a package option, for example: - </p> - <div class="verbatim" id="verbatim-17"> + <div class="verbatim" id="verbatim-17"> \usepackage[french,spanish]{babel}  <br />\usepackage{datetime}  <br />\ddmmyyyydate </div> -<!--l. 561--><p class="nopar" > the date format will be switched back to <span -class="cmtt-10">\datefrench </span>or <span -class="cmtt-10">\datespanish </span>whenever the -language is set. You can use -</p><!--l. 564--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="cmtt-9">\setdefaultdate</span><span -class="cmtt-9"> </span></span><a +<!--l. 558--><p class="nopar" > the date format will be switched back to <span +class="ectt-1095">\datefrench </span>or <span +class="ectt-1095">\datespanish </span>whenever +the language is set. You can use +</p><!--l. 561--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="ectt-1000">\setdefaultdate</span><span +class="ectt-1000"> </span></span><a id="dx1-14014"></a> <span -class="cmtt-10">\setdefaultdate{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">declaration</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span></div><hr> -</p><!--l. 566--><p class="noindent" > +class="ectt-1095">\setdefaultdate{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">declaration</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span></div><hr> +</p><!--l. 563--><p class="noindent" > to always use <span -class="cmtt-10">{</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">declaration</span><span -class="cmsy-10">⟩</span><span -class="cmtt-10">} </span>whenever the language is set. For example: +class="ectt-1095">{</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">declaration</span><span +class="futsy-x-x-109">i</span><span +class="ectt-1095">} </span>whenever the language is set. For example: - </p> - <div class="verbatim" id="verbatim-18"> + <div class="verbatim" id="verbatim-18"> \setdefaultdate{\ddmmyyyydate} </div> -<!--l. 571--><p class="nopar" > -</p><!--l. 573--><p class="indent" > The commands <span -class="cmtt-10">\monthname</span><a +<!--l. 568--><p class="nopar" > +</p><!--l. 570--><p class="indent" > The commands <span +class="ectt-1095">\monthname</span><a id="dx1-14015"></a> and <span -class="cmtt-10">\shortmonthname</span><a - id="dx1-14016"></a>, will produce the month name in -the current language. If you want the month name in a specific language, you can -use the command <span -class="cmtt-10">\monthname</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">lang</span><span -class="cmsy-10">⟩</span>. For example, <span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\monthnamefrench[6]</span></span></span> +class="ectt-1095">\shortmonthname</span><a + id="dx1-14016"></a>, will produce the month +name in the current language. If you want the month name in a speci +you can use the command <span +class="ectt-1095">\monthname</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">lang</span><span +class="futsy-x-x-109">i</span>. For example, <span class="obeylines-h"><span class="verb"><span +class="ectt-1095">\monthnamefrench[6]</span></span></span> will produce the output: juin. Note that <span -class="cmtt-10">\textdate</span><a - id="dx1-14017"></a> is formatted for English -dates, and won’t look right if used with another language setting. If you want -a textual date, the <span -class="cmss-10">fmtcount</span><a +class="ectt-1095">\textdate</span><a + id="dx1-14017"></a> is formatted for English dates, +and won't look right if used with another language setting. If you want a +textual date, the <span +class="ecss-1095">fmtcount</span><a id="dx1-14018"></a> package (which is loaded by <span -class="cmss-10">datetime</span>) defines -some commands which display a number or ordinal as a word, but it only has -very limited multilingual support. See the <span -class="cmss-10">fmtcount</span><a +class="ecss-1095">datetime</span>) de +commands which display a number or ordinal as a word, but it only has very +limited multilingual support. See the <span +class="ecss-1095">fmtcount</span><a id="dx1-14019"></a> documentation for further details. -</p><!--l. 586--><p class="indent" > There is currently only <span -class="cmti-10">limited </span>multilingual support for <span -class="cmtt-10">\dayofweekname</span><a +</p><!--l. 583--><p class="indent" > There is currently only <span +class="futri8t-x-x-109">limited </span>multilingual support for <span +class="ectt-1095">\dayofweekname</span><a id="dx1-14020"></a> and <span -class="cmtt-10">\shortdayofweekname</span><a +class="ectt-1095">\shortdayofweekname</span><a id="dx1-14021"></a> (just English, French, Portuguese, Spanish and German<span class="footnote-mark"><a href="#fn6x0" id="fn6x0-bk"><sup class="textsuperscript">6</sup></a></span><a id="x1-14022f6"></a>). -You can add support for other languages by defining the commands <span -class="cmtt-10">\dayofweeknameid</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">lang</span><span -class="cmsy-10">⟩</span> -and <span -class="cmtt-10">\shortdayofweeknameid</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">lang</span><span -class="cmsy-10">⟩</span>. Note that these commands only take <span -class="cmti-10">one</span> -argument which should be a number from 1 to 7 indicating the day of the -week. -</p><!--l. 596--><p class="indent" > You can use the following as templates. Replace <span -class="cmtt-10">english </span>with the name of your -language (as given by <span -class="cmtt-10">\languagename</span><a +You can add support for other languages by de +<span +class="ectt-1095">\dayofweeknameid</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">lang</span><span +class="futsy-x-x-109">i </span>and <span +class="ectt-1095">\shortdayofweeknameid</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">lang</span><span +class="futsy-x-x-109">i</span>. Note that these +commands only take <span +class="futri8t-x-x-109">one </span>argument which should be a number from 1 to 7 +indicating the day of the week. +</p><!--l. 593--><p class="indent" > You can use the following as templates. Replace <span +class="ectt-1095">english </span>with the name +of your language (as given by <span +class="ectt-1095">\languagename</span><a id="dx1-14023"></a>) and replace <span -class="cmtt-10">Sunday </span>etc as appropriate: +class="ectt-1095">Sunday </span>etc as +appropriate: - </p> - <div class="verbatim" id="verbatim-19"> + <div class="verbatim" id="verbatim-19"> \providecommand*{\dayofweeknameidenglish}[1]{%  <br />\ifcase#1\relax  <br />\or Sunday% @@ -1668,103 +1684,107 @@ class="cmtt-10">Sunday </span>etc as appropriate:  <br />\or Sat%  <br />\fi} </div> -<!--l. 622--><p class="nopar" > If you want them added to future versions of <span -class="cmss-10">datetime</span><a - id="dx1-14024"></a>, please email me the -code. +<!--l. 619--><p class="nopar" > If you want them added to future versions of <span +class="ecss-1095">datetime</span><a + id="dx1-14024"></a>, please post them on my feature +request form at: <a +href="http://www.dickimaw-books.com/feature-request.html" class="url" ><span +class="ectt-1095">http://www.dickimaw-books.com/feature-request.html</span></a>. +Please use <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span +class="E">E</span>X</span></span> commands to produce accents to ensure encoding independence. +(For example, use <span class="obeylines-h"><span class="verb"><span +class="ectt-1095">\’e</span></span></span> instead of é.) </p><!--l. 626--><p class="noindent" > </p> <!--l. 626--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">10 </span> <a +href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">10 </span> <a id="x1-1500010"></a>Registers</h3> <!--l. 628--><p class="noindent" ><span class="TEX">T<span class="E">E</span>X</span> provides <span -class="cmtt-10">\day</span><a +class="ectt-1095">\day</span><a id="dx1-15001"></a>, <span -class="cmtt-10">\month</span><a +class="ectt-1095">\month</span><a id="dx1-15002"></a> and <span -class="cmtt-10">\year</span><a +class="ectt-1095">\year</span><a id="dx1-15003"></a> registers. In addition, <span -class="cmss-10">datetime </span>provides the +class="ecss-1095">datetime </span>provides the registers: <span -class="cmtt-10">\currenthour</span><a +class="ectt-1095">\currenthour</span><a id="dx1-15004"></a>, <span -class="cmtt-10">\currentminute</span><a +class="ectt-1095">\currentminute</span><a id="dx1-15005"></a> and <span -class="cmtt-10">\currentsecond</span><a +class="ectt-1095">\currentsecond</span><a id="dx1-15006"></a>. Note that old distributions of <span class="TEX">T<span class="E">E</span>X</span> will always have <span -class="cmtt-10">\currentsecond </span>set to zero. +class="ectt-1095">\currentsecond </span>set to zero. </p><!--l. 634--><p class="noindent" > </p> + + <!--l. 634--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">11 </span> <a - id="x1-1600011"></a>Configuration File</h3> +href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">11 </span> <a + id="x1-1600011"></a>Con <!--l. 636--><p class="noindent" >As from Version 2.4, the <span -class="cmss-10">datetime </span>package will read in settings from the configuration -file <span -class="cmtt-10">datetime.cfg</span>, if it exists, which will override the default package options. +class="ecss-1095">datetime </span>package will read in settings from the con + +class="ectt-1095">datetime.cfg</span>, if it exists, which will override the default package options. For example, suppose you prefer a short date without the day of week by -default, you will need to create a file called <span -class="cmtt-10">datetime.cfg </span>that contains the +default, you will need to create a +class="ectt-1095">datetime.cfg </span>that contains the line: - </p> - <div class="verbatim" id="verbatim-20"> + <div class="verbatim" id="verbatim-20"> \shortdate\showdowfalse </div> -<!--l. 644--><p class="nopar" > The file <span -class="cmtt-10">datetime.cfg </span>should then go somewhere on the <span class="TEX">T<span -class="E">E</span>X</span> path. Now all you need -to do is: +<!--l. 644--><p class="nopar" > The +class="ectt-1095">datetime.cfg </span>should then go somewhere on the <span class="TEX">T<span +class="E">E</span>X</span> path. Now all you +need to do is: - </p> - <div class="verbatim" id="verbatim-21"> + <div class="verbatim" id="verbatim-21"> \usepackage{datetime} </div> <!--l. 649--><p class="nopar" > without having to specify the <span -class="cmss-10">short</span><a +class="ecss-1095">short</span><a id="dx1-16001"></a> and <span -class="cmss-10">nodayofweek</span><a +class="ecss-1095">nodayofweek</span><a id="dx1-16002"></a> options. -</p><!--l. 653--><p class="indent" > You can also use this file to define and set your own date styles. For example, you -could create a configuration file that has the following lines: +</p><!--l. 653--><p class="indent" > You can also use this +could create a con - </p> - <div class="verbatim" id="verbatim-22"> + <div class="verbatim" id="verbatim-22"> \newdateformat{dashdate}{\twodigit{\THEDAY}-\twodigit{\THEMONTH}-\THEYEAR}  <br />\dashdate </div> <!--l. 659--><p class="nopar" > Whenever you use the <span -class="cmss-10">datetime </span>package, it will now use this format by default. +class="ecss-1095">datetime </span>package, it will now use this format by default. </p><!--l. 663--><p class="noindent" > </p> <!--l. 663--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">12 </span> <a +href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">12 </span> <a id="x1-1700012"></a>LaTeX2HTML styles</h3> <a id="dx1-17001"></a> <a id="dx1-17002"></a> <!--l. 667--><p class="noindent" >Version 2.43 and above of the <span -class="cmss-10">datetime </span>bundle supplies the LaTeX2HTML style file +class="ecss-1095">datetime </span>bundle supplies the LaTeX2HTML style <span -class="cmtt-10">datetime.perl</span>. This file should be placed in a directory searched by LaTeX2HTML. +class="ectt-1095">datetime.perl</span>. This The following limitations apply to the LaTeX2HTML styles: </p> <ul class="itemize1"> - <li class="itemize">The configuration file <span -class="cmtt-10">datetime.cfg </span>is currently ignored. You can however + <li class="itemize">The con +class="ectt-1095">datetime.cfg </span>is currently ignored. You can however do: - <div class="verbatim" id="verbatim-23"> \usepackage{datetime} @@ -1773,28 +1793,28 @@ class="cmtt-10">datetime.cfg </span>is currently ignored. You can however <!--l. 680--><p class="nopar" > This, I agree, is an unpleasant cludge. </p></li> <li class="itemize">The commands <span -class="cmtt-10">\monthname</span><span -class="cmsy-10">⟨</span><span -class="cmti-10">language</span><span -class="cmsy-10">⟩ </span>are not implemented. +class="ectt-1095">\monthname</span><span +class="futsy-x-x-109">h</span><span +class="futri8t-x-x-109">language</span><span +class="futsy-x-x-109">i </span>are not implemented. </li> <li class="itemize">Some of the languages are not implemented. </li> <li class="itemize">The package option <span -class="cmss-10">nodate</span><a +class="ecss-1095">nodate</span><a id="dx1-17003"></a> is not implemented. </li></ul> <!--l. 692--><p class="noindent" > </p> <!--l. 692--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">13 </span> <a +href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">13 </span> <a id="x1-1800013"></a>Troubleshooting</h3> <!--l. 694--><p class="noindent" >There is a <span -class="cmss-10">datetime</span><a +class="ecss-1095">datetime</span><a id="dx1-18001"></a> FAQ available at: <a -href="http://theoval.cmp.uea.ac.uk/~nlct/latex/packages/faq/" class="url" ><span -class="cmtt-10">http://theoval.cmp.uea.ac.uk/~nlct/latex/packages/faq/</span></a> -</p><!--l. 699--><p class="indent" > <a +href="http://www.dickimaw-books.com/faqs/datetimefaq.html" class="url" ><span +class="ectt-1095">http://www.dickimaw-books.com/faqs/datetimefaq.html</span></a>. +</p><!--l. 699--><p class="indent" > <a id="likesection.1"></a><a id="Q1-1-19"></a> </p><!--l. 2--><p class="noindent" > @@ -1803,26 +1823,26 @@ class="cmtt-10">http://theoval.cmp.uea.ac.uk/~nlct/latex/packages/faq/</span></a href="#top">Top</a></p><h3 class="likesectionHead"><a id="x1-1900013"></a>Index</h3> <!--l. 4--><p class="noindent" > <span -class="cmbx-10">A</span> +class="futb8t-x-x-109">A</span> </p> - <div class="theindex"><span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\amname</span></span></span>  <a + <div class="theindex"><span class="index-item"><span class="obeylines-h"><span class="verb"><span +class="ectt-1095">\amname</span></span></span>  <a href="datetime-manual.html#dx1-12003" ><span class="underline">1</span></a>, <a href="datetime-manual.html#dx1-12006" ><span class="underline">2</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\amorpmname</span></span></span>  <a +class="ectt-1095">\amorpmname</span></span></span>  <a href="datetime-manual.html#dx1-12005" ><span class="underline">3</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\amorpmstring</span></span></span>  <a +class="ectt-1095">\amorpmstring</span></span></span>  <a href="datetime-manual.html#dx1-12010" ><span class="underline">4</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\amstring</span></span></span>  <a +class="ectt-1095">\amstring</span></span></span>  <a href="datetime-manual.html#dx1-12008" ><span class="underline">5</span></a>, <a href="datetime-manual.html#dx1-12011" ><span class="underline">6</span></a> <br /></span> <p class="theindex"> <span -class="cmbx-10">B</span> +class="futb8t-x-x-109">B</span> <span class="index-item"><span -class="cmss-10">babel </span>package  <a +class="ecss-1095">babel </span>package  <a href="datetime-manual.html#dx1-2011" >7</a>, <a href="datetime-manual.html#dx1-2012" >8</a>, <a href="datetime-manual.html#dx1-7001" >9</a>, <a @@ -1830,75 +1850,74 @@ href="datetime-manual.html#dx1-14006" >10</a>, <a href="datetime-manual.html#dx1-14007" >11</a>, <a href="datetime-manual.html#dx1-14012" >12</a>, <a href="datetime-manual.html#dx1-14013" >13</a> <br /></span> + + </p><p class="theindex"> <span -class="cmbx-10">C</span> +class="futb8t-x-x-109">C</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\currenthour</span></span></span>  <a +class="ectt-1095">\currenthour</span></span></span>  <a href="datetime-manual.html#dx1-15004" ><span class="underline">14</span></a> <br /></span> - - - <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\currentminute</span></span></span>  <a +class="ectt-1095">\currentminute</span></span></span>  <a href="datetime-manual.html#dx1-15005" ><span class="underline">15</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\currentsecond</span></span></span>  <a +class="ectt-1095">\currentsecond</span></span></span>  <a href="datetime-manual.html#dx1-15006" ><span class="underline">16</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\currenttime</span></span></span>  <a +class="ectt-1095">\currenttime</span></span></span>  <a href="datetime-manual.html#dx1-8001" ><span -class="cmti-10">17</span></a> <br /></span> +class="futri8t-x-x-109">17</span></a> <br /></span> </p><p class="theindex"> <span -class="cmbx-10">D</span> +class="futb8t-x-x-109">D</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\dateseparator</span></span></span>  <a +class="ectt-1095">\dateseparator</span></span></span>  <a href="datetime-manual.html#dx1-3003" ><span -class="cmti-10">18</span></a>, <a +class="futri8t-x-x-109">18</span></a>, <a href="datetime-manual.html#dx1-4003" ><span class="underline">19</span></a>, <a href="datetime-manual.html#dx1-12001" ><span class="underline">20</span></a> <br /></span> <span class="index-item"><span -class="cmss-10">datetime </span>package  <a +class="ecss-1095">datetime </span>package  <a href="datetime-manual.html#dx1-14009" >21</a>, <a href="datetime-manual.html#dx1-14024" >22</a>, <a href="datetime-manual.html#dx1-18001" >23</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\day</span></span></span>  <a +class="ectt-1095">\day</span></span></span>  <a href="datetime-manual.html#dx1-15001" ><span class="underline">24</span></a> <br /></span> <span class="index-item"><span -class="cmss-10">DAY </span>counter  <a +class="ecss-1095">DAY </span>counter  <a href="datetime-manual.html#dx1-10005" >25</a>, <a href="datetime-manual.html#dx1-10013" >26</a>, <a href="datetime-manual.html#dx1-10016" >27</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\dayofweekname</span></span></span>  <a +class="ectt-1095">\dayofweekname</span></span></span>  <a href="datetime-manual.html#dx1-9005" ><span -class="cmti-10">28</span></a>, <a +class="futri8t-x-x-109">28</span></a>, <a href="datetime-manual.html#dx1-14020" ><span class="underline">29</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\ddmmyydate</span></span></span>  <a +class="ectt-1095">\ddmmyydate</span></span></span>  <a href="datetime-manual.html#dx1-5013" ><span -class="cmti-10">30</span></a> <br /></span> +class="futri8t-x-x-109">30</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\ddmmyyyydate</span></span></span>  <a +class="ectt-1095">\ddmmyyyydate</span></span></span>  <a href="datetime-manual.html#dx1-3002" ><span class="underline">31</span></a>, <a href="datetime-manual.html#dx1-5009" ><span -class="cmti-10">32</span></a> <br /></span> +class="futri8t-x-x-109">32</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\displaydate</span></span></span>  <a +class="ectt-1095">\displaydate</span></span></span>  <a href="datetime-manual.html#dx1-11004" ><span -class="cmti-10">33</span></a> <br /></span> +class="futri8t-x-x-109">33</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\dmyydate</span></span></span>  <a +class="ectt-1095">\dmyydate</span></span></span>  <a href="datetime-manual.html#dx1-5015" ><span -class="cmti-10">34</span></a> <br /></span> +class="futri8t-x-x-109">34</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\dmyyyydate</span></span></span>  <a +class="ectt-1095">\dmyyyydate</span></span></span>  <a href="datetime-manual.html#dx1-5011" ><span -class="cmti-10">35</span></a> <br /></span> +class="futri8t-x-x-109">35</span></a> <br /></span> </p><p class="theindex"> <span -class="cmbx-10">F</span> +class="futb8t-x-x-109">F</span> <span class="index-item"><span -class="cmss-10">fmtcount </span>package  <a +class="ecss-1095">fmtcount </span>package  <a href="datetime-manual.html#dx1-2007" >36</a>, <a href="datetime-manual.html#dx1-2009" >37</a>, <a href="datetime-manual.html#dx1-5023" >38</a>, <a @@ -1907,159 +1926,158 @@ href="datetime-manual.html#dx1-14018" >40</a>, <a href="datetime-manual.html#dx1-14019" >41</a>, <a href="datetime-manual.html#dx1-5022" >42</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\formatdate</span></span></span>  <a +class="ectt-1095">\formatdate</span></span></span>  <a href="datetime-manual.html#dx1-9016" ><span -class="cmti-10">43</span></a>, <a +class="futri8t-x-x-109">43</span></a>, <a href="datetime-manual.html#dx1-10010" ><span class="underline">44</span></a>, <a href="datetime-manual.html#dx1-11003" ><span class="underline">45</span></a>, <a href="datetime-manual.html#dx1-14010" ><span class="underline">46</span></a>, <a href="datetime-manual.html#dx1-9020" ><span class="underline">47</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\formattime</span></span></span>  <a +class="ectt-1095">\formattime</span></span></span>  <a href="datetime-manual.html#dx1-8002" ><span -class="cmti-10">48</span></a> <br /></span> +class="futri8t-x-x-109">48</span></a> <br /></span> </p><p class="theindex"> <span -class="cmbx-10">G</span> +class="futb8t-x-x-109">G</span> <span class="index-item"><span -class="cmss-10">german </span>package  <a +class="ecss-1095">german </span>package  <a href="datetime-manual.html#dx1-14005" >49</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\getdateday</span></span></span>  <a +class="ectt-1095">\getdateday</span></span></span>  <a href="datetime-manual.html#dx1-11005" ><span -class="cmti-10">50</span></a> <br /></span> +class="futri8t-x-x-109">50</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\getdatemonth</span></span></span>  <a +class="ectt-1095">\getdatemonth</span></span></span>  <a href="datetime-manual.html#dx1-11006" ><span -class="cmti-10">51</span></a> <br /></span> +class="futri8t-x-x-109">51</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\getdateyear</span></span></span>  <a +class="ectt-1095">\getdateyear</span></span></span>  <a href="datetime-manual.html#dx1-11007" ><span -class="cmti-10">52</span></a> <br /></span> +class="futri8t-x-x-109">52</span></a> <br /></span> </p><p class="theindex"> <span -class="cmbx-10">H</span> +class="futb8t-x-x-109">H</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\halfpast</span></span></span>  <a +class="ectt-1095">\halfpast</span></span></span>  <a href="datetime-manual.html#dx1-12013" ><span class="underline">53</span></a> <br /></span> <span class="index-item"><span -class="cmss-10">HOUR </span>counter  <a +class="ecss-1095">HOUR </span>counter  <a href="datetime-manual.html#dx1-8006" >54</a> <br /></span> <span class="index-item"><span -class="cmss-10">HOURXII </span>counter  <a +class="ecss-1095">HOURXII </span>counter  <a href="datetime-manual.html#dx1-8009" >55</a> <br /></span> </p><p class="theindex"> <span -class="cmbx-10">I</span> +class="futb8t-x-x-109">I</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\ifshowdow</span></span></span>  <a +class="ectt-1095">\ifshowdow</span></span></span>  <a href="datetime-manual.html#dx1-9007" ><span -class="cmti-10">56</span></a> <br /></span> +class="futri8t-x-x-109">56</span></a> <br /></span> + + <span class="index-item"><span -class="cmss-10">ifthen </span>package  <a +class="ecss-1095">ifthen </span>package  <a href="datetime-manual.html#dx1-9010" >57</a> <br /></span> </p><p class="theindex"> <span -class="cmbx-10">L</span> +class="futb8t-x-x-109">L</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\languagename</span></span></span>  <a +class="ectt-1095">\languagename</span></span></span>  <a href="datetime-manual.html#dx1-14023" ><span class="underline">58</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\longdate</span></span></span>  <a +class="ectt-1095">\longdate</span></span></span>  <a href="datetime-manual.html#dx1-5001" ><span -class="cmti-10">59</span></a>, <a +class="futri8t-x-x-109">59</span></a>, <a href="datetime-manual.html#dx1-9022" ><span class="underline">60</span></a>, <a href="datetime-manual.html#dx1-13017" ><span class="underline">61</span></a>, <a href="datetime-manual.html#dx1-14011" ><span class="underline">62</span></a>, <a href="datetime-manual.html#dx1-9021" ><span class="underline">63</span></a> <br /></span> - - - </p><p class="theindex"> <span -class="cmbx-10">M</span> +class="futb8t-x-x-109">M</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\mdyydate</span></span></span>  <a +class="ectt-1095">\mdyydate</span></span></span>  <a href="datetime-manual.html#dx1-6007" ><span -class="cmti-10">64</span></a> <br /></span> +class="futri8t-x-x-109">64</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\mdyyyydate</span></span></span>  <a +class="ectt-1095">\mdyyyydate</span></span></span>  <a href="datetime-manual.html#dx1-6004" ><span -class="cmti-10">65</span></a> <br /></span> +class="futri8t-x-x-109">65</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\midnight</span></span></span>  <a +class="ectt-1095">\midnight</span></span></span>  <a href="datetime-manual.html#dx1-12017" ><span class="underline">66</span></a> <br /></span> <span class="index-item"><span -class="cmss-10">MINUTE </span>counter  <a +class="ecss-1095">MINUTE </span>counter  <a href="datetime-manual.html#dx1-8007" >67</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\mmddyydate</span></span></span>  <a +class="ectt-1095">\mmddyydate</span></span></span>  <a href="datetime-manual.html#dx1-6005" ><span -class="cmti-10">68</span></a> <br /></span> +class="futri8t-x-x-109">68</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\mmddyyyydate</span></span></span>  <a +class="ectt-1095">\mmddyyyydate</span></span></span>  <a href="datetime-manual.html#dx1-6002" ><span -class="cmti-10">69</span></a> <br /></span> +class="futri8t-x-x-109">69</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\month</span></span></span>  <a +class="ectt-1095">\month</span></span></span>  <a href="datetime-manual.html#dx1-15002" ><span class="underline">70</span></a> <br /></span> <span class="index-item"><span -class="cmss-10">MONTH </span>counter  <a +class="ecss-1095">MONTH </span>counter  <a href="datetime-manual.html#dx1-10006" >71</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\monthname</span></span></span>  <a +class="ectt-1095">\monthname</span></span></span>  <a href="datetime-manual.html#dx1-9003" ><span -class="cmti-10">72</span></a>, <a +class="futri8t-x-x-109">72</span></a>, <a href="datetime-manual.html#dx1-14015" ><span class="underline">73</span></a> <br /></span> </p><p class="theindex"> <span -class="cmbx-10">N</span> +class="futb8t-x-x-109">N</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\newdate</span></span></span>  <a +class="ectt-1095">\newdate</span></span></span>  <a href="datetime-manual.html#dx1-11002" ><span -class="cmti-10">74</span></a> <br /></span> +class="futri8t-x-x-109">74</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\newdateformat</span></span></span>  <a +class="ectt-1095">\newdateformat</span></span></span>  <a href="datetime-manual.html#dx1-10001" ><span -class="cmti-10">75</span></a>, <a +class="futri8t-x-x-109">75</span></a>, <a href="datetime-manual.html#dx1-10011" ><span class="underline">76</span></a>, <a href="datetime-manual.html#dx1-10014" ><span class="underline">77</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\newtimeformat</span></span></span>  <a +class="ectt-1095">\newtimeformat</span></span></span>  <a href="datetime-manual.html#dx1-8004" ><span -class="cmti-10">78</span></a> <br /></span> +class="futri8t-x-x-109">78</span></a> <br /></span> <span class="index-item"><span -class="cmss-10">ngerman </span>package  <a +class="ecss-1095">ngerman </span>package  <a href="datetime-manual.html#dx1-14001" >79</a>, <a href="datetime-manual.html#dx1-14003" >80</a>, <a href="datetime-manual.html#dx1-14004" >81</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\noon</span></span></span>  <a +class="ectt-1095">\noon</span></span></span>  <a href="datetime-manual.html#dx1-12016" ><span class="underline">82</span></a> <br /></span> </p><p class="theindex"> <span -class="cmbx-10">O</span> +class="futb8t-x-x-109">O</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\oclockstring</span></span></span>  <a +class="ectt-1095">\oclockstring</span></span></span>  <a href="datetime-manual.html#dx1-12018" ><span class="underline">83</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\ordinal</span></span></span>  <a +class="ectt-1095">\ordinal</span></span></span>  <a href="datetime-manual.html#dx1-2008" ><span class="underline">84</span></a>, <a href="datetime-manual.html#dx1-10008" ><span class="underline">85</span></a>, <a href="datetime-manual.html#dx1-10015" ><span class="underline">86</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\ordinaldate</span></span></span>  <a +class="ectt-1095">\ordinaldate</span></span></span>  <a href="datetime-manual.html#dx1-9011" ><span -class="cmti-10">87</span></a>, <a +class="futri8t-x-x-109">87</span></a>, <a href="datetime-manual.html#dx1-10017" ><span class="underline">88</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\ordinalnum</span></span></span>  <a +class="ectt-1095">\ordinalnum</span></span></span>  <a href="datetime-manual.html#dx1-9012" ><span class="underline">89</span></a> <br /></span> </p><p class="theindex"> <span -class="cmbx-10">P</span> +class="futb8t-x-x-109">P</span> <span class="index-item">package options:<br /></span> <span class="index-subitem">    <span -class="cmss-10">12hr</span>  <a +class="ecss-1095">12hr</span>  <a href="datetime-manual.html#dx1-13023" ><span class="underline">90</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">24hr</span>  <a +class="ecss-1095">24hr</span>  <a href="datetime-manual.html#dx1-13022" ><span class="underline">91</span></a>, <a href="datetime-manual.html#dx1-13032" ><span class="underline">92</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">dayofweek</span>  <a +class="ecss-1095">dayofweek</span>  <a href="datetime-manual.html#dx1-5003" ><span class="underline">93</span></a>, <a href="datetime-manual.html#dx1-5007" ><span class="underline">94</span></a>, <a href="datetime-manual.html#dx1-5019" ><span class="underline">95</span></a>, <a @@ -2068,177 +2086,178 @@ href="datetime-manual.html#dx1-9009" ><span class="underline">97</span></a>, <a href="datetime-manual.html#dx1-13016" ><span class="underline">98</span></a>, <a href="datetime-manual.html#dx1-13031" ><span class="underline">99</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">ddmmyy</span>  <a +class="ecss-1095">ddmmyy</span>  <a href="datetime-manual.html#dx1-13006" ><span class="underline">100</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">ddmmyyyy</span>  <a +class="ecss-1095">ddmmyyyy</span>  <a href="datetime-manual.html#dx1-13004" ><span class="underline">101</span></a>, <a href="datetime-manual.html#dx1-13027" ><span class="underline">102</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">dmyy</span>  <a +class="ecss-1095">dmyy</span>  <a href="datetime-manual.html#dx1-13007" ><span class="underline">103</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">dmyyyy</span>  <a +class="ecss-1095">dmyyyy</span>  <a href="datetime-manual.html#dx1-13005" ><span class="underline">104</span></a> <br /></span> + + <span class="index-subitem">    <span -class="cmss-10">hhmmss</span>  <a +class="ecss-1095">hhmmss</span>  <a href="datetime-manual.html#dx1-13021" ><span class="underline">105</span></a>, <a href="datetime-manual.html#dx1-13028" ><span class="underline">106</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">iso</span>  <a +class="ecss-1095">iso</span>  <a href="datetime-manual.html#dx1-13026" ><span class="underline">107</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">level</span>  <a +class="ecss-1095">level</span>  <a href="datetime-manual.html#dx1-13015" ><span class="underline">108</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">long</span>  <a +class="ecss-1095">long</span>  <a href="datetime-manual.html#dx1-13001" ><span class="underline">109</span></a>, <a href="datetime-manual.html#dx1-13029" ><span class="underline">110</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">mdyy</span>  <a +class="ecss-1095">mdyy</span>  <a href="datetime-manual.html#dx1-13013" ><span class="underline">111</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">mdyyyy</span>  <a +class="ecss-1095">mdyyyy</span>  <a href="datetime-manual.html#dx1-13011" ><span class="underline">112</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">mmddyy</span>  <a +class="ecss-1095">mmddyy</span>  <a href="datetime-manual.html#dx1-13012" ><span class="underline">113</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">mmddyyyy</span>  <a +class="ecss-1095">mmddyyyy</span>  <a href="datetime-manual.html#dx1-13010" ><span class="underline">114</span></a> <br /></span> - - - <span class="index-subitem">    <span -class="cmss-10">ngerman</span>  <a +class="ecss-1095">ngerman</span>  <a href="datetime-manual.html#dx1-14002" ><span class="underline">115</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">nodate</span>  <a +class="ecss-1095">nodate</span>  <a href="datetime-manual.html#dx1-2004" ><span class="underline">116</span></a>, <a href="datetime-manual.html#dx1-13025" ><span class="underline">117</span></a>, <a href="datetime-manual.html#dx1-17003" ><span class="underline">118</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">nodayofweek</span>  <a +class="ecss-1095">nodayofweek</span>  <a href="datetime-manual.html#dx1-5004" ><span class="underline">119</span></a>, <a href="datetime-manual.html#dx1-5008" ><span class="underline">120</span></a>, <a href="datetime-manual.html#dx1-5020" ><span class="underline">121</span></a>, <a href="datetime-manual.html#dx1-13020" ><span class="underline">122</span></a>, <a href="datetime-manual.html#dx1-16002" ><span class="underline">123</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">oclock</span>  <a +class="ecss-1095">oclock</span>  <a href="datetime-manual.html#dx1-13024" ><span class="underline">124</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">raise</span>  <a +class="ecss-1095">raise</span>  <a href="datetime-manual.html#dx1-13014" ><span class="underline">125</span></a>, <a href="datetime-manual.html#dx1-13030" ><span class="underline">126</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">short</span>  <a +class="ecss-1095">short</span>  <a href="datetime-manual.html#dx1-13002" ><span class="underline">127</span></a>, <a href="datetime-manual.html#dx1-16001" ><span class="underline">128</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">text</span>  <a +class="ecss-1095">text</span>  <a href="datetime-manual.html#dx1-13008" ><span class="underline">129</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">us</span>  <a +class="ecss-1095">us</span>  <a href="datetime-manual.html#dx1-13009" ><span class="underline">130</span></a> <br /></span> <span class="index-subitem">    <span -class="cmss-10">yyyymmdd</span>  <a +class="ecss-1095">yyyymmdd</span>  <a href="datetime-manual.html#dx1-13003" ><span class="underline">131</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\pdfdate</span></span></span>  <a +class="ectt-1095">\pdfdate</span></span></span>  <a href="datetime-manual.html#dx1-9001" ><span -class="cmti-10">132</span></a> <br /></span> +class="futri8t-x-x-109">132</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\pmname</span></span></span>  <a +class="ectt-1095">\pmname</span></span></span>  <a href="datetime-manual.html#dx1-12004" ><span class="underline">133</span></a>, <a href="datetime-manual.html#dx1-12007" ><span class="underline">134</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\pmstring</span></span></span>  <a +class="ectt-1095">\pmstring</span></span></span>  <a href="datetime-manual.html#dx1-12009" ><span class="underline">135</span></a>, <a href="datetime-manual.html#dx1-12012" ><span class="underline">136</span></a> <br /></span> </p><p class="theindex"> <span -class="cmbx-10">Q</span> +class="futb8t-x-x-109">Q</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\quarterpast</span></span></span>  <a +class="ectt-1095">\quarterpast</span></span></span>  <a href="datetime-manual.html#dx1-12014" ><span class="underline">137</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\quarterto</span></span></span>  <a +class="ectt-1095">\quarterto</span></span></span>  <a href="datetime-manual.html#dx1-12015" ><span class="underline">138</span></a> <br /></span> -</p><p class="theindex"> <span -class="cmbx-10">S</span> +</p><p class="theindex"> <span +class="futb8t-x-x-109">S</span> <span class="index-item"><span -class="cmss-10">SECOND </span>counter  <a +class="ecss-1095">SECOND </span>counter  <a href="datetime-manual.html#dx1-8008" >139</a> <br /></span> <span class="index-item"><span -class="cmss-10">seminar </span>package  <a +class="ecss-1095">seminar </span>package  <a href="datetime-manual.html#dx1-9015" >140</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\setdefaultdate</span></span></span>  <a +class="ectt-1095">\setdefaultdate</span></span></span>  <a href="datetime-manual.html#dx1-14014" ><span -class="cmti-10">141</span></a> <br /></span> +class="futri8t-x-x-109">141</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\settimeformat</span></span></span>  <a +class="ectt-1095">\settimeformat</span></span></span>  <a href="datetime-manual.html#dx1-8003" ><span -class="cmti-10">142</span></a>, <a +class="futri8t-x-x-109">142</span></a>, <a href="datetime-manual.html#dx1-8005" ><span class="underline">143</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\shortdate</span></span></span>  <a +class="ectt-1095">\shortdate</span></span></span>  <a href="datetime-manual.html#dx1-5005" ><span -class="cmti-10">144</span></a>, <a +class="futri8t-x-x-109">144</span></a>, <a href="datetime-manual.html#dx1-13018" ><span class="underline">145</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\shortdayofweekname</span></span></span>  <a +class="ectt-1095">\shortdayofweekname</span></span></span>  <a href="datetime-manual.html#dx1-9006" ><span -class="cmti-10">146</span></a>, <a +class="futri8t-x-x-109">146</span></a>, <a href="datetime-manual.html#dx1-14021" ><span class="underline">147</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\shortmonthname</span></span></span>  <a +class="ectt-1095">\shortmonthname</span></span></span>  <a href="datetime-manual.html#dx1-9004" ><span -class="cmti-10">148</span></a>, <a +class="futri8t-x-x-109">148</span></a>, <a href="datetime-manual.html#dx1-14016" ><span class="underline">149</span></a> <br /></span> </p><p class="theindex"> <span -class="cmbx-10">T</span> +class="futb8t-x-x-109">T</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\textdate</span></span></span>  <a +class="ectt-1095">\textdate</span></span></span>  <a href="datetime-manual.html#dx1-5017" ><span -class="cmti-10">150</span></a>, <a +class="futri8t-x-x-109">150</span></a>, <a href="datetime-manual.html#dx1-13019" ><span class="underline">151</span></a>, <a href="datetime-manual.html#dx1-14017" ><span class="underline">152</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\THEDAY</span></span></span>  <a +class="ectt-1095">\THEDAY</span></span></span>  <a href="datetime-manual.html#dx1-10002" ><span class="underline">153</span></a>, <a href="datetime-manual.html#dx1-10012" ><span class="underline">154</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\THEHOUR</span></span></span>  <a +class="ectt-1095">\THEHOUR</span></span></span>  <a href="datetime-manual.html#dx1-8012" ><span class="underline">155</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\THEHOURXII</span></span></span>  <a +class="ectt-1095">\THEHOURXII</span></span></span>  <a href="datetime-manual.html#dx1-8015" ><span class="underline">156</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\THEMINUTE</span></span></span>  <a +class="ectt-1095">\THEMINUTE</span></span></span>  <a href="datetime-manual.html#dx1-8013" ><span class="underline">157</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\THEMONTH</span></span></span>  <a +class="ectt-1095">\THEMONTH</span></span></span>  <a href="datetime-manual.html#dx1-10003" ><span class="underline">158</span></a> <br /></span> + + <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\THESECOND</span></span></span>  <a +class="ectt-1095">\THESECOND</span></span></span>  <a href="datetime-manual.html#dx1-8014" ><span class="underline">159</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\THETOHOUR</span></span></span>  <a +class="ectt-1095">\THETOHOUR</span></span></span>  <a href="datetime-manual.html#dx1-8016" ><span class="underline">160</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\THETOMINUTE</span></span></span>  <a +class="ectt-1095">\THETOMINUTE</span></span></span>  <a href="datetime-manual.html#dx1-8017" ><span class="underline">161</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\THEYEAR</span></span></span>  <a +class="ectt-1095">\THEYEAR</span></span></span>  <a href="datetime-manual.html#dx1-10004" ><span class="underline">162</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\timeseparator</span></span></span>  <a +class="ectt-1095">\timeseparator</span></span></span>  <a href="datetime-manual.html#dx1-8018" ><span -class="cmti-10">163</span></a>, <a +class="futri8t-x-x-109">163</span></a>, <a href="datetime-manual.html#dx1-12002" ><span class="underline">164</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\today</span></span></span>  <a +class="ectt-1095">\today</span></span></span>  <a href="datetime-manual.html#dx1-2003" ><span class="underline">165</span></a>, <a href="datetime-manual.html#dx1-3001" ><span class="underline">166</span></a>, <a href="datetime-manual.html#dx1-4002" ><span class="underline">167</span></a>, <a @@ -2257,87 +2276,85 @@ href="datetime-manual.html#dx1-10009" ><span class="underline">179</span></a>, < href="datetime-manual.html#dx1-14008" ><span class="underline">180</span></a>, <a href="datetime-manual.html#dx1-9019" ><span class="underline">181</span></a> <br /></span> <span class="index-item"><span -class="cmss-10">TOHOUR </span>counter  <a +class="ecss-1095">TOHOUR </span>counter  <a href="datetime-manual.html#dx1-8010" >182</a> <br /></span> <span class="index-item"><span -class="cmss-10">TOMINUTE </span>counter  <a +class="ecss-1095">TOMINUTE </span>counter  <a href="datetime-manual.html#dx1-8011" >183</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\twodigit</span></span></span>  <a +class="ectt-1095">\twodigit</span></span></span>  <a href="datetime-manual.html#dx1-9023" ><span -class="cmti-10">184</span></a> <br /></span> +class="futri8t-x-x-109">184</span></a> <br /></span> </p><p class="theindex"> <span -class="cmbx-10">U</span> - - - +class="futb8t-x-x-109">U</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\usdate</span></span></span>  <a +class="ectt-1095">\usdate</span></span></span>  <a href="datetime-manual.html#dx1-6001" ><span -class="cmti-10">185</span></a> <br /></span> +class="futri8t-x-x-109">185</span></a> <br /></span> </p><p class="theindex"> <span -class="cmbx-10">Y</span> +class="futb8t-x-x-109">Y</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\year</span></span></span>  <a +class="ectt-1095">\year</span></span></span>  <a href="datetime-manual.html#dx1-15003" ><span class="underline">186</span></a> <br /></span> <span class="index-item"><span -class="cmss-10">YEAR </span>counter  <a +class="ecss-1095">YEAR </span>counter  <a href="datetime-manual.html#dx1-10007" >187</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="cmtt-10">\yyyymmdddate</span></span></span>  <a +class="ectt-1095">\yyyymmdddate</span></span></span>  <a href="datetime-manual.html#dx1-4001" ><span -class="cmti-10">188</span></a> <br /></span> +class="futri8t-x-x-109">188</span></a> <br /></span> </p></div> - <div class="footnotes"><!--l. 143--><p class="noindent" ><span class="footnote-mark"><a -href="#fn1x0-bk" id="fn1x0"><sup class="textsuperscript">1</sup></a></span><span -class="cmr-8">in fact, you may get an error from the </span><span -class="cmss-8">fmtcount</span><a + <div class="footnotes"><!--l. 140--><p class="noindent" ><span class="footnote-mark"><a +href="#fn1x0-bk" id="fn1x0"> +<sup class="textsuperscript">1</sup></a></span><span +class="futr8t-x-x-90">in fact, you may get an error from the </span><span +class="ecss-0900">fmtcount</span><a id="dx1-5022"></a> <span -class="cmr-8">package if you are using a language that it doesn’t</span> -<span -class="cmr-8">support.</span></p> -<!--l. 259--><p class="noindent" ><span class="footnote-mark"><a -href="#fn2x0-bk" id="fn2x0"><sup class="textsuperscript">2</sup></a></span><span -class="cmr-8">thanks to Ulrich Dirr for asking about this</span></p> -<!--l. 349--><p class="indent" > <span class="footnote-mark"><a -href="#fn3x0-bk" id="fn3x0"><sup class="textsuperscript">3</sup></a></span><span -class="cmr-8">Note the name change since version 1.1. The command name was changed from </span><span -class="cmtt-8">\thedate </span><span -class="cmr-8">to</span> -<span -class="cmtt-8">\formatdate </span><span -class="cmr-8">to avoid a name clash when using the </span><span -class="cmss-8">seminar</span><a +class="futr8t-x-x-90">package if you are using a language that it doesn't</span> + <span +class="futr8t-x-x-90">support.</span></p><!--l. 256--><p class="noindent" ><span class="footnote-mark"><a +href="#fn2x0-bk" id="fn2x0"> +<sup class="textsuperscript">2</sup></a></span><span +class="futr8t-x-x-90">thanks to Ulrich Dirr for asking about this</span></p><!--l. 346--><p class="indent" > <span class="footnote-mark"><a +href="#fn3x0-bk" id="fn3x0"> +<sup class="textsuperscript">3</sup></a></span><span +class="futr8t-x-x-90">Note the name change since version 1.1. The command name was changed from </span><span +class="ectt-0900">\thedate </span><span +class="futr8t-x-x-90">to</span> + <span +class="ectt-0900">\formatdate </span><span +class="futr8t-x-x-90">to avoid a name clash when using the </span><span +class="ecss-0900">seminar</span><a id="dx1-9015"></a> <span -class="cmr-8">class file.</span></p> -<!--l. 356--><p class="indent" > <span class="footnote-mark"><a -href="#fn4x0-bk" id="fn4x0"><sup class="textsuperscript">4</sup></a></span><span -class="cmr-8">To be more precise, </span><span -class="cmtt-8">\today</span><a +class="futr8t-x-x-90">class +href="#fn4x0-bk" id="fn4x0"> +<sup class="textsuperscript">4</sup></a></span><span +class="futr8t-x-x-90">To be more precise, </span><span +class="ectt-0900">\today</span><a id="dx1-9019"></a> <span -class="cmr-8">is defined to be </span><span -class="cmtt-8">\formatdate</span><a +class="futr8t-x-x-90">is de +class="ectt-0900">\formatdate</span><a id="dx1-9020"></a><span -class="cmsy-8">{</span><span -class="cmtt-8">\day</span><span -class="cmsy-8">}{</span><span -class="cmtt-8">\month</span><span -class="cmsy-8">}{</span><span -class="cmtt-8">\year</span><span -class="cmsy-8">} </span><span -class="cmr-8">where</span> -<span -class="cmtt-8">\longdate</span><a +class="futr8t-x-x-90">{</span><span +class="ectt-0900">\day</span><span +class="futr8t-x-x-90">}{</span><span +class="ectt-0900">\month</span><span +class="futr8t-x-x-90">}{</span><span +class="ectt-0900">\year</span><span +class="futr8t-x-x-90">} where</span> + <span +class="ectt-0900">\longdate</span><a id="dx1-9021"></a> <span -class="cmr-8">etc change the definition of </span><span -class="cmtt-8">\formatdate</span></p> -<!--l. 434--><p class="indent" > <span class="footnote-mark"><a -href="#fn5x0-bk" id="fn5x0"><sup class="textsuperscript">5</sup></a></span><span -class="cmr-8">Thanks to Denis Bitouz</span><span -class="cmr-8">é for asking about this</span></p> -<!--l. 589--><p class="indent" > <span class="footnote-mark"><a -href="#fn6x0-bk" id="fn6x0"><sup class="textsuperscript">6</sup></a></span><span -class="cmr-8">thanks to Uwe Bieling for supplying the German names</span></p> </div> +class="futr8t-x-x-90">etc change the de +class="ectt-0900">\formatdate</span></p><!--l. 431--><p class="indent" > <span class="footnote-mark"><a +href="#fn5x0-bk" id="fn5x0"> +<sup class="textsuperscript">5</sup></a></span><span +class="futr8t-x-x-90">Thanks to Denis Bitouz</span><span +class="futr8t-x-x-90">é</span> <span +class="futr8t-x-x-90">for asking about this</span></p><!--l. 586--><p class="indent" > <span class="footnote-mark"><a +href="#fn6x0-bk" id="fn6x0"> +<sup class="textsuperscript">6</sup></a></span><span +class="futr8t-x-x-90">thanks to Uwe Bieling for supplying the German names</span></p> </div> </body></html> diff --git a/Master/texmf-dist/doc/latex/datetime/datetime-manual.tex b/Master/texmf-dist/doc/latex/datetime/datetime-manual.tex index f7e338167b8..f65173bbfdb 100644 --- a/Master/texmf-dist/doc/latex/datetime/datetime-manual.tex +++ b/Master/texmf-dist/doc/latex/datetime/datetime-manual.tex @@ -14,15 +14,12 @@ \RecordChanges \OnlyDescription -\title{datetime.sty v2.58: +\title{datetime.sty v2.59: Formatting Current Date and Time} \author{Nicola L. C. Talbot\\[10pt] - School of Computing Sciences\\ - University of East Anglia\\ - Norwich. NR4 7TJ.\\ - United Kingdom.\\ - \url{http://theoval.cmp.uea.ac.uk/~nlct/}} - \date{2010-09-21} + Dickimaw Books\\ + \url{http://www.dickimaw-books.com/}} + \date{2013-09-10} \maketitle \tableofcontents \section{Introduction} @@ -489,7 +486,7 @@ package: \item[\pkgopt{dmyyyy}] make \cs{today} produce D/M/YYYY date \item[\pkgopt{ddmmyy}] make \cs{today} produce DD/MM/YY date \item[\pkgopt{dmyy}] make \cs{today} produce D/M/YY date -\item[\pkgopt{text}] make \cs{today} produce text date +\item[\pkgopt{text}] make \cs{today} produce text date in UK style \item[\pkgopt{us}] make \cs{today} produce US style date \item[\pkgopt{mmddyyyy}] make \cs{today} produce MM/DD/YYYY date \item[\pkgopt{mdyyyy}] make \cs{today} produce M/D/YYYY date @@ -621,7 +618,10 @@ etc as appropriate: \fi} \end{verbatim} If you want them added to future versions of -\sty{datetime}, please email me the code. +\sty{datetime}, please post them on my feature request form at: +\url{http://www.dickimaw-books.com/feature-request.html}. +Please use \LaTeX\ commands to produce accents to ensure encoding +independence. (For example, use \verb|\'e| instead of \'{e}.) \section{Registers} @@ -692,7 +692,7 @@ implemented. \section{Troubleshooting} There is a \sty{datetime} FAQ available at: -\url{http://theoval.cmp.uea.ac.uk/~nlct/latex/packages/faq/} +\url{http://www.dickimaw-books.com/faqs/datetimefaq.html}. \StopEventually{\phantomsection \addcontentsline{toc}{section}{Index}\PrintIndex diff --git a/Master/texmf-dist/doc/latex/datetime/datetime.pdf b/Master/texmf-dist/doc/latex/datetime/datetime.pdf Binary files differindex 0114d08f723..8fa5b900f5f 100644 --- a/Master/texmf-dist/doc/latex/datetime/datetime.pdf +++ b/Master/texmf-dist/doc/latex/datetime/datetime.pdf diff --git a/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.pdf b/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.pdf Binary files differnew file mode 100644 index 00000000000..ac64e3398c9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.pdf diff --git a/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.tex b/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.tex new file mode 100644 index 00000000000..38b643ccb07 --- /dev/null +++ b/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.tex @@ -0,0 +1,64 @@ +%% +%% This is file `dt-lang.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime.dtx (with options: `dt-lang.tex,package') +%% +%% datetime.dtx +%% Copyright 2013 Nicola Talbot +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\documentclass{article} + +\usepackage[T1]{fontenc} +\usepackage[french,spanish,english]{babel} +\usepackage{datetime} % Date will be language-dependent + +\begin{document} +English: \today + +\selectlanguage{french} +French: \today + +\selectlanguage{spanish} +Spanish: \today + +\begin{otherlanguage}{french} +French: \today +\end{otherlanguage} + +\today +\end{document} +\endinput +%% +%% End of file `dt-lang.tex'. diff --git a/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.pdf b/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.pdf Binary files differnew file mode 100644 index 00000000000..8899658bcde --- /dev/null +++ b/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.pdf diff --git a/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.tex b/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.tex new file mode 100644 index 00000000000..ad6ad17df6f --- /dev/null +++ b/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.tex @@ -0,0 +1,172 @@ +%% +%% This is file `dt-sampl.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime.dtx (with options: `dt-sampl.tex,package') +%% +%% datetime.dtx +%% Copyright 2013 Nicola Talbot +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\documentclass[a4paper]{article} + +\usepackage{ifpdf} +\usepackage{datetime} + +\ifpdf +\pdfinfo{ + /CreationDate (D:20040501215500Z) + /ModDate (D:\pdfcreationdate) +} +\fi + +\padzeroes[8] + +\newdateformat{dashdate}{\twodigit{\THEDAY}-\twodigit{\THEMONTH}-\THEYEAR} +\newdateformat{usvardate}{\monthname[\THEMONTH]~\ordinaldate{\THEDAY}, \THEYEAR} +\newdateformat{mydate}{\ifshowdow \dayofweekname{\THEDAY}{\THEMONTH}{\THEYEAR} \fi +\THEDAY\ \monthname[\THEMONTH], \THEYEAR} +\newdateformat{yyyymmdd}{\THEYEAR\twodigit{\THEMONTH}\twodigit{\THEDAY}} +\newdateformat{ukvardate}{\THEDAY\ \monthname[\THEMONTH]\ \THEYEAR} + +\newtimeformat{dottime}{\twodigit{\THEHOUR}.\twodigit{\THEMINUTE}} +\newtimeformat{dashtime12}{\THEHOURXII-\twodigit{\THEMINUTE}} +\newtimeformat{hhmm}{\twodigit{\THEHOUR}\twodigit{\THEMINUTE}} + +\begin{document} + +\section{Date Formats} +Default: \today. + +\begin{tabular}{ll} +\bfseries Declaration & \bfseries\verb|\today|\\ +\verb|\longdate| & \longdate\today\\ +\verb|\shortdate| & \shortdate\today\\ +\verb|\yyyymmdddate| & \yyyymmdddate\today\\ +\verb|\ddmmyyyydate| & \ddmmyyyydate\today\\ +\verb|\dmyyyydate| & \dmyyyydate\today\\ +\verb|\ddmmyydate| & \ddmmyydate\today\\ +\verb|\dmyydate| & \dmyydate\today\\ +\verb|\textdate| & \textdate\today\\ +\verb|\usdate| & \usdate\today\\ +\verb|\mmddyyyydate| & \mmddyyyydate\today\\ +\verb|\mdyyyydate| & \mdyyyydate\today\\ +\verb|\mmddyydate| & \mmddyydate\today\\ +\verb|\mdyydate| & \mdyydate\today +\end{tabular} + +\section{Time Formats} +Default: \currenttime. + +\begin{tabular}{@{\ttfamily}ll} +\bfseries\rmfamily Format & \bfseries \verb|\currenttime|\\ +hhmmsstime & \settimeformat{hhmmsstime}\currenttime\\ +xxivtime & \settimeformat{xxivtime}\currenttime\\ +ampmtime & \settimeformat{ampmtime}\currenttime\\ +oclock & \settimeformat{oclock}\currenttime +\end{tabular} + +\section{Specific Date:} + +\begin{tabular}{ll} +\bfseries Format & \bfseries \verb|\formatdate{1}{3}{2009}|\\ +\verb|\longdate| & \longdate\formatdate{1}{3}{2000}\\ +\verb|\shortdate| & \shortdate\formatdate{1}{3}{2000}\\ +\verb|\yyyymmdddate| & \yyyymmdddate\formatdate{1}{3}{2000}\\ +\verb|\ddmmyyyydate| & \ddmmyyyydate\formatdate{1}{3}{2000}\\ +\verb|\dmyyyydate| & \dmyyyydate\formatdate{1}{3}{2000}\\ +\verb|\ddmmyydate| & \ddmmyydate\formatdate{1}{3}{2000}\\ +\verb|\dmyydate| & \dmyydate\formatdate{1}{3}{2000}\\ +\verb|\textdate| & \textdate\formatdate{1}{3}{2000}\\ +\verb|\usdate| & \usdate\formatdate{1}{3}{2000}\\ +\verb|\mmddyyyydate| & \mmddyyyydate\formatdate{1}{3}{2000}\\ +\verb|\mdyyyydate| & \mdyyyydate\formatdate{1}{3}{2000}\\ +\verb|\mmddyydate| & \mmddyydate\formatdate{1}{3}{2000}\\ +\verb|\mdyydate| & \mdyydate\formatdate{1}{3}{2000} +\end{tabular} + +\section{Specific Time} + +\begin{tabular}{@{\ttfamily}ll} +\bfseries\rmfamily Format & \bfseries \verb|\formattime{15}{45}{00}|\\ +hhmmsstime & \settimeformat{hhmmsstime}\formattime{15}{45}{00}\\ +xxivtime & \settimeformat{xxivtime}\formattime{15}{45}{00}\\ +ampmtime & \settimeformat{ampmtime}\formattime{15}{45}{00}\\ +oclock & \settimeformat{oclock}\formattime{15}{45}{00} +\end{tabular} + +\vskip\baselineskip\noindent +\begin{tabular}{@{\ttfamily}ll} +\bfseries\rmfamily Format & \bfseries \verb|\formattime{0}{0}{0}|\\ +hhmmsstime & \settimeformat{hhmmsstime}\formattime{0}{0}{0}\\ +xxivtime & \settimeformat{xxivtime}\formattime{0}{0}{0}\\ +ampmtime & \settimeformat{ampmtime}\formattime{0}{0}{0}\\ +oclock & \settimeformat{oclock}\formattime{0}{0}{0} +\end{tabular} + +\vskip\baselineskip\noindent +\begin{tabular}{@{\ttfamily}ll} +\bfseries\rmfamily Format & \bfseries \verb|\formattime{12}{0}{0}|\\ +hhmmsstime & \settimeformat{hhmmsstime}\formattime{12}{0}{0}\\ +xxivtime & \settimeformat{xxivtime}\formattime{12}{0}{0}\\ +ampmtime & \settimeformat{ampmtime}\formattime{12}{0}{0}\\ +oclock & \settimeformat{oclock}\formattime{12}{0}{0} +\end{tabular} + +\section{Defining New Dates} + +\begin{tabular}{ll} +\verb|\dashdate| & \dashdate\today\\ +\verb|\usvardate| & \usvardate\today\\ +\verb|\ukvardate| & \ukvardate\today\\ +\verb|\mydate| & \mydate\today\\ +\verb|\yyyymmdd| & \yyyymmdd\today\\ +\verb|\dashdate| & \dashdate\formatdate{8}{3}{2000}\\ +\verb|\usvardate| & \usvardate\formatdate{8}{3}{2000}\\ +\verb|\mydate| & \mydate\formatdate{8}{3}{2000}\\ +\verb|\yyyymmdd| & \yyyymmdd\formatdate{8}{3}{2000} +\end{tabular} + +\section{Defining New Times} + +\begin{tabular}{@{\ttfamily}ll} +\bfseries\rmfamily Format & \bfseries \verb|\currenttime|\\ +dottime & \settimeformat{dottime}\currenttime\\ +dashtime12 & \settimeformat{dashtime12}\currenttime\\ +hhmm & \settimeformat{hhmm}\currenttime +\end{tabular} + +\end{document} +\endinput +%% +%% End of file `dt-sampl.tex'. diff --git a/Master/texmf-dist/source/latex/datetime/datetime.perl b/Master/texmf-dist/scripts/latex/datetime/datetime.perl index d73fde5e52a..f603451934f 100644 --- a/Master/texmf-dist/source/latex/datetime/datetime.perl +++ b/Master/texmf-dist/scripts/latex/datetime/datetime.perl @@ -1750,6 +1750,17 @@ sub set_timeformat_xxivtime{ $timeformat = "TWODIGIT{THEHOUR}\\timeseparator TWODIGIT{THEMINUTE}"; } +sub format_xxivtime{ + local($hour,$min)=@_; + + sprintf "%02d\\timeseparator %02d", $hour, $min; +} + +sub do_cmd_xxivtime{ + + join('', &format_xxivtime($global{HOUR},$global{MINUTE}), $_[0]); +} + sub format_ampmtime{ local($hour,$min)=@_; local($timestring); @@ -1758,15 +1769,13 @@ sub format_ampmtime{ $timestring = sprintf "%d\\timeseparator %02d", $hourxii, $min; $timestring .= ($hour < 12 ? - "\\amname " : ($hour = 12 ? " \\noon" :"\\pmname ")); + "\\amname " : (($hour eq 12 and $min eq 0) ? " \\noon" :"\\pmname ")); $timestring } sub do_cmd_ampmtime{ - local($_) = @_; - - join('', &format_ampm($global{HOUR},$global{MINUTE}), $_[0]); + join('', &format_ampmtime($global{HOUR},$global{MINUTE}), $_[0]); } sub do_cmd_timeformat_at_ampmtime{ diff --git a/Master/texmf-dist/source/latex/datetime/datetime.dtx b/Master/texmf-dist/source/latex/datetime/datetime.dtx index 8173974405b..0e11ef730c0 100644 --- a/Master/texmf-dist/source/latex/datetime/datetime.dtx +++ b/Master/texmf-dist/source/latex/datetime/datetime.dtx @@ -12,7 +12,7 @@ % -doc "datetime-manual.tex" % -author "Nicola Talbot" % datetime -% Created on 2010/9/21 10:02 +% Created on 2013/9/10 11:38 %\fi %\iffalse %<*package> @@ -35,7 +35,7 @@ %\fi % \iffalse % Doc-Source file to use with LaTeX2e -% Copyright (C) 2010 Nicola Talbot, all rights reserved. +% Copyright (C) 2013 Nicola Talbot, all rights reserved. % \fi % \iffalse %<*driver> @@ -59,15 +59,12 @@ %\RecordChanges %\OnlyDescription % -%\title{datetime.sty v2.58: +%\title{datetime.sty v2.59: %Formatting Current Date and Time} % \author{Nicola L. C. Talbot\\[10pt] -% School of Computing Sciences\\ -% University of East Anglia\\ -% Norwich. NR4 7TJ.\\ -% United Kingdom.\\ -% \url{http://theoval.cmp.uea.ac.uk/~nlct/}} -% \date{2010-09-21} +% Dickimaw Books\\ +% \url{http://www.dickimaw-books.com/}} +% \date{2013-09-10} % \maketitle % \tableofcontents % \section{Introduction} @@ -534,7 +531,7 @@ %\item[\pkgopt{dmyyyy}] make \cs{today} produce D/M/YYYY date %\item[\pkgopt{ddmmyy}] make \cs{today} produce DD/MM/YY date %\item[\pkgopt{dmyy}] make \cs{today} produce D/M/YY date -%\item[\pkgopt{text}] make \cs{today} produce text date +%\item[\pkgopt{text}] make \cs{today} produce text date in UK style %\item[\pkgopt{us}] make \cs{today} produce US style date %\item[\pkgopt{mmddyyyy}] make \cs{today} produce MM/DD/YYYY date %\item[\pkgopt{mdyyyy}] make \cs{today} produce M/D/YYYY date @@ -666,7 +663,10 @@ %\fi} %\end{verbatim} %If you want them added to future versions of -%\sty{datetime}, please email me the code. +%\sty{datetime}, please post them on my feature request form at: +%\url{http://www.dickimaw-books.com/feature-request.html}. +%Please use \LaTeX\ commands to produce accents to ensure encoding +%independence. (For example, use \verb|\'e| instead of \'{e}.) % %\section{Registers} % @@ -737,7 +737,7 @@ %\section{Troubleshooting} % %There is a \sty{datetime} FAQ available at: -%\url{http://theoval.cmp.uea.ac.uk/~nlct/latex/packages/faq/} +%\url{http://www.dickimaw-books.com/faqs/datetimefaq.html}. % %\StopEventually{\phantomsection %\addcontentsline{toc}{section}{Index}\PrintIndex @@ -748,6 +748,111 @@ %\section{The Code} %\iffalse % \begin{macrocode} +%<*datetime-defaults.sty> +% \end{macrocode} +%\fi +% Default language settings. +% \begin{macrocode} +\ProvidesPackage{datetime-defaults}[2013/09/10] +% \end{macrocode} +%\begin{macro}{\ordinaldateenglish} +% Default date ordinal: +% \begin{macrocode} +\newcommand*{\ordinaldateenglish}[1]{\ordinalnum{#1}} +% \end{macrocode} +%\end{macro} +%\begin{macro}{\monthnameenglish} +% \begin{macrocode} +\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)}% + \or January% + \or February% + \or March% + \or April% + \or May% + \or June% + \or July% + \or August% + \or September% + \or October% + \or November% + \or December% + \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% + Month numbers should go from 1 (January) to 12 (December)}% + \fi +} +% \end{macrocode} +%\end{macro} +%\begin{macro}{\shortmonthnameenglish} +%\changes{2.1}{2003/12/17}{fixed bug producing an error message +% in December} +% \begin{macrocode} +\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)}% + \or Jan% + \or Feb% + \or Mar% + \or Apr% + \or May% + \or Jun% + \or Jul% + \or Aug% + \or Sept% + \or Oct% + \or Nov% + \or Dec% + \else% + \PackageError{datetime}% + {Invalid Month number \the\@orgargctr}% + {Month numbers should go from 1 (jan) to 12 (dec)}% +\fi +} +% \end{macrocode} +%\end{macro} +%\begin{macro}{\dayofweeknameidenglish} +% Given the day of week index, print associated the English name. +% \begin{macrocode} +\providecommand*{\dayofweeknameidenglish}[1]{% + \ifcase#1\relax + \or Sunday% + \or Monday% + \or Tuesday% + \or Wednesday% + \or Thursday% + \or Friday% + \or Saturday% + \fi +} +% \end{macrocode} +%\end{macro} +%\begin{macro}{\shortdayofweeknameidenglish} +% As before, but for abbreviated day of week name. English version: +% \begin{macrocode} +\providecommand*{\shortdayofweeknameidenglish}[1]{% + \ifcase#1\relax + \or Sun% + \or Mon% + \or Tue% + \or Wed% + \or Thu% + \or Fri% + \or Sat% +\fi} +% \end{macrocode} +%\end{macro} +%\iffalse +% \begin{macrocode} +%</datetime-defaults.sty> +% \end{macrocode} +%\fi +%\iffalse +% \begin{macrocode} %<*datetime.sty> % \end{macrocode} %\fi @@ -755,18 +860,33 @@ % This section documents the code for \texttt{datetime.sty} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{datetime}[2010/09/21 v2.58 Date Time Package] +\ProvidesPackage{datetime}[2013/09/10 v2.59 Date Time Package] +% \end{macrocode} +%\changes{2.59}{2013/09/10}{new loads etoolbox} +% \begin{macrocode} +\RequirePackage{etoolbox} % \end{macrocode} %\texttt{fmtcount.sty} needs to be loaded here as it defines the % command \cs{fmtord} which may be redefined later: % \begin{macrocode} \RequirePackage{fmtcount} % \end{macrocode} +% In case we're using an older version of \sty{fmtcount}: +% \begin{macrocode} +\@ifundefined{@FCmodulo}% +{% + \let\@FCmodulo\@modulo +}{} +% \end{macrocode} % Need ifthen package for conditional stuff. % \begin{macrocode} \RequirePackage{ifthen} % \end{macrocode} %\subsubsection{Date Commands} +% Load defaults: +% \begin{macrocode} +\RequirePackage{datetime-defaults} +% \end{macrocode} %\begin{macro}{\if@dtl@nodate} % Define a new conditional \cs{if@dt@nodate}. If it is true, % \cs{today} will not be redefined, nor will @@ -797,34 +917,40 @@ %\changes{2.55}{2007/08/20}{fixed bug preventing multilingual support} % \begin{macrocode} \newif\if@dt@multilingual -\@ifpackageloaded{babel}{% -\@dt@multilingualtrue}{% -\@ifpackageloaded{ngerman}{% -\@dt@multilingualtrue}{\@dt@multilingualfalse}} + \@ifpackageloaded{babel}% + {% + \@dt@multilingualtrue + }% + {% + \@ifpackageloaded{ngerman}% + {\@dt@multilingualtrue}% + {\@dt@multilingualfalse}% + } % \end{macrocode} %\end{macro} % Define the \cs{ordinaldate}\meta{language} macros. These are % needed because some % languages only use an ordinal for the first day of % the month (such as french). -%\begin{macro}{\ordinaldateenglish} -% English version: -% \begin{macrocode} -\newcommand*{\ordinaldateenglish}[1]{\ordinalnum{#1}} -% \end{macrocode} -%\end{macro} -%\begin{macro}{\ordinaldate} % If |\ordinaldate|\meta{language} is not defined, then just display % the number. %\changes{2.45}{2005/05/23}{new} +%\changes{2.59}{2013/09/10}{made robust} % \begin{macrocode} -\newcommand*{\ordinaldate}[1]{% -\if@dt@multilingual -\@ifundefined{ordinaldate\languagename}{#1}{% -\csname ordinaldate\languagename\endcsname{#1}}% -\else -\ordinalnum{#1}% -\fi} +\DeclareRobustCommand*{\ordinaldate}[1]{% + \if@dt@multilingual +% \end{macrocode} +% Make sure language file has been loaded. +% \begin{macrocode} + \DTloadDefIfNotLoadedButExists{\languagename}% + \@ifundefined{ordinaldate\languagename}{#1}% + {% + \csname ordinaldate\languagename\endcsname{#1}% + }% + \else + \ordinalnum{#1}% + \fi +} % \end{macrocode} %\end{macro} %\begin{macro}{\ifshowdow} @@ -855,20 +981,22 @@ % options, babel and datetime.cfg settings.) % \begin{macrocode} \DeclareRobustCommand*{\longdate}{% -\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}} + \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}% +} % \end{macrocode} %\end{macro} %\begin{macro}{\shortdate} % Abbreviated version of above % \begin{macrocode} \DeclareRobustCommand*{\shortdate}{% -\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}} + \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}% +} % \end{macrocode} %\end{macro} %\begin{macro}{\twodigit} @@ -918,7 +1046,7 @@ \DeclareRobustCommand*{\ddmmyydate}{\renewcommand*{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \@dtctr=\@year% -\@modulo{\@dtctr}{100}% +\@FCmodulo{\@dtctr}{100}% \twodigit\@day\dateseparator \twodigit\@month\dateseparator \twodigit\@dtctr}} % \end{macrocode} @@ -930,7 +1058,7 @@ \DeclareRobustCommand*{\dmyydate}{\renewcommand*{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \@dtctr=\@year% -\@modulo{\@dtctr}{100}% +\@FCmodulo{\@dtctr}{100}% \the\@day\dateseparator \the\@month\dateseparator \twodigit\@dtctr}} % \end{macrocode} %\end{macro} @@ -981,7 +1109,7 @@ \DeclareRobustCommand*{\mmddyydate}{\renewcommand*{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \@dtctr=\@year% -\@modulo{\@dtctr}{100}% +\@FCmodulo{\@dtctr}{100}% \twodigit\@month\dateseparator \twodigit\@day\dateseparator \twodigit\@dtctr}} % \end{macrocode} @@ -993,7 +1121,7 @@ \DeclareRobustCommand*{\mdyydate}{\renewcommand*{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \@dtctr=\@year% -\@modulo{\@dtctr}{100}% +\@FCmodulo{\@dtctr}{100}% \the\@month\dateseparator \the\@day\dateseparator \twodigit\@dtctr}} % \end{macrocode} %\end{macro} @@ -1183,7 +1311,7 @@ give your new date format a different name}}} \currenthour=\time\relax \divide\currenthour by 60\relax \currentminute=\time\relax - \@modulo{\currentminute}{60}% + \@FCmodulo{\currentminute}{60}% \currentsecond=0\relax }{% \def\@dt@gettime#1#2#3#4#5#6#7\relax{% @@ -1213,7 +1341,7 @@ give your new date format a different name}}} \c@MINUTE=##2% \c@TOHOUR=\c@HOURXII \advance\c@TOHOUR by 1\relax -\@modulo{\c@TOHOUR}{12}% +\@FCmodulo{\c@TOHOUR}{12}% \c@TOMINUTE=\c@MINUTE \advance\c@TOMINUTE by -60\relax \multiply\c@TOMINUTE by -1\relax @@ -1394,6 +1522,9 @@ settings}} \@ifundefined{extrasaustrian}{}{% \addto\extrasaustrian{#1}% }% + \@ifundefined{extrasaustralian}{}{% + \addto\extrasaustralian{#1}% + }% \@ifundefined{extrasbahasa}{}{% \addto\extrasbahasa{#1}% }% @@ -1406,6 +1537,9 @@ settings}} \@ifundefined{extrasbulgarian}{}{% \addto\extrasbulgarian{#1}% }% + \@ifundefined{extrascanadian}{}{% + \addto\extrascanadian{#1}% + }% \@ifundefined{extrascatalan}{}{% \addto\extrascatalan{#1}% }% @@ -1466,6 +1600,9 @@ settings}} \@ifundefined{extrasngerman}{}{% \addto\extrasngerman{#1}% }% + \@ifundefined{extrasnewzealand}{}{% + \addto\extrasnewzealand{#1}% + }% \@ifundefined{extrasnorsk}{}{% \addto\extrasnorsk{#1}% }% @@ -1571,7 +1708,11 @@ settings}} % \end{macrocode} % Check whether the file has already been loaded. % \begin{macrocode} - \@ifundefined{ver@dt-#1.def}% + \DTifDefLoaded{#1}% +% \end{macrocode} +% File already loaded, so do nothing. +% \begin{macrocode} + {}% {% \InputIfFileExists{dt-#1.def}% {}% @@ -1580,13 +1721,35 @@ settings}} definition file for `#1'}% }% }% +} % \end{macrocode} -% File already loaded, so do nothing. +%\end{macro} +% +%\begin{macro}{\DTifDefLoaded} +%\changes{2.59}{2013/09/10}{new} % \begin{macrocode} - {}% +\newcommand{\DTifDefLoaded}[3]{% + \@ifundefined{ver@dt-#1.def}{#3}{#2}% } % \end{macrocode} %\end{macro} +% +%\begin{macro}{\DTloadDefIfNotLoadedButExists} +%\changes{2.59}{2013/09/10}{new} +% \begin{macrocode} +\newcommand{\DTloadDefIfNotLoadedButExists}[1]{% + \DTifDefLoaded{#1}% + {}% + {% + \bgroup + \catcode `\@ 11\relax + \InputIfFileExists{dt-#1.def}{}{}% + \egroup + }% +}% +% \end{macrocode} +%\end{macro} +% % Multilingual support. These package options shouldn't really be % needed if babel has already been loaded. % \begin{macrocode} @@ -1645,14 +1808,14 @@ settings}} % \begin{macrocode} \if@dt@nodate \PackageInfo{datetime}{option "nodate" used, so note defining -\string\dateformat} + \string\dateformat} \else % \end{macrocode} %\begin{macro}{\dateformat} % Format the given date in the given format. % \begin{macrocode} -\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} % \end{macrocode} %\end{macro} % \begin{macrocode} @@ -1666,47 +1829,31 @@ settings}} % The |nodate| option was used, so just print informative message, % and do nothing else. % \begin{macrocode} -\PackageInfo{datetime}{option "nodate" used, so not defining -\string\monthname} + \PackageInfo{datetime}{option "nodate" used, so not defining + \string\monthname} \else % \end{macrocode} -%\begin{macro}{\monthnameenglish} -% \begin{macrocode} -\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)}% -\or January% -\or February% -\or March% -\or April% -\or May% -\or June% -\or July% -\or August% -\or September% -\or October% -\or November% -\or December% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% -Month numbers should go from 1 (January) to 12 (December)}% -\fi} -% \end{macrocode} -%\end{macro} %\begin{macro}{\monthname} %Define \verb|\monthname| to be language dependent. If there %is no \verb|\monthname|\meta{language}, defaults to English. % \begin{macrocode} \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} + \if@dt@multilingual +% \end{macrocode} +% Make sure language file has been loaded. +% \begin{macrocode} + \DTloadDefIfNotLoadedButExists{\languagename}% + \@ifundefined{monthname\languagename}% + {% + \PackageWarning{datetime}{No month names provided for language + '\languagename'}% + \monthnameenglish[#1]% + }% + {\csname monthname\languagename\endcsname[#1]}% + \else + \monthnameenglish[#1]% + \fi +} % \end{macrocode} %\end{macro} % End of |\if@dt@nodate| else part: @@ -1721,51 +1868,33 @@ Month numbers should go from 1 (January) to 12 (December)}% % The |nodate| option was used, so just print informative message, % and do nothing else. % \begin{macrocode} -\PackageInfo{datetime}{option "nodate" used, so not defining -\protect\shortmonthname} + \PackageInfo{datetime}{option "nodate" used, so not defining + \protect\shortmonthname} \else % \end{macrocode} -%\begin{macro}{\shortmonthnameenglish} -%\changes{2.1}{2003/12/17}{fixed bug producing an error message -% in December} -% \begin{macrocode} -\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)}% -\or Jan% -\or Feb% -\or Mar% -\or Apr% -\or May% -\or Jun% -\or Jul% -\or Aug% -\or Sept% -\or Oct% -\or Nov% -\or Dec% -\else% -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month -numbers should go from 1 (jan) to 12 (dec)}% -\fi} -% \end{macrocode} -%\end{macro} %\begin{macro}{\shortmonthname} %Define \verb|\shortmonthname| to be language dependent. If there %is no \verb|\shortmonthname|\meta{language}, defaults to English. % \begin{macrocode} \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} + \if@dt@multilingual +% \end{macrocode} +% Make sure language file has been loaded. +% \begin{macrocode} + \DTloadDefIfNotLoadedButExists{\languagename}% + \@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 +} % \end{macrocode} %\end{macro} % End of |\if@dt@nodate| else part: @@ -1774,11 +1903,23 @@ language '\languagename', using full version instead}% % \end{macrocode} % Define macros needed to compute the weekday % (Again, only do this if @dt@nodate is false) -%\begin{macro}{\ifleapyear} -% Need to define |\ifleapyear| regardless of @dt@nodate otherwise \LaTeX\ won't -% match |\ifleapyear| with |\fi| +%\begin{macro}{\ifDTleapyear} +% Need to define |\ifDTleapyear| regardless of @dt@nodate otherwise \LaTeX\ won't +% match |\ifDTleapyear| with |\fi| +%\changes{2.59}{2013/09/10}{renamed \cs{ifleapyear} to +%\cs{ifDTLleapyear} to avoid clash with other packages} +% \begin{macrocode} +\newif\ifDTleapyear +\@ifundefined{ifleapyear} +{% +% \end{macrocode} +% Provide backward compatibility: % \begin{macrocode} -\newif\ifleapyear + \def\ifleapyear{\ifDTLleapyear} + \let\leapyeartrue\DTLleapyeartrue + \let\leapyearfalse\DTLleapyearfalse +}% +{} % \end{macrocode} %\end{macro} % Define temporary counter for arithmetic. @@ -1789,35 +1930,44 @@ language '\languagename', using full version instead}% % is not defined. % \begin{macrocode} \if@dt@nodate -\PackageInfo{datetime}{option "nodate" used, so not defining -\string\dayofweek \space or \string\shortdayofweek} + \PackageInfo{datetime}{option "nodate" used, so not defining + \string\dayofweek \space or \string\shortdayofweek} \else % \end{macrocode} % Using the algorithm documented at % http://userpages.wittenberg.edu/bshelburne/Comp150/DayofWeek.htm % Syntax: \verb|testifleapyear{|\meta{year}\verb|}| sets -% conditional \verb|\ifleapyear|. +% conditional \verb|\ifDTleapyear|. % \begin{macrocode} \providecommand*{\testifleapyear}[1]{% -\leapyearfalse -\@year=#1\relax -\@dtctr=\@year -\@modulo{\@dtctr}{400}% -\ifnum\@dtctr=0\relax -\leapyeartrue % year mod 400 = 0 => leap year -\else -\@dtctr=\@year -\@modulo{\@dtctr}{100}% -\ifnum\@dtctr=0\relax -\leapyearfalse % year mod 100 = 0 && year mod 400 != 0 => not a leap year -\else -\@dtctr=\@year -\@modulo{\@dtctr}{4}% -\ifnum\@dtctr=0\relax -\leapyeartrue % year mod 4 = 0 && year mod 100 != 0 => leap year -\fi -\fi -\fi + \DTleapyearfalse + \@year=#1\relax + \@dtctr=\@year + \@FCmodulo{\@dtctr}{400}% + \ifnum\@dtctr=0\relax +% \end{macrocode} +% year mod 400 = 0 => leap year +% \begin{macrocode} + \DTleapyeartrue + \else + \@dtctr=\@year + \@FCmodulo{\@dtctr}{100}% + \ifnum\@dtctr=0\relax +% \begin{macrocode} +% year mod 100 = 0 && year mod 400 != 0 => not a leap year +% \end{macrocode} + \DTleapyearfalse + \else + \@dtctr=\@year + \@FCmodulo{\@dtctr}{4}% + \ifnum\@dtctr=0\relax +% \begin{macrocode} +% year mod 4 = 0 && year mod 100 != 0 => leap year +% \end{macrocode} + \DTleapyeartrue + \fi + \fi + \fi } % \end{macrocode} %\begin{macro}{\dayofyear} @@ -1831,30 +1981,30 @@ language '\languagename', using full version instead}% % Computes the day of year. Result will be stored in \verb|\dayofyear| % \begin{macrocode} \providecommand*{\computedayofyear}[3]{% -\testifleapyear{#3}% -\dayofyear=0\relax -\@day=#1\relax \@month=#2\relax \@year=#3\relax -\ifcase\@month -\or -\or \advance\dayofyear by 31\relax -\or \advance\dayofyear by 59\relax -\or \advance\dayofyear by 90\relax -\or \advance\dayofyear by 120\relax -\or \advance\dayofyear by 151\relax -\or \advance\dayofyear by 181\relax -\or \advance\dayofyear by 212\relax -\or \advance\dayofyear by 243\relax -\or \advance\dayofyear by 273\relax -\or \advance\dayofyear by 304\relax -\or \advance\dayofyear by 334\relax -\else -\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 + \testifleapyear{#3}% + \dayofyear=0\relax + \@day=#1\relax \@month=#2\relax \@year=#3\relax + \ifcase\@month + \or + \or \advance\dayofyear by 31\relax + \or \advance\dayofyear by 59\relax + \or \advance\dayofyear by 90\relax + \or \advance\dayofyear by 120\relax + \or \advance\dayofyear by 151\relax + \or \advance\dayofyear by 181\relax + \or \advance\dayofyear by 212\relax + \or \advance\dayofyear by 243\relax + \or \advance\dayofyear by 273\relax + \or \advance\dayofyear by 304\relax + \or \advance\dayofyear by 334\relax + \else + \PackageError{datetime}{Invalid month number}{The second argument to + \string\computedayofyear \space should lie in the range 1-12}% + \fi + \ifnum\@month>2\relax + \ifDTleapyear\advance\dayofyear by 1\relax\fi + \fi + \advance\dayofyear by \@day\relax } % \end{macrocode} %\end{macro} @@ -1870,34 +2020,20 @@ language '\languagename', using full version instead}% % |\dayofweek|. % \begin{macrocode} \providecommand*{\computedayofweek}[3]{% -\computedayofyear{#1}{#2}{#3}% -\@dtctr=#3\relax -\advance\@dtctr by -1901\relax -\@modulo{\@dtctr}{28}% -\dayofweek=\@dtctr -\divide\dayofweek by 4\relax -\advance\dayofweek by \@dtctr -\advance\dayofweek by 2\relax -\@modulo{\dayofweek}{7}% -\advance\dayofweek by \dayofyear -\advance\dayofweek by -1\relax -\@modulo{\dayofweek}{7}% -\advance\dayofweek by 1\relax} -% \end{macrocode} -%\end{macro} -%\begin{macro}{\dayofweeknameidenglish} -% Given the day of week index, print associated the English name. -% \begin{macrocode} -\providecommand*{\dayofweeknameidenglish}[1]{% -\ifcase#1\relax -\or Sunday% -\or Monday% -\or Tuesday% -\or Wednesday% -\or Thursday% -\or Friday% -\or Saturday% -\fi} + \computedayofyear{#1}{#2}{#3}% + \@dtctr=#3\relax + \advance\@dtctr by -1901\relax + \@FCmodulo{\@dtctr}{28}% + \dayofweek=\@dtctr + \divide\dayofweek by 4\relax + \advance\dayofweek by \@dtctr + \advance\dayofweek by 2\relax + \@FCmodulo{\dayofweek}{7}% + \advance\dayofweek by \dayofyear + \advance\dayofweek by -1\relax + \@FCmodulo{\dayofweek}{7}% + \advance\dayofweek by 1\relax +} % \end{macrocode} %\end{macro} %\begin{macro}{\dayofweeknameid} @@ -1906,16 +2042,27 @@ language '\languagename', using full version instead}% % default to English. % \begin{macrocode} \providecommand*{\dayofweeknameid}[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}}% -\else -\dayofweeknameidenglish{#1}% -\fi + \if@dt@multilingual +% \end{macrocode} +% Make sure language file has been loaded. +% \begin{macrocode} + \DTloadDefIfNotLoadedButExists{\languagename}% + \ifcsundef{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}% + }% + \else + \dayofweeknameidenglish{#1}% + \fi } % \end{macrocode} %\end{macro} @@ -1923,8 +2070,8 @@ language '\languagename', using full version instead}% % Print the day of week name for the specified date. % \begin{macrocode} \providecommand*{\dayofweekname}[3]{% -\computedayofweek{#1}{#2}{#3}% -\dayofweeknameid{\dayofweek}% + \computedayofweek{#1}{#2}{#3}% + \dayofweeknameid{\dayofweek}% } % \end{macrocode} %\end{macro} @@ -1932,38 +2079,34 @@ language '\languagename', using full version instead}% % Print today's day of week name. % \begin{macrocode} \providecommand*{\thisdayofweekname}{% -\dayofweekname{\day}{\month}{\year}} -% \end{macrocode} -%\end{macro} -%\begin{macro}{\shortdayofweeknameidenglish} -% As before, but for abbreviated day of week name. English version: -% \begin{macrocode} -\providecommand*{\shortdayofweeknameidenglish}[1]{% -\ifcase#1\relax -\or Sun% -\or Mon% -\or Tue% -\or Wed% -\or Thu% -\or Fri% -\or Sat% -\fi} + \dayofweekname{\day}{\month}{\year}} % \end{macrocode} %\end{macro} %\begin{macro}{\shortdayofweekname} % Language dependant version: % \begin{macrocode} \providecommand*{\shortdayofweekname}[3]{% -\computedayofweek{#1}{#2}{#3}% -\if@dt@multilingual -\@ifundefined{shortdayofweeknameid\languagename}{% -\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}% + \computedayofweek{#1}{#2}{#3}% + \if@dt@multilingual +% \end{macrocode} +% Make sure language file has been loaded. +% \begin{macrocode} + \DTloadDefIfNotLoadedButExists{\languagename}% + \@ifundefined{shortdayofweeknameid\languagename}% + {% + \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 } % \end{macrocode} @@ -1972,7 +2115,7 @@ language '\languagename', defaulting to long version}}% % Today's week day name, abbreviated: % \begin{macrocode} \providecommand*{\thisshortdayofweekname}{% -\dayofweekname{\day}{\month}{\year}} + \dayofweekname{\day}{\month}{\year}} % \end{macrocode} %\end{macro} % End of |\if@dt@nodate| else part. @@ -1987,7 +2130,7 @@ language '\languagename', defaulting to long version}}% % \begin{macrocode} \if@dt@nodate \else -\DeclareRobustCommand*{\today}{\formatdate{\day}{\month}{\year}} + \DeclareRobustCommand*{\today}{\formatdate{\day}{\month}{\year}} \fi % \end{macrocode} %\end{macro} @@ -2004,10 +2147,12 @@ language '\languagename', defaulting to long version}}% \@ifundefined{datebritish}{}{\loadDTdef{british}} \@ifundefined{dateamerican}{}{\loadDTdef{american}} \@ifundefined{dateaustrian}{}{\loadDTdef{austrian}} +\@ifundefined{dateaustralian}{}{\loadDTdef{australian}} \@ifundefined{datebahasa}{}{\loadDTdef{bahasa}} \@ifundefined{datebasque}{}{\loadDTdef{basque}} \@ifundefined{datebreton}{}{\loadDTdef{breton}} \@ifundefined{datebulgarian}{}{\loadDTdef{bulgarian}} +\@ifundefined{datecanadian}{}{\loadDTdef{canadian}} \@ifundefined{datecatalan}{}{\loadDTdef{catalan}} \@ifundefined{datecroatian}{}{\loadDTdef{croatian}} \@ifundefined{dateczech}{}{\loadDTdef{czech}} @@ -2028,6 +2173,7 @@ language '\languagename', defaulting to long version}}% \@ifundefined{datelsorbian}{}{\loadDTdef{lsorbian}} \@ifundefined{datemagyar}{}{\loadDTdef{magyar}} \@ifundefined{datenaustrian}{}{\loadDTdef{naustrian}} +\@ifundefined{datenewzealand}{}{\loadDTdef{newzealand}} \@ifundefined{datengerman}{}{\loadDTdef{ngerman}} \@ifundefined{datenorsk}{}{\loadDTdef{norsk}} \@ifundefined{datepolish}{}{\loadDTdef{polish}} @@ -2095,7 +2241,7 @@ language '\languagename', defaulting to long version}}% % Append the minute. % \begin{macrocode} \@dtctr=\time% -\@modulo{\@dtctr}{60}% +\@FCmodulo{\@dtctr}{60}% \dt@b=\expandafter{\pdfdate} \dt@a=\expandafter{\the\@dtctr} \ifnum\@dtctr<10\relax @@ -2125,36 +2271,37 @@ language '\languagename', defaulting to long version}}% %\subsubsection{american} % Identify file % \begin{macrocode} -\ProvidesFile{dt-american.def}[2010/09/21] +\ProvidesFile{dt-american.def}[2013/09/10]% % \end{macrocode} %\begin{macro}{\dateamerican} % \begin{macrocode} -\let\dateamerican\usdate +\global\let\dateamerican\usdate % \end{macrocode} %\end{macro} %\begin{macro}{\monthnameamerican} % \begin{macrocode} -\let\monthnameamerican\monthnameenglish +\global\let\monthnameamerican\monthnameenglish % \end{macrocode} %\end{macro} %\begin{macro}{\shortmonthnameamerican} % \begin{macrocode} -\let\shortmonthnameamerican\shortmonthnameenglish +\global\let\shortmonthnameamerican\shortmonthnameenglish % \end{macrocode} %\end{macro} %\begin{macro}{\dayofweeknameidamerican} % \begin{macrocode} -\let\dayofweeknameidamerican\dayofweeknameidenglish +\global\let\dayofweeknameidamerican\dayofweeknameidenglish % \end{macrocode} %\end{macro} %\begin{macro}{\shortdayofweeknameamerican} % \begin{macrocode} -\let\shortdayofweeknameidamerican\shortdayofweeknameidenglish +\global\let\shortdayofweeknameidamerican\shortdayofweeknameidenglish % \end{macrocode} %\end{macro} %\begin{macro}{\ordinaldateamerican} % \begin{macrocode} -\providecommand*{\ordinaldateamerican}[1]{#1} +\providecommand*{\ordinaldateamerican}[1]{#1}% +\global\let\ordinaldateamerican\ordinaldateamerican % \end{macrocode} %\end{macro} %\iffalse @@ -2164,38 +2311,86 @@ language '\languagename', defaulting to long version}}% %\fi %\iffalse % \begin{macrocode} +%<*dt-australian.def> +% \end{macrocode} +%\fi +%\subsection{Compatibility with Babel (Language definition files)} +%\subsubsection{australian} +% Identify file +% \begin{macrocode} +\ProvidesFile{dt-australian.def}[2013/09/10]% +% \end{macrocode} +%\begin{macro}{\dateaustralian} +% \begin{macrocode} +\global\let\dateaustralian\usdate +% \end{macrocode} +%\end{macro} +%\begin{macro}{\monthnameaustralian} +% \begin{macrocode} +\global\let\monthnameaustralian\monthnameenglish +% \end{macrocode} +%\end{macro} +%\begin{macro}{\shortmonthnameaustralian} +% \begin{macrocode} +\global\let\shortmonthnameaustralian\shortmonthnameenglish +% \end{macrocode} +%\end{macro} +%\begin{macro}{\dayofweeknameidaustralian} +% \begin{macrocode} +\global\let\dayofweeknameidaustralian\dayofweeknameidenglish +% \end{macrocode} +%\end{macro} +%\begin{macro}{\shortdayofweeknameaustralian} +% \begin{macrocode} +\global\let\shortdayofweeknameidaustralian\shortdayofweeknameidenglish +% \end{macrocode} +%\end{macro} +%\begin{macro}{\ordinaldateaustralian} +% \begin{macrocode} +\providecommand*{\ordinaldateaustralian}[1]{#1}% +\global\let\ordinaldateaustralian\ordinaldateaustralian +% \end{macrocode} +%\end{macro} +%\iffalse +% \begin{macrocode} +%</dt-australian.def> +% \end{macrocode} +%\fi +%\iffalse +% \begin{macrocode} %<*dt-austrian.def> % \end{macrocode} %\fi %\subsubsection{Austrian} % Identify file % \begin{macrocode} -\ProvidesFile{dt-austrian.def}[2004/10/31] +\ProvidesFile{dt-austrian.def}[2013/09/10]% % \end{macrocode} % Define month names. %\begin{macro}{\monthnameaustrian} % \begin{macrocode} \providecommand{\monthnameaustrian}[1][\month]{% -\@orgargctr=#1\relax -\ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% -Month numbers should go from 1 to 12}% -\or J\"anner% -\or Februar% -\or M\"arz% -\or April% -\or Mai% -\or Juni% -\or Juli% -\or August% -\or September% -\or Oktober% -\or November% -\or Dezember% + \@orgargctr=#1\relax + \ifcase\@orgargctr + \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% + Month numbers should go from 1 to 12}% + \or J\"anner% + \or Februar% + \or M\"arz% + \or April% + \or Mai% + \or Juni% + \or Juli% + \or August% + \or September% + \or Oktober% + \or November% + \or Dezember% \else -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% -Month numbers should go from 1 (janvier) to 12 (decembre)}% -\fi} + \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% + Month numbers should go from 1 (janvier) to 12 (decembre)}% +\fi}% +\global\let\monthnameaustrian\monthnameaustrian % \end{macrocode} %\end{macro} % (Re)Define declaration to switch to this format. @@ -2204,7 +2399,8 @@ Month numbers should go from 1 (janvier) to 12 (decembre)}% \DeclareRobustCommand*\dateaustrian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameaustrian[\@month]\space\number\@year}} +\number\@day.~\monthnameaustrian[\@month]\space\number\@year}}% +\global\let\dateaustrian\dateaustrian % \end{macrocode} %\end{macro} %\iffalse @@ -2220,7 +2416,7 @@ Month numbers should go from 1 (janvier) to 12 (decembre)}% %\subsubsection{Bahasa} % Identify file % \begin{macrocode} -\ProvidesFile{dt-bahasa.def}[2004/10/31] +\ProvidesFile{dt-bahasa.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -2244,7 +2440,8 @@ 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} +\fi}% +\global\let\monthnamebahasa\monthnamebahasa % \end{macrocode} % Define abbreviated month names. This currently does the full % name, because I don't know the abbreviated versions. @@ -2269,14 +2466,16 @@ 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} +\fi}% +\global\let\shortmonthnamebahasa\shortmonthnamebahasa % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\datebahasa{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day}~\monthnamebahasa[\@month]\space \number\@year}} +\number\@day}~\monthnamebahasa[\@month]\space \number\@year}}% +\global\let\datebahasa\datebahasa % \end{macrocode} %\iffalse % \begin{macrocode} @@ -2291,7 +2490,7 @@ Month numbers should go from 1 (Januari) to 12 (Desember)}% %\subsubsection{Basque} % Identify file % \begin{macrocode} -\ProvidesFile{dt-basque.def}[2004/10/31] +\ProvidesFile{dt-basque.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -2314,7 +2513,8 @@ Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}% \or abenduaren% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}% -\fi} +\fi}% +\global\let\monthnamebasque\monthnamebasque % \end{macrocode} % Define abbreviated month names. This currently does the full % name, because I don't know the abbreviated versions. @@ -2339,14 +2539,16 @@ 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} +\fi}% +\global\let\shortmonthnamebasque\shortmonthnamebasque % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\datebasque{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@year.eko\space\monthnamebasque[\@month]~\number\@day}} +\number\@year.eko\space\monthnamebasque[\@month]~\number\@day}}% +\global\let\datebasque\datebasque % \end{macrocode} %\iffalse % \begin{macrocode} @@ -2361,13 +2563,14 @@ Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}% %\subsubsection{Breton} % Identify file % \begin{macrocode} -\ProvidesFile{dt-breton.def}[2010/09/21] +\ProvidesFile{dt-breton.def}[2013/09/10]% % \end{macrocode} %\begin{macro}{\ordinaldatebreton} % Breton version: % \begin{macrocode} \providecommand*{\ordinaldatebreton}[1]{% -#1\ifnum#1=1\/\textsuperscript{a\~n}\fi} +#1\ifnum#1=1\/\textsuperscript{a\~n}\fi}% +\global\let\ordinaldatebreton\ordinaldatebreton % \end{macrocode} %\end{macro} % Define month names. @@ -2392,7 +2595,8 @@ 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} +\fi}% +\global\let\monthnamebreton\monthnamebreton % \end{macrocode} % Define abbreviated month names. This currently does the full % name, because I don't know the abbreviated versions. @@ -2417,7 +2621,8 @@ 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} +\fi}% +\global\let\shortmonthnamebreton\shortmonthnamebreton % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} @@ -2427,7 +2632,8 @@ Month numbers should go from 1 (Genver) to 12 (Kerzu)}% \ifnum\@day=1\relax 1\/\textsuperscript{a\~n}\else\number\@day\fi \space a\space viz\space\monthnamebreton[\@month]\space \number\@year -}} +}}% +\global\let\datebreton\datebreton % \end{macrocode} %\iffalse % \begin{macrocode} @@ -2442,36 +2648,36 @@ Month numbers should go from 1 (Genver) to 12 (Kerzu)}% %\subsubsection{british} % Identify file % \begin{macrocode} -\ProvidesFile{dt-british.def}[2007/06/15] +\ProvidesFile{dt-british.def}[2013/09/10]% % \end{macrocode} %\begin{macro}{\datebritish} % \begin{macrocode} -\let\datebritish\longdate +\global\let\datebritish\longdate % \end{macrocode} %\end{macro} %\begin{macro}{\monthnamebritish} % \begin{macrocode} -\let\monthnamebritish\monthnameenglish +\global\let\monthnamebritish\monthnameenglish % \end{macrocode} %\end{macro} %\begin{macro}{\shortmonthnamebritish} % \begin{macrocode} -\let\shortmonthnamebritish\shortmonthnameenglish +\global\let\shortmonthnamebritish\shortmonthnameenglish % \end{macrocode} %\end{macro} %\begin{macro}{\dayofweeknameidbritish} % \begin{macrocode} -\let\dayofweeknameidbritish\dayofweeknameidenglish +\global\let\dayofweeknameidbritish\dayofweeknameidenglish % \end{macrocode} %\end{macro} %\begin{macro}{\shortdayofweekidbritish} % \begin{macrocode} -\let\shortdayofweeknameidbritish\shortdayofweeknameidenglish +\global\let\shortdayofweeknameidbritish\shortdayofweeknameidenglish % \end{macrocode} %\end{macro} %\begin{macro}{\ordinaldatebritish} % \begin{macrocode} -\let\ordinaldatebritish\ordinaldateenglish +\global\let\ordinaldatebritish\ordinaldateenglish % \end{macrocode} %\end{macro} %\iffalse @@ -2487,7 +2693,7 @@ Month numbers should go from 1 (Genver) to 12 (Kerzu)}% %\subsubsection{Bulgarian} % Identify file % \begin{macrocode} -\ProvidesFile{dt-bulgarian.def}[2004/10/31] +\ProvidesFile{dt-bulgarian.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -2511,7 +2717,8 @@ 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} +\fi}% +\global\let\monthnamebulgarian\monthnamebulgarian % \end{macrocode} % Define abbreviated month names. This currently does the full % name, because I don't know the abbreviated versions. @@ -2536,14 +2743,16 @@ 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} +\fi}% +\global\let\shortmonthnamebulgarian\shortmonthnamebulgarian % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\datebulgarian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnamebulgarian[\@month]\ \number\@year~\cyrg.}} +\number\@day~\monthnamebulgarian[\@month]\ \number\@year~\cyrg.}}% +\global\let\datebulgarian\datebulgarian % \end{macrocode} %\iffalse % \begin{macrocode} @@ -2552,13 +2761,60 @@ Month numbers should go from 1 to 12}% %\fi %\iffalse % \begin{macrocode} +%<*dt-canadian.def> +% \end{macrocode} +%\fi +%\subsection{Compatibility with Babel (Language definition files)} +%\subsubsection{canadian} +% Identify file +% \begin{macrocode} +\ProvidesFile{dt-canadian.def}[2013/09/10]% +% \end{macrocode} +%\begin{macro}{\datecanadian} +% \begin{macrocode} +\global\let\datecanadian\usdate +% \end{macrocode} +%\end{macro} +%\begin{macro}{\monthnamecanadian} +% \begin{macrocode} +\global\let\monthnamecanadian\monthnameenglish +% \end{macrocode} +%\end{macro} +%\begin{macro}{\shortmonthnamecanadian} +% \begin{macrocode} +\global\let\shortmonthnamecanadian\shortmonthnameenglish +% \end{macrocode} +%\end{macro} +%\begin{macro}{\dayofweeknameidcanadian} +% \begin{macrocode} +\global\let\dayofweeknameidcanadian\dayofweeknameidenglish +% \end{macrocode} +%\end{macro} +%\begin{macro}{\shortdayofweeknamecanadian} +% \begin{macrocode} +\global\let\shortdayofweeknameidcanadian\shortdayofweeknameidenglish +% \end{macrocode} +%\end{macro} +%\begin{macro}{\ordinaldatecanadian} +% \begin{macrocode} +\providecommand*{\ordinaldatecanadian}[1]{#1}% +\global\let\ordinaldatecanadian\ordinaldatecanadian +% \end{macrocode} +%\end{macro} +%\iffalse +% \begin{macrocode} +%</dt-canadian.def> +% \end{macrocode} +%\fi +%\iffalse +% \begin{macrocode} %<*dt-catalan.def> % \end{macrocode} %\fi %\subsubsection{Catalan} % Identify file % \begin{macrocode} -\ProvidesFile{dt-catalan.def}[2004/10/31] +\ProvidesFile{dt-catalan.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -2582,7 +2838,8 @@ 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} +\fi}% +\global\let\monthnamecatalan\monthnamecatalan % \end{macrocode} % Define abbreviated month names. This currently does the full % name, because I don't know the abbreviated versions. @@ -2607,7 +2864,8 @@ 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} +\fi}% +\global\let\shortmonthnamecatalan\shortmonthnamecatalan % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} @@ -2615,7 +2873,8 @@ Month numbers should go from 1 (de gener) to 12 (de desembre)}% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day~\monthnamecatalan[\@month]\ de~\number\@year -}} +}}% +\global\let\datecatalan\datecatalan % \end{macrocode} %\iffalse % \begin{macrocode} @@ -2630,7 +2889,7 @@ Month numbers should go from 1 (de gener) to 12 (de desembre)}% %\subsubsection{Croatian} % Identify file % \begin{macrocode} -\ProvidesFile{dt-croatian.def}[2004/10/31] +\ProvidesFile{dt-croatian.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -2654,7 +2913,8 @@ 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} +\fi}% +\global\let\monthnamecroatian\monthnamecroatian % \end{macrocode} % Define abbreviated month names. This currently does the full % name, because I don't know the abbreviated versions. @@ -2679,14 +2939,41 @@ 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} +\fi}% +\global\let\shortmonthnamecroatian\shortmonthnamecroatian +% \end{macrocode} +% Translations provided by Ivan Kokan: +% \begin{macrocode} +\providecommand*{\dayofweeknameidcroatian}[1]{% +\ifcase#1\relax +\or nedjelja% +\or ponedjeljak% +\or utorak% +\or srijeda% +\or \v{c}etvrtak% +\or petak% +\or subota% +\fi}% +\global\let\dayofweeknameidcroatian\dayofweeknameidcroatian +\providecommand*{\shortdayofweeknameidcroatian}[1]{% +\ifcase#1\relax +\or ned% +\or pon% +\or uto% +\or sri% +\or \v{c}et% +\or pet% +\or sub% +\fi}% +\global\let\shortdayofweeknameidcroatian\shortdayofweeknameidcroatian % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\datecroatian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamecroatian[\@month]\space \number\@year.}} +\number\@day.~\monthnamecroatian[\@month]\space \number\@year.}}% +\global\let\datecroatian\datecroatian % \end{macrocode} %\iffalse % \begin{macrocode} @@ -2701,7 +2988,7 @@ Month numbers should go from 1 (sijecnja) to 12 (prosinca)}% %\subsubsection{Czech} % Identify file % \begin{macrocode} -\ProvidesFile{dt-czech.def}[2004/10/31] +\ProvidesFile{dt-czech.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -2725,7 +3012,8 @@ 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} +\fi}% +\global\let\monthnameczech\monthnameczech % \end{macrocode} % Define abbreviated month names. This currently does the full % name, because I don't know the abbreviated versions. @@ -2750,14 +3038,16 @@ 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} +\fi}% +\global\let\shortmonthnameczech\shortmonthnameczech % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\dateczech{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameczech[\@month]\space \number\@year}} +\number\@day.~\monthnameczech[\@month]\space \number\@year}}% +\global\let\dateczech\dateczech % \end{macrocode} %\iffalse % \begin{macrocode} @@ -2772,7 +3062,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Danish} % Identify file % \begin{macrocode} -\ProvidesFile{dt-danish.def}[2004/10/31] +\ProvidesFile{dt-danish.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -2796,14 +3086,16 @@ 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} +\fi}% +\global\let\monthnamedanish\monthnamedanish % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\datedanish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamedanish[\@month]\space \number\@year}} +\number\@day.~\monthnamedanish[\@month]\space \number\@year}}% +\global\let\datedanish\datedanish % \end{macrocode} %\iffalse % \begin{macrocode} @@ -2818,7 +3110,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Dutch} % Identify file % \begin{macrocode} -\ProvidesFile{dt-dutch.def}[2004/10/31] +\ProvidesFile{dt-dutch.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -2842,14 +3134,16 @@ 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} +\fi}% +\global\let\monthnamedutch\monthnamedutch % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\datedutch{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnamedutch[\@month]\space \number\@year}} +\number\@day~\monthnamedutch[\@month]\space \number\@year}}% +\global\let\datedutch\datedutch % \end{macrocode} %\iffalse % \begin{macrocode} @@ -2864,7 +3158,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Esperanto} % Identify file % \begin{macrocode} -\ProvidesFile{dt-esperanto.def}[2004/10/31] +\ProvidesFile{dt-esperanto.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -2888,7 +3182,8 @@ 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} +\fi}% +\global\let\monthnameesperanto\monthnameesperanto % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} @@ -2896,7 +3191,8 @@ Month numbers should go from 1 to 12}% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day{--a}~de~\monthnameesperanto[\@month],\space -\number\@year}} +\number\@year}}% +\global\let\dateesperanto\dateesperanto % \end{macrocode} %\iffalse % \begin{macrocode} @@ -2911,7 +3207,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Estonian} % Identify file % \begin{macrocode} -\ProvidesFile{dt-estonian.def}[2004/10/31] +\ProvidesFile{dt-estonian.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -2935,7 +3231,8 @@ 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} +\fi}% +\global\let\monthnameestonian\monthnameestonian % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} @@ -2943,7 +3240,8 @@ Month numbers should go from 1 to 12}% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day.\space\monthnameestonian[\@month]\space -\number\@year.\space a.}} +\number\@year.\space a.}}% +\global\let\dateestonian\dateestonian % \end{macrocode} %\iffalse % \begin{macrocode} @@ -2958,7 +3256,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Finnish} % Identify file % \begin{macrocode} -\ProvidesFile{dt-finnish.def}[2004/10/31] +\ProvidesFile{dt-finnish.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -2982,14 +3280,16 @@ 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} +\fi}% +\global\let\monthnamefinnish\monthnamefinnish % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\datefinnish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamefinnish[\@month]\space \number\@year}} +\number\@day.~\monthnamefinnish[\@month]\space \number\@year}}% +\global\let\datefinnish\datefinnish % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3004,13 +3304,14 @@ Month numbers should go from 1 to 12}% %\subsubsection{French} % Identify file % \begin{macrocode} -\ProvidesFile{dt-french.def}[2010/09/21] +\ProvidesFile{dt-french.def}[2013/09/10]% % \end{macrocode} %\begin{macro}{\ordinaldatefrench} % French: % \begin{macrocode} \providecommand*{\ordinaldatefrench}[1]{% -#1\ifnum#1=1\ier\fi} +#1\ifnum#1=1\ier\fi}% +\global\let\ordinaldatefrench\ordinaldatefrench % \end{macrocode} %\end{macro} %\begin{macro}{\ier} @@ -3018,7 +3319,8 @@ Month numbers should go from 1 to 12}% %\changes{v2.47}{27 Oct 2005}{defined if it doesn't % already exist} % \begin{macrocode} -\providecommand*{\ier}{\textsuperscript{er}} +\providecommand*{\ier}{\textsuperscript{er}}% +\global\let\ier\ier % \end{macrocode} %\end{macro} % Define week day names. @@ -3032,7 +3334,8 @@ Month numbers should go from 1 to 12}% \or jeudi% \or vendredi% \or samedi% -\fi} +\fi}% +\global\let\dayofweeknameidfrench\dayofweeknameidfrench % \end{macrocode} % Define abbreviated week day names (are these correct?) % \begin{macrocode} @@ -3045,7 +3348,8 @@ Month numbers should go from 1 to 12}% \or jeu% \or ven% \or sam% -\fi} +\fi}% +\global\let\shortdayofweeknameidfrench\shortdayofweeknameidfrench % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3069,7 +3373,8 @@ 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} +\fi}% +\global\let\monthnamefrench\monthnamefrench % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} @@ -3077,7 +3382,8 @@ Month numbers should go from 1 (janvier) to 12 (decembre)}% \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}} +\monthnamefrench[\@month]\space \number\@year}}% +\global\let\datefrench\datefrench % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3092,7 +3398,7 @@ Month numbers should go from 1 (janvier) to 12 (decembre)}% %\subsubsection{Galician} % Identify file % \begin{macrocode} -\ProvidesFile{dt-galician.def}[2004/10/31] +\ProvidesFile{dt-galician.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3116,7 +3422,8 @@ 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} +\fi}% +\global\let\monthnamegalician\monthnamegalician % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} @@ -3124,7 +3431,8 @@ Month numbers should go from 1 to 12}% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day~de\space\monthnamegalician[\@month]\space -de~\number\@year}} +de~\number\@year}}% +\global\let\dategalician\dategalician % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3139,7 +3447,7 @@ de~\number\@year}} %\subsubsection{German} % Identify file % \begin{macrocode} -\ProvidesFile{dt-german.def}[2004/10/31] +\ProvidesFile{dt-german.def}[2010/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3163,7 +3471,8 @@ Month numbers should go from 1 to 12}% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 (janvier) to 12 (decembre)}% -\fi} +\fi}% +\global\let\monthnamegerman\monthnamegerman % \end{macrocode} % The following week day names were supplied by Uwe Bieling: % \begin{macrocode} @@ -3176,7 +3485,8 @@ Month numbers should go from 1 (janvier) to 12 (decembre)}% \or Donnerstag% \or Freitag% \or Samstag% -\fi} +\fi}% +\global\let\dayofweeknameidgerman\dayofweeknameidgerman % \end{macrocode} % \begin{macrocode} \providecommand{\shortdayofweeknameidgerman}[1]{% @@ -3188,14 +3498,16 @@ Month numbers should go from 1 (janvier) to 12 (decembre)}% \or Do% \or Fr% \or Sa% -\fi} +\fi}% +\global\let\shortdayofweeknameidgerman\shortdayofweeknameidgerman % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\dategerman{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamegerman[\@month]\space\number\@year}} +\number\@day.~\monthnamegerman[\@month]\space\number\@year}}% +\global\let\dategerman\dategerman % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3210,7 +3522,7 @@ Month numbers should go from 1 (janvier) to 12 (decembre)}% %\subsubsection{Greek} % Identify file % \begin{macrocode} -\ProvidesFile{dt-greek.def}[2004/10/31] +\ProvidesFile{dt-greek.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3234,14 +3546,16 @@ 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} +\fi}% +\global\let\monthnamegreek\monthnamegreek % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\dategreek{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day\space\monthnamegreek[\@month]\space\number\@year}} +\number\@day\space\monthnamegreek[\@month]\space\number\@year}}% +\global\let\dategreek\dategreek % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3256,12 +3570,12 @@ Month numbers should go from 1 to 12}% %\subsubsection{Hebrew} % Identify file % \begin{macrocode} -\ProvidesFile{dt-hebrew.def}[2004/10/31] +\ProvidesFile{dt-hebrew.def}[2013/09/10]% % \end{macrocode} % Babel already provides Hebrew month names, so just provide a % synonym. % \begin{macrocode} -\let\monthnamehebrew=\hebmonth +\global\let\monthnamehebrew\hebmonth % \end{macrocode} % Redefine declaration to switch to this format. (This uses % |\hebdate| which is defined by babel.) @@ -3269,7 +3583,8 @@ Month numbers should go from 1 to 12}% \DeclareRobustCommand*\datehebrew{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\hebdate\@day\@month\@year}} +\hebdate\@day\@month\@year}}% +\global\let\datehebrew\datehebrew % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3284,7 +3599,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Icelandic} % Identify file % \begin{macrocode} -\ProvidesFile{dt-icelandic.def}[2004/10/31] +\ProvidesFile{dt-icelandic.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3293,29 +3608,31 @@ Month numbers should go from 1 to 12}% \ifcase\@orgargctr \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\or janúar% -\or febrúar% +\or jan\'uar% +\or febr\'uar% \or mars% -\or apríl% -\or maí% -\or júní% -\or júlí% -\or ágúst% +\or apr\'il% +\or ma\'i% +\or j\'un\'i% +\or j\'ul\'i% +\or \'ag\'ust% \or september% -\or október% -\or nóvember% +\or okt\'ober% +\or n\'ovember% \or desembe% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnameicelandic\monthnameicelandic % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\dateicelandic{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameicelandic[\@month]\space\number\@year}} +\number\@day.~\monthnameicelandic[\@month]\space\number\@year}}% +\global\let\dateicelandic\dateicelandic % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3330,7 +3647,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Irish} % Identify file % \begin{macrocode} -\ProvidesFile{dt-irish.def}[2004/10/31] +\ProvidesFile{dt-irish.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3354,14 +3671,16 @@ 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} +\fi}% +\global\let\monthnameirish\monthnameirish % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\dateirish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day\space\monthnameirish[\@month]\space\number\@year}} +\number\@day\space\monthnameirish[\@month]\space\number\@year}}% +\global\let\dateirish\dateirish % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3375,7 +3694,7 @@ Month numbers should go from 1 to 12}% %\fi %\subsubsection{Italian} % \begin{macrocode} -\ProvidesFile{dt-italian.def}[2008/01/22] +\ProvidesFile{dt-italian.def}[2013/09/10]% % \end{macrocode} % Translations provided by Giada Ermacora % \begin{macrocode} @@ -3388,7 +3707,8 @@ Month numbers should go from 1 to 12}% \or gioved\`{\i}% \or venerd\`{\i}% \or sabato% -\fi} +\fi}% +\global\let\dayofweeknameiditalian\dayofweeknameiditalian % \end{macrocode} % \begin{macrocode} \providecommand{\shortdayofweeknameiditalian}[1]{% @@ -3400,7 +3720,8 @@ Month numbers should go from 1 to 12}% \or gio% \or ven% \or sab% -\fi} +\fi}% +\global\let\shortdayofweeknameiditalian\shortdayofweeknameiditalian % \end{macrocode} % \begin{macrocode} \providecommand{\monthnameitalian}[1][\month]{% @@ -3420,7 +3741,8 @@ Month numbers should go from 1 to 12}% \or novembre% \or dicembre% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (gennaio) to 12 (dicembre)}% -\fi} +\fi}% +\global\let\monthnameitalian\monthnameitalian % \end{macrocode} % \begin{macrocode} \providecommand{\shortmonthnameitalian}[1][\month]{% @@ -3441,13 +3763,15 @@ Month numbers should go from 1 to 12}% \or dic% \else% \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (gen) to 12 (dic)}% -\fi} +\fi}% +\global\let\shortmonthnameitalian\shortmonthnameitalian % \end{macrocode} % \begin{macrocode} \DeclareRobustCommand*\dateitalian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day\space\monthnameitalian[\@month]\space\number\@year}} +\number\@day\space\monthnameitalian[\@month]\space\number\@year}}% +\global\let\dateitalian\dateitalian % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3462,7 +3786,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Latin} % Identify file % \begin{macrocode} -\ProvidesFile{dt-latin.def}[2004/10/31] +\ProvidesFile{dt-latin.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3486,7 +3810,8 @@ 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} +\fi}% +\global\let\monthnamelatin\monthnamelatin % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} @@ -3496,7 +3821,8 @@ Month numbers should go from 1 to 12}% \check@mathfonts\fontsize\sf@size\z@\math@fontsfalse\selectfont \uppercase\expandafter{\romannumeral\@day}% ~\monthnamelatin[\@month]\space -{\uppercase\expandafter{\romannumeral\@year}}}} +{\uppercase\expandafter{\romannumeral\@year}}}}% +\global\let\datelatin\datelatin % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3511,7 +3837,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{LSorbian} % Identify file % \begin{macrocode} -\ProvidesFile{dt-lsorbian.def}[2004/10/31] +\ProvidesFile{dt-lsorbian.def}[2013/09/10]% % \end{macrocode} % Define new month names. % \begin{macrocode} @@ -3535,7 +3861,8 @@ 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} +\fi}% +\global\let\monthnamenewlsorbian\monthnamenewlsorbian % \end{macrocode} % Define old month names. % \begin{macrocode} @@ -3559,29 +3886,32 @@ 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} +\fi}% +\global\let\monthnameoldlsorbian\monthnameoldlsorbian % \end{macrocode} % Set the default month names. % \begin{macrocode} -\let\monthnamelsorbian=\monthnamenewlsorbian +\global\let\monthnamelsorbian\monthnamenewlsorbian % \end{macrocode} % (Re)Define declaration to switch to new format. % \begin{macrocode} \DeclareRobustCommand*\newdatelsorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamenewlsorbian[\@month]\space\number\@year}} +\number\@day.~\monthnamenewlsorbian[\@month]\space\number\@year}}% +\global\let\newdatelsorbian\newdatelsorbian % \end{macrocode} % (Re)Define declaration to switch to old format. % \begin{macrocode} \DeclareRobustCommand*\olddatelsorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameoldlsorbian[\@month]\space\number\@year}} +\number\@day.~\monthnameoldlsorbian[\@month]\space\number\@year}}% +\global\let\olddatelsorbian\olddatelsorbian % \end{macrocode} % Set the default date format. % \begin{macrocode} -\let\datelsorbian\newdatelsorbian +\global\let\datelsorbian\newdatelsorbian % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3596,7 +3926,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Magyar} % Identify file % \begin{macrocode} -\ProvidesFile{dt-magyar.def}[2004/10/31] +\ProvidesFile{dt-magyar.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3620,14 +3950,16 @@ 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} +\fi}% +\global\let\monthnamemagyar\monthnamemagyar % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\datemagyar{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@year.~\monthnamemagyar[\@month]\space\number\@day.}} +\number\@year.~\monthnamemagyar[\@month]\space\number\@day.}}% +\global\let\datemagyar\datemagyar % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3642,7 +3974,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{NAustrian} % Identify file % \begin{macrocode} -\ProvidesFile{dt-naustrian.def}[2004/10/31] +\ProvidesFile{dt-naustrian.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3666,14 +3998,16 @@ 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} +\fi}% +\global\let\monthnamenaustrian\monthnamenaustrian % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\datenaustrian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamenaustrian[\@month]\space\number\@year}} +\number\@day.~\monthnamenaustrian[\@month]\space\number\@year}}% +\global\let\datenaustrian\datenaustrian % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3682,13 +4016,60 @@ Month numbers should go from 1 to 12}% %\fi %\iffalse % \begin{macrocode} +%<*dt-newzealand.def> +% \end{macrocode} +%\fi +%\subsection{Compatibility with Babel (Language definition files)} +%\subsubsection{newzealand} +% Identify file +% \begin{macrocode} +\ProvidesFile{dt-newzealand.def}[2013/09/10]% +% \end{macrocode} +%\begin{macro}{\datenewzealand} +% \begin{macrocode} +\global\let\datenewzealand\usdate +% \end{macrocode} +%\end{macro} +%\begin{macro}{\monthnamenewzealand} +% \begin{macrocode} +\global\let\monthnamenewzealand\monthnameenglish +% \end{macrocode} +%\end{macro} +%\begin{macro}{\shortmonthnamenewzealand} +% \begin{macrocode} +\global\let\shortmonthnamenewzealand\shortmonthnameenglish +% \end{macrocode} +%\end{macro} +%\begin{macro}{\dayofweeknameidnewzealand} +% \begin{macrocode} +\global\let\dayofweeknameidnewzealand\dayofweeknameidenglish +% \end{macrocode} +%\end{macro} +%\begin{macro}{\shortdayofweeknamenewzealand} +% \begin{macrocode} +\global\let\shortdayofweeknameidnewzealand\shortdayofweeknameidenglish +% \end{macrocode} +%\end{macro} +%\begin{macro}{\ordinaldatenewzealand} +% \begin{macrocode} +\providecommand*{\ordinaldatenewzealand}[1]{#1}% +\global\let\ordinaldatenewzealand\ordinaldatenewzealand +% \end{macrocode} +%\end{macro} +%\iffalse +% \begin{macrocode} +%</dt-newzealand.def> +% \end{macrocode} +%\fi +%\iffalse +% \begin{macrocode} %<*dt-ngerman.def> % \end{macrocode} %\fi %\subsubsection{NGerman} % Identify file % \begin{macrocode} -\ProvidesFile{dt-ngerman.def}[2004/10/31] +\ProvidesFile{dt-ngerman.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3712,7 +4093,8 @@ 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} +\fi}% +\global\let\monthnamengerman\monthnamengerman % \end{macrocode} % The following week day names were supplied by Uwe Bieling: % \begin{macrocode} @@ -3725,7 +4107,8 @@ Month numbers should go from 1 to 12}% \or Donnerstag% \or Freitag% \or Samstag% -\fi} +\fi}% +\global\let\dayofweeknameidngerman\dayofweeknameidngerman % \end{macrocode} % \begin{macrocode} \providecommand{\shortdayofweeknameidngerman}[1]{% @@ -3737,14 +4120,16 @@ Month numbers should go from 1 to 12}% \or Do% \or Fr% \or Sa% -\fi} +\fi}% +\global\let\shortdayofweeknameidngerman\shortdayofweeknameidngerman % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\datengerman{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamengerman[\@month]\space\number\@year}} +\number\@day.~\monthnamengerman[\@month]\space\number\@year}}% +\global\let\datengerman\datengerman % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3759,7 +4144,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Norsk} % Identify file % \begin{macrocode} -\ProvidesFile{dt-norsk.def}[2004/10/31] +\ProvidesFile{dt-norsk.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3783,14 +4168,16 @@ 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} +\fi}% +\global\let\monthnamenorsk\monthnamenorsk % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\datenorsk{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamenorsk[\@month]\space\number\@year}} +\number\@day.~\monthnamenorsk[\@month]\space\number\@year}}% +\global\let\datenorsk\datenorsk % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3805,7 +4192,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Polish} % Identify file % \begin{macrocode} -\ProvidesFile{dt-polish.def}[2004/10/31] +\ProvidesFile{dt-polish.def}[2013/09/10]% % \end{macrocode} % Define month names. %\begin{macro}{\monthnamepolish} @@ -3831,6 +4218,7 @@ Month numbers should go from 1 to 12}% \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% \fi} +\global\let\monthnamepolish\monthnamepolish % \end{macrocode} %\end{macro} % (Re)Define declaration to switch to this format. @@ -3838,7 +4226,8 @@ Month numbers should go from 1 to 12}% \DeclareRobustCommand*\datepolish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnamepolish[\@month]\space\number\@year}} +\number\@day~\monthnamepolish[\@month]\space\number\@year}}% +\global\let\datepolish\datepolish % \end{macrocode} % The week names were provided by Piotr Kempa %\begin{macro}{\dayofweeknameidpolish} @@ -3852,7 +4241,8 @@ Month numbers should go from 1 to 12}% \or Czwartek% \or Pi\k atek% \or Sobota% -\fi} +\fi}% +\global\let\dayofweeknameidpolish\dayofweeknameidpolish % \end{macrocode} %\end{macro} %\begin{macro}{\shortdayofweeknameidpolish} @@ -3866,7 +4256,8 @@ Month numbers should go from 1 to 12}% \or Czw.% \or Pt.% \or Sob.% -\fi} +\fi}% +\global\let\shortdayofweeknameidpolish\shortdayofweeknameidpolish % \end{macrocode} %\end{macro} %\iffalse @@ -3882,7 +4273,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Portuges} % Identify file % \begin{macrocode} -\ProvidesFile{dt-portuges.def}[2004/10/31] +\ProvidesFile{dt-portuges.def}[2013/09/10]% % \end{macrocode} % Define week day names. % \begin{macrocode} @@ -3895,7 +4286,8 @@ Month numbers should go from 1 to 12}% \or quinta-feira% \or sexta-feira% \or sabado% -\fi} +\fi}% +\global\let\dayofweeknameidportuges\dayofweeknameidportuges % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3919,7 +4311,8 @@ 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} +\fi}% +\global\let\monthnameportuges\monthnameportuges % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} @@ -3927,7 +4320,8 @@ Month numbers should go from 1 to 12}% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day\space de\space\monthnameportuges[\@month]\space -de\space\number\@year}} +de\space\number\@year}}% +\global\let\dateportuges\dateportuges % \end{macrocode} %\iffalse % \begin{macrocode} @@ -3942,7 +4336,7 @@ de\space\number\@year}} %\subsubsection{Romanian} % Identify file % \begin{macrocode} -\ProvidesFile{dt-romanian.def}[2004/10/31] +\ProvidesFile{dt-romanian.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3966,14 +4360,16 @@ 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} +\fi}% +\global\let\monthnameromanian\monthnameromanian % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\dateromanian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnameromanian[\@month]\space\number\@year}} +\number\@day~\monthnameromanian[\@month]\space\number\@year}}% +\global\let\dateromanian\dateromanian % \end{macrocode} % The following were provided by Daniel Dumitriu: % \begin{macrocode} @@ -3986,7 +4382,8 @@ Month numbers should go from 1 to 12}% \or joi% \or vineri% \or s\^{a}mb\u{a}t\u{a}% -\fi} +\fi}% +\global\let\dayofweeknameidromanian\dayofweeknameidromanian % \end{macrocode} % % \begin{macrocode} @@ -3999,7 +4396,8 @@ Month numbers should go from 1 to 12}% \or J% \or V% \or S% -\fi} +\fi}% +\global\let\shortdayofweeknameidromanian\shortdayofweeknameidromanian % \end{macrocode} %\iffalse % \begin{macrocode} @@ -4014,7 +4412,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Russian} % Identify file % \begin{macrocode} -\ProvidesFile{dt-russian.def}[2004/10/31] +\ProvidesFile{dt-russian.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -4038,14 +4436,16 @@ 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} +\fi}% +\global\let\monthnamerussian\monthnamerussian % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\daterussian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnamerussian[\@month]\ \number\@year~\cyrg.}} +\number\@day~\monthnamerussian[\@month]\ \number\@year~\cyrg.}}% +\global\let\daterussian\daterussian % \end{macrocode} %\iffalse % \begin{macrocode} @@ -4060,7 +4460,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Samin} % Identify file % \begin{macrocode} -\ProvidesFile{dt-samin.def}[2004/10/31] +\ProvidesFile{dt-samin.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -4084,7 +4484,8 @@ 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} +\fi}% +\global\let\monthnamesamin\monthnamesamin % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} @@ -4092,7 +4493,8 @@ Month numbers should go from 1 to 12}% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \monthnamesamin[\@month]\space\number\@day.~b.\space -\number\@year}} +\number\@year}}% +\global\let\datesamin\datesamin % \end{macrocode} %\iffalse % \begin{macrocode} @@ -4107,7 +4509,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Scottish} % Identify file % \begin{macrocode} -\ProvidesFile{dt-scottish.def}[2004/10/31] +\ProvidesFile{dt-scottish.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -4131,14 +4533,16 @@ 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} +\fi}% +\global\let\monthnamescottish\monthnamescottish % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\datescottish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day\space\monthnamescottish[\@month]\space \number\@year}} +\number\@day\space\monthnamescottish[\@month]\space \number\@year}}% +\global\let\datescottish\datescottish % \end{macrocode} %\iffalse % \begin{macrocode} @@ -4153,7 +4557,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Serbian} % Identify file % \begin{macrocode} -\ProvidesFile{dt-serbian.def}[2004/10/31] +\ProvidesFile{dt-serbian.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -4177,14 +4581,16 @@ 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} +\fi}% +\global\let\monthnameserbian\monthnameserbian % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\dateserbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameserbian[\@month]\space \number\@year}} +\number\@day.~\monthnameserbian[\@month]\space \number\@year}}% +\global\let\dateserbian\dateserbian % \end{macrocode} %\iffalse % \begin{macrocode} @@ -4199,7 +4605,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Slovak} % Identify file % \begin{macrocode} -\ProvidesFile{dt-slovak.def}[2004/10/31] +\ProvidesFile{dt-slovak.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -4222,14 +4628,16 @@ numbers should go from 1 to 12}% \or decembra% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnameslovak\monthnameslovak % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\dateslovak{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameslovak[\@month]\space \number\@year}} +\number\@day.~\monthnameslovak[\@month]\space \number\@year}}% +\global\let\dateslovak\dateslovak % \end{macrocode} %\iffalse % \begin{macrocode} @@ -4244,7 +4652,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Slovene} % Identify file % \begin{macrocode} -\ProvidesFile{dt-slovene.def}[2004/10/31] +\ProvidesFile{dt-slovene.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -4267,14 +4675,16 @@ Month numbers should go from 1 to 12}% \or december% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnameslovene\monthnameslovene % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\dateslovene{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameslovene[\@month]\space \number\@year}} +\number\@day.~\monthnameslovene[\@month]\space \number\@year}}% +\global\let\dateslovene\dateslovene % \end{macrocode} %\iffalse % \begin{macrocode} @@ -4289,7 +4699,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Spanish} % Identify file % \begin{macrocode} -\ProvidesFile{dt-spanish.def}[2004/10/31] +\ProvidesFile{dt-spanish.def}[2013/09/10]% % \end{macrocode} % Define week day names. % \begin{macrocode} @@ -4302,7 +4712,8 @@ Month numbers should go from 1 to 12}% \or jueves% \or viernes% \or s\'abado% -\fi} +\fi}% +\global\let\dayofweeknameidspanish\dayofweeknameidspanish % \end{macrocode} % Define abbreviated week day names (is this correct?) % \begin{macrocode} @@ -4315,7 +4726,8 @@ Month numbers should go from 1 to 12}% \or jue% \or vie% \or s\'ab% -\fi} +\fi}% +\global\let\shortdayofweeknameidspanish\shortdayofweeknameidspanish % \end{macrocode} % Define month names. % \begin{macrocode} @@ -4338,14 +4750,16 @@ Month numbers should go from 1 to 12}% \or diciembre% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnamespanish\monthnamespanish % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\datespanish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~de \monthnamespanish[\@month]\ de~\number\@year}} +\number\@day~de \monthnamespanish[\@month]\ de~\number\@year}}% +\global\let\datespanish\datespanish % \end{macrocode} %\iffalse % \begin{macrocode} @@ -4360,7 +4774,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Swedish} % Identify file % \begin{macrocode} -\ProvidesFile{dt-swedish.def}[2004/10/31] +\ProvidesFile{dt-swedish.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -4383,7 +4797,8 @@ Month numbers should go from 1 to 12}% \or december% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnameswedish\monthnameswedish % \end{macrocode} % (Re)Define declaration to switch to this format % (day monthname year). @@ -4391,25 +4806,28 @@ Month numbers should go from 1 to 12}% \DeclareRobustCommand*\dateswedish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnameswedish[\@month]\space\number\@year}} +\number\@day~\monthnameswedish[\@month]\space\number\@year}}% +\global\let\dateswedish\dateswedish % \end{macrocode} % (Re)Define declaration to switch to this format % (two-digit numerical). % \begin{macrocode} \DeclareRobustCommand*\datesymd{% -\renewcommand{\formatdate}[3]{% -\@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@year-\two@digits\@month-\two@digits\@day} -} + \renewcommand{\formatdate}[3]{% + \@day=##1\relax\@month=##2\relax\@year=##3\relax + \number\@year-\two@digits\@month-\two@digits\@day}% +}% +\global\let\datesymd\datesymd % \end{macrocode} % (Re)Define declaration to switch to this format % (numerical). % \begin{macrocode} \DeclareRobustCommand*\datesdmy{% -\renewcommand{\formatdate}[3]{% -\@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day/\number\@month\space\number\@year} -} + \renewcommand{\formatdate}[3]{% + \@day=##1\relax\@month=##2\relax\@year=##3\relax + \number\@day/\number\@month\space\number\@year}% +}% +\global\let\datesdmy\datesdmy % \end{macrocode} %\iffalse % \begin{macrocode} @@ -4424,7 +4842,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Turkish} % Identify file % \begin{macrocode} -\ProvidesFile{dt-turkish.def}[2004/10/31] +\ProvidesFile{dt-turkish.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -4447,14 +4865,16 @@ Month numbers should go from 1 to 12}% \or Aral\i{}k% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnameturkish\monthnameturkish % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\dateturkish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnameturkish[\@month]\space\number\@year}} +\number\@day~\monthnameturkish[\@month]\space\number\@year}}% +\global\let\dateturkish\dateturkish % \end{macrocode} %\iffalse % \begin{macrocode} @@ -4469,36 +4889,36 @@ Month numbers should go from 1 to 12}% %\subsubsection{UKenglish} % Identify file % \begin{macrocode} -\ProvidesFile{dt-UKenglish.def}[2010/07/07] +\ProvidesFile{dt-UKenglish.def}[2013/09/10]% % \end{macrocode} %\begin{macro}{\dateUKenglish} % \begin{macrocode} -\let\dateUKenglish\longdate +\global\let\dateUKenglish\longdate % \end{macrocode} %\end{macro} %\begin{macro}{\monthnameUKenglish} % \begin{macrocode} -\let\monthnameUKenglish\monthnameenglish +\global\let\monthnameUKenglish\monthnameenglish % \end{macrocode} %\end{macro} %\begin{macro}{\shortmonthnameUKenglish} % \begin{macrocode} -\let\shortmonthnameUKenglish\shortmonthnameenglish +\global\let\shortmonthnameUKenglish\shortmonthnameenglish % \end{macrocode} %\end{macro} %\begin{macro}{\dayofweeknameidUKenglish} % \begin{macrocode} -\let\dayofweeknameidUKenglish\dayofweeknameidenglish +\global\let\dayofweeknameidUKenglish\dayofweeknameidenglish % \end{macrocode} %\end{macro} %\begin{macro}{\shortdayofweeknameidUKenglish} % \begin{macrocode} -\let\shortdayofweeknameidUKenglish\shortdayofweeknameidenglish +\global\let\shortdayofweeknameidUKenglish\shortdayofweeknameidenglish % \end{macrocode} %\end{macro} %\begin{macro}{\ordinaldateUKenglish} % \begin{macrocode} -\let\ordinaldateUKenglish\ordinaldateenglish +\global\let\ordinaldateUKenglish\ordinaldateenglish % \end{macrocode} %\end{macro} %\iffalse @@ -4514,7 +4934,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Ukraine} % Identify file % \begin{macrocode} -\ProvidesFile{dt-ukraineb.def}[2004/10/31] +\ProvidesFile{dt-ukraineb.def}[2013/09/10]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -4537,14 +4957,16 @@ Month numbers should go from 1 to 12}% \cyrg\cyrr\cyru\cyrd\cyrn\cyrya% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnameukraineb\monthnameukraineb % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} \DeclareRobustCommand*\dateukraineb{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnameukraineb[\@month]\space\number\@year~\cyrr.}} +\number\@day~\monthnameukraineb[\@month]\space\number\@year~\cyrr.}}% +\global\let\dateukraineb\dateukraineb % \end{macrocode} %\iffalse % \begin{macrocode} @@ -4559,36 +4981,37 @@ Month numbers should go from 1 to 12}% %\subsubsection{USenglish} % Identify file % \begin{macrocode} -\ProvidesFile{dt-USenglish.def}[2010/07/07] +\ProvidesFile{dt-USenglish.def}[2013/09/10]% % \end{macrocode} %\begin{macro}{\dateUSenglish} % \begin{macrocode} -\let\dateUSenglish\usdate +\global\let\dateUSenglish\usdate % \end{macrocode} %\end{macro} %\begin{macrocode}{\monthnameUSenglish} % \begin{macrocode} -\let\monthnameUSenglish\monthnameenglish +\global\let\monthnameUSenglish\monthnameenglish % \end{macrocode} %\end{macro} %\begin{macro}{\shortmonthnameUSenglish} % \begin{macrocode} -\let\shortmonthnameUSenglish\shortmonthnameenglish +\global\let\shortmonthnameUSenglish\shortmonthnameenglish % \end{macrocode} %\end{macro} %\begin{macro}{\dayofweeknameidUSenglish} % \begin{macrocode} -\let\dayofweeknameidUSenglish\dayofweeknameidenglish +\global\let\dayofweeknameidUSenglish\dayofweeknameidenglish % \end{macrocode} %\end{macro} %\begin{macrocode}{\shortdayofweeknameidUSenglish} % \begin{macrocode} -\let\shortdayofweeknameidUSenglish\shortdayofweeknameidenglish +\global\let\shortdayofweeknameidUSenglish\shortdayofweeknameidenglish % \end{macrocode} %\end{macro} %\begin{macro}{\ordinaldateUSenglish} % \begin{macrocode} -\newcommand*{\ordinaldateUSenglish}[1]{#1} +\newcommand*{\ordinaldateUSenglish}[1]{#1}% +\global\let\ordinaldateUSenglish\ordinaldateUSenglish % \end{macrocode} %\end{macro} %\iffalse @@ -4604,7 +5027,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{USorbian} % Identify file % \begin{macrocode} -\ProvidesFile{dt-usorbian.def}[2004/10/31] +\ProvidesFile{dt-usorbian.def}[2013/09/10]% % \end{macrocode} % Define (new) month names. % \begin{macrocode} @@ -4627,7 +5050,8 @@ Month numbers should go from 1 to 12}% \or decembra% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnamenewusorbian\monthnamenewusorbian % \end{macrocode} % Define (old) month names. % \begin{macrocode} @@ -4649,29 +5073,32 @@ Month numbers should go from 1 to 12}% \or nazymnika% \or hodownika% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnameoldusorbian\monthnameoldusorbian % \end{macrocode} % Set up default % \begin{macrocode} -\let\monthnameusorbian=\monthnamenewusorbian +\global\let\monthnameusorbian\monthnamenewusorbian % \end{macrocode} % (Re)Define declaration to switch to (new) format. % \begin{macrocode} \DeclareRobustCommand*\newdateusorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamenewusorbian[\@month]\space\number\@year}} +\number\@day.~\monthnamenewusorbian[\@month]\space\number\@year}}% +\global\let\newdateusorbian\newdateusorbian % \end{macrocode} % (Re)Define declaration to switch to (old) format. % \begin{macrocode} \DeclareRobustCommand*\olddateusorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameoldusorbian[\@month]\space\number\@year}} +\number\@day.~\monthnameoldusorbian[\@month]\space\number\@year}}% +\global\let\olddateusorbian\olddateusorbian % \end{macrocode} % Set up default % \begin{macrocode} -\let\dateusorbian\newdateusorbian +\global\let\dateusorbian\newdateusorbian % \end{macrocode} %\iffalse % \begin{macrocode} @@ -4686,13 +5113,14 @@ Month numbers should go from 1 to 12}% %\subsubsection{Welsh} % Identify file % \begin{macrocode} -\ProvidesFile{dt-welsh.def}[2010/09/21] +\ProvidesFile{dt-welsh.def}[2013/09/10]% % \end{macrocode} %\begin{macro}{\ordinaldatewelsh} % Welsh version: % \begin{macrocode} \providecommand*{\ordinaldatewelsh}[1]{% -#1\ifnum#1=1\/\textsuperscript{a\~n}\fi} +#1\ifnum#1=1\/\textsuperscript{a\~n}\fi}% +\global\let\ordinaldatewelsh\ordinaldatewelsh % \end{macrocode} %\end{macro} % Define month names. @@ -4716,7 +5144,8 @@ Month numbers should go from 1 to 12}% \or Rhagfyr% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnamewelsh\monthnamewelsh % \end{macrocode} % (Re)Define declaration to switch to this format. % \begin{macrocode} @@ -4725,7 +5154,8 @@ Month numbers should go from 1 to 12}% \@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}} +\monthnamewelsh[\@month]\space\number\@year}}% +\global\let\datewelsh\datewelsh % \end{macrocode} % \subsection{LaTeX2HTML Perl Script} %\iffalse @@ -6669,6 +7099,17 @@ sub set_timeformat_xxivtime{ $timeformat = "TWODIGIT{THEHOUR}\\timeseparator TWODIGIT{THEMINUTE}"; } +sub format_xxivtime{ + local($hour,$min)=@_; + + sprintf "%02d\\timeseparator %02d", $hour, $min; +} + +sub do_cmd_xxivtime{ + + join('', &format_xxivtime($global{HOUR},$global{MINUTE}), $_[0]); +} + sub format_ampmtime{ local($hour,$min)=@_; local($timestring); @@ -6677,15 +7118,13 @@ sub format_ampmtime{ $timestring = sprintf "%d\\timeseparator %02d", $hourxii, $min; $timestring .= ($hour < 12 ? - "\\amname " : ($hour = 12 ? " \\noon" :"\\pmname ")); + "\\amname " : (($hour eq 12 and $min eq 0) ? " \\noon" :"\\pmname ")); $timestring } sub do_cmd_ampmtime{ - local($_) = @_; - - join('', &format_ampm($global{HOUR},$global{MINUTE}), $_[0]); + join('', &format_ampmtime($global{HOUR},$global{MINUTE}), $_[0]); } sub do_cmd_timeformat_at_ampmtime{ diff --git a/Master/texmf-dist/source/latex/datetime/datetime.ins b/Master/texmf-dist/source/latex/datetime/datetime.ins index 81053edca1f..a80c911d6b8 100644 --- a/Master/texmf-dist/source/latex/datetime/datetime.ins +++ b/Master/texmf-dist/source/latex/datetime/datetime.ins @@ -1,10 +1,10 @@ -% datetime.ins generated using makedtx version 0.94b 2010/9/21 10:02 +% datetime.ins generated using makedtx version 0.94b 2013/9/10 11:38 \input docstrip \preamble datetime.dtx - Copyright 2010 Nicola Talbot + Copyright 2013 Nicola Talbot This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 @@ -18,16 +18,20 @@ The Current Maintainer of this work is Nicola Talbot. - This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. + This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. \endpreamble \askforoverwritefalse -\generate{\file{datetime.sty}{\usepreamble\defaultpreamble +\generate{\file{datetime-defaults.sty}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{datetime.dtx}{datetime-defaults.sty,package}} +\file{datetime.sty}{\usepreamble\defaultpreamble \usepostamble\defaultpostamble\from{datetime.dtx}{datetime.sty,package}} \file{dt-american.def}{\usepreamble\defaultpreamble \usepostamble\defaultpostamble\from{datetime.dtx}{dt-american.def,package}} +\file{dt-australian.def}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{datetime.dtx}{dt-australian.def,package}} \file{dt-austrian.def}{\usepreamble\defaultpreamble \usepostamble\defaultpostamble\from{datetime.dtx}{dt-austrian.def,package}} \file{dt-bahasa.def}{\usepreamble\defaultpreamble @@ -40,6 +44,8 @@ \usepostamble\defaultpostamble\from{datetime.dtx}{dt-british.def,package}} \file{dt-bulgarian.def}{\usepreamble\defaultpreamble \usepostamble\defaultpostamble\from{datetime.dtx}{dt-bulgarian.def,package}} +\file{dt-canadian.def}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{datetime.dtx}{dt-canadian.def,package}} \file{dt-catalan.def}{\usepreamble\defaultpreamble \usepostamble\defaultpostamble\from{datetime.dtx}{dt-catalan.def,package}} \file{dt-croatian.def}{\usepreamble\defaultpreamble @@ -80,6 +86,8 @@ \usepostamble\defaultpostamble\from{datetime.dtx}{dt-magyar.def,package}} \file{dt-naustrian.def}{\usepreamble\defaultpreamble \usepostamble\defaultpostamble\from{datetime.dtx}{dt-naustrian.def,package}} +\file{dt-newzealand.def}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{datetime.dtx}{dt-newzealand.def,package}} \file{dt-ngerman.def}{\usepreamble\defaultpreamble \usepostamble\defaultpostamble\from{datetime.dtx}{dt-ngerman.def,package}} \file{dt-norsk.def}{\usepreamble\defaultpreamble diff --git a/Master/texmf-dist/tex/latex/datetime/datetime-defaults.sty b/Master/texmf-dist/tex/latex/datetime/datetime-defaults.sty new file mode 100644 index 00000000000..3604bda9cc8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime/datetime-defaults.sty @@ -0,0 +1,110 @@ +%% +%% This is file `datetime-defaults.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime.dtx (with options: `datetime-defaults.sty,package') +%% +%% datetime.dtx +%% Copyright 2013 Nicola Talbot +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesPackage{datetime-defaults}[2013/09/10] +\newcommand*{\ordinaldateenglish}[1]{\ordinalnum{#1}} +\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)}% + \or January% + \or February% + \or March% + \or April% + \or May% + \or June% + \or July% + \or August% + \or September% + \or October% + \or November% + \or December% + \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% + Month numbers should go from 1 (January) to 12 (December)}% + \fi +} +\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)}% + \or Jan% + \or Feb% + \or Mar% + \or Apr% + \or May% + \or Jun% + \or Jul% + \or Aug% + \or Sept% + \or Oct% + \or Nov% + \or Dec% + \else% + \PackageError{datetime}% + {Invalid Month number \the\@orgargctr}% + {Month numbers should go from 1 (jan) to 12 (dec)}% +\fi +} +\providecommand*{\dayofweeknameidenglish}[1]{% + \ifcase#1\relax + \or Sunday% + \or Monday% + \or Tuesday% + \or Wednesday% + \or Thursday% + \or Friday% + \or Saturday% + \fi +} +\providecommand*{\shortdayofweeknameidenglish}[1]{% + \ifcase#1\relax + \or Sun% + \or Mon% + \or Tue% + \or Wed% + \or Thu% + \or Fri% + \or Sat% +\fi} +\endinput +%% +%% End of file `datetime-defaults.sty'. diff --git a/Master/texmf-dist/tex/latex/datetime/datetime.sty b/Master/texmf-dist/tex/latex/datetime/datetime.sty index 50d22cb9c77..0959812110d 100644 --- a/Master/texmf-dist/tex/latex/datetime/datetime.sty +++ b/Master/texmf-dist/tex/latex/datetime/datetime.sty @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `datetime.sty,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -39,40 +39,56 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{datetime}[2010/09/21 v2.58 Date Time Package] +\ProvidesPackage{datetime}[2013/09/10 v2.59 Date Time Package] +\RequirePackage{etoolbox} \RequirePackage{fmtcount} +\@ifundefined{@FCmodulo}% +{% + \let\@FCmodulo\@modulo +}{} \RequirePackage{ifthen} +\RequirePackage{datetime-defaults} \newif\if@dt@nodate \@dt@nodatefalse \newcommand{\dateseparator}{/} \newif\if@dt@multilingual -\@ifpackageloaded{babel}{% -\@dt@multilingualtrue}{% -\@ifpackageloaded{ngerman}{% -\@dt@multilingualtrue}{\@dt@multilingualfalse}} -\newcommand*{\ordinaldateenglish}[1]{\ordinalnum{#1}} -\newcommand*{\ordinaldate}[1]{% -\if@dt@multilingual -\@ifundefined{ordinaldate\languagename}{#1}{% -\csname ordinaldate\languagename\endcsname{#1}}% -\else -\ordinalnum{#1}% -\fi} + \@ifpackageloaded{babel}% + {% + \@dt@multilingualtrue + }% + {% + \@ifpackageloaded{ngerman}% + {\@dt@multilingualtrue}% + {\@dt@multilingualfalse}% + } +\DeclareRobustCommand*{\ordinaldate}[1]{% + \if@dt@multilingual + \DTloadDefIfNotLoadedButExists{\languagename}% + \@ifundefined{ordinaldate\languagename}{#1}% + {% + \csname ordinaldate\languagename\endcsname{#1}% + }% + \else + \ordinalnum{#1}% + \fi +} \newif\ifshowdow \providecommand*{\formatdate}[3]{} \newcount\@day \newcount\@month \newcount\@year \DeclareRobustCommand*{\longdate}{% -\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}} + \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 -\@day=##1\relax\@month=##2\relax\@year=##3\relax -\ordinaldate{\the\@day}\ \shortmonthname[\@month], \the\@year}} + \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}% +} \let\twodigit\two@digits \DeclareRobustCommand*{\yyyymmdddate}{% \renewcommand*{\formatdate}[3]{% @@ -91,13 +107,13 @@ \DeclareRobustCommand*{\ddmmyydate}{\renewcommand*{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \@dtctr=\@year% -\@modulo{\@dtctr}{100}% +\@FCmodulo{\@dtctr}{100}% \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}% +\@FCmodulo{\@dtctr}{100}% \the\@day\dateseparator \the\@month\dateseparator \twodigit\@dtctr}} \DeclareRobustCommand*{\textdate}{% \renewcommand*{\formatdate}[3]{% @@ -122,13 +138,13 @@ \DeclareRobustCommand*{\mmddyydate}{\renewcommand*{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \@dtctr=\@year% -\@modulo{\@dtctr}{100}% +\@FCmodulo{\@dtctr}{100}% \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}% +\@FCmodulo{\@dtctr}{100}% \the\@month\dateseparator \the\@day\dateseparator \twodigit\@dtctr}} \newcommand*{\newdate}[4]{% \@ifundefined{date@#1@y}{% @@ -206,7 +222,7 @@ give your new date format a different name}}} \currenthour=\time\relax \divide\currenthour by 60\relax \currentminute=\time\relax - \@modulo{\currentminute}{60}% + \@FCmodulo{\currentminute}{60}% \currentsecond=0\relax }{% \def\@dt@gettime#1#2#3#4#5#6#7\relax{% @@ -230,7 +246,7 @@ give your new date format a different name}}} \c@MINUTE=##2% \c@TOHOUR=\c@HOURXII \advance\c@TOHOUR by 1\relax -\@modulo{\c@TOHOUR}{12}% +\@FCmodulo{\c@TOHOUR}{12}% \c@TOMINUTE=\c@MINUTE \advance\c@TOMINUTE by -60\relax \multiply\c@TOMINUTE by -1\relax @@ -301,6 +317,9 @@ settings}} \@ifundefined{extrasaustrian}{}{% \addto\extrasaustrian{#1}% }% + \@ifundefined{extrasaustralian}{}{% + \addto\extrasaustralian{#1}% + }% \@ifundefined{extrasbahasa}{}{% \addto\extrasbahasa{#1}% }% @@ -313,6 +332,9 @@ settings}} \@ifundefined{extrasbulgarian}{}{% \addto\extrasbulgarian{#1}% }% + \@ifundefined{extrascanadian}{}{% + \addto\extrascanadian{#1}% + }% \@ifundefined{extrascatalan}{}{% \addto\extrascatalan{#1}% }% @@ -373,6 +395,9 @@ settings}} \@ifundefined{extrasngerman}{}{% \addto\extrasngerman{#1}% }% + \@ifundefined{extrasnewzealand}{}{% + \addto\extrasnewzealand{#1}% + }% \@ifundefined{extrasnorsk}{}{% \addto\extrasnorsk{#1}% }% @@ -461,7 +486,8 @@ settings}} \renewcommand*{\timeseparator}{:}% } \newcommand*{\loadDTdef}[1]{% - \@ifundefined{ver@dt-#1.def}% + \DTifDefLoaded{#1}% + {}% {% \InputIfFileExists{dt-#1.def}% {}% @@ -470,8 +496,20 @@ settings}} definition file for `#1'}% }% }% - {}% } +\newcommand{\DTifDefLoaded}[3]{% + \@ifundefined{ver@dt-#1.def}{#3}{#2}% +} +\newcommand{\DTloadDefIfNotLoadedButExists}[1]{% + \DTifDefLoaded{#1}% + {}% + {% + \bgroup + \catcode `\@ 11\relax + \InputIfFileExists{dt-#1.def}{}{}% + \egroup + }% +}% \DeclareOption{austrian}{\loadDTdef{austrian}} \DeclareOption{american}{\loadDTdef{american}} \DeclareOption{bahasa}{\loadDTdef{bahasa}} @@ -521,207 +559,181 @@ settings}} \ProcessOptions \if@dt@nodate \PackageInfo{datetime}{option "nodate" used, so note defining -\string\dateformat} + \string\dateformat} \else -\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} \fi \if@dt@nodate -\PackageInfo{datetime}{option "nodate" used, so not defining -\string\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)}% -\or January% -\or February% -\or March% -\or April% -\or May% -\or June% -\or July% -\or August% -\or September% -\or October% -\or November% -\or 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} + \if@dt@multilingual + \DTloadDefIfNotLoadedButExists{\languagename}% + \@ifundefined{monthname\languagename}% + {% + \PackageWarning{datetime}{No month names provided for language + '\languagename'}% + \monthnameenglish[#1]% + }% + {\csname monthname\languagename\endcsname[#1]}% + \else + \monthnameenglish[#1]% + \fi +} \fi \if@dt@nodate -\PackageInfo{datetime}{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)}% -\or Jan% -\or Feb% -\or Mar% -\or Apr% -\or May% -\or Jun% -\or Jul% -\or Aug% -\or Sept% -\or Oct% -\or Nov% -\or Dec% -\else% -\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} + \if@dt@multilingual + \DTloadDefIfNotLoadedButExists{\languagename}% + \@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 +} \fi -\newif\ifleapyear +\newif\ifDTleapyear +\@ifundefined{ifleapyear} +{% + \def\ifleapyear{\ifDTLleapyear} + \let\leapyeartrue\DTLleapyeartrue + \let\leapyearfalse\DTLleapyearfalse +}% +{} \newcount\@dtctr \if@dt@nodate -\PackageInfo{datetime}{option "nodate" used, so not defining -\string\dayofweek \space or \string\shortdayofweek} + \PackageInfo{datetime}{option "nodate" used, so not defining + \string\dayofweek \space or \string\shortdayofweek} \else \providecommand*{\testifleapyear}[1]{% -\leapyearfalse -\@year=#1\relax -\@dtctr=\@year -\@modulo{\@dtctr}{400}% -\ifnum\@dtctr=0\relax -\leapyeartrue % year mod 400 = 0 => leap year -\else -\@dtctr=\@year -\@modulo{\@dtctr}{100}% -\ifnum\@dtctr=0\relax -\leapyearfalse % year mod 100 = 0 && year mod 400 != 0 => not a leap year -\else -\@dtctr=\@year -\@modulo{\@dtctr}{4}% -\ifnum\@dtctr=0\relax -\leapyeartrue % year mod 4 = 0 && year mod 100 != 0 => leap year -\fi -\fi -\fi + \DTleapyearfalse + \@year=#1\relax + \@dtctr=\@year + \@FCmodulo{\@dtctr}{400}% + \ifnum\@dtctr=0\relax + \DTleapyeartrue + \else + \@dtctr=\@year + \@FCmodulo{\@dtctr}{100}% + \ifnum\@dtctr=0\relax + \DTleapyearfalse + \else + \@dtctr=\@year + \@FCmodulo{\@dtctr}{4}% + \ifnum\@dtctr=0\relax + \DTleapyeartrue + \fi + \fi + \fi } \newcount\dayofyear \providecommand*{\computedayofyear}[3]{% -\testifleapyear{#3}% -\dayofyear=0\relax -\@day=#1\relax \@month=#2\relax \@year=#3\relax -\ifcase\@month -\or -\or \advance\dayofyear by 31\relax -\or \advance\dayofyear by 59\relax -\or \advance\dayofyear by 90\relax -\or \advance\dayofyear by 120\relax -\or \advance\dayofyear by 151\relax -\or \advance\dayofyear by 181\relax -\or \advance\dayofyear by 212\relax -\or \advance\dayofyear by 243\relax -\or \advance\dayofyear by 273\relax -\or \advance\dayofyear by 304\relax -\or \advance\dayofyear by 334\relax -\else -\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 + \testifleapyear{#3}% + \dayofyear=0\relax + \@day=#1\relax \@month=#2\relax \@year=#3\relax + \ifcase\@month + \or + \or \advance\dayofyear by 31\relax + \or \advance\dayofyear by 59\relax + \or \advance\dayofyear by 90\relax + \or \advance\dayofyear by 120\relax + \or \advance\dayofyear by 151\relax + \or \advance\dayofyear by 181\relax + \or \advance\dayofyear by 212\relax + \or \advance\dayofyear by 243\relax + \or \advance\dayofyear by 273\relax + \or \advance\dayofyear by 304\relax + \or \advance\dayofyear by 334\relax + \else + \PackageError{datetime}{Invalid month number}{The second argument to + \string\computedayofyear \space should lie in the range 1-12}% + \fi + \ifnum\@month>2\relax + \ifDTleapyear\advance\dayofyear by 1\relax\fi + \fi + \advance\dayofyear by \@day\relax } \newcount\dayofweek \providecommand*{\computedayofweek}[3]{% -\computedayofyear{#1}{#2}{#3}% -\@dtctr=#3\relax -\advance\@dtctr by -1901\relax -\@modulo{\@dtctr}{28}% -\dayofweek=\@dtctr -\divide\dayofweek by 4\relax -\advance\dayofweek by \@dtctr -\advance\dayofweek by 2\relax -\@modulo{\dayofweek}{7}% -\advance\dayofweek by \dayofyear -\advance\dayofweek by -1\relax -\@modulo{\dayofweek}{7}% -\advance\dayofweek by 1\relax} -\providecommand*{\dayofweeknameidenglish}[1]{% -\ifcase#1\relax -\or Sunday% -\or Monday% -\or Tuesday% -\or Wednesday% -\or Thursday% -\or Friday% -\or Saturday% -\fi} + \computedayofyear{#1}{#2}{#3}% + \@dtctr=#3\relax + \advance\@dtctr by -1901\relax + \@FCmodulo{\@dtctr}{28}% + \dayofweek=\@dtctr + \divide\dayofweek by 4\relax + \advance\dayofweek by \@dtctr + \advance\dayofweek by 2\relax + \@FCmodulo{\dayofweek}{7}% + \advance\dayofweek by \dayofyear + \advance\dayofweek by -1\relax + \@FCmodulo{\dayofweek}{7}% + \advance\dayofweek by 1\relax +} \providecommand*{\dayofweeknameid}[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}}% -\else -\dayofweeknameidenglish{#1}% -\fi + \if@dt@multilingual + \DTloadDefIfNotLoadedButExists{\languagename}% + \ifcsundef{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}% + }% + \else + \dayofweeknameidenglish{#1}% + \fi } \providecommand*{\dayofweekname}[3]{% -\computedayofweek{#1}{#2}{#3}% -\dayofweeknameid{\dayofweek}% + \computedayofweek{#1}{#2}{#3}% + \dayofweeknameid{\dayofweek}% } \providecommand*{\thisdayofweekname}{% -\dayofweekname{\day}{\month}{\year}} -\providecommand*{\shortdayofweeknameidenglish}[1]{% -\ifcase#1\relax -\or Sun% -\or Mon% -\or Tue% -\or Wed% -\or Thu% -\or Fri% -\or Sat% -\fi} + \dayofweekname{\day}{\month}{\year}} \providecommand*{\shortdayofweekname}[3]{% -\computedayofweek{#1}{#2}{#3}% -\if@dt@multilingual -\@ifundefined{shortdayofweeknameid\languagename}{% -\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}% + \computedayofweek{#1}{#2}{#3}% + \if@dt@multilingual + \DTloadDefIfNotLoadedButExists{\languagename}% + \@ifundefined{shortdayofweeknameid\languagename}% + {% + \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}} + \dayofweekname{\day}{\month}{\year}} \fi \if@dt@nodate \else -\DeclareRobustCommand*{\today}{\formatdate{\day}{\month}{\year}} + \DeclareRobustCommand*{\today}{\formatdate{\day}{\month}{\year}} \fi \if@dt@nodate \else @@ -731,10 +743,12 @@ language '\languagename', defaulting to long version}}% \@ifundefined{datebritish}{}{\loadDTdef{british}} \@ifundefined{dateamerican}{}{\loadDTdef{american}} \@ifundefined{dateaustrian}{}{\loadDTdef{austrian}} +\@ifundefined{dateaustralian}{}{\loadDTdef{australian}} \@ifundefined{datebahasa}{}{\loadDTdef{bahasa}} \@ifundefined{datebasque}{}{\loadDTdef{basque}} \@ifundefined{datebreton}{}{\loadDTdef{breton}} \@ifundefined{datebulgarian}{}{\loadDTdef{bulgarian}} +\@ifundefined{datecanadian}{}{\loadDTdef{canadian}} \@ifundefined{datecatalan}{}{\loadDTdef{catalan}} \@ifundefined{datecroatian}{}{\loadDTdef{croatian}} \@ifundefined{dateczech}{}{\loadDTdef{czech}} @@ -755,6 +769,7 @@ language '\languagename', defaulting to long version}}% \@ifundefined{datelsorbian}{}{\loadDTdef{lsorbian}} \@ifundefined{datemagyar}{}{\loadDTdef{magyar}} \@ifundefined{datenaustrian}{}{\loadDTdef{naustrian}} +\@ifundefined{datenewzealand}{}{\loadDTdef{newzealand}} \@ifundefined{datengerman}{}{\loadDTdef{ngerman}} \@ifundefined{datenorsk}{}{\loadDTdef{norsk}} \@ifundefined{datepolish}{}{\loadDTdef{polish}} @@ -799,7 +814,7 @@ language '\languagename', defaulting to long version}}% \edef\pdfdate{\the\dt@b\the\dt@a} \fi \@dtctr=\time% -\@modulo{\@dtctr}{60}% +\@FCmodulo{\@dtctr}{60}% \dt@b=\expandafter{\pdfdate} \dt@a=\expandafter{\the\@dtctr} \ifnum\@dtctr<10\relax diff --git a/Master/texmf-dist/tex/latex/datetime/dt-UKenglish.def b/Master/texmf-dist/tex/latex/datetime/dt-UKenglish.def index 7054fd20875..591706cb4f1 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-UKenglish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-UKenglish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-UKenglish.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,13 +38,13 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-UKenglish.def}[2010/07/07] -\let\dateUKenglish\longdate -\let\monthnameUKenglish\monthnameenglish -\let\shortmonthnameUKenglish\shortmonthnameenglish -\let\dayofweeknameidUKenglish\dayofweeknameidenglish -\let\shortdayofweeknameidUKenglish\shortdayofweeknameidenglish -\let\ordinaldateUKenglish\ordinaldateenglish +\ProvidesFile{dt-UKenglish.def}[2013/09/10]% +\global\let\dateUKenglish\longdate +\global\let\monthnameUKenglish\monthnameenglish +\global\let\shortmonthnameUKenglish\shortmonthnameenglish +\global\let\dayofweeknameidUKenglish\dayofweeknameidenglish +\global\let\shortdayofweeknameidUKenglish\shortdayofweeknameidenglish +\global\let\ordinaldateUKenglish\ordinaldateenglish \endinput %% %% End of file `dt-UKenglish.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-USenglish.def b/Master/texmf-dist/tex/latex/datetime/dt-USenglish.def index b8c36a6ac20..0cb16ae404b 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-USenglish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-USenglish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-USenglish.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,13 +38,14 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-USenglish.def}[2010/07/07] -\let\dateUSenglish\usdate -\let\monthnameUSenglish\monthnameenglish -\let\shortmonthnameUSenglish\shortmonthnameenglish -\let\dayofweeknameidUSenglish\dayofweeknameidenglish -\let\shortdayofweeknameidUSenglish\shortdayofweeknameidenglish -\newcommand*{\ordinaldateUSenglish}[1]{#1} +\ProvidesFile{dt-USenglish.def}[2013/09/10]% +\global\let\dateUSenglish\usdate +\global\let\monthnameUSenglish\monthnameenglish +\global\let\shortmonthnameUSenglish\shortmonthnameenglish +\global\let\dayofweeknameidUSenglish\dayofweeknameidenglish +\global\let\shortdayofweeknameidUSenglish\shortdayofweeknameidenglish +\newcommand*{\ordinaldateUSenglish}[1]{#1}% +\global\let\ordinaldateUSenglish\ordinaldateUSenglish \endinput %% %% End of file `dt-USenglish.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-american.def b/Master/texmf-dist/tex/latex/datetime/dt-american.def index e315c684d09..6a2fe81d1b8 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-american.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-american.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-american.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,13 +38,14 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-american.def}[2010/09/21] -\let\dateamerican\usdate -\let\monthnameamerican\monthnameenglish -\let\shortmonthnameamerican\shortmonthnameenglish -\let\dayofweeknameidamerican\dayofweeknameidenglish -\let\shortdayofweeknameidamerican\shortdayofweeknameidenglish -\providecommand*{\ordinaldateamerican}[1]{#1} +\ProvidesFile{dt-american.def}[2013/09/10]% +\global\let\dateamerican\usdate +\global\let\monthnameamerican\monthnameenglish +\global\let\shortmonthnameamerican\shortmonthnameenglish +\global\let\dayofweeknameidamerican\dayofweeknameidenglish +\global\let\shortdayofweeknameidamerican\shortdayofweeknameidenglish +\providecommand*{\ordinaldateamerican}[1]{#1}% +\global\let\ordinaldateamerican\ordinaldateamerican \endinput %% %% End of file `dt-american.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-australian.def b/Master/texmf-dist/tex/latex/datetime/dt-australian.def new file mode 100644 index 00000000000..9a546b353dd --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime/dt-australian.def @@ -0,0 +1,51 @@ +%% +%% This is file `dt-australian.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime.dtx (with options: `dt-australian.def,package') +%% +%% datetime.dtx +%% Copyright 2013 Nicola Talbot +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesFile{dt-australian.def}[2013/09/10]% +\global\let\dateaustralian\usdate +\global\let\monthnameaustralian\monthnameenglish +\global\let\shortmonthnameaustralian\shortmonthnameenglish +\global\let\dayofweeknameidaustralian\dayofweeknameidenglish +\global\let\shortdayofweeknameidaustralian\shortdayofweeknameidenglish +\providecommand*{\ordinaldateaustralian}[1]{#1}% +\global\let\ordinaldateaustralian\ordinaldateaustralian +\endinput +%% +%% End of file `dt-australian.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-austrian.def b/Master/texmf-dist/tex/latex/datetime/dt-austrian.def index bf45d3cd219..49d10d07114 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-austrian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-austrian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-austrian.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,32 +38,34 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-austrian.def}[2004/10/31] +\ProvidesFile{dt-austrian.def}[2013/09/10]% \providecommand{\monthnameaustrian}[1][\month]{% -\@orgargctr=#1\relax -\ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% -Month numbers should go from 1 to 12}% -\or J\"anner% -\or Februar% -\or M\"arz% -\or April% -\or Mai% -\or Juni% -\or Juli% -\or August% -\or September% -\or Oktober% -\or November% -\or Dezember% + \@orgargctr=#1\relax + \ifcase\@orgargctr + \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% + Month numbers should go from 1 to 12}% + \or J\"anner% + \or Februar% + \or M\"arz% + \or April% + \or Mai% + \or Juni% + \or Juli% + \or August% + \or September% + \or Oktober% + \or November% + \or Dezember% \else -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% -Month numbers should go from 1 (janvier) to 12 (decembre)}% -\fi} + \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% + Month numbers should go from 1 (janvier) to 12 (decembre)}% +\fi}% +\global\let\monthnameaustrian\monthnameaustrian \DeclareRobustCommand*\dateaustrian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameaustrian[\@month]\space\number\@year}} +\number\@day.~\monthnameaustrian[\@month]\space\number\@year}}% +\global\let\dateaustrian\dateaustrian \endinput %% %% End of file `dt-austrian.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-bahasa.def b/Master/texmf-dist/tex/latex/datetime/dt-bahasa.def index 1734747aa73..f4d2bca9946 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-bahasa.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-bahasa.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-bahasa.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-bahasa.def}[2004/10/31] +\ProvidesFile{dt-bahasa.def}[2013/09/10]% \providecommand{\monthnamebahasa}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,7 +59,8 @@ 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} +\fi}% +\global\let\monthnamebahasa\monthnamebahasa \providecommand{\shortmonthnamebahasa}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -80,11 +81,13 @@ 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} +\fi}% +\global\let\shortmonthnamebahasa\shortmonthnamebahasa \DeclareRobustCommand*\datebahasa{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day}~\monthnamebahasa[\@month]\space \number\@year}} +\number\@day}~\monthnamebahasa[\@month]\space \number\@year}}% +\global\let\datebahasa\datebahasa \endinput %% %% End of file `dt-bahasa.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-basque.def b/Master/texmf-dist/tex/latex/datetime/dt-basque.def index 099a94f40d4..16aaae8e3e7 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-basque.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-basque.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-basque.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-basque.def}[2004/10/31] +\ProvidesFile{dt-basque.def}[2013/09/10]% \providecommand{\monthnamebasque}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -58,7 +58,8 @@ Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}% \or abenduaren% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}% -\fi} +\fi}% +\global\let\monthnamebasque\monthnamebasque \providecommand{\shortmonthnamebasque}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -79,11 +80,13 @@ 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} +\fi}% +\global\let\shortmonthnamebasque\shortmonthnamebasque \DeclareRobustCommand*\datebasque{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@year.eko\space\monthnamebasque[\@month]~\number\@day}} +\number\@year.eko\space\monthnamebasque[\@month]~\number\@day}}% +\global\let\datebasque\datebasque \endinput %% %% End of file `dt-basque.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-breton.def b/Master/texmf-dist/tex/latex/datetime/dt-breton.def index 4c8a5f86708..affe6843159 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-breton.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-breton.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-breton.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,9 +38,10 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-breton.def}[2010/09/21] +\ProvidesFile{dt-breton.def}[2013/09/10]% \providecommand*{\ordinaldatebreton}[1]{% -#1\ifnum#1=1\/\textsuperscript{a\~n}\fi} +#1\ifnum#1=1\/\textsuperscript{a\~n}\fi}% +\global\let\ordinaldatebreton\ordinaldatebreton \providecommand{\monthnamebreton}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -61,7 +62,8 @@ 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} +\fi}% +\global\let\monthnamebreton\monthnamebreton \providecommand{\shortmonthnamebreton}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -82,14 +84,16 @@ 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} +\fi}% +\global\let\shortmonthnamebreton\shortmonthnamebreton \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 -}} +}}% +\global\let\datebreton\datebreton \endinput %% %% End of file `dt-breton.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-british.def b/Master/texmf-dist/tex/latex/datetime/dt-british.def index 579e79fab69..116a78a9b28 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-british.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-british.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-british.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,13 +38,13 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-british.def}[2007/06/15] -\let\datebritish\longdate -\let\monthnamebritish\monthnameenglish -\let\shortmonthnamebritish\shortmonthnameenglish -\let\dayofweeknameidbritish\dayofweeknameidenglish -\let\shortdayofweeknameidbritish\shortdayofweeknameidenglish -\let\ordinaldatebritish\ordinaldateenglish +\ProvidesFile{dt-british.def}[2013/09/10]% +\global\let\datebritish\longdate +\global\let\monthnamebritish\monthnameenglish +\global\let\shortmonthnamebritish\shortmonthnameenglish +\global\let\dayofweeknameidbritish\dayofweeknameidenglish +\global\let\shortdayofweeknameidbritish\shortdayofweeknameidenglish +\global\let\ordinaldatebritish\ordinaldateenglish \endinput %% %% End of file `dt-british.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def b/Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def index c53fd197aeb..a341d6f3828 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-bulgarian.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-bulgarian.def}[2004/10/31] +\ProvidesFile{dt-bulgarian.def}[2013/09/10]% \providecommand{\monthnamebulgarian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,7 +59,8 @@ 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} +\fi}% +\global\let\monthnamebulgarian\monthnamebulgarian \providecommand{\shortmonthnamebulgarian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -80,11 +81,13 @@ 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} +\fi}% +\global\let\shortmonthnamebulgarian\shortmonthnamebulgarian \DeclareRobustCommand*\datebulgarian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnamebulgarian[\@month]\ \number\@year~\cyrg.}} +\number\@day~\monthnamebulgarian[\@month]\ \number\@year~\cyrg.}}% +\global\let\datebulgarian\datebulgarian \endinput %% %% End of file `dt-bulgarian.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-canadian.def b/Master/texmf-dist/tex/latex/datetime/dt-canadian.def new file mode 100644 index 00000000000..53eb78dc759 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime/dt-canadian.def @@ -0,0 +1,51 @@ +%% +%% This is file `dt-canadian.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime.dtx (with options: `dt-canadian.def,package') +%% +%% datetime.dtx +%% Copyright 2013 Nicola Talbot +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesFile{dt-canadian.def}[2013/09/10]% +\global\let\datecanadian\usdate +\global\let\monthnamecanadian\monthnameenglish +\global\let\shortmonthnamecanadian\shortmonthnameenglish +\global\let\dayofweeknameidcanadian\dayofweeknameidenglish +\global\let\shortdayofweeknameidcanadian\shortdayofweeknameidenglish +\providecommand*{\ordinaldatecanadian}[1]{#1}% +\global\let\ordinaldatecanadian\ordinaldatecanadian +\endinput +%% +%% End of file `dt-canadian.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-catalan.def b/Master/texmf-dist/tex/latex/datetime/dt-catalan.def index 62201fc620a..6cb57933d41 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-catalan.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-catalan.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-catalan.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-catalan.def}[2004/10/31] +\ProvidesFile{dt-catalan.def}[2013/09/10]% \providecommand{\monthnamecatalan}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,7 +59,8 @@ 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} +\fi}% +\global\let\monthnamecatalan\monthnamecatalan \providecommand{\shortmonthnamecatalan}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -80,12 +81,14 @@ 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} +\fi}% +\global\let\shortmonthnamecatalan\shortmonthnamecatalan \DeclareRobustCommand*\datecatalan{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day~\monthnamecatalan[\@month]\ de~\number\@year -}} +}}% +\global\let\datecatalan\datecatalan \endinput %% %% End of file `dt-catalan.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-croatian.def b/Master/texmf-dist/tex/latex/datetime/dt-croatian.def index 1de083b1d5f..baa727a1a4a 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-croatian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-croatian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-croatian.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-croatian.def}[2004/10/31] +\ProvidesFile{dt-croatian.def}[2013/09/10]% \providecommand{\monthnamecroatian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,7 +59,8 @@ 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} +\fi}% +\global\let\monthnamecroatian\monthnamecroatian \providecommand{\shortmonthnamecroatian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -80,11 +81,35 @@ 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} +\fi}% +\global\let\shortmonthnamecroatian\shortmonthnamecroatian +\providecommand*{\dayofweeknameidcroatian}[1]{% +\ifcase#1\relax +\or nedjelja% +\or ponedjeljak% +\or utorak% +\or srijeda% +\or \v{c}etvrtak% +\or petak% +\or subota% +\fi}% +\global\let\dayofweeknameidcroatian\dayofweeknameidcroatian +\providecommand*{\shortdayofweeknameidcroatian}[1]{% +\ifcase#1\relax +\or ned% +\or pon% +\or uto% +\or sri% +\or \v{c}et% +\or pet% +\or sub% +\fi}% +\global\let\shortdayofweeknameidcroatian\shortdayofweeknameidcroatian \DeclareRobustCommand*\datecroatian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamecroatian[\@month]\space \number\@year.}} +\number\@day.~\monthnamecroatian[\@month]\space \number\@year.}}% +\global\let\datecroatian\datecroatian \endinput %% %% End of file `dt-croatian.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-czech.def b/Master/texmf-dist/tex/latex/datetime/dt-czech.def index 71971af9b8f..351aa6c28f9 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-czech.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-czech.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-czech.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-czech.def}[2004/10/31] +\ProvidesFile{dt-czech.def}[2013/09/10]% \providecommand{\monthnameczech}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,7 +59,8 @@ 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} +\fi}% +\global\let\monthnameczech\monthnameczech \providecommand{\shortmonthnameczech}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -80,11 +81,13 @@ 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} +\fi}% +\global\let\shortmonthnameczech\shortmonthnameczech \DeclareRobustCommand*\dateczech{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameczech[\@month]\space \number\@year}} +\number\@day.~\monthnameczech[\@month]\space \number\@year}}% +\global\let\dateczech\dateczech \endinput %% %% End of file `dt-czech.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-danish.def b/Master/texmf-dist/tex/latex/datetime/dt-danish.def index 6a10ebc0de1..f364511d6bb 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-danish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-danish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-danish.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-danish.def}[2004/10/31] +\ProvidesFile{dt-danish.def}[2013/09/10]% \providecommand{\monthnamedanish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,11 +59,13 @@ 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} +\fi}% +\global\let\monthnamedanish\monthnamedanish \DeclareRobustCommand*\datedanish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamedanish[\@month]\space \number\@year}} +\number\@day.~\monthnamedanish[\@month]\space \number\@year}}% +\global\let\datedanish\datedanish \endinput %% %% End of file `dt-danish.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-dutch.def b/Master/texmf-dist/tex/latex/datetime/dt-dutch.def index 6e37f67bdff..190d0693a74 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-dutch.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-dutch.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-dutch.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-dutch.def}[2004/10/31] +\ProvidesFile{dt-dutch.def}[2013/09/10]% \providecommand{\monthnamedutch}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,11 +59,13 @@ 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} +\fi}% +\global\let\monthnamedutch\monthnamedutch \DeclareRobustCommand*\datedutch{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnamedutch[\@month]\space \number\@year}} +\number\@day~\monthnamedutch[\@month]\space \number\@year}}% +\global\let\datedutch\datedutch \endinput %% %% End of file `dt-dutch.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def b/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def index 8f835707205..c11541e426a 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-esperanto.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-esperanto.def}[2004/10/31] +\ProvidesFile{dt-esperanto.def}[2013/09/10]% \providecommand{\monthnameesperanto}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,12 +59,14 @@ 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} +\fi}% +\global\let\monthnameesperanto\monthnameesperanto \DeclareRobustCommand*\dateesperanto{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day{--a}~de~\monthnameesperanto[\@month],\space -\number\@year}} +\number\@year}}% +\global\let\dateesperanto\dateesperanto \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 d0d6bd1f3a0..db41fd04bbb 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-estonian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-estonian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-estonian.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-estonian.def}[2004/10/31] +\ProvidesFile{dt-estonian.def}[2013/09/10]% \providecommand{\monthnameestonian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,12 +59,14 @@ 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} +\fi}% +\global\let\monthnameestonian\monthnameestonian \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\@year.\space a.}}% +\global\let\dateestonian\dateestonian \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 d0fe3c4a916..6c10200d57b 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-finnish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-finnish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-finnish.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-finnish.def}[2004/10/31] +\ProvidesFile{dt-finnish.def}[2013/09/10]% \providecommand{\monthnamefinnish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,11 +59,13 @@ 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} +\fi}% +\global\let\monthnamefinnish\monthnamefinnish \DeclareRobustCommand*\datefinnish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamefinnish[\@month]\space \number\@year}} +\number\@day.~\monthnamefinnish[\@month]\space \number\@year}}% +\global\let\datefinnish\datefinnish \endinput %% %% End of file `dt-finnish.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-french.def b/Master/texmf-dist/tex/latex/datetime/dt-french.def index 6b91bf7a6c3..d2aa9887a87 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-french.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-french.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-french.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,10 +38,12 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-french.def}[2010/09/21] +\ProvidesFile{dt-french.def}[2013/09/10]% \providecommand*{\ordinaldatefrench}[1]{% -#1\ifnum#1=1\ier\fi} -\providecommand*{\ier}{\textsuperscript{er}} +#1\ifnum#1=1\ier\fi}% +\global\let\ordinaldatefrench\ordinaldatefrench +\providecommand*{\ier}{\textsuperscript{er}}% +\global\let\ier\ier \providecommand{\dayofweeknameidfrench}[1]{% \ifcase#1\relax \or dimanche% @@ -51,7 +53,8 @@ \or jeudi% \or vendredi% \or samedi% -\fi} +\fi}% +\global\let\dayofweeknameidfrench\dayofweeknameidfrench \providecommand{\shortdayofweeknameidfrench}[1]{% \ifcase#1\relax \or dim% @@ -61,7 +64,8 @@ \or jeu% \or ven% \or sam% -\fi} +\fi}% +\global\let\shortdayofweeknameidfrench\shortdayofweeknameidfrench \providecommand{\monthnamefrench}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -82,12 +86,14 @@ 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} +\fi}% +\global\let\monthnamefrench\monthnamefrench \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}} +\monthnamefrench[\@month]\space \number\@year}}% +\global\let\datefrench\datefrench \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 57e6e81de64..2a5d0a45ee7 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-galician.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-galician.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-galician.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-galician.def}[2004/10/31] +\ProvidesFile{dt-galician.def}[2013/09/10]% \providecommand{\monthnamegalician}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,12 +59,14 @@ 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} +\fi}% +\global\let\monthnamegalician\monthnamegalician \DeclareRobustCommand*\dategalician{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day~de\space\monthnamegalician[\@month]\space -de~\number\@year}} +de~\number\@year}}% +\global\let\dategalician\dategalician \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 937defb0b07..82c7d9cd1a0 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-german.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-german.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-german.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-german.def}[2004/10/31] +\ProvidesFile{dt-german.def}[2010/09/10]% \providecommand{\monthnamegerman}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,7 +59,8 @@ Month numbers should go from 1 to 12}% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 (janvier) to 12 (decembre)}% -\fi} +\fi}% +\global\let\monthnamegerman\monthnamegerman \providecommand{\dayofweeknameidgerman}[1]{% \ifcase#1\relax \or Sonntag% @@ -69,7 +70,8 @@ Month numbers should go from 1 (janvier) to 12 (decembre)}% \or Donnerstag% \or Freitag% \or Samstag% -\fi} +\fi}% +\global\let\dayofweeknameidgerman\dayofweeknameidgerman \providecommand{\shortdayofweeknameidgerman}[1]{% \ifcase#1\relax \or So% @@ -79,11 +81,13 @@ Month numbers should go from 1 (janvier) to 12 (decembre)}% \or Do% \or Fr% \or Sa% -\fi} +\fi}% +\global\let\shortdayofweeknameidgerman\shortdayofweeknameidgerman \DeclareRobustCommand*\dategerman{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamegerman[\@month]\space\number\@year}} +\number\@day.~\monthnamegerman[\@month]\space\number\@year}}% +\global\let\dategerman\dategerman \endinput %% %% End of file `dt-german.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-greek.def b/Master/texmf-dist/tex/latex/datetime/dt-greek.def index 5a04eff47d5..d8be874bce8 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-greek.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-greek.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-greek.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-greek.def}[2004/10/31] +\ProvidesFile{dt-greek.def}[2013/09/10]% \providecommand{\monthnamegreek}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,11 +59,13 @@ 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} +\fi}% +\global\let\monthnamegreek\monthnamegreek \DeclareRobustCommand*\dategreek{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day\space\monthnamegreek[\@month]\space\number\@year}} +\number\@day\space\monthnamegreek[\@month]\space\number\@year}}% +\global\let\dategreek\dategreek \endinput %% %% End of file `dt-greek.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-hebrew.def b/Master/texmf-dist/tex/latex/datetime/dt-hebrew.def index 5834c664dfe..200bf8b4133 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-hebrew.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-hebrew.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-hebrew.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,12 +38,13 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-hebrew.def}[2004/10/31] -\let\monthnamehebrew=\hebmonth +\ProvidesFile{dt-hebrew.def}[2013/09/10]% +\global\let\monthnamehebrew\hebmonth \DeclareRobustCommand*\datehebrew{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\hebdate\@day\@month\@year}} +\hebdate\@day\@month\@year}}% +\global\let\datehebrew\datehebrew \endinput %% %% End of file `dt-hebrew.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-icelandic.def b/Master/texmf-dist/tex/latex/datetime/dt-icelandic.def index fb773abc2a3..f41ab2814a3 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-icelandic.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-icelandic.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-icelandic.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,32 +38,34 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-icelandic.def}[2004/10/31] +\ProvidesFile{dt-icelandic.def}[2013/09/10]% \providecommand{\monthnameicelandic}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\or janúar% -\or febrúar% +\or jan\'uar% +\or febr\'uar% \or mars% -\or apríl% -\or maí% -\or júní% -\or júlí% -\or ágúst% +\or apr\'il% +\or ma\'i% +\or j\'un\'i% +\or j\'ul\'i% +\or \'ag\'ust% \or september% -\or október% -\or nóvember% +\or okt\'ober% +\or n\'ovember% \or desembe% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnameicelandic\monthnameicelandic \DeclareRobustCommand*\dateicelandic{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameicelandic[\@month]\space\number\@year}} +\number\@day.~\monthnameicelandic[\@month]\space\number\@year}}% +\global\let\dateicelandic\dateicelandic \endinput %% %% End of file `dt-icelandic.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-irish.def b/Master/texmf-dist/tex/latex/datetime/dt-irish.def index d1381b3c396..395ff970174 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-irish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-irish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-irish.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-irish.def}[2004/10/31] +\ProvidesFile{dt-irish.def}[2013/09/10]% \providecommand{\monthnameirish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,11 +59,13 @@ 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} +\fi}% +\global\let\monthnameirish\monthnameirish \DeclareRobustCommand*\dateirish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day\space\monthnameirish[\@month]\space\number\@year}} +\number\@day\space\monthnameirish[\@month]\space\number\@year}}% +\global\let\dateirish\dateirish \endinput %% %% End of file `dt-irish.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-italian.def b/Master/texmf-dist/tex/latex/datetime/dt-italian.def index 6e5edee5cd5..286d4511e2d 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-italian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-italian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-italian.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-italian.def}[2008/01/22] +\ProvidesFile{dt-italian.def}[2013/09/10]% \providecommand{\dayofweeknameiditalian}[1]{% \ifcase#1\relax \or domenica% @@ -48,7 +48,8 @@ \or gioved\`{\i}% \or venerd\`{\i}% \or sabato% -\fi} +\fi}% +\global\let\dayofweeknameiditalian\dayofweeknameiditalian \providecommand{\shortdayofweeknameiditalian}[1]{% \ifcase#1\relax \or dom% @@ -58,7 +59,8 @@ \or gio% \or ven% \or sab% -\fi} +\fi}% +\global\let\shortdayofweeknameiditalian\shortdayofweeknameiditalian \providecommand{\monthnameitalian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -76,7 +78,8 @@ \or novembre% \or dicembre% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (gennaio) to 12 (dicembre)}% -\fi} +\fi}% +\global\let\monthnameitalian\monthnameitalian \providecommand{\shortmonthnameitalian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -95,11 +98,13 @@ \or dic% \else% \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (gen) to 12 (dic)}% -\fi} +\fi}% +\global\let\shortmonthnameitalian\shortmonthnameitalian \DeclareRobustCommand*\dateitalian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day\space\monthnameitalian[\@month]\space\number\@year}} +\number\@day\space\monthnameitalian[\@month]\space\number\@year}}% +\global\let\dateitalian\dateitalian \endinput %% %% End of file `dt-italian.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-latin.def b/Master/texmf-dist/tex/latex/datetime/dt-latin.def index f4621bc2a10..4632cca4874 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-latin.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-latin.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-latin.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-latin.def}[2004/10/31] +\ProvidesFile{dt-latin.def}[2013/09/10]% \providecommand{\monthnamelatin}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,14 +59,16 @@ 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} +\fi}% +\global\let\monthnamelatin\monthnamelatin \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\@year}}}}% +\global\let\datelatin\datelatin \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 e537d4faa82..8586b2731a2 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-lsorbian.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-lsorbian.def}[2004/10/31] +\ProvidesFile{dt-lsorbian.def}[2013/09/10]% \providecommand{\monthnamenewlsorbian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,7 +59,8 @@ 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} +\fi}% +\global\let\monthnamenewlsorbian\monthnamenewlsorbian \providecommand{\monthnameoldlsorbian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -80,17 +81,20 @@ 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 +\fi}% +\global\let\monthnameoldlsorbian\monthnameoldlsorbian +\global\let\monthnamelsorbian\monthnamenewlsorbian \DeclareRobustCommand*\newdatelsorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamenewlsorbian[\@month]\space\number\@year}} +\number\@day.~\monthnamenewlsorbian[\@month]\space\number\@year}}% +\global\let\newdatelsorbian\newdatelsorbian \DeclareRobustCommand*\olddatelsorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameoldlsorbian[\@month]\space\number\@year}} -\let\datelsorbian\newdatelsorbian +\number\@day.~\monthnameoldlsorbian[\@month]\space\number\@year}}% +\global\let\olddatelsorbian\olddatelsorbian +\global\let\datelsorbian\newdatelsorbian \endinput %% %% End of file `dt-lsorbian.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-magyar.def b/Master/texmf-dist/tex/latex/datetime/dt-magyar.def index 333a67abee0..771022538c2 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-magyar.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-magyar.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-magyar.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-magyar.def}[2004/10/31] +\ProvidesFile{dt-magyar.def}[2013/09/10]% \providecommand{\monthnamemagyar}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,11 +59,13 @@ 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} +\fi}% +\global\let\monthnamemagyar\monthnamemagyar \DeclareRobustCommand*\datemagyar{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@year.~\monthnamemagyar[\@month]\space\number\@day.}} +\number\@year.~\monthnamemagyar[\@month]\space\number\@day.}}% +\global\let\datemagyar\datemagyar \endinput %% %% End of file `dt-magyar.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-naustrian.def b/Master/texmf-dist/tex/latex/datetime/dt-naustrian.def index d5d68dcbc51..e6ab9dea09a 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-naustrian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-naustrian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-naustrian.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-naustrian.def}[2004/10/31] +\ProvidesFile{dt-naustrian.def}[2013/09/10]% \providecommand{\monthnamenaustrian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,11 +59,13 @@ 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} +\fi}% +\global\let\monthnamenaustrian\monthnamenaustrian \DeclareRobustCommand*\datenaustrian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamenaustrian[\@month]\space\number\@year}} +\number\@day.~\monthnamenaustrian[\@month]\space\number\@year}}% +\global\let\datenaustrian\datenaustrian \endinput %% %% End of file `dt-naustrian.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-newzealand.def b/Master/texmf-dist/tex/latex/datetime/dt-newzealand.def new file mode 100644 index 00000000000..ffd0bb3d0ed --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime/dt-newzealand.def @@ -0,0 +1,51 @@ +%% +%% This is file `dt-newzealand.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime.dtx (with options: `dt-newzealand.def,package') +%% +%% datetime.dtx +%% Copyright 2013 Nicola Talbot +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesFile{dt-newzealand.def}[2013/09/10]% +\global\let\datenewzealand\usdate +\global\let\monthnamenewzealand\monthnameenglish +\global\let\shortmonthnamenewzealand\shortmonthnameenglish +\global\let\dayofweeknameidnewzealand\dayofweeknameidenglish +\global\let\shortdayofweeknameidnewzealand\shortdayofweeknameidenglish +\providecommand*{\ordinaldatenewzealand}[1]{#1}% +\global\let\ordinaldatenewzealand\ordinaldatenewzealand +\endinput +%% +%% End of file `dt-newzealand.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-ngerman.def b/Master/texmf-dist/tex/latex/datetime/dt-ngerman.def index d070d91242a..493b4970abe 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-ngerman.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-ngerman.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-ngerman.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-ngerman.def}[2004/10/31] +\ProvidesFile{dt-ngerman.def}[2013/09/10]% \providecommand{\monthnamengerman}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,7 +59,8 @@ 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} +\fi}% +\global\let\monthnamengerman\monthnamengerman \providecommand{\dayofweeknameidngerman}[1]{% \ifcase#1\relax \or Sonntag% @@ -69,7 +70,8 @@ Month numbers should go from 1 to 12}% \or Donnerstag% \or Freitag% \or Samstag% -\fi} +\fi}% +\global\let\dayofweeknameidngerman\dayofweeknameidngerman \providecommand{\shortdayofweeknameidngerman}[1]{% \ifcase#1\relax \or So% @@ -79,11 +81,13 @@ Month numbers should go from 1 to 12}% \or Do% \or Fr% \or Sa% -\fi} +\fi}% +\global\let\shortdayofweeknameidngerman\shortdayofweeknameidngerman \DeclareRobustCommand*\datengerman{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamengerman[\@month]\space\number\@year}} +\number\@day.~\monthnamengerman[\@month]\space\number\@year}}% +\global\let\datengerman\datengerman \endinput %% %% End of file `dt-ngerman.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-norsk.def b/Master/texmf-dist/tex/latex/datetime/dt-norsk.def index 0f7a2a9be52..d6663075645 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-norsk.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-norsk.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-norsk.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-norsk.def}[2004/10/31] +\ProvidesFile{dt-norsk.def}[2013/09/10]% \providecommand{\monthnamenorsk}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,11 +59,13 @@ 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} +\fi}% +\global\let\monthnamenorsk\monthnamenorsk \DeclareRobustCommand*\datenorsk{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamenorsk[\@month]\space\number\@year}} +\number\@day.~\monthnamenorsk[\@month]\space\number\@year}}% +\global\let\datenorsk\datenorsk \endinput %% %% End of file `dt-norsk.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-polish.def b/Master/texmf-dist/tex/latex/datetime/dt-polish.def index 33ab9fdb30c..29d81d9ccee 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-polish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-polish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-polish.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-polish.def}[2004/10/31] +\ProvidesFile{dt-polish.def}[2013/09/10]% \providecommand{\monthnamepolish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -60,10 +60,12 @@ Month numbers should go from 1 to 12}% \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% \fi} +\global\let\monthnamepolish\monthnamepolish \DeclareRobustCommand*\datepolish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnamepolish[\@month]\space\number\@year}} +\number\@day~\monthnamepolish[\@month]\space\number\@year}}% +\global\let\datepolish\datepolish \providecommand{\dayofweeknameidpolish}[1]{% \ifcase#1\relax \or Niedziela% @@ -73,7 +75,8 @@ Month numbers should go from 1 to 12}% \or Czwartek% \or Pi\k atek% \or Sobota% -\fi} +\fi}% +\global\let\dayofweeknameidpolish\dayofweeknameidpolish \providecommand{\shortdayofweeknameidpolish}[1]{% \ifcase#1\relax \or Ndz.% @@ -83,7 +86,8 @@ Month numbers should go from 1 to 12}% \or Czw.% \or Pt.% \or Sob.% -\fi} +\fi}% +\global\let\shortdayofweeknameidpolish\shortdayofweeknameidpolish \endinput %% %% End of file `dt-polish.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-portuges.def b/Master/texmf-dist/tex/latex/datetime/dt-portuges.def index 0afda5c6d4a..dde45ffdb38 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-portuges.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-portuges.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-portuges.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-portuges.def}[2004/10/31] +\ProvidesFile{dt-portuges.def}[2013/09/10]% \providecommand{\dayofweeknameidportuges}[1]{% \ifcase#1\relax \or domingo% @@ -48,7 +48,8 @@ \or quinta-feira% \or sexta-feira% \or sabado% -\fi} +\fi}% +\global\let\dayofweeknameidportuges\dayofweeknameidportuges \providecommand{\monthnameportuges}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -69,12 +70,14 @@ 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} +\fi}% +\global\let\monthnameportuges\monthnameportuges \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}} +de\space\number\@year}}% +\global\let\dateportuges\dateportuges \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 bc1d33ee84d..7d031d47a4d 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-romanian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-romanian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-romanian.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-romanian.def}[2004/10/31] +\ProvidesFile{dt-romanian.def}[2013/09/10]% \providecommand{\monthnameromanian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,11 +59,13 @@ 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} +\fi}% +\global\let\monthnameromanian\monthnameromanian \DeclareRobustCommand*\dateromanian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnameromanian[\@month]\space\number\@year}} +\number\@day~\monthnameromanian[\@month]\space\number\@year}}% +\global\let\dateromanian\dateromanian \providecommand{\dayofweeknameidromanian}[1]{% \ifcase#1\relax \or duminic\u{a}% @@ -73,7 +75,8 @@ Month numbers should go from 1 to 12}% \or joi% \or vineri% \or s\^{a}mb\u{a}t\u{a}% -\fi} +\fi}% +\global\let\dayofweeknameidromanian\dayofweeknameidromanian \providecommand{\shortdayofweeknameidromanian}[1]{% \ifcase#1\relax \or D% @@ -83,7 +86,8 @@ Month numbers should go from 1 to 12}% \or J% \or V% \or S% -\fi} +\fi}% +\global\let\shortdayofweeknameidromanian\shortdayofweeknameidromanian \endinput %% %% End of file `dt-romanian.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-russian.def b/Master/texmf-dist/tex/latex/datetime/dt-russian.def index 02f5e7ed717..f0c07b0ef82 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-russian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-russian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-russian.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-russian.def}[2004/10/31] +\ProvidesFile{dt-russian.def}[2013/09/10]% \providecommand{\monthnamerussian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,11 +59,13 @@ 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} +\fi}% +\global\let\monthnamerussian\monthnamerussian \DeclareRobustCommand*\daterussian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnamerussian[\@month]\ \number\@year~\cyrg.}} +\number\@day~\monthnamerussian[\@month]\ \number\@year~\cyrg.}}% +\global\let\daterussian\daterussian \endinput %% %% End of file `dt-russian.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-samin.def b/Master/texmf-dist/tex/latex/datetime/dt-samin.def index b1827ff7d79..0cb491c28eb 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-samin.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-samin.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-samin.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-samin.def}[2004/10/31] +\ProvidesFile{dt-samin.def}[2013/09/10]% \providecommand{\monthnamesamin}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,12 +59,14 @@ 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} +\fi}% +\global\let\monthnamesamin\monthnamesamin \DeclareRobustCommand*\datesamin{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \monthnamesamin[\@month]\space\number\@day.~b.\space -\number\@year}} +\number\@year}}% +\global\let\datesamin\datesamin \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 1106e5c72f7..a2fe67664db 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-scottish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-scottish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-scottish.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-scottish.def}[2004/10/31] +\ProvidesFile{dt-scottish.def}[2013/09/10]% \providecommand{\monthnamescottish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,11 +59,13 @@ 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} +\fi}% +\global\let\monthnamescottish\monthnamescottish \DeclareRobustCommand*\datescottish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day\space\monthnamescottish[\@month]\space \number\@year}} +\number\@day\space\monthnamescottish[\@month]\space \number\@year}}% +\global\let\datescottish\datescottish \endinput %% %% End of file `dt-scottish.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-serbian.def b/Master/texmf-dist/tex/latex/datetime/dt-serbian.def index 69b24a75938..016aaa2f634 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-serbian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-serbian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-serbian.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-serbian.def}[2004/10/31] +\ProvidesFile{dt-serbian.def}[2013/09/10]% \providecommand{\monthnameserbian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -59,11 +59,13 @@ 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} +\fi}% +\global\let\monthnameserbian\monthnameserbian \DeclareRobustCommand*\dateserbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameserbian[\@month]\space \number\@year}} +\number\@day.~\monthnameserbian[\@month]\space \number\@year}}% +\global\let\dateserbian\dateserbian \endinput %% %% End of file `dt-serbian.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-slovak.def b/Master/texmf-dist/tex/latex/datetime/dt-slovak.def index d33aebd5fb7..4f879e92f7a 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-slovak.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-slovak.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-slovak.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-slovak.def}[2004/10/31] +\ProvidesFile{dt-slovak.def}[2013/09/10]% \providecommand{\monthnameslovak}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -58,11 +58,13 @@ numbers should go from 1 to 12}% \or decembra% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnameslovak\monthnameslovak \DeclareRobustCommand*\dateslovak{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameslovak[\@month]\space \number\@year}} +\number\@day.~\monthnameslovak[\@month]\space \number\@year}}% +\global\let\dateslovak\dateslovak \endinput %% %% End of file `dt-slovak.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-slovene.def b/Master/texmf-dist/tex/latex/datetime/dt-slovene.def index 839c79bf4d3..7ddb207ee78 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-slovene.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-slovene.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-slovene.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-slovene.def}[2004/10/31] +\ProvidesFile{dt-slovene.def}[2013/09/10]% \providecommand{\monthnameslovene}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -58,11 +58,13 @@ Month numbers should go from 1 to 12}% \or december% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnameslovene\monthnameslovene \DeclareRobustCommand*\dateslovene{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameslovene[\@month]\space \number\@year}} +\number\@day.~\monthnameslovene[\@month]\space \number\@year}}% +\global\let\dateslovene\dateslovene \endinput %% %% End of file `dt-slovene.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-spanish.def b/Master/texmf-dist/tex/latex/datetime/dt-spanish.def index a45e15d7383..aed73978b9c 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-spanish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-spanish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-spanish.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-spanish.def}[2004/10/31] +\ProvidesFile{dt-spanish.def}[2013/09/10]% \providecommand{\dayofweeknameidspanish}[1]{% \ifcase#1\relax \or domingo% @@ -48,7 +48,8 @@ \or jueves% \or viernes% \or s\'abado% -\fi} +\fi}% +\global\let\dayofweeknameidspanish\dayofweeknameidspanish \providecommand{\shortdayofweeknameidspanish}[1]{% \ifcase#1\relax \or dom% @@ -58,7 +59,8 @@ \or jue% \or vie% \or s\'ab% -\fi} +\fi}% +\global\let\shortdayofweeknameidspanish\shortdayofweeknameidspanish \providecommand{\monthnamespanish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -78,11 +80,13 @@ Month numbers should go from 1 to 12}% \or diciembre% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnamespanish\monthnamespanish \DeclareRobustCommand*\datespanish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~de \monthnamespanish[\@month]\ de~\number\@year}} +\number\@day~de \monthnamespanish[\@month]\ de~\number\@year}}% +\global\let\datespanish\datespanish \endinput %% %% End of file `dt-spanish.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-swedish.def b/Master/texmf-dist/tex/latex/datetime/dt-swedish.def index 869b719261c..eb3fe1d7498 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-swedish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-swedish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-swedish.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-swedish.def}[2004/10/31] +\ProvidesFile{dt-swedish.def}[2013/09/10]% \providecommand{\monthnameswedish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -58,21 +58,25 @@ Month numbers should go from 1 to 12}% \or december% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnameswedish\monthnameswedish \DeclareRobustCommand*\dateswedish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnameswedish[\@month]\space\number\@year}} +\number\@day~\monthnameswedish[\@month]\space\number\@year}}% +\global\let\dateswedish\dateswedish \DeclareRobustCommand*\datesymd{% -\renewcommand{\formatdate}[3]{% -\@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@year-\two@digits\@month-\two@digits\@day} -} + \renewcommand{\formatdate}[3]{% + \@day=##1\relax\@month=##2\relax\@year=##3\relax + \number\@year-\two@digits\@month-\two@digits\@day}% +}% +\global\let\datesymd\datesymd \DeclareRobustCommand*\datesdmy{% -\renewcommand{\formatdate}[3]{% -\@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day/\number\@month\space\number\@year} -} + \renewcommand{\formatdate}[3]{% + \@day=##1\relax\@month=##2\relax\@year=##3\relax + \number\@day/\number\@month\space\number\@year}% +}% +\global\let\datesdmy\datesdmy \endinput %% %% End of file `dt-swedish.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-turkish.def b/Master/texmf-dist/tex/latex/datetime/dt-turkish.def index 81704bc2caa..4eb3d863b8c 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-turkish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-turkish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-turkish.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-turkish.def}[2004/10/31] +\ProvidesFile{dt-turkish.def}[2013/09/10]% \providecommand{\monthnameturkish}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -58,11 +58,13 @@ Month numbers should go from 1 to 12}% \or Aral\i{}k% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnameturkish\monthnameturkish \DeclareRobustCommand*\dateturkish{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnameturkish[\@month]\space\number\@year}} +\number\@day~\monthnameturkish[\@month]\space\number\@year}}% +\global\let\dateturkish\dateturkish \endinput %% %% End of file `dt-turkish.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def b/Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def index 2217aa33269..4942cc74094 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-ukraineb.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-ukraineb.def}[2004/10/31] +\ProvidesFile{dt-ukraineb.def}[2013/09/10]% \providecommand{\monthnameukraineb}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -58,11 +58,13 @@ Month numbers should go from 1 to 12}% \cyrg\cyrr\cyru\cyrd\cyrn\cyrya% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnameukraineb\monthnameukraineb \DeclareRobustCommand*\dateukraineb{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day~\monthnameukraineb[\@month]\space\number\@year~\cyrr.}} +\number\@day~\monthnameukraineb[\@month]\space\number\@year~\cyrr.}}% +\global\let\dateukraineb\dateukraineb \endinput %% %% End of file `dt-ukraineb.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def b/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def index 1eaef2b930b..dfcfe31c9dd 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-usorbian.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-usorbian.def}[2004/10/31] +\ProvidesFile{dt-usorbian.def}[2013/09/10]% \providecommand{\monthnamenewusorbian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -58,7 +58,8 @@ Month numbers should go from 1 to 12}% \or decembra% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnamenewusorbian\monthnamenewusorbian \providecommand{\monthnameoldusorbian}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -77,17 +78,20 @@ Month numbers should go from 1 to 12}% \or nazymnika% \or hodownika% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% -\fi} -\let\monthnameusorbian=\monthnamenewusorbian +\fi}% +\global\let\monthnameoldusorbian\monthnameoldusorbian +\global\let\monthnameusorbian\monthnamenewusorbian \DeclareRobustCommand*\newdateusorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnamenewusorbian[\@month]\space\number\@year}} +\number\@day.~\monthnamenewusorbian[\@month]\space\number\@year}}% +\global\let\newdateusorbian\newdateusorbian \DeclareRobustCommand*\olddateusorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day.~\monthnameoldusorbian[\@month]\space\number\@year}} -\let\dateusorbian\newdateusorbian +\number\@day.~\monthnameoldusorbian[\@month]\space\number\@year}}% +\global\let\olddateusorbian\olddateusorbian +\global\let\dateusorbian\newdateusorbian \endinput %% %% End of file `dt-usorbian.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-welsh.def b/Master/texmf-dist/tex/latex/datetime/dt-welsh.def index 689ce5697e4..b70a94b3ca6 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-welsh.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-welsh.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-welsh.def,package') %% %% datetime.dtx -%% Copyright 2010 Nicola Talbot +%% Copyright 2013 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime.sty, dt-american.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. +%% This work consists of the files datetime.dtx and datetime.ins and the derived files datetime-defaults.sty, datetime.sty, dt-american.def, dt-australian.def, dt-austrian.def, dt-bahasa.def, dt-basque.def, dt-breton.def, dt-british.def, dt-bulgarian.def, dt-canadian.def, dt-catalan.def, dt-croatian.def, dt-czech.def, dt-danish.def, dt-dutch.def, dt-esperanto.def, dt-estonian.def, dt-finnish.def, dt-french.def, dt-galician.def, dt-german.def, dt-greek.def, dt-hebrew.def, dt-icelandic.def, dt-irish.def, dt-italian.def, dt-latin.def, dt-lsorbian.def, dt-magyar.def, dt-naustrian.def, dt-newzealand.def, dt-ngerman.def, dt-norsk.def, dt-polish.def, dt-portuges.def, dt-romanian.def, dt-russian.def, dt-samin.def, dt-scottish.def, dt-serbian.def, dt-slovak.def, dt-slovene.def, dt-spanish.def, dt-swedish.def, dt-turkish.def, dt-UKenglish.def, dt-ukraineb.def, dt-USenglish.def, dt-usorbian.def, dt-welsh.def, dt-lang.tex, dt-sampl.tex, datetime.perl. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -38,9 +38,10 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-welsh.def}[2010/09/21] +\ProvidesFile{dt-welsh.def}[2013/09/10]% \providecommand*{\ordinaldatewelsh}[1]{% -#1\ifnum#1=1\/\textsuperscript{a\~n}\fi} +#1\ifnum#1=1\/\textsuperscript{a\~n}\fi}% +\global\let\ordinaldatewelsh\ordinaldatewelsh \providecommand{\monthnamewelsh}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -60,13 +61,15 @@ Month numbers should go from 1 to 12}% \or Rhagfyr% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% Month numbers should go from 1 to 12}% -\fi} +\fi}% +\global\let\monthnamewelsh\monthnamewelsh \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}} +\monthnamewelsh[\@month]\space\number\@year}}% +\global\let\datewelsh\datewelsh \endinput %% %% End of file `dt-welsh.def'. |