From 2ba4346999fcbdfb469a19949498dae05c6444d3 Mon Sep 17 00:00:00 2001
From: Karl Berry
Date: Fri, 27 Mar 2015 23:57:06 +0000
Subject: restore datetime (27mar15)
git-svn-id: svn://tug.org/texlive/trunk@36650 c570f23f-e606-0410-a88d-b1316a301751
---
Master/texmf-dist/doc/latex/datetime/CHANGES | 117 +
Master/texmf-dist/doc/latex/datetime/README | 55 +
.../doc/latex/datetime/datetime-manual.css | 152 +
.../doc/latex/datetime/datetime-manual.html | 2173 ++++++
.../doc/latex/datetime/datetime-manual.tex | 666 ++
Master/texmf-dist/doc/latex/datetime/datetime.pdf | Bin 0 -> 307669 bytes
Master/texmf-dist/doc/latex/datetime/datetime.perl | 2010 ++++++
Master/texmf-dist/doc/latex/datetime/dt-lang.tex | 64 +
Master/texmf-dist/doc/latex/datetime/dt-sampl.tex | 172 +
.../doc/latex/datetime/samples/dt-lang.pdf | Bin 0 -> 30762 bytes
.../doc/latex/datetime/samples/dt-lang.tex | 64 +
.../doc/latex/datetime/samples/dt-sampl.pdf | Bin 0 -> 64239 bytes
.../doc/latex/datetime/samples/dt-sampl.tex | 172 +
.../texmf-dist/source/latex/datetime/datetime.dtx | 7434 ++++++++++++++++++++
.../texmf-dist/source/latex/datetime/datetime.ins | 136 +
.../tex/latex/datetime/datetime-defaults.sty | 110 +
Master/texmf-dist/tex/latex/datetime/datetime.sty | 830 +++
.../texmf-dist/tex/latex/datetime/dt-UKenglish.def | 50 +
.../texmf-dist/tex/latex/datetime/dt-USenglish.def | 51 +
.../texmf-dist/tex/latex/datetime/dt-american.def | 51 +
.../tex/latex/datetime/dt-australian.def | 51 +
.../texmf-dist/tex/latex/datetime/dt-austrian.def | 71 +
Master/texmf-dist/tex/latex/datetime/dt-bahasa.def | 93 +
Master/texmf-dist/tex/latex/datetime/dt-basque.def | 92 +
Master/texmf-dist/tex/latex/datetime/dt-breton.def | 99 +
.../texmf-dist/tex/latex/datetime/dt-british.def | 50 +
.../texmf-dist/tex/latex/datetime/dt-bulgarian.def | 93 +
.../texmf-dist/tex/latex/datetime/dt-canadian.def | 51 +
.../texmf-dist/tex/latex/datetime/dt-catalan.def | 94 +
.../texmf-dist/tex/latex/datetime/dt-croatian.def | 115 +
Master/texmf-dist/tex/latex/datetime/dt-czech.def | 93 +
Master/texmf-dist/tex/latex/datetime/dt-danish.def | 71 +
Master/texmf-dist/tex/latex/datetime/dt-dutch.def | 92 +
.../texmf-dist/tex/latex/datetime/dt-esperanto.def | 72 +
.../texmf-dist/tex/latex/datetime/dt-estonian.def | 72 +
.../texmf-dist/tex/latex/datetime/dt-finnish.def | 71 +
Master/texmf-dist/tex/latex/datetime/dt-french.def | 120 +
.../texmf-dist/tex/latex/datetime/dt-galician.def | 72 +
Master/texmf-dist/tex/latex/datetime/dt-german.def | 93 +
Master/texmf-dist/tex/latex/datetime/dt-greek.def | 71 +
Master/texmf-dist/tex/latex/datetime/dt-hebrew.def | 50 +
.../texmf-dist/tex/latex/datetime/dt-icelandic.def | 71 +
Master/texmf-dist/tex/latex/datetime/dt-irish.def | 71 +
.../texmf-dist/tex/latex/datetime/dt-italian.def | 110 +
Master/texmf-dist/tex/latex/datetime/dt-latin.def | 74 +
.../texmf-dist/tex/latex/datetime/dt-lsorbian.def | 100 +
Master/texmf-dist/tex/latex/datetime/dt-magyar.def | 71 +
.../texmf-dist/tex/latex/datetime/dt-naustrian.def | 71 +
.../tex/latex/datetime/dt-newzealand.def | 51 +
.../texmf-dist/tex/latex/datetime/dt-ngerman.def | 93 +
Master/texmf-dist/tex/latex/datetime/dt-norsk.def | 91 +
Master/texmf-dist/tex/latex/datetime/dt-polish.def | 93 +
.../texmf-dist/tex/latex/datetime/dt-portuges.def | 83 +
.../texmf-dist/tex/latex/datetime/dt-romanian.def | 93 +
.../texmf-dist/tex/latex/datetime/dt-russian.def | 71 +
Master/texmf-dist/tex/latex/datetime/dt-samin.def | 72 +
.../texmf-dist/tex/latex/datetime/dt-scottish.def | 71 +
.../texmf-dist/tex/latex/datetime/dt-serbian.def | 71 +
Master/texmf-dist/tex/latex/datetime/dt-slovak.def | 70 +
.../texmf-dist/tex/latex/datetime/dt-slovene.def | 70 +
.../texmf-dist/tex/latex/datetime/dt-spanish.def | 92 +
.../texmf-dist/tex/latex/datetime/dt-swedish.def | 102 +
.../texmf-dist/tex/latex/datetime/dt-turkish.def | 70 +
.../texmf-dist/tex/latex/datetime/dt-ukraineb.def | 70 +
.../texmf-dist/tex/latex/datetime/dt-usorbian.def | 97 +
Master/texmf-dist/tex/latex/datetime/dt-welsh.def | 80 +
66 files changed, 18001 insertions(+)
create mode 100644 Master/texmf-dist/doc/latex/datetime/CHANGES
create mode 100644 Master/texmf-dist/doc/latex/datetime/README
create mode 100644 Master/texmf-dist/doc/latex/datetime/datetime-manual.css
create mode 100644 Master/texmf-dist/doc/latex/datetime/datetime-manual.html
create mode 100644 Master/texmf-dist/doc/latex/datetime/datetime-manual.tex
create mode 100644 Master/texmf-dist/doc/latex/datetime/datetime.pdf
create mode 100644 Master/texmf-dist/doc/latex/datetime/datetime.perl
create mode 100644 Master/texmf-dist/doc/latex/datetime/dt-lang.tex
create mode 100644 Master/texmf-dist/doc/latex/datetime/dt-sampl.tex
create mode 100644 Master/texmf-dist/doc/latex/datetime/samples/dt-lang.pdf
create mode 100644 Master/texmf-dist/doc/latex/datetime/samples/dt-lang.tex
create mode 100644 Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.pdf
create mode 100644 Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.tex
create mode 100644 Master/texmf-dist/source/latex/datetime/datetime.dtx
create mode 100644 Master/texmf-dist/source/latex/datetime/datetime.ins
create mode 100644 Master/texmf-dist/tex/latex/datetime/datetime-defaults.sty
create mode 100644 Master/texmf-dist/tex/latex/datetime/datetime.sty
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-UKenglish.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-USenglish.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-american.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-australian.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-austrian.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-bahasa.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-basque.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-breton.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-british.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-canadian.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-catalan.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-croatian.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-czech.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-danish.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-dutch.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-esperanto.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-estonian.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-finnish.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-french.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-galician.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-german.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-greek.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-hebrew.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-icelandic.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-irish.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-italian.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-latin.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-magyar.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-naustrian.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-newzealand.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-ngerman.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-norsk.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-polish.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-portuges.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-romanian.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-russian.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-samin.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-scottish.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-serbian.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-slovak.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-slovene.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-spanish.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-swedish.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-turkish.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-usorbian.def
create mode 100644 Master/texmf-dist/tex/latex/datetime/dt-welsh.def
(limited to 'Master/texmf-dist')
diff --git a/Master/texmf-dist/doc/latex/datetime/CHANGES b/Master/texmf-dist/doc/latex/datetime/CHANGES
new file mode 100644
index 00000000000..4d6f411bb64
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/datetime/CHANGES
@@ -0,0 +1,117 @@
+datetime.sty history
+
+Version 2.60:
+
+ * datetime.sty:
+
+ - Fixed bug in \amorpmname
+
+ * dt-welsh.def:
+
+ - Removed "a viz"
+
+ * dt-croatian.def:
+
+ - Changed "studenog" to studenoga" to keep in line with babel
+
+ Added some more week day name translations provided by various
+people
+
+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
+
+ * Added Croatian days of the week (supplied by Ivan Kokan).
+
+Version 2.58:
+
+ * Added Polish days of the week (supplied by Piotr Kempa).
+
+ * Fixed bug that caused some of the def files to be truncated when
+ unpacked from the dtx file.
+
+ * Added \loadDTdef to ensure dt-*.def files are only loaded once.
+
+Version 2.57:
+
+ * Added Romanian days of the week (supplied by Daniel Dumitriu).
+
+Version 2.56:
+ * Added \formattime. (Specific times can now be displayed in
+ the same format as \currenttime)
+ * Added new date format yyyymmdd
+ * Added new time format hhmmss
+ * Added new package option "iso"
+ * datetime package options now override babel's date format
+ * Moved definition of \newdateformat and \newtimeformat before
+ configuration file is loaded.
+
+Version 2.55:
+
+ * fixed bug preventing multilingual support
+ * fixed copyright text
+
+Version 2.54: added check for british babel setting.
+
+Version 2.53: added checks for UKenglish and USenglish.
+
+Version 2.52: fixed bug in \textdate arising from change in
+fmtcount internals.
+
+Version 2.51: fixed time between midnight and 1am
+
+Version 2.5: Added (n)german week day names (thanks to Uwe Bieling)
+for supplying this. Fixed minor bugs.
+
+Version 2.49: Fixed some of the multilingual problems, tidied up
+code documentation
+
+Version 2.48: Fixed bug in \pdfdate
+
+Version 2.47: Defined \ier if it doesn't already exist.
+
+Version 2.46: Made \today robust.
+
+Version 2.45: Added command to store dates.
+
+Version 2.44: Fixed spelling mistakes (oops!) and minor
+bugs in LaTeX2HTML style files
+
+New to version 2.43: Package now compatible with
+LaTeX2HTML
+
+New to version 2.42: Package now compatible with babel.
+
+New to version 2.41: Package has been split into two
+files: datetime.sty and fmtcount.sty. The latter file
+contains the definitions for all the macros that display
+the value of a counter (e.g. \ordinal, \octal).
+Extra macro \decimal added (like \arabic, but can pad it
+with leading zeroes.)
+
+New to version 2.4: New commands: \binary, \octal,
+\hexadecimal, \aaalph, \abalph, \Hexadecimal, \AAAlph
+and \ABAlph. Added provision for configuration
+file datetime.cfg.
+
+New to version 2.31: The command \pdfdate has been added
+(minor bug fixed in version 2.32)
+
+New to version 2.3: The command \newtimeformat can be
+used to define new time formats. Added the command
+\currenttime
+
+New to version 2.2: The command \newdateformat can be
+used to define new date formats in addition to the ones
+provided by this package.
+
+see accompanying README file for license and installation
+information.
+
+http://www.dickimaw-books.com/
diff --git a/Master/texmf-dist/doc/latex/datetime/README b/Master/texmf-dist/doc/latex/datetime/README
new file mode 100644
index 00000000000..d9fd96a4bbf
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/datetime/README
@@ -0,0 +1,55 @@
+LaTeX Package : datetime v2.60
+
+Last Modified : 2015-03-20
+
+Author : Nicola Talbot
+
+Package FAQ : http://www.dickimaw-books.com/faqs/datetimefaq.html
+
+Files : datetime.dtx - documented source file
+ datetime.ins - installation script
+ datetime.perl - LaTeX2HTML style file
+ dt-sampl.tex - sample files
+ dt-lang.tex /
+
+
+The package datetime.sty provides various different
+formats for \today, and provides commands for displaying
+the time.
+
+See the documentation for further details.
+
+To extract the code do:
+
+latex datetime.ins
+
+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
+(e.g. texmf/tex/latex/datetime/) and remember to update the TeX
+database.
+
+Copy the datetime.perl file to somewhere where LaTeX2HTML will find it
+(e.g. latex2html/styles/).
+
+To extract the documentation do:
+
+latex datetime.dtx
+makeindex -s gglo.ist -t datetime.glg -o datetime.gls datetime.glo
+latex datetime.dtx
+latex datetime.dtx
+
+(If you want the documented source code, remove the command
+\OnlyDescription from datetime.dtx before doing the above.)
+
+Place the resulting file (datetime.dvi) into the documentation
+directory (e.g. texmf/doc/latex/datetime/).
+
+Read the file CHANGES for version changes.
+
+This material is subject to the LaTeX Project Public License.
+See http://www.ctan.org/license/lppl1.3 for
+the details of that license.
+
+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
new file mode 100644
index 00000000000..6968b9226cb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/datetime/datetime-manual.css
@@ -0,0 +1,152 @@
+
+/* 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-12{font-family: monospace;}
+.cmss-10{ font-family: sans-serif;}
+.cmss-10{ font-family: sans-serif;}
+.cmss-10{ font-family: sans-serif;}
+.cmtt-10{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;}
+.cmtt-9{font-size:90%;font-family: monospace;}
+.cmtt-9{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;}
+.cmitt-10{font-family: monospace; font-style: italic;}
+.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;}
+.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;}
+p.noindent { text-indent: 0em }
+td p.noindent { text-indent: 0em; margin-top:0em; }
+p.nopar { text-indent: 0em; }
+p.indent{ text-indent: 1.5em }
+@media print {div.crosslinks {visibility:hidden;}}
+a img { border-top: 0; border-left: 0; border-right: 0; }
+center { margin-top:1em; margin-bottom:1em; }
+td center { margin-top:0em; margin-bottom:0em; }
+.Canvas { position:relative; }
+img.math{vertical-align:middle;}
+li p.indent { text-indent: 0em }
+li p:first-child{ margin-top:0em; }
+li p:last-child, li div:last-child { margin-bottom:0.5em; }
+li p~ul:last-child, li p~ol:last-child{ margin-bottom:0.5em; }
+.enumerate1 {list-style-type:decimal;}
+.enumerate2 {list-style-type:lower-alpha;}
+.enumerate3 {list-style-type:lower-roman;}
+.enumerate4 {list-style-type:upper-alpha;}
+div.newtheorem { margin-bottom: 2em; margin-top: 2em;}
+.obeylines-h,.obeylines-v {white-space: nowrap; }
+div.obeylines-v p { margin-top:0; margin-bottom:0; }
+.overline{ text-decoration:overline; }
+.overline img{ border-top: 1px solid black; }
+td.displaylines {text-align:center; white-space:nowrap;}
+.centerline {text-align:center;}
+.rightline {text-align:right;}
+div.verbatim {font-family: monospace; white-space: nowrap; text-align:left; clear:both; }
+.fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+div.fbox {display:table}
+div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+div.minipage{width:100%;}
+div.center, div.center div.center {text-align: center; margin-left:1em; margin-right:1em;}
+div.center div {text-align: left;}
+div.flushright, div.flushright div.flushright {text-align: right;}
+div.flushright div {text-align: left;}
+div.flushleft {text-align: left;}
+.underline{ text-decoration:underline; }
+.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+.framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+.framebox-c {text-align:center;}
+.framebox-l {text-align:left;}
+.framebox-r {text-align:right;}
+span.thank-mark{ vertical-align: super }
+span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; }
+div.footnotes{border-top:solid 1px black; border-bottom:solid 1px black; padding-bottom:1ex; padding-top:0.5ex; margin-right:15%; margin-top:2ex; font-style:italic; font-size:85%;}
+div.footnotes p{margin-top:0; margin-bottom:0; text-indent:0;}
+div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; margin-bottom:0.5em; }
+table.tabular td p{margin-top:0em;}
+table.tabular {margin-left: auto; margin-right: auto;}
+td p:first-child{ margin-top:0em; }
+td p:last-child{ margin-bottom:0em; }
+div.td00{ margin-left:0pt; margin-right:0pt; }
+div.td01{ margin-left:0pt; margin-right:5pt; }
+div.td10{ margin-left:5pt; margin-right:0pt; }
+div.td11{ margin-left:5pt; margin-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+td.td00{ padding-left:0pt; padding-right:0pt; }
+td.td01{ padding-left:0pt; padding-right:5pt; }
+td.td10{ padding-left:5pt; padding-right:0pt; }
+td.td11{ padding-left:5pt; padding-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+.hline hr, .cline hr{ height : 1px; margin:0px; }
+.tabbing-right {text-align:right;}
+span.TEX {letter-spacing: -0.125em; }
+span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;}
+a span.TEX span.E {text-decoration: none; }
+span.LATEX span.A{ position:relative; top:-0.5ex; left:-0.4em; font-size:85%;}
+span.LATEX span.TEX{ position:relative; left: -0.4em; }
+div.float, div.figure {margin-left: auto; margin-right: auto;}
+div.float img {text-align:center;}
+div.figure img {text-align:center;}
+.marginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;}
+.marginpar p{margin-top:0.4em; margin-bottom:0.4em;}
+table.equation {width:100%;}
+.equation td{text-align:center; }
+td.equation { margin-top:1em; margin-bottom:1em; }
+td.equation-label { width:5%; text-align:center; }
+td.eqnarray4 { width:5%; white-space: normal; }
+td.eqnarray2 { width:5%; }
+table.eqnarray-star, table.eqnarray {width:100%;}
+div.eqnarray{text-align:center;}
+div.array {text-align:center;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+span.pmatrix img{vertical-align:middle;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+span.bar-css {text-decoration:overline;}
+img.cdots{vertical-align:middle;}
+.partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; font-weight:bold; font-size:110%;}
+.index-item, .index-subitem, .index-subsubitem {display:block}
+div.caption {text-indent:-2em; margin-left:3em; margin-right:1em; text-align:left;}
+div.caption span.id{font-weight: bold; white-space: nowrap; }
+h1.partHead{text-align: center}
+p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; }
+p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; }
+.paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;}
+.subparagraphHead, .likesubparagraphHead { font-weight: bold;}
+.quote {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; margin-right:1em; text-align:justify;}
+.verse{white-space:nowrap; margin-left:2em}
+div.maketitle {text-align:center;}
+h2.titleHead{text-align:center;}
+div.maketitle{ margin-bottom: 2em; }
+div.author, div.date {text-align:center;}
+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%;}
+div.important { border : solid red; }
+div.verbatim { font-family: monospace; white-space: nowrap; text-align:left; clear:both; padding-top: 2ex; padding-bottom: 2ex;}
+/* 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
new file mode 100644
index 00000000000..5c09dd7e449
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/datetime/datetime-manual.html
@@ -0,0 +1,2173 @@
+
+
+
+
+datetime.sty v2.60: Formatting Current Date and Time
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
datetime.sty v2.60: Formatting Current Date and
+Time
+
+
2015-03-20
+
+
This is the last version of this package. The replacement package is called
datetime2
+and will be released shortly after the this final version.
+
+
+ Contents
+
+
+
+Top
1 Introduction
+
+
+
The datetime package is a LATEX2ε package that provides various different formats for
+\today, 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 nodate
+to the package.
+
+
Since version 2.4, the datetime package has been separated into two packages:
+datetime and fmtcount. When I originally created this package, I defined the commands,
+\ordinal etc which could be used in the definition of \today. Since then, I have
+extended the number of commands available that can be used to display the value
+of a LATEX counter, however it seems more appropriate to define all these
+counter-related commands in a separate package. The fmtcount package is now
+distributed separately from the datetime package, and will also need to be
+installed.
+
+
As from version 2.42, the datetime package is now compatible with babel, however
+you must load the datetime package after the babel package. For example:
+
+
+
+
+
+\usepackage[francais]{babel}
+
\usepackage{datetime}
+
+
+
+
+Top
2 Predefined Date Formats
+
There are various declarations that change the effect of \today. The change can be
+localised by placing the declaration within a group.
+
As from version 2.43, the numerical date formats (such as \ddmmyyyydate) use the
+command
+
\dateseparator \dateseparator
+
+to separate the numbers. So, for example, if you want to hyphens instead of slashes, you
+can do:
+
+
+
+
+
+\renewcommand{\dateseparator}{-}
+
+
+
+
+Top
2.1 ISO format
+
\yyyymmdddate \yyyymmdddate
+
+This declaration will redefine \today to produce the current date displayed in
+the form 2000/03/08. (You can redefine \dateseparator to - to change to
+2000-03-08.)
+
+
+Top
2.2 ⟨Day⟩ ⟨Month⟩ ⟨Year⟩ formats
+
+
+This declaration will redefine \today to produce the current date displayed in the form
+Wednesday 8th March, 2000 if the package option dayofweek is used, or 8th March, 2000
+if the package option nodayofweek is used.
+
+
+This declaration will redefine \today to produce the current date displayed in the form
+Wed 8th Mar, 2000 if the package option dayofweek is used, or 8th Mar, 2000 if the
+package option nodayofweek is used.
+
\ddmmyyyydate \ddmmyyyydate
+
+This declaration will redefine \today to produce the current date displayed in the form
+08/03/2000.
+
+
+This declaration will redefine \today to produce the current date displayed in the form
+8/3/2000.
+
+
+This declaration will redefine \today to produce the current date displayed in the form
+08/03/00.
+
+
+
+
+
+This declaration will redefine \today to produce the current date displayed in the form
+8/3/00.
+
+
+This declaration will redefine \today to produce the current date displayed
+in the form: Wednesday the Eighth of March, Two Thousand if the package
+option dayofweek is used, or Eighth of March, Two Thousand if the package
+option nodayofweek is used. Note that \textdate is defined for use with
+English, it won’t look right if it is used when another language has been
+selected.
+If you want to define a similar command for another language, you will first need to
+check that the fmtcount package supports that language.
+
+
+Top
2.3 ⟨Month⟩ ⟨Day⟩ ⟨Year⟩ formats
+
+
+This declaration will redefine \today to produce the current date displayed in the form
+March 8, 2000. (As TEX and LATEX do by default.)
+
\mmddyyyydate \mmddyyyydate
+
+This declaration will redefine \today to produce the current date displayed in the form
+03/08/2000.
+
+
+This declaration will redefine \today to produce the current date displayed in the form
+3/8/2000.
+
+
+This declaration will redefine \today to produce the current date displayed in the form
+03/08/00.
+
+
+This declaration will redefine \today to produce the current date displayed in the form
+3/8/00.
+
+
+Top
2.4 Dates defined by babel
+
In addition to the above, the declarations \date⟨lang⟩ are available for all languages
+defined either by calling babel prior to datetime or by passing the language name as an
+
+
+
+option to datetime. See §5 Defining New Date Formats if you want to define your own
+customised date format.
+
+
+Top
3 Time Commands
+
The current time is displayed using the command
+
\currenttime \currenttime
+
+
A specific time can be displayed using the command
+
\formattime \formattime{⟨
hour⟩
}{⟨
minute⟩
}{⟨
second⟩
}
+
+where ⟨hour⟩ is a number from 0 to 23, and ⟨minute⟩ and ⟨second⟩ are numbers from 0
+to 59.
+
The format can be changed using the declaration
+
\settimeformat \settimeformat{⟨
style⟩
}
+
+where ⟨style⟩ is the name of the format. Predefined formats are:
+
-
+xxivtime
- Twenty-four hour time in the form 22:28 (Default)
+
-
+hhmmsstime
- Twenty-four hour time in the form 22:28:00
+
-
+ampmtime
- Twelve hour time in the form 10:28pm
+
-
+oclock
- Displays the current time as a string, e.g. Twenty-Eight minutes past Ten
+ in the afternoon.
+ New time formats can be defined using the command:
+
\newtimeformat \newtimeformat{⟨
name⟩
}{⟨
format⟩
}
+
+where ⟨name⟩ is the name of the new format (used in \settimeformat), and ⟨format⟩ is
+how to format the time. Within ⟨format⟩ you can use the counters HOUR (number of
+hours after midnight), MINUTE (number of minutes past the hour), SECOND (number
+of seconds) HOURXII (number of hours after midnight/midday), TOHOUR (the next
+hour) and TOMINUTE (number of minutes to the next hour), and the corresponding
+commands: \THEHOUR, \THEMINUTE, \THESECOND, \THEHOURXII, \THETOHOUR and
+\THETOMINUTE.
+
For example, to define a new time format that uses a dot instead of a colon:
+
+
+
+
+
+\newtimeformat{dottime}{\twodigit{\THEHOUR}.\twodigit{\THEMINUTE}}
+
+ You then need to switch to this new format before you can use it:
+
+
+
+
+
+\settimeformat{dottime}
+
\currenttime
+
+
+
As from version 2.43, if you only want to change the separator, you can simply
+redefine
+
\timeseparator \timeseparator
+
+instead of defining a new time format. For example:
+
+
+
+
+
+\renewcommand{\timeseparator}{.}
+
+ The xxivtime format will now work like the dottime format defined above.
+
+
+Top
4 Formating Dates
+
+
+This command
+prints the date in the format required for PDF files, e.g. if the date is 1 May 2004 and
+time is 22:02, \pdfdate 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
+PDFTEX. (This command is defined regardless of whether the package option nodate
+is called.) Example:
+
+
+
+
+
+\pdfinfo{
+
/Author (Me)
+
/Title (A Sample Document)
+
/CreationDate (D:20040501215500)
+
/ModDate (D:\pdfdate)
+
}
+
+ Note that PDFTEX introduced the new primitive \pdfcreationdate in
+version 1.30.0, so \pdfdate isn’t required with newer versions of PDFTEX.
+(\pdfcreationdate is better than \pdfdate as it also stores the time zone.)
+
There are two commands that print the name of the current month:
+
\monthname \monthname[⟨
num⟩
]
+
+prints the current month name in full, e.g. August, and
+
\shortmonthname \shortmonthname[⟨
num⟩
]
+
+prints the abbreviated month name, e.g. Aug. Both \monthname and \shortmonthname
+take an optional argument (a number from 1 to 12) if the name of a specific
+month is required. For example, \monthname[6] will produced the output:
+June.
+
The day of the week is computed using the algorithm documented at
+http://userpages.wittenburg.edu/bshelburne/Comp150/DayOfWeek.htm. This
+algorithm works for any date between 1st Jan, 1901 and 31st Dec, 2099. The following
+macros display the day of week for a given date:
+
\dayofweekname \dayofweekname{⟨
day⟩
}{⟨
month⟩
}{⟨
year⟩
}
+
+prints the day of week for the specified date. For example,
+
+
+
+
+
+\dayofweekname{31}{10}{2002}
+
+ will produce the output: Thursday.
+
\shortdayofweekname \shortdayofweekname⟨
day⟩
{⟨
month⟩
}{⟨
year⟩
}
+
+prints the abbreviated name for the day of week for the specified date. For
+example
+
+
+
+
+
+\shortdayofweekname{31}{10}{2002}
+
+ will produce the output: Thu.
+
+
+This TEX conditional can be used to determine whether or not the option dayofweek
+has been passed to the package. For example:
+
+
+
+
+
+\ifshowdow\dayofweekname{31}{10}{2002} \fi
+
+ will only display the day of week if the dayofweek option was passed to datetime.
+Alternatively, you can use David Carlisle’s ifthen package:
+
+
+
+
+
+\ifthenelse{\boolean{showdow}}{\dayofweekname{31}{10}{2002} }{}
+
+
+
The command
+
\ordinaldate \ordinaldate{⟨
number⟩
}
+
+displays ⟨number⟩ as a date-type ordinal. If the current language is English, this will
+simply pass the argument to \ordinalnum (defined in the fmtcount package), if the
+current language is Breton, Welsh or French, a superscript will only be added if ⟨number⟩
+is 1, otherwise only ⟨number⟩ will be displayed.
+
The macro
+
\formatdate \formatdate{⟨
day⟩
}{⟨
month⟩
}{⟨
year⟩
}
+
+formats the specified date according to the current format of
+\today.
+(Arguments must all be integers.) For example, in combination with \longdate, the
+command
+
+
+
+
+
+\formatdate{27}{9}{2004}
+
+ will produce the output: Monday 27th September, 2004.
+
You can ensure that a number is displayed with at least two digits using the
+command
+
\twodigit \twodigit{⟨
num⟩
}
+
+
+
+Top
5 Defining New Date Formats
+
New date formats can be defined using the command:
+
\newdateformat \newdateformat{⟨
name⟩
}{⟨
format⟩
}
+
+where ⟨name⟩ is the name of the new format, and ⟨format⟩ is how to format the date.
+Within the argument ⟨format⟩ you can use the commands \THEDAY, \THEMONTH and
+\THEYEAR to represent the relevant day, month and year, or you can use the counters
+DAY, MONTH and YEAR if you want to use \ordinal etc. Once you have defined the
+new date format, you can then switch to it using the declaration \⟨name⟩ (i.e. the name
+you specified preceded by a backslash), and subsequent calls to \today and
+\formatdate will use your new format.
+
For example, suppose you want to define a new date format called, say, mydate, that
+will typeset the date in the form: 8-3-2002, then you can do:
+
+
+
+
+
+\newdateformat{mydate}{\THEDAY-\THEMONTH-\THEYEAR}
+
+ \newdateformat will then define the declaration \mydate 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
+date:
+
+
+
+
+
+\newdateformat{dashdate}{%
+
\twodigit{\THEDAY}-\twodigit{\THEMONTH}-\THEYEAR}
+
\newdateformat{usvardate}{%
+
\monthname[\THEMONTH] \ordinal{DAY}, \THEYEAR}
+
Dash: \dashdate\today.
+
US: \usvardate\today.
+
+ If the current date is, say, 8th March, 2002, the above code will produce the following:
+Dash: 08-03-2002. US: March 8th, 2002.
+
Note that \THEDAY etc and DAY etc have no real meaning outside \newdateformat
+(this is why they are in uppercase). Incidentally, the dashdate format is not really
+necessary, as you can achieve this format using:
+
+
+
+
+
+\renewcommand{\dateseparator}{-}
+
\ddmmyyyydate
+
+
+
Another note: in the above code, \ordinal was used to illustrate the use of the DAY
+counter. It is better to use \ordinaldate instead:
+
+
+
+
+
+\newdateformat{usvardate}{%
+
\monthname[\THEMONTH] \ordinaldate{\THEDAY}, \THEYEAR}
+
+
+
+
+Top
6 Saving Dates
+
It is possible to save a date for later use using the command:
+
+
\newdate \newdate{⟨
name⟩
}{⟨
day⟩
}{⟨
month⟩
}{⟨
year⟩
}
+
+
This date can later be displayed using the same format as that used by
+\formatdate using the command:
+
\displaydate \displaydate{⟨
name⟩
}
+
+
Individual elements of the date can be extracted using the commands:
+
\getdateday \getdateday{⟨
name⟩
}
+
+
\getdatemonth \getdatemonth{⟨
name⟩
}
+
+
\getdateyear \getdateyear{⟨
name⟩
}
+
+
+
+Top
7 Predefined Names
+
The following commands are defined by the datetime package:
+
+
+
+
+ Command Name | Default Value |
\dateseparator | / |
+
\timeseparator | : |
+
\amname | am |
+
\pmname | pm |
+
\amorpmname | \amname if morning, otherwise \pmname |
+
\amstring | in the morning |
+
\pmstring | in the afternoon |
+
\amorpmstring | \amstring if morning, otherwise \pmstring |
+
\halfpast | Half past |
+
\quarterpast | Quarter past |
+
\quarterto | Quarter to |
+
\noon | Noon |
+
\midnight | Midnight |
+
\oclockstring | O’Clock |
+
+
+
+Top
8 Package Options
+
The following options may be passed to this package:
+
-
+long
- make \today produce long date
+
-
+short
- make \today produce short date
+
-
+yyyymmdd
- make \today produce YYYY/MM/DD date
+
-
+ddmmyyyy
- make \today produce DD/MM/YYYY date
+
-
+dmyyyy
- make \today produce D/M/YYYY date
+
-
+ddmmyy
- make \today produce DD/MM/YY date
+
-
+dmyy
- make \today produce D/M/YY date
+
-
+text
- make \today produce text date in UK style
+
-
+us
- make \today produce US style date
+
-
+mmddyyyy
- make \today produce MM/DD/YYYY date
+
+
+
+
-
+mdyyyy
- make \today produce M/D/YYYY date
+
-
+mmddyy
- make \today produce MM/DD/YY date
+
-
+mdyy
- make \today produce M/D/YY date
+
-
+raise
- make ordinal st,nd,rd,th appear as superscript
+
-
+level
- make ordinal st,nd,rd,th appear level with rest of text
+
-
+dayofweek
- make the day of week appear for \longdate, \shortdate or
+ \textdate
+
-
+nodayofweek
- don’t display the day of week.
+
-
+hhmmss
- make \currenttime produce hhmmsstime format
+
-
+24hr
- make \currenttime produce xxivtime format
+
-
+12hr
- make \currenttime produce ampmtime format
+
-
+oclock
- make \currenttime produce oclock format
+
-
+nodate
- Don’t redefine \today or define the month or day of week commands
+ (useful if you only want the time commands)
+
-
+iso
- as ddmmyyyy and hhmmss but also sets date separator to - and time separator
+ to :
+ The default options are: long, raise, dayofweek and 24hr.
+
+
+Top
9 Multilingual Support
+
+
+
+
If you use the ngerman package, you must use datetime’s ngerman package option if you
+want the date displayed in the same form as ngerman. You must also load ngerman
+before you load datetime. Similarly for the german package.
+
If you want to use the babel package, you must load it before you load the datetime
+package. This is because the babel \date⟨lang⟩ commands redefine \today, whereas the
+datetime package redefines \today to use \formatdate, and the date formatting
+commands (such as \longdate) redefine \formatdate rather than \today. This ensures
+consistent formatting of the dates whether you use \today or \formatdate. Therefore,
+the datetime package has to redefine all the \date⟨lang⟩ commands accordingly. Thus the
+multilingual date support is mostly limited to that provided by babel. 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.
+
As from v2.56, the package options supplied to datetime override babel’s date
+format. For example:
+
+
+
+
+
+\usepackage[french,spanish]{babel}
+
\usepackage[ddmmyyyy]{datetime}
+
+ will use ddmmyyyy date format regardless of language. Note that if you use a
+declaration instead of a package option, for example:
+
+
+
+
+
+\usepackage[french,spanish]{babel}
+
\usepackage{datetime}
+
\ddmmyyyydate
+
+ the date format will be switched back to \datefrench or \datespanish whenever the
+language is set. You can use
+
\setdefaultdate \setdefaultdate{⟨
declaration⟩
}
+
+to always use {⟨declaration⟩} whenever the language is set. For example:
+
+
+
+
+
+\setdefaultdate{\ddmmyyyydate}
+
+
+
The commands \monthname and \shortmonthname, will produce the month name in
+the current language. If you want the month name in a specific language, you
+can use the command \monthname⟨lang⟩. For example, \monthnamefrench[6]
+will produce the output: juin. Note that \textdate is formatted for English
+dates, and won’t look right if used with another language setting. If you want
+a textual date, the fmtcount package (which is loaded by datetime) defines
+some commands which display a number or ordinal as a word, but it only has
+very limited multilingual support. See the fmtcount documentation for further
+details.
+
+
+Top
10 Registers
+
TEX provides \day, \month and \year registers. In addition, datetime provides the
+registers: \currenthour, \currentminute and \currentsecond. Note that old
+distributions of TEX will always have \currentsecond set to zero.
+
+
+Top
11 Configuration File
+
As from Version 2.4, the datetime package will read in settings from the configuration
+file datetime.cfg, 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 datetime.cfg that contains the
+line:
+
+
+
+
+
+\shortdate\showdowfalse
+
+ The file datetime.cfg should then go somewhere on the TEX path. Now all you need
+to do is:
+
+
+
+
+
+\usepackage{datetime}
+
+ without having to specify the short and nodayofweek options.
+
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:
+
+
+
+
+
+\newdateformat{dashdate}{\twodigit{\THEDAY}-\twodigit{\THEMONTH}-\THEYEAR}
+
\dashdate
+
+ Whenever you use the datetime package, it will now use this format by default.
+
+
+Top
12 LaTeX2HTML styles
+
+
+
Version 2.43 and above of the datetime bundle supplies the LaTeX2HTML style file
+datetime.perl. This file should be placed in a directory searched by LaTeX2HTML.
+The following limitations apply to the LaTeX2HTML styles:
+
+
+ - The configuration file datetime.cfg is currently ignored. You can however
+ do:
+
+
+
+
+ \usepackage{datetime}
+
\html{\input{datetime.cfg}}
+
+ This, I agree, is an unpleasant cludge.
+
+ - The commands \monthname⟨language⟩ are not implemented.
+
+ - Some of the languages are not implemented.
+
+ - The package option nodate is not implemented.
+
+
+
+Top
13 Troubleshooting
+
There is a datetime FAQ available at: http://www.dickimaw-books.com/faqs/datetimefaq.html.
+
+
+
+
+
+
+ Index
+ A
+
+ \amname 1, 2
+
\amorpmname 3
+
\amorpmstring 4
+
\amstring 5, 6
+
B
+babel package 7, 8, 9, 10, 11, 12, 13
+
C
+\currenthour 14
+\currentminute 15
+\currentsecond 16
+\currenttime 17
+
D
+\dateseparator 18, 19, 20
+datetime package 21, 22
+datetime2 package 23
+DAY (counter) 24, 25, 26
+\day 27
+\dayofweekname 28
+\ddmmyydate 29
+\ddmmyyyydate 30, 31
+\displaydate 32
+\dmyydate 33
+\dmyyyydate 34
+
F
+fmtcount package 35, 36, 37, 38, 39, 40, 41
+\formatdate 42, 43, 44, 45, 46
+\formattime 47
+
G
+
+
+
+german package 48
+\getdateday 49
+\getdatemonth 50
+\getdateyear 51
+
H
+\halfpast 52
+HOUR (counter) 53
+HOURXII (counter) 54
+
I
+\ifshowdow 55
+ifthen package 56
+
L
+\longdate 57, 58, 59, 60, 61
+
M
+\mdyydate 62
+\mdyyyydate 63
+\midnight 64
+MINUTE (counter) 65
+\mmddyydate 66
+\mmddyyyydate 67
+MONTH (counter) 68
+\month 69
+\monthname 70, 71
+
N
+\newdate 72
+\newdateformat 73, 74, 75
+\newtimeformat 76
+ngerman package 77, 78, 79
+\noon 80
+
O
+\oclockstring 81
+\ordinal 82, 83, 84
+
+
+
+\ordinaldate 85, 86
+\ordinalnum 87
+
P
+package options:
+ 12hr 88
+ 24hr 89, 90
+ dayofweek 91, 92, 93, 94, 95, 96, 97
+ ddmmyy 98
+ ddmmyyyy 99, 100
+ dmyy 101
+ dmyyyy 102
+ hhmmss 103, 104
+ iso 105
+ level 106
+ long 107, 108
+ mdyy 109
+ mdyyyy 110
+ mmddyy 111
+ mmddyyyy 112
+ ngerman 113
+ nodate 114, 115, 116
+ nodayofweek 117, 118, 119, 120, 121
+ oclock 122
+ raise 123, 124
+ short 125, 126
+ text 127
+ us 128
+ yyyymmdd 129
+\pdfdate 130
+\pmname 131, 132
+\pmstring 133, 134
+
Q
+\quarterpast 135
+\quarterto 136
+
S
+SECOND (counter) 137
+seminar package 138
+\setdefaultdate 139
+\settimeformat 140, 141
+\shortdate 142, 143
+
+
+
+\shortdayofweekname 144
+\shortmonthname 145, 146
+
T
+\textdate 147, 148, 149
+\THEDAY 150, 151
+\THEHOUR 152
+\THEHOURXII 153
+\THEMINUTE 154
+\THEMONTH 155
+\THESECOND 156
+\THETOHOUR 157
+\THETOMINUTE 158
+\THEYEAR 159
+\timeseparator 160, 161
+\today 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178
+TOHOUR (counter) 179
+TOMINUTE (counter) 180
+\twodigit 181
+
U
+\usdate 182
+
Y
+YEAR (counter) 183
+\year 184
+\yyyymmdddate 185
+
+
+
+
+
+
+
+
diff --git a/Master/texmf-dist/doc/latex/datetime/datetime-manual.tex b/Master/texmf-dist/doc/latex/datetime/datetime-manual.tex
new file mode 100644
index 00000000000..0580c26cbc9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/datetime/datetime-manual.tex
@@ -0,0 +1,666 @@
+\documentclass{nlctdoc}
+
+\usepackage[colorlinks,
+ bookmarks,
+ bookmarksopen,
+ hyperindex=false,
+ pdfauthor={Nicola L.C. Talbot},
+ pdftitle={datetime.sty: A Date and Time Package},
+ pdfkeywords={date,time,LaTeX}]{hyperref}
+
+\usepackage{creatdtx}
+
+\begin{document}
+\RecordChanges
+\OnlyDescription
+
+\title{datetime.sty v2.60:
+Formatting Current Date and Time}
+ \author{Nicola L. C. Talbot\\[10pt]
+ Dickimaw Books\\
+ \url{http://www.dickimaw-books.com/}}
+ \date{2015-03-20}
+ \maketitle
+
+\begin{important}
+This is the last version of this package. The replacement package is
+called \sty{datetime2} and will be released shortly after the
+this final version.
+\end{important}
+
+ \tableofcontents
+
+ \section{Introduction}
+\changes{1.0}{2000/08/08}{First release}
+\changes{1.01}{2000/09/18}{Documentation added}
+The \styfmt{datetime} package is a \LaTeXe\ package that
+provides various different formats for \ics{today},
+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 \pkgopt{nodate} to the package.
+\changes{2.3}{2004/05/01}{nodate package option added}
+
+\changes{2.41}{2004/10/22}{split package into two files:
+datetime.sty and fmtcount.sty}
+Since version 2.4, the \styfmt{datetime} package has been
+separated into two packages: \styfmt{datetime} and
+\sty{fmtcount}. When I originally created this package,
+I defined the commands, \ics{ordinal} etc which could be used
+in the definition of \cs{today}. Since then, I have extended
+the number of commands available that can be used to display the
+value of a \LaTeX\ counter, however it seems more appropriate to
+define all these counter-related commands in a separate package.
+The \sty{fmtcount} package is now distributed separately
+from the \styfmt{datetime} package, and will also need to
+be installed.
+
+\changes{2.42}{2004/11/01}{made package compatible with babel}
+As from version 2.42, the \styfmt{datetime} package is now
+compatible with \sty{babel}, however you must load the
+\styfmt{datetime} package \emph{after} the \sty{babel} package.
+For example:
+\begin{verbatim}
+\usepackage[francais]{babel}
+\usepackage{datetime}
+\end{verbatim}
+
+ \section{Predefined Date Formats}
+ There are various declarations that change the effect of
+\ics{today}. The change can be localised by placing the
+declaration within a group.
+
+As from version 2.43, the numerical date formats (such as
+\ics{ddmmyyyydate}) use the command
+\begin{definition}[\DescribeMacro{\dateseparator}]
+\cs{dateseparator}
+\end{definition}
+to separate the numbers. So, for example, if you want to hyphens
+instead of slashes, you can do:
+\begin{verbatim}
+\renewcommand{\dateseparator}{-}
+\end{verbatim}
+
+\subsection{ISO format}
+
+\begin{definition}[\DescribeMacro{\yyyymmdddate}]
+\cs{yyyymmdddate}
+\end{definition}
+This declaration will redefine \ics{today} to produce the current
+date displayed in the form 2000/03/08. (You can redefine
+\ics{dateseparator} to \texttt{-} to change to 2000-03-08.)
+
+\subsection{\texorpdfstring{\meta{Day} \meta{Month} \meta{Year}}{Day Month Year} formats}
+
+\begin{definition}[\DescribeMacro{\longdate}]
+\cs{longdate}
+\end{definition}
+This declaration will redefine \ics{today} to produce the current
+date displayed in the form Wednesday 8\textsuperscript{th} March,
+2000 if the package option \pkgopt{dayofweek} is used, or
+8\textsuperscript{th} March, 2000 if the package option
+\pkgopt{nodayofweek} is used.
+
+\begin{definition}[\DescribeMacro{\shortdate}]
+\cs{shortdate}
+\end{definition}
+This declaration will redefine \ics{today} to produce the current
+date displayed in the form Wed 8\textsuperscript{th} Mar, 2000 if
+the package option \pkgopt{dayofweek} is used, or
+8\textsuperscript{th} Mar, 2000 if the package option
+\pkgopt{nodayofweek} is used.
+
+\begin{definition}[\DescribeMacro{\ddmmyyyydate}]
+\cs{ddmmyyyydate}
+\end{definition}
+This declaration will redefine \ics{today} to produce the current
+date displayed in the form 08/03/2000.
+
+\begin{definition}[\DescribeMacro{\dmyyyydate}]
+\cs{dmyyyydate}
+\end{definition}
+This declaration will redefine \ics{today} to produce the current
+date displayed in the form 8/3/2000.
+
+\begin{definition}[\DescribeMacro{\ddmmyydate}]
+\cs{ddmmyydate}
+\end{definition}
+This declaration will redefine \ics{today} to produce the current
+date displayed in the form 08/03/00.
+
+\begin{definition}[\DescribeMacro{\dmyydate}]
+\cs{dmyydate}
+\end{definition}
+This declaration will redefine \ics{today} to produce the current
+date displayed in the form 8/3/00.
+
+\begin{definition}[\DescribeMacro{\textdate}]
+\cs{textdate}
+\end{definition}
+This declaration will redefine \ics{today} to produce the current
+date displayed in the form: Wednesday the Eighth of March, Two
+Thousand if the package option \pkgopt{dayofweek} is used, or Eighth
+of March, Two Thousand if the package option \pkgopt{nodayofweek} is
+used. Note that \cs{textdate} is defined for use with English, it
+won't look right if it is used when another language has been
+selected\footnote{in fact, you may get an error from the
+\sty{fmtcount} package if you are using a language that it doesn't
+support.}. If you want to define a similar command for another
+language, you will first need to check that the \sty{fmtcount}
+package supports that language.
+
+\subsection{\texorpdfstring{\meta{Month} \meta{Day} \meta{Year}}{Month Day Year} formats}
+
+\begin{definition}[\DescribeMacro{\usdate}]
+\cs{usdate}
+\end{definition}
+This declaration will redefine \cs{today} to produce the current
+date displayed in the form March 8, 2000. (As \TeX\ and \LaTeX\ do
+by default.)
+
+\begin{definition}[\DescribeMacro{\mmddyyyydate}]
+\cs{mmddyyyydate}
+\end{definition}
+This declaration will redefine \ics{today} to produce the current
+date displayed in the form 03/08/2000.
+
+\begin{definition}[\DescribeMacro{\mdyyyydate}]
+\cs{mdyyyydate}
+\end{definition}
+This declaration will redefine \verb"\today" to produce the current
+date displayed in the form 3/8/2000.
+
+\begin{definition}[\DescribeMacro{\mmddyydate}]
+\cs{mmddyydate}
+\end{definition}
+This declaration will redefine \ics{today} to produce the current
+date displayed in the form 03/08/00.
+
+\begin{definition}[\DescribeMacro{\mdyydate}]
+\cs{mdyydate}
+\end{definition}
+This declaration will redefine \ics{today} to produce the current
+date displayed in the form 3/8/00.
+
+\subsection{Dates defined by \texorpdfstring{\styfmt{babel}}{babel}}
+
+In addition to the above, the declarations \cs{date}\meta{lang} are
+available for all languages defined either by calling \sty{babel}
+prior to \styfmt{datetime} or by passing the language name as an
+option to \styfmt{datetime}. See~\sectionref{sec:newdate} if you
+want to define your own customised date format.
+
+ \section{Time Commands}
+
+The current time is displayed using the command
+\begin{definition}[\DescribeMacro{\currenttime}]
+\cs{currenttime}
+\end{definition}
+
+A specific time can be displayed using the command
+\begin{definition}[\DescribeMacro{\formattime}]
+\cs{formattime}\marg{hour}\marg{minute}\marg{second}
+\end{definition}
+where \meta{hour} is a number from~0 to~23, and \meta{minute} and
+\meta{second} are numbers from~0 to~59.
+
+The format can be changed using the declaration
+\begin{definition}[\DescribeMacro{\settimeformat}]
+\cs{settimeformat}\marg{style}
+\end{definition}
+where \meta{style} is the name of the
+format. Predefined formats are:
+\begin{description}
+\item[xxivtime] Twenty-four hour time in the form 22:28 (Default)
+\item[hhmmsstime] Twenty-four hour time in the form 22:28:00
+\item[ampmtime] Twelve hour time in the form 10:28pm
+\item[oclock] Displays the current time as a string, e.g.\
+Twenty-Eight minutes past Ten in the afternoon.
+\end{description}
+
+New time formats can be defined using the command:
+\begin{definition}[\DescribeMacro{\newtimeformat}]
+\cs{newtimeformat}\marg{name}\marg{format}
+\end{definition}
+where \meta{name} is the name of the new format (used in
+\ics{settimeformat}), and \meta{format} is how to format the time.
+Within \meta{format} you can use the counters \ctr{HOUR} (number
+of hours after midnight), \ctr{MINUTE} (number of minutes past
+the hour), \ctr{SECOND} (number of seconds) \ctr{HOURXII}
+(number of hours after midnight/midday), \ctr{TOHOUR} (the next
+hour) and \ctr{TOMINUTE} (number of minutes to the next hour),
+and the corresponding commands: \ics{THEHOUR}, \ics{THEMINUTE},
+\ics{THESECOND}, \ics{THEHOURXII}, \ics{THETOHOUR} and
+\ics{THETOMINUTE}.
+
+For example, to define a new time format that uses a dot instead of a
+colon:
+\begin{verbatim}
+\newtimeformat{dottime}{\twodigit{\THEHOUR}.\twodigit{\THEMINUTE}}
+\end{verbatim}
+You then need to switch to this new format before you can use it:
+\begin{verbatim}
+\settimeformat{dottime}
+\currenttime
+\end{verbatim}
+
+As from version 2.43, if you only want to change the separator,
+you can simply redefine
+\begin{definition}[\DescribeMacro{\timeseparator}]
+\cs{timeseparator}
+\end{definition}
+instead of defining a new time format. For example:
+\begin{verbatim}
+\renewcommand{\timeseparator}{.}
+\end{verbatim}
+The \texttt{xxivtime} format will now work like the \texttt{dottime}
+format defined above.
+
+ \section{Formating Dates}
+\begin{definition}[\DescribeMacro{\pdfdate}]
+\cs{pdfdate}
+\end{definition}
+ This command\footnote{thanks to Ulrich Dirr for
+asking about this} prints the date in the format required for
+ PDF files, e.g.\ if the date is 1 May 2004 and time is
+ 22:02, \verb"\pdfdate" 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\TeX. (This
+command is defined regardless of whether the package option
+\texttt{nodate} is called.)
+Example:
+\begin{verbatim}
+\pdfinfo{
+ /Author (Me)
+ /Title (A Sample Document)
+ /CreationDate (D:20040501215500)
+ /ModDate (D:\pdfdate)
+}
+\end{verbatim}
+\textbf{Note} that PDF\TeX\ introduced the new primitive
+\cs{pdfcreationdate} in version 1.30.0, so \cs{pdfdate} isn't
+required with newer versions of PDF\TeX. (\cs{pdfcreationdate}
+is better than \cs{pdfdate} as it also stores the time zone.)
+
+ There are two commands that print the name of the current
+ month:
+\begin{definition}[\DescribeMacro{\monthname}]
+\cs{monthname}\oarg{num}
+\end{definition}
+prints the current month name in full,
+e.g.\ August, and
+\begin{definition}[\DescribeMacro{\shortmonthname}]
+\cs{shortmonthname}\oarg{num}
+\end{definition}
+prints the abbreviated month name, e.g.\ Aug. Both \cs{monthname}
+and \cs{shortmonthname} take an optional argument (a number from 1
+to 12) if the name of a specific month is required. For example,
+\verb"\monthname[6]" will produced the output: June.
+
+ The day of the week is computed using the algorithm documented at
+ \url{http://userpages.wittenburg.edu/bshelburne/Comp150/DayOfWeek.htm}.
+ This algorithm works for any date between 1\textsuperscript{st}
+Jan, 1901 and 31\textsuperscript{st} Dec, 2099.
+ The following macros display the day of week for a given date:
+
+\begin{definition}[\DescribeMacro{\dayofweekname}]
+\cs{dayofweekname}\marg{day}\marg{month}\marg{year}
+\end{definition}
+prints the day of week for the specified date. For example,
+\begin{verbatim}
+\dayofweekname{31}{10}{2002}
+\end{verbatim}
+will produce the output: Thursday.
+
+\begin{definition}[\DescribeMacro{\shortdayofweekname}]
+\cs{shortdayofweekname}\meta{day}\marg{month}\marg{year}
+\end{definition}
+prints the abbreviated name for the day of week for the specified
+date. For example
+\begin{verbatim}
+\shortdayofweekname{31}{10}{2002}
+\end{verbatim}
+will produce the output: Thu.
+
+\begin{definition}[\DescribeMacro{\ifshowdow}]
+\cs{ifshowdow}
+\end{definition}
+This \TeX\ conditional can be used to determine whether or not the
+option \pkgopt{dayofweek} has been passed to the package. For
+example:
+\begin{verbatim}
+\ifshowdow\dayofweekname{31}{10}{2002} \fi
+\end{verbatim}
+will only display the day of week if the \pkgopt{dayofweek} option
+was passed to \styfmt{datetime}. Alternatively, you can use
+David~Carlisle's \sty{ifthen} package:
+\begin{verbatim}
+\ifthenelse{\boolean{showdow}}{\dayofweekname{31}{10}{2002} }{}
+\end{verbatim}
+
+The command
+\begin{definition}[\DescribeMacro{\ordinaldate}]
+\cs{ordinaldate}\marg{number}
+\end{definition}
+displays \meta{number} as a date-type ordinal. If the current
+language is English, this will simply pass the argument to
+\ics{ordinalnum} (defined in the \sty{fmtcount} package), if the
+current language is Breton, Welsh or French, a superscript will only
+be added if \meta{number} is 1, otherwise only \meta{number} will be
+displayed.
+
+The macro\footnote{Note the name change since version 1.1. The
+command name was changed from \cs{thedate} to \cs{formatdate} to
+avoid a name clash when using the \sty{seminar} class file.}
+\begin{definition}[\DescribeMacro{\formatdate}]
+\cs{formatdate}\marg{day}\marg{month}\marg{year}
+\end{definition}
+formats the specified date according to the current format of
+\ics{today}\footnote{To be more precise, \ics{today} is defined to
+be \ics{formatdate}\{\cs{day}\}\{\cs{month}\}\{\cs{year}\} where
+\ics{longdate} etc change the definition of \cs{formatdate}}.
+(Arguments must all be integers.) For example, in combination with
+\ics{longdate}, the command
+\begin{verbatim}
+\formatdate{27}{9}{2004}
+\end{verbatim}
+will produce the output: Monday 27\textsuperscript{th} September,
+2004.
+
+You can ensure that a number is displayed with at least two digits
+using the command
+\begin{definition}[\DescribeMacro{\twodigit}]
+\cs{twodigit}\marg{num}
+\end{definition}
+
+\section{Defining New Date Formats}\label{sec:newdate}
+
+New date formats can be defined using the command:
+\begin{definition}[\DescribeMacro{\newdateformat}]
+ \cs{newdateformat}\marg{name}\marg{format}
+\end{definition}
+where \meta{name} is the name of the new format, and \meta{format}
+is how to format the date. Within the argument \meta{format} you can
+use the commands \ics{THEDAY}, \ics{THEMONTH} and \ics{THEYEAR} to
+represent the relevant day, month and year, or you can use the
+counters \ctr{DAY}, \ctr{MONTH} and \ctr{YEAR} if you want to use
+\ics{ordinal} etc. Once you have defined the new date format, you
+can then switch to it using the declaration \verb'\'\meta{name}
+(i.e.\ the name you specified preceded by a backslash), and
+subsequent calls to \ics{today} and \ics{formatdate} will use your
+new format.
+
+For example, suppose you want to define a new date format called,
+say, \texttt{mydate}, that will typeset the date in the form:
+8-3-2002, then you can do:
+\begin{verbatim}
+\newdateformat{mydate}{\THEDAY-\THEMONTH-\THEYEAR}
+\end{verbatim}
+\ics{newdateformat} will then define the declaration
+\cs{mydate} 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 date:
+\begin{verbatim}
+\newdateformat{dashdate}{%
+\twodigit{\THEDAY}-\twodigit{\THEMONTH}-\THEYEAR}
+
+\newdateformat{usvardate}{%
+\monthname[\THEMONTH] \ordinal{DAY}, \THEYEAR}
+
+Dash: \dashdate\today.
+US: \usvardate\today.
+\end{verbatim}
+If the current date is, say, 8th March, 2002, the above code will
+produce the following: Dash: 08-03-2002. US: March
+8\textsuperscript{th}, 2002.
+
+Note that \ics{THEDAY} etc and \ctr{DAY} etc have no real
+meaning outside \ics{newdateformat} (this is why they
+are in uppercase). Incidentally, the \texttt{dashdate} format
+is not really necessary, as you can achieve this format
+using:
+\begin{verbatim}
+\renewcommand{\dateseparator}{-}
+\ddmmyyyydate
+\end{verbatim}
+
+Another note: in the above code, \ics{ordinal} was
+used to illustrate the use of the \ctr{DAY} counter. It
+is better to use \ics{ordinaldate} instead:
+\begin{verbatim}
+\newdateformat{usvardate}{%
+\monthname[\THEMONTH] \ordinaldate{\THEDAY}, \THEYEAR}
+\end{verbatim}
+
+\section{Saving Dates}
+
+It is possible to save a date for later use using the command:
+\footnote{Thanks to Denis Bitouz\'e for asking about this}
+\begin{definition}[\DescribeMacro{\newdate}]
+\cs{newdate}\marg{name}\marg{day}\marg{month}\marg{year}
+\end{definition}
+
+This date can later be displayed using the same format as that
+used by \ics{formatdate} using the command:
+\begin{definition}[\DescribeMacro{\displaydate}]
+\cs{displaydate}\marg{name}
+\end{definition}
+
+Individual elements of the date can be extracted using the
+commands:
+\begin{definition}[\DescribeMacro{\getdateday}]
+\cs{getdateday}\marg{name}
+\end{definition}
+\begin{definition}[\DescribeMacro{\getdatemonth}]
+\cs{getdatemonth}\marg{name}
+\end{definition}
+\begin{definition}[\DescribeMacro{\getdateyear}]
+\cs{getdateyear}\marg{name}
+\end{definition}
+
+\section{Predefined Names}
+
+The following commands are defined by the \styfmt{datetime}
+package:
+
+\begin{tabular}{ll}
+\bfseries Command Name & \bfseries Default Value\\
+\ics{dateseparator} & \verb'/'\\
+\ics{timeseparator} & \verb':'\\
+\ics{amname} & \texttt{am}\\
+\ics{pmname} & \texttt{pm}\\
+\ics{amorpmname} & \ics{amname} if morning, otherwise \ics{pmname}\\
+\ics{amstring} & \texttt{in the morning}\\
+\ics{pmstring} & \texttt{in the afternoon}\\
+\ics{amorpmstring} & \ics{amstring} if morning, otherwise
+\ics{pmstring}\\
+\ics{halfpast} & \texttt{Half past}\\
+\ics{quarterpast} & \texttt{Quarter past}\\
+\ics{quarterto} & \texttt{Quarter to}\\
+\ics{noon} & \texttt{Noon}\\
+\ics{midnight} & \texttt{Midnight}\\
+\ics{oclockstring} & \texttt{O'Clock}
+\end{tabular}
+
+\section{Package Options}
+
+ The following options may be passed to this package:
+\begin{description}
+\item[\pkgopt{long}] make \cs{today} produce long date
+\item[\pkgopt{short}] make \cs{today} produce short date
+\item[\pkgopt{yyyymmdd}] make \cs{today} produce YYYY/MM/DD date
+\item[\pkgopt{ddmmyyyy}] make \cs{today} produce DD/MM/YYYY date
+\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 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
+\item[\pkgopt{mmddyy}] make \cs{today} produce MM/DD/YY date
+\item[\pkgopt{mdyy}] make \cs{today} produce M/D/YY date
+\item[\pkgopt{raise}] make ordinal st,nd,rd,th appear as superscript
+\item[\pkgopt{level}] make ordinal st,nd,rd,th appear level with rest of
+text
+\item[\pkgopt{dayofweek}] make the day of week appear for \ics{longdate},
+\ics{shortdate}
+ or \ics{textdate}
+\item[\pkgopt{nodayofweek}] don't display the day of week.
+\item[\pkgopt{hhmmss}] make \cs{currenttime} produce \texttt{hhmmsstime}
+format
+\item[\pkgopt{24hr}] make \cs{currenttime} produce \texttt{xxivtime}
+format
+\item[\pkgopt{12hr}] make \cs{currenttime} produce \texttt{ampmtime}
+format
+\item[\pkgopt{oclock}] make \cs{currenttime} produce \texttt{oclock}
+format
+\item[\pkgopt{nodate}] Don't redefine \cs{today} or define the month or
+day of week commands
+ (useful if you only want the time commands)
+\item[\pkgopt{iso}] as \pkgopt{ddmmyyyy} and \pkgopt{hhmmss} but
+also sets date separator to \texttt{-}
+ and time separator to \texttt{:}
+ \end{description}
+
+The default options are: \pkgopt{long}, \pkgopt{raise},
+\pkgopt{dayofweek} and \pkgopt{24hr}.
+
+\section{Multilingual Support}
+
+If you use the \sty{ngerman} package, you must use \styfmt{datetime}'s
+\pkgopt{ngerman} package option if you want the date displayed
+in the same form as \sty{ngerman}. You must also load \sty{ngerman}
+\emph{before} you load \styfmt{datetime}. Similarly for the
+\sty{german} package.
+
+If you want to use the \sty{babel} package, you must load
+it \emph{before} you load the \styfmt{datetime} package. This
+is because the \sty{babel} \cs{date}\meta{lang} commands
+redefine \ics{today}, whereas the \sty{datetime} package
+redefines \cs{today} to use \ics{formatdate}, and the
+date formatting commands (such as \ics{longdate}) redefine
+\cs{formatdate} rather than \cs{today}. This ensures
+consistent formatting of the dates whether you use \cs{today} or
+\cs{formatdate}. Therefore, the \styfmt{datetime} package
+has to redefine all the \cs{date}\meta{lang} commands accordingly.
+Thus the multilingual date support is mostly limited to that provided
+by \sty{babel}. 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.
+
+As from v2.56, the package options supplied to \styfmt{datetime}
+override \sty{babel}'s date format. For example:
+\begin{verbatim}
+\usepackage[french,spanish]{babel}
+\usepackage[ddmmyyyy]{datetime}
+\end{verbatim}
+will use ddmmyyyy date format regardless of language. Note that
+if you use a declaration instead of a package option, for
+example:
+\begin{verbatim}
+\usepackage[french,spanish]{babel}
+\usepackage{datetime}
+\ddmmyyyydate
+\end{verbatim}
+the date format will be switched back to \cs{datefrench} or
+\cs{datespanish} whenever the language is set. You can use
+\begin{definition}[\DescribeMacro{\setdefaultdate}]
+\cs{setdefaultdate}\marg{declaration}
+\end{definition}
+to always use \marg{declaration} whenever the language
+is set. For example:
+\begin{verbatim}
+\setdefaultdate{\ddmmyyyydate}
+\end{verbatim}
+
+The commands \ics{monthname} and \ics{shortmonthname},
+will produce the month name in the current language.
+If you want the month name in a specific language, you
+can use the command \cs{monthname}\meta{lang}.
+For example, \verb"\monthnamefrench[6]" will produce the output:
+juin. Note that \ics{textdate} is formatted for English dates,
+and won't look right if used with another language setting. If you
+want a textual date, the \sty{fmtcount} package (which is
+loaded by \styfmt{datetime}) defines some commands which display
+a number or ordinal as a word, but it only has very limited
+multilingual support. See the \sty{fmtcount} documentation
+for further details.
+
+\section{Registers}
+
+\TeX\ provides \ics{day}, \ics{month} and \ics{year} registers. In
+addition, \styfmt{datetime} provides the registers:
+\ics{currenthour}, \ics{currentminute} and \ics{currentsecond}.
+Note that old distributions of \TeX\ will always have
+\cs{currentsecond} set to zero.
+
+\section{Configuration File}
+
+As from Version 2.4, the \styfmt{datetime} package will read in settings
+from the configuration file \texttt{datetime.cfg}, 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 \texttt{datetime.cfg} that
+contains the line:
+\begin{verbatim}
+\shortdate\showdowfalse
+\end{verbatim}
+The file \texttt{datetime.cfg} should then go somewhere on the
+\TeX\ path. Now all you need to do is:
+\begin{verbatim}
+\usepackage{datetime}
+\end{verbatim}
+without having to specify the \pkgopt{short} and
+\pkgopt{nodayofweek} options.
+
+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:
+\begin{verbatim}
+\newdateformat{dashdate}{\twodigit{\THEDAY}-\twodigit{\THEMONTH}-\THEYEAR}
+\dashdate
+\end{verbatim}
+Whenever you use the \styfmt{datetime} package, it will now
+use this format by default.
+
+\section{LaTeX2HTML styles}
+
+\changes{2.43}{2005/02/25}{Added LaTeX2HTML support}%
+\changes{2.44}{2005/03/03}{Fixed minor bugs in Perl scripts}
+Version 2.43 and above of the \styfmt{datetime} bundle
+supplies the LaTeX2HTML style file \texttt{datetime.perl}.
+This file should be placed in a
+directory searched by LaTeX2HTML. The following limitations
+apply to the LaTeX2HTML styles:
+
+\begin{itemize}
+\item The configuration file \texttt{datetime.cfg}
+is currently ignored. You can however
+do:
+\begin{verbatim}
+\usepackage{datetime}
+\html{\input{datetime.cfg}}
+\end{verbatim}
+This, I agree, is an unpleasant cludge.
+
+\item The commands \cs{monthname}\meta{language} are not
+implemented.
+
+\item Some of the languages are not implemented.
+
+\item The package option \pkgopt{nodate} is not implemented.
+
+\end{itemize}
+
+\section{Troubleshooting}
+
+There is a \sty{datetime} FAQ available at:
+\url{http://www.dickimaw-books.com/faqs/datetimefaq.html}.
+
+\StopEventually{\phantomsection
+\addcontentsline{toc}{section}{Index}\PrintIndex
+}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/datetime/datetime.pdf b/Master/texmf-dist/doc/latex/datetime/datetime.pdf
new file mode 100644
index 00000000000..6aa4f79ab21
Binary files /dev/null and b/Master/texmf-dist/doc/latex/datetime/datetime.pdf differ
diff --git a/Master/texmf-dist/doc/latex/datetime/datetime.perl b/Master/texmf-dist/doc/latex/datetime/datetime.perl
new file mode 100644
index 00000000000..f603451934f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/datetime/datetime.perl
@@ -0,0 +1,2010 @@
+# File : datetime.perl
+# Author : Nicola Talbot
+# Date : 17 Nov 2009
+# Version : 1.04
+#
+# This is a LaTeX2HTML style implementing the datetime package, and
+# is distributed as part of that package.
+# Copyright 2007 Nicola L.C. 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.
+
+# set up default values for internal counters.
+
+($global{SECONDS},$global{MINUTE},$global{HOUR},$global{DAY},$global{MONTH},$global{YEAR})=localtime(time);
+$global{YEAR} += 1900;
+$global{MONTH}++;
+
+package main;
+
+&do_require_package('fmtcount');
+
+sub do_cmd_ordinaldate{
+ &do_cmd_ordinalnum(@_);
+}
+
+# define package options
+
+sub do_datetime_long{
+ &do_cmd_longdate(@_);
+}
+
+sub do_datetime_short{
+ &do_cmd_shortdate(@_);
+}
+
+sub do_datetime_text{
+ &do_cmd_textdate(@_);
+}
+
+sub do_datetime_yyyymmdd{
+ &do_cmd_yyyymmdddate(@_);
+}
+
+sub do_datetime_ddmmyyyy{
+ &do_cmd_ddmmyyyydate(@_);
+}
+
+sub do_datetime_dmyyyy{
+ &do_cmd_dmyyyydate(@_);
+}
+
+sub do_datetime_ddmmyy{
+ &do_cmd_ddmmyydate(@_);
+}
+
+sub do_datetime_dmyy{
+ &do_cmd_dmyyyydate(@_);
+}
+
+sub do_datetime_us{
+ &do_cmd_usdate(@_);
+}
+
+sub do_datetime_mmddyyyy{
+ &do_cmd_mmddyyyydate(@_);
+}
+
+sub do_datetime_mdyyyy{
+ &do_cmd_mdyyyydate(@_);
+}
+
+sub do_datetime_mmddyy{
+ &do_cmd_mmddyydate(@_);
+}
+
+sub do_datetime_mdyy{
+ &do_cmd_mdyyyydate(@_);
+}
+
+sub do_datetime_raise{
+ local($tmp)="";
+
+ $tmp .= 'sub do_cmd_fmtord{';
+ $tmp .= 'local($_) = @_;';
+ $tmp .= 'local($num) = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($num=$2));';
+ $tmp .= 'join("", "",$num,"",$_);';
+ $tmp .='}';
+
+ eval($tmp);
+}
+
+sub do_datetime_level{
+ local($tmp)="";
+
+ $tmp .= 'sub do_cmd_fmtord{';
+ $tmp .= 'local($_) = @_;';
+ $tmp .= 'local($num) = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($num=$2));';
+ $tmp .= 'join("", $num,$_);';
+ $tmp .='}';
+
+ eval($tmp);
+}
+
+sub do_datetime_dayofweek{
+ &do_cmd_showdowtrue(@_);
+}
+
+sub do_datetime_nodayofweek{
+ &do_cmd_showdowfalse(@_);
+}
+
+sub do_datetime_hhmmss{
+ &set_timeformat_hhmmsstime
+}
+
+sub do_datetime_24hr{
+ &set_timeformat_xxivtime
+}
+
+&do_datetime_24hr;
+
+sub do_datetime_12hr{
+ &set_timeformat_ampmtime
+}
+
+sub do_datetime_oclock{
+ &set_timeformat_oclock
+}
+
+sub do_datetime_iso{
+ &set_timeformat_hhmmsstime;
+ &do_cmd_yyyymmdddate;
+ eval('sub do_cmd_dateseparator{join(\'\', \'-\', $_[0]);}');
+ eval('sub do_cmd_timeseparator{join(\'\', \':\', $_[0]);}');
+}
+
+# babel stuff (Month will already be redefined by babel, so only need to change $dateformat)
+
+sub do_datetime_austrian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateaustrian{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateaustrian(@_);
+}
+
+if (defined &austrian_today)
+{
+ &do_datetime_austrian(@_);
+}
+
+sub do_datetime_bahasa{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datebahasa{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datebahasa(@_);
+}
+
+if (defined &bahasa_today)
+{
+ &do_datetime_bahasa(@_);
+}
+
+sub do_datetime_basque{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datebasque{';
+ $tmp .= ' $dateformat = "THEYEAR.eko MONTHNAME[THEMONTH] THEDAY";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datebasque(@_);
+}
+
+if (defined &basque_today)
+{
+ &do_datetime_basque(@_);
+}
+
+sub do_datetime_breton{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datebreton{';
+ $tmp .= ' $dateformat = "{ORDINALDATE{DAY}}\\ a viz MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ $tmp = 'sub do_cmd_ordinaldate{';
+ $tmp .= 'local($_) = @_;';
+ $tmp .= 'local($num) = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($num=$2));';
+ $tmp .= 'local($before) = $num;';
+
+ $tmp .= 'if ($num == 1)';
+ $tmp .= '{ $before .= \'a\~n\'; }';
+
+ $tmp .= '$before . $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datebreton(@_);
+}
+
+if (defined &breton_today)
+{
+ &do_datetime_breton(@_);
+}
+
+sub do_datetime_bulgarian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datebulgarian{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR \\cyrg.";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datebulgarian(@_);
+}
+
+if (defined &bulgarian_today)
+{
+ &do_datetime_bulgarian(@_);
+}
+
+sub do_datetime_catalan{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datecatalan{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] de THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datecatalan(@_);
+}
+
+if (defined &catalan_today)
+{
+ &do_datetime_catalan(@_);
+}
+
+sub do_datetime_croatian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datecroatian{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR.";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datecroatian(@_);
+}
+
+if (defined &croatian_today)
+{
+ &do_datetime_croatian(@_);
+}
+
+sub do_datetime_czech{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateczech{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateczech(@_);
+}
+
+if (defined &czech_today)
+{
+ &do_datetime_czech(@_);
+}
+
+sub do_datetime_danish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datedanish{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datedanish(@_);
+}
+
+if (defined &danish_today)
+{
+ &do_datetime_danish(@_);
+}
+
+sub do_datetime_dutch{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datedutch{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datedutch(@_);
+}
+
+if (defined &dutch_today)
+{
+ &do_datetime_dutch(@_);
+}
+
+sub do_datetime_esperanto{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateesperanto{';
+ $tmp .= ' $dateformat = "THEDAY--a de MONTHNAME[THEMONTH], THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateesperanto(@_);
+}
+
+if (defined &esperanto_today)
+{
+ &do_datetime_esperanto(@_);
+}
+
+sub do_datetime_estonian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateestonian{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR. a.";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateestonian(@_);
+}
+
+if (defined &estonian_today)
+{
+ &do_datetime_estonian(@_);
+}
+
+sub do_datetime_finnish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datefinnish{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datefinnish(@_);
+}
+
+if (defined &finnish_today)
+{
+ &do_datetime_finnish(@_);
+}
+
+sub do_datetime_french{
+ local($tmp) = "";
+
+ eval($tmp);
+ $tmp .= 'sub do_cmd_datefrench{';
+ $tmp .= ' $dateformat = "{ORDINALDATE{DAY}}\\ MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ $tmp = 'sub do_cmd_ordinaldate{';
+ $tmp .= 'local($_) = @_;';
+ $tmp .= 'local($num) = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($num=$2));';
+ $tmp .= 'local($before) = $num;';
+
+ $tmp .= 'if ($num == 1)';
+ $tmp .= '{ $before .= \'\ier\'; }';
+
+ $tmp .= '$before . $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datefrench(@_);
+}
+
+if (defined &french_today)
+{
+ &do_datetime_french(@_);
+}
+
+sub do_datetime_galician{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dategalician{';
+ $tmp .= ' $dateformat = "THEDAY de MONTHNAME[THEMONTH] de THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dategalician(@_);
+}
+
+if (defined &galician_today)
+{
+ &do_datetime_galician(@_);
+}
+
+sub do_datetime_german{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dategerman{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dategerman(@_);
+}
+
+if (defined &german_today)
+{
+ &do_datetime_german(@_);
+}
+
+sub do_datetime_greek{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dategreek{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dategreek(@_);
+}
+
+if (defined &greek_today)
+{
+ &do_datetime_greek(@_);
+}
+
+sub do_datetime_icelandic{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateicelandic{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateicelandic(@_);
+}
+
+if (defined &icelandic_today)
+{
+ &do_datetime_icelandic(@_);
+}
+
+sub do_datetime_irish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateirish{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateirish(@_);
+}
+
+if (defined &irish_today)
+{
+ &do_datetime_irish(@_);
+}
+
+sub do_datetime_italian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateitalian{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateitalian(@_);
+}
+
+if (defined &italian_today)
+{
+ &do_datetime_italian(@_);
+}
+
+sub do_datetime_latin{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datelatin{';
+ $tmp .= ' $dateformat = "ROMANNUMERALU{THEDAY} MONTHNAME[THEMONTH] ROMANNUMERALU{THEYEAR}";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datelatin(@_);
+}
+
+if (defined &latin_today)
+{
+ &do_datetime_latin(@_);
+}
+
+sub do_datetime_lsorbian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datelsorbian{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datelsorbian(@_);
+}
+
+if (defined &lsorbian_today)
+{
+ &do_datetime_lsorbian(@_);
+}
+
+sub do_datetime_magyar{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datemagyar{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR.";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datemagyar(@_);
+}
+
+if (defined &magyar_today)
+{
+ &do_datetime_magyar(@_);
+}
+
+sub do_datetime_naustrian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datenaustrian{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datenaustrian(@_);
+}
+
+if (defined &naustrian_today)
+{
+ &do_datetime_naustrian(@_);
+}
+
+sub do_datetime_ngerman{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datengerman{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datengerman(@_);
+}
+
+if (defined &ngerman_today)
+{
+ &do_datetime_ngerman(@_);
+}
+
+sub do_datetime_norsk{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datenorsk{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datenorsk(@_);
+}
+
+if (defined &norsk_today)
+{
+ &do_datetime_norsk(@_);
+}
+
+sub do_datetime_polish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datenorsk{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datenorsk(@_);
+}
+
+if (defined &polish_today)
+{
+ &do_datetime_polish(@_);
+}
+
+sub do_datetime_portuges{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateportuges{';
+ $tmp .= ' $dateformat = "THEDAY de MONTHNAME[THEMONTH] de THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateportuges(@_);
+}
+
+if (defined &portuges_today)
+{
+ &do_datetime_portuges(@_);
+}
+
+sub do_datetime_romanian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateromanian{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateromanian(@_);
+}
+
+if (defined &romanian_today)
+{
+ &do_datetime_romanian(@_);
+}
+
+sub do_datetime_russian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_daterussian{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR \\\\cyrg.";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_daterussian(@_);
+}
+
+if (defined &russian_today)
+{
+ &do_datetime_russian(@_);
+}
+
+sub do_datetime_samin{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datesamin{';
+ $tmp .= ' $dateformat = "MONTHNAME[THEMONTH] THEDAY.~b. THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datesamin(@_);
+}
+
+if (defined &samin_today)
+{
+ &do_datetime_samin(@_);
+}
+
+sub do_datetime_scottish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datescottish{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datescottish(@_);
+}
+
+if (defined &scottish_today)
+{
+ &do_datetime_scottish(@_);
+}
+
+sub do_datetime_serbian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateserbian{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateserbian(@_);
+}
+
+if (defined &serbian_today)
+{
+ &do_datetime_serbian(@_);
+}
+
+sub do_datetime_slovak{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateslovak{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateslovak(@_);
+}
+
+if (defined &slovak_today)
+{
+ &do_datetime_slovak(@_);
+}
+
+sub do_datetime_slovene{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateslovene{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateslovene(@_);
+}
+
+if (defined &slovene_today)
+{
+ &do_datetime_slovene(@_);
+}
+
+sub do_datetime_spanish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datespanish{';
+ $tmp .= ' $dateformat = "THEDAY~de MONTHNAME[THEMONTH] de~THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datespanish(@_);
+}
+
+if (defined &spanish_today)
+{
+ &do_datetime_spanish(@_);
+}
+
+sub do_datetime_swedish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateswedish{';
+ $tmp .= ' $dateformat = "THEDAY~MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ $tmp = "";
+ $tmp .= 'sub do_cmd_datesymd{';
+ $tmp .= ' $dateformat = "THEYEAR-TWODIGIT{THEMONTH}-TWODIGIT{THEDAY}";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ $tmp = "";
+ $tmp .= 'sub do_cmd_datesdmy{';
+ $tmp .= ' $dateformat = "THEDAY/THEMONTH THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateswedish(@_);
+}
+
+if (defined &swedish_today)
+{
+ &do_datetime_swedish(@_);
+}
+
+sub do_datetime_turkish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateturkish{';
+ $tmp .= ' $dateformat = "THEDAY~MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateturkish(@_);
+}
+
+if (defined &turkish_today)
+{
+ &do_datetime_turkish(@_);
+}
+
+sub do_datetime_ukraineb{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateukraineb{';
+ $tmp .= ' $dateformat = "THEDAY~MONTHNAME[THEMONTH] THEYEAR~\\\\cyrr.";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateukraineb(@_);
+}
+
+if (defined &ukraineb_today)
+{
+ &do_datetime_ukraineb(@_);
+}
+
+sub do_datetime_usorbian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateusorbian{';
+ $tmp .= ' $dateformat = "THEDAY.~MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateusorbian(@_);
+}
+
+if (defined &usorbian_today)
+{
+ &do_datetime_usorbian(@_);
+}
+
+sub do_datetime_welsh{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datewelsh{';
+ $tmp .= ' $dateformat = "{ORDINALDATE{DAY}}\\ a viz MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ $tmp = 'sub do_cmd_ordinaldate{';
+ $tmp .= 'local($_) = @_;';
+ $tmp .= 'local($num) = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($num=$2));';
+ $tmp .= 'local($before) = $num;';
+
+ $tmp .= 'if ($num == 1)';
+ $tmp .= '{ $before .= \'a\~n\'; }';
+
+ $tmp .= '$before . $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datewelsh(@_);
+}
+
+if (defined &welsh_today)
+{
+ &do_datetime_welsh(@_);
+}
+
+# As far as I know, LaTeX2HTML doesn't implement TeX conditionals.
+# $showdow corresponds to LaTeX boolean variable showdow
+$showdow = 1;
+
+sub get_monthname{
+ local($month) = @_;
+
+ if ($month eq 'THEMONTH' or $month eq '\THEMONTH')
+ {
+ # this is a cludge to help newdateformat work
+
+ 'MONTHNAME[THEMONTH]';
+ }
+ else
+ {
+ if ($month eq '')
+ {
+ local($today) = &get_date();
+ $today =~ m|(\d+)/0?(\d+)/|;
+ $month = $1;
+ }
+
+ $Month[$month];
+ }
+}
+
+sub do_cmd_monthname{
+ local($_) = @_;
+ local($month,$pat) = &get_next_optional_argument;
+
+ local($monthname) = &get_monthname($month);
+ join('',$monthname,$_);
+}
+
+sub get_shortmonthname{
+ local($month) = @_;
+
+ if ($month eq 'THEMONTH' or $month eq '\THEMONTH')
+ {
+ 'SHORTMONTHNAME[THEMONTH]';
+ }
+ else
+ {
+ substr(&get_monthname($month), 0, 3);
+ }
+}
+
+sub do_cmd_shortmonthname{
+ local($_) = @_;
+ local($month,$pat) = &get_next_optional_argument;
+
+ local($monthname) = &get_shortmonthname($month);
+
+ join('',$monthname,$_);
+}
+
+sub is_leap_year{
+ local($year) = @_;
+ local($isleapyear) = 0;
+
+ if (($year%400) == 0)
+ {
+ # year mod 400 = 0 => leap year
+
+ $isleapyear = 1;
+ }
+ elsif (($year%100) == 0)
+ {
+ # year mod 100 = 0 and year mod 400 != 0 => not a leap year
+
+ $isleapyear = 0;
+ }
+ elsif (($year%4) == 0)
+ {
+ # year mod 4 = 0 and year mod 100 != 0 => leap year
+
+ $isleapyear = 1;
+ }
+
+ $isleapyear;
+}
+
+sub get_day_of_year{
+ local($day,$month,$year) = @_;
+ local($dayofyear) = 0;
+
+ SWITCH: {
+ if ($month == 2) {$dayofyear += 31; last SWITCH; }
+ if ($month == 3) {$dayofyear += 59; last SWITCH; }
+ if ($month == 4) {$dayofyear += 90; last SWITCH; }
+ if ($month == 5) {$dayofyear += 120; last SWITCH; }
+ if ($month == 6) {$dayofyear += 151; last SWITCH; }
+ if ($month == 7) {$dayofyear += 181; last SWITCH; }
+ if ($month == 8) {$dayofyear += 212; last SWITCH; }
+ if ($month == 9) {$dayofyear += 243; last SWITCH; }
+ if ($month == 10) {$dayofyear += 273; last SWITCH; }
+ if ($month == 11) {$dayofyear += 304; last SWITCH; }
+ if ($month == 12) {$dayofyear += 334; last SWITCH; }
+ }
+
+ if ($month > 2 && &is_leap_year($year))
+ {
+ $dayofyear += 1;
+ }
+
+ $dayofyear += $day;
+ local($_)=$dayofyear;
+}
+
+sub get_day_of_week{
+ local($day,$month,$year) = @_;
+ local($dayofyear) = &get_day_of_year($day,$month,$year);
+ local($_) = (((($year-1901)%28)*1.25 + 2)%7 + $dayofyear - 1)%7 + 1;
+}
+
+sub get_day_of_weekname_english{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('Sunday',
+ 'Monday',
+ 'Tuesday',
+ 'Wednesday',
+ 'Thursday',
+ 'Friday',
+ 'Saturday');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_day_of_weekname_french{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('dimanche',
+ 'lundi',
+ 'mardi',
+ 'mercredi',
+ 'jeudi',
+ 'vendredi',
+ 'samedi');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_day_of_weekname_spanish{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('domingo',
+ 'lunes',
+ 'martes',
+ 'mi\\\'ercoles',
+ 'jueves',
+ 'viernes',
+ 's\\\'abado');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_day_of_weekname_portuges{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('domingo',
+ 'segunda-feira',
+ 'ter\c{c}a-feira',
+ 'quarta-feira',
+ 'quinta-feira',
+ 'sexta-feira',
+ 'sabado');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_day_of_weekname_german{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('Sonntag',
+ 'Montag',
+ 'Dienstag',
+ 'Mittwoch',
+ 'Donnerstag',
+ 'Freitag',
+ 'Samstag');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_day_of_weekname_ngerman{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('Sonntag',
+ 'Montag',
+ 'Dienstag',
+ 'Mittwoch',
+ 'Donnerstag',
+ 'Freitag',
+ 'Samstag');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_day_of_weekname{
+ local($dow)=@_;
+ local($dowsub);
+
+ $dowsub = "get_day_of_weekname_$default_language";
+
+ if (defined ($dowsub))
+ {
+ &$dowsub($dow);
+ }
+ else
+ {
+ &get_day_of_weekname_english($dow);
+ }
+}
+
+sub get_short_day_of_weekname_english{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('Sun',
+ 'Mon',
+ 'Tue',
+ 'Wed',
+ 'Thu',
+ 'Fri',
+ 'Sat');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_short_day_of_weekname_german{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('So',
+ 'Mo',
+ 'Di',
+ 'Mi',
+ 'Do',
+ 'Fr',
+ 'Sa');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_short_day_of_weekname_ngerman{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('So',
+ 'Mo',
+ 'Di',
+ 'Mi',
+ 'Do',
+ 'Fr',
+ 'Sa');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_short_day_of_weekname{
+ local($dow)=@_;
+ local($dowsub);
+
+ $dowsub = "get_short_day_of_weekname_$default_language";
+
+ if (defined ($dowsub))
+ {
+ &$dowsub($dow);
+ }
+ else
+ {
+ substr(&get_day_of_weekname($dow),0,3);
+ }
+}
+
+sub do_cmd_dayofweeknameid{
+ local($_) = @_;
+ local($dow);
+
+ $dow = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($dow=$2));
+
+ join('',&get_day_of_weekname($dow), $_);
+}
+
+sub do_cmd_dayofweekname{
+ local($_) = @_;
+ local($day,$month,$year);
+ # read 1st argument
+ $day = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($day=$2));
+ # read 2nd argument
+ $month = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($month=$2));
+ # read 3rd argument
+ $year = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($year=$2));
+
+ if ($day eq 'THEDAY' or $day eq '\THEDAY')
+ {
+ # this is a cludge to help newdateformat work
+
+ join('', '{DOW}', $_);
+ }
+ else
+ {
+ local($dow) = &get_day_of_week($day,$month,$year);
+
+ join('',&get_day_of_weekname($dow), $_);
+ }
+}
+
+sub do_cmd_shortdayofweekname{
+ local($_) = @_;
+ local($day,$month,$year);
+ # read 1st argument
+ $day = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($day=$2));
+ # read 2nd argument
+ $month = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($month=$2));
+ # read 3rd argument
+ $year = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($year=$2));
+
+ local($dow) = &get_day_of_week($day,$month,$year);
+
+ join('',&get_short_day_of_weekname($dow), $_);
+}
+
+sub do_cmd_thisdayofweekname{
+ local($dow) = &get_day_of_week($global{DAY}, $global{MONTH}, $global{YEAR});
+
+ join('',$DayOfWeek[$dow], $_);
+}
+
+sub do_cmd_thisshortdayofweekname{
+ local($dow) = &get_day_of_week($global{DAY}, $global{MONTH}, $global{YEAR});
+
+ join('',&get_short_day_of_weekname($dow), $_);
+}
+
+$dateformat = "\\ifshowdow{DOW}\\fi {ORDINALDATE{DAY}}\\ MONTHNAME[THEMONTH], THEYEAR";
+
+sub format_date{
+ local($day,$month,$year) = @_;
+
+ local($str) = $dateformat;
+
+ $str =~ s/THEDAY/$day/g;
+ $str =~ s/THEMONTH/$month/g;
+ $str =~ s/THEYEAR/$year/g;
+
+ $str =~ s/TWODIGIT{([\d]+)}/&get_twodigit($1)/eg;
+ $str =~ s/ROMANNUMERAL{([\d]+)}/&froman($1)/eg;
+ $str =~ s/ROMANNUMERALU{([\d]+)}/uc(&froman($1))/eg;
+ $str =~ s/TRUNCATE{([\d]+)}/&get_twodigit($1%100)/eg;
+ $str =~ s/SHORTMONTHNAME\[([\d]+)\]/&get_shortmonthname($1)/eg;
+ $str =~ s/MONTHNAME\[([\d]+)\]/&get_monthname($1)/eg;
+
+ local($X) = ++$global{'max_id'};
+ local($Y) = ++$global{'max_id'};
+ local($Z) = ++$global{'max_id'};
+ $str =~ s/{DOW}/\\dayofweekname${OP}$X${CP}$day${OP}$X${CP}${OP}$Y${CP}$month${OP}$Y${CP}${OP}$Z${CP}$year${OP}$Z${CP}/g;
+ $str =~ s/{SDOW}/\\shortdayofweekname${OP}$X${CP}$day${OP}$X${CP}${OP}$Y${CP}$month${OP}$Y${CP}${OP}$Z${CP}$year${OP}$Z${CP}/g;
+
+ local($br_id) = ++$global{'max_id'};
+ $suffix = &get_ordinal_suffix($day);
+ $str =~ s/{ORDINAL{DAY}}/$day\\fmtord${OP}$br_id${CP}$suffix${OP}$br_id${CP}/g;
+
+ $br_id = ++$global{'max_id'};
+ $suffix = &get_ordinal_suffix($month);
+ $str =~ s/{ORDINAL{MONTH}}/$month\\fmtord${OP}$br_id${CP}$suffix${OP}$br_id${CP}/g;
+
+ $br_id = ++$global{'max_id'};
+ $suffix = &get_ordinal_suffix($year);
+ $str =~ s/{ORDINAL{YEAR}}/$year\\fmtord${OP}$br_id${CP}$suffix${OP}$br_id${CP}/g;
+
+ local($br_id) = ++$global{'max_id'};
+ $str =~ s/{ORDINALDATE{DAY}}/\\ordinaldate${OP}$br_id${CP}$day${OP}$br_id${CP}/g;
+
+ $str =~ s/{NNUMBERSTRING{DAY}}/&get_Numberstring($day)/eg;
+ $str =~ s/{NNUMBERSTRING{MONTH}}/&get_Numberstring($month)/eg;
+ $str =~ s/{NNUMBERSTRING{YEAR}}/&get_Numberstring($year)/eg;
+
+ $str =~ s/{OORDINALSTRING{DAY}}/&get_Ordinalstring($day)/eg;
+ $str =~ s/{OORDINALSTRING{MONTH}}/&get_Ordinalstring($month)/eg;
+ $str =~ s/{OORDINALSTRING{YEAR}}/&get_Ordinalstring($year)/eg;
+
+ $str =~ s/{CAPNUMBERSTRING{DAY}}/uc(&get_numberstring($day))/eg;
+ $str =~ s/{CAPNUMBERSTRING{MONTH}}/uc(&get_numberstring($month))/eg;
+ $str =~ s/{CAPNUMBERSTRING{YEAR}}/uc(&get_numberstring($year))/eg;
+
+ $str =~ s/{CAPORDINALSTRING{DAY}}/uc(&get_ordinalstring($day))/eg;
+ $str =~ s/{CAPORDINALSTRING{MONTH}}/uc(&get_ordinalstring($month))/eg;
+ $str =~ s/{CAPORDINALSTRING{YEAR}}/uc(&get_ordinalstring($year))/eg;
+
+ $str =~ s/{NUMBERSTRING{DAY}}/&get_numberstring($day)/eg;
+ $str =~ s/{NUMBERSTRING{MONTH}}/&get_numberstring($month)/eg;
+ $str =~ s/{NUMBERSTRING{YEAR}}/&get_numberstring($year)/eg;
+
+ $str =~ s/{ORDINALSTRING{DAY}}/&get_ordinalstring($day)/eg;
+ $str =~ s/{ORDINALSTRING{MONTH}}/&get_ordinalstring($month)/eg;
+ $str =~ s/{ORDINALSTRING{YEAR}}/&get_ordinalstring($year)/eg;
+
+ $str;
+}
+
+sub do_cmd_formatdate{
+ local($day,$month,$year);
+ # read 1st argument
+ $day = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($day=$2));
+ # read 2nd argument
+ $month = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($month=$2));
+ # read 3rd argument
+ $year = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($year=$2));
+
+ join('', &format_date($day,$month,$year), $_[0]);
+}
+
+sub do_cmd_today{
+ join('', &format_date($global{DAY},$global{MONTH},$global{YEAR}), $_[0]);
+}
+
+sub do_cmd_day{
+ join('', $global{DAY}, $_[0]);
+}
+
+sub do_cmd_month{
+ join('', $global{MONTH}, $_[0]);
+}
+
+sub do_cmd_year{
+ join('', $global{YEAR}, $_[0]);
+}
+
+sub do_cmd_showdowtrue{
+ local($_) = @_;
+ $showdow = 1;
+ $_[0];
+}
+
+sub do_cmd_showdowfalse{
+ local($_) = @_;
+ $showdow = 0;
+ $_[0];
+}
+
+# This is a bit primative, it doesn't allow for
+# nested conditionals
+
+sub do_cmd_ifshowdow{
+ local($_) = @_;
+ local($ifbit,$elsebit);
+
+ $_[0] =~s/(.*)\\fi//;
+
+ $ifbit = $1;
+
+ $ifbit =~s/(.*)\\else(.*)/\1/g;
+
+ $elsebit = $2;
+
+ if ($showdow)
+ {
+ join('', $ifbit, $_[0]);
+ }
+ else
+ {
+ join('', $elsebit, $_[0]);
+ }
+}
+
+sub do_cmd_dateseparator{
+ join('', '/', $_[0]);
+}
+
+sub do_cmd_longdate{
+ $dateformat = "\\ifshowdow{DOW}\\fi {ORDINALDATE{DAY}}\\ MONTHNAME[THEMONTH], THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_shortdate{
+ $dateformat = "\\ifshowdow{SDOW}\\fi {ORDINALDATE{DAY}}\\ SHORTMONTHNAME[THEMONTH], THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_yyyymmdddate{
+ $dateformat = "THEYEAR\\dateseparator TWODIGIT{THEMONTH}\\dateseparator TWODIGIT{THEDAY}";
+
+ $_[0];
+}
+
+sub do_cmd_ddmmyyyydate{
+ $dateformat = "TWODIGIT{THEDAY}\\dateseparator TWODIGIT{THEMONTH}\\dateseparator THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_dmyyyydate{
+ $dateformat = "THEDAY\\dateseparator THEMONTH\\dateseparator THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_dmyydate{
+ $dateformat = "THEDAY\\dateseparator THEMONTH\\dateseparator TRUNCATE{THEYEAR}";
+
+ $_[0];
+}
+
+sub do_cmd_ddmmyydate{
+ $dateformat = "TWODIGIT{THEDAY}\\dateseparator TWODIGIT{THEMONTH}\\dateseparator TRUNCATE{THEYEAR}";
+
+ $_[0];
+}
+
+sub do_cmd_textdate{
+ $dateformat = "\\ifshowdow{DOW} the\\fi {OORDINALSTRING{DAY}} of MONTHNAME[THEMONTH], {NNUMBERSTRING{YEAR}}";
+
+ $_[0];
+}
+
+sub do_cmd_usdate{
+ $dateformat = "MONTHNAME[THEMONTH] THEDAY, THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_mmddyyyydate{
+ $dateformat = "TWODIGIT{THEMONTH}\\dateseparator TWODIGIT{THEDAY}\\dateseparator THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_mdyyyydate{
+ $dateformat = "THEMONTH\\dateseparator THEDAY\\dateseparator THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_mmddyydate{
+ $dateformat = "TWODIGIT{THEMONTH}\\dateseparator TWODIGIT{THEDAY}\\dateseparator TRUNCATE{THEYEAR}";
+
+ $_[0];
+}
+
+sub do_cmd_mdyydate{
+ $dateformat = "THEMONTH\\dateseparator THEDAY\\dateseparator TRUNCATE{THEYEAR}";
+
+ $_[0];
+}
+
+sub do_cmd_THEYEAR{
+ join('', 'THEYEAR', $_[0]);
+}
+
+sub do_cmd_THEMONTH{
+ join('', 'THEMONTH', $_[0]);
+}
+
+sub do_cmd_THEDAY{
+ join('', 'THEDAY', $_[0]);
+}
+
+sub do_cmd_newdateformat{
+ local($_) = @_;
+ local($cmd,$cmdbody);
+ local($ntmp);
+
+ $cmd = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($cmd=$2));
+ $cmdbody = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($cmdbody=$2));
+
+ $ntmp = 'sub do_cmd_' . $cmd . '{';
+ $ntmp .= '$dateformat = "' . $cmdbody . '";';
+
+ $ntmp .= '$_[0];';
+ $ntmp .= '}';
+
+ eval($ntmp);
+
+ join('', $_[0]);
+}
+
+sub do_cmd_pdfdate{
+ local($_) = @_;
+
+ local($timestring) = sprintf "%d%02d%02d%02d%02d%02d",
+ $global{YEAR}, $global{MONTH}, $global{DAY}, $global{HOUR}, $global{MINUTE}, $global{SECONDS};
+
+ join('', $timestring, $_[0]);
+}
+
+ %userdates = ();
+
+sub do_cmd_newdate{
+ local($_)=@_;
+ local($datename,$mon,$day,$year);
+
+ $datename = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($datename=$2));
+
+ $day = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($day=$2));
+
+ $mon = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($mon =$2));
+
+ $year = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($year =$2));
+
+ $userdates{$datename}{day} = $day;
+ $userdates{$datename}{month} = $mon;
+ $userdates{$datename}{year} = $year;
+
+ join('', $_[0]);
+}
+
+sub do_cmd_displaydate{
+ local($_)=@_;
+ local($datename);
+ local($cmd,$br_id);
+
+ $datename = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($datename=$2));
+
+ $br_id = ++$global{'max_id'};
+ $cmd = "$OP$br_id$CP" . $userdates{$datename}{day} ."$OP$br_id$CP";
+ $br_id = ++$global{'max_id'};
+ $cmd .= "$OP$br_id$CP" . $userdates{$datename}{month} ."$OP$br_id$CP";
+ $br_id = ++$global{'max_id'};
+ $cmd .= "$OP$br_id$CP" . $userdates{$datename}{year} ."$OP$br_id$CP";
+
+ join('', '\formatdate', $cmd, $_[0]);
+}
+
+sub do_cmd_getdateyear{
+ local($_)=@_;
+ local($datename);
+
+ $datename = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($datename=$2));
+
+ join('', $userdates{$datename}{year}, $_[0]);
+}
+
+sub do_cmd_getdatemonth{
+ local($_)=@_;
+ local($datename);
+
+ $datename = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($datename=$2));
+
+ join('', $userdates{$datename}{month}, $_[0]);
+}
+
+sub do_cmd_getdateday{
+ local($_)=@_;
+ local($datename);
+
+ $datename = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($datename=$2));
+
+ join('', $userdates{$datename}{day}, $_[0]);
+}
+
+# time commands
+
+sub do_cmd_timeseparator{
+ join('', ':', $_[0]);
+}
+
+sub do_cmd_noon{
+ local($_) = @_;
+
+ join('', "Noon", $_[0]);
+}
+
+sub do_cmd_midnight{
+ local($_) = @_;
+
+ join('', "Midnight", $_[0]);
+}
+
+sub do_cmd_amname{
+ local($_) = @_;
+
+ join('', "am", $_[0]);
+}
+
+sub do_cmd_pmname{
+ local($_) = @_;
+
+ join('', "pm", $_[0]);
+}
+
+sub do_cmd_amstring{
+ local($_) = @_;
+
+ join('', "in the morning", $_[0]);
+}
+
+sub do_cmd_pmstring{
+ local($_) = @_;
+
+ join('', "in the afternoon", $_[0]);
+}
+
+sub do_cmd_halfpast{
+ local($_) = @_;
+
+ join('', "Half past", $_[0]);
+}
+
+sub do_cmd_quarterpast{
+ local($_) = @_;
+
+ join('', "Quarter past", $_[0]);
+}
+
+sub do_cmd_quarterto{
+ local($_) = @_;
+
+ join('', "Quarter to", $_[0]);
+}
+
+sub do_cmd_oclockstring{
+ local($_) = @_;
+
+ join('', "O'Clock", $_[0]);
+}
+
+sub do_cmd_amorpmname{
+ if ($global{HOUR}>12)
+ {
+ &do_cmd_pmname;
+ }
+ else
+ {
+ &do_cmd_amname;
+ }
+}
+
+sub do_cmd_amorpmstring{
+ if ($global{HOUR}>12)
+ {
+ &do_cmd_pmstring;
+ }
+ else
+ {
+ &do_cmd_amstring;
+ }
+}
+
+sub set_timeformat_hhmmsstime{
+ $timeformat = "TWODIGIT{THEHOUR}\\timeseparator TWODIGIT{THEMINUTE}"
+ . "\\timeseparator TWODIGIT{THESECOND}";
+}
+
+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);
+ local($hourxii) = ($hour == 12 ? 12 : ($hour)%12);
+
+ $timestring = sprintf "%d\\timeseparator %02d", $hourxii, $min;
+
+ $timestring .= ($hour < 12 ?
+ "\\amname " : (($hour eq 12 and $min eq 0) ? " \\noon" :"\\pmname "));
+
+ $timestring
+}
+
+sub do_cmd_ampmtime{
+ join('', &format_ampmtime($global{HOUR},$global{MINUTE}), $_[0]);
+}
+
+sub do_cmd_timeformat_at_ampmtime{
+ local($hour,$min,$sec);
+ # read 1st argument
+ $hour = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($day=$2));
+ # read 2nd argument
+ $min = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($month=$2));
+ # read 3rd argument
+ $sec = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($year=$2));
+
+ join('', &format_ampmtime($hour, $min), $_[0]);
+}
+
+sub do_cmd_timeformatATampmtime{&do_cmd_timeformat_at_ampmtime}
+
+sub set_timeformat_ampmtime{
+ $timeformat = "TWODIGIT{THEHOURXII}\\timeseparator TWODIGIT{THEMINUTE}AMORPMNAME";
+}
+
+sub format_oclock{
+ local($hour,$min)=@_;
+
+ local($hourxii) = ($hour == 12 ? 12 : ($hour)%12);
+ local($tohour) = ($hour == 11 ? 12 :($hour+1)%12);
+ local($tominute) = ($min == 0? 0 : 60 - $min);
+
+ local($timestring);
+
+ if ($hour == 0 && $min == 0)
+ {
+ $timestring = "\\midnight";
+ }
+ elsif ($hour == 12 && $min == 0)
+ {
+ $timestring = "\\noon";
+ }
+ else
+ {
+ if ($min == 0)
+ {
+ $timestring = &get_Numberstring($hourxii) . " \\oclockstring";
+ }
+ elsif ($min == 15)
+ {
+ $timestring = "\\quarterpast\\ " . &get_Numberstring($hourxii);
+ }
+ elsif ($min == 30)
+ {
+ $timestring = "\\halfpast\\ " . &get_Numberstring($hourxii);
+ }
+ elsif ($min == 45)
+ {
+ $timestring = "\\quarterto\\ " . &get_Numberstring($tohour);
+ }
+ elsif ($min < 30)
+ {
+ $timestring = get_Numberstring($min);
+
+ $timestring .= ($min == 1 ? " minute" : " minutes") . " past ";
+
+ $timestring .= get_Numberstring($hourxii);
+ }
+ else
+ {
+ $timestring = get_Numberstring($tominute);
+
+ $timestring .= ($min == 1 ? " minute" : " minutes") . " to ";
+
+ $timestring .= get_Numberstring($tohour);
+ }
+
+ $timestring .= ($hour < 12 ? " \\amstring" : " \\pmstring");
+ }
+
+ $timestring
+}
+
+sub do_cmd_oclock{
+ local($_) = @_;
+
+ join('', &format_oclock($global{HOUR},$global{MINUTE}), $_[0]);
+}
+
+sub do_cmd_timeformat_at_oclock{
+ local($hour,$min,$sec);
+ # read 1st argument
+ $hour = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($day=$2));
+ # read 2nd argument
+ $min = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($month=$2));
+ # read 3rd argument
+ $sec = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($year=$2));
+
+ join('', &format_oclock($hour, $min), $_[0]);
+}
+
+sub do_cmd_timeformatAToclock{&do_cmd_timeformat_at_oclock}
+
+sub set_timeformat_oclock{
+ $timeformat="OCLOCK";
+}
+
+sub do_cmd_formattime{
+ local($_) = @_;
+ local($hour,$min,$sec);
+
+ # read 1st argument
+ $hour = &missing_braces unless
+ (s/$next_pair_pr_rx/$hour=$2;''/eo);
+ # read 2nd argument
+ $min = &missing_braces unless
+ (s/$next_pair_pr_rx/$min=$2;''/eo);
+ # read 3rd argument
+ $sec = &missing_braces unless
+ (s/$next_pair_pr_rx/$sec=$2;''/eo);
+
+ join('', &format_time($hour,$min,$sec), $_);
+}
+
+sub do_cmd_currenttime{
+ join('', &format_time($global{HOUR},$global{MINUTE},$global{SECONDS}), $_[0]);
+}
+
+sub format_time{
+ local($hour,$min,$sec) = @_;
+
+ local($str) = $timeformat;
+
+ local($hourxii) = ($hour == 12 ? 12 : ($hour)%12);
+ local($tohour) = ($hour == 11 ? 12 :($hour+1)%12);
+ local($tominute) = ($min == 0? 0 : 60 - $min);
+ local($amorpmname) = ($hour < 12 ? '\amname' :
+ ($hour == 12 ? ' \noon' : '\pmname'));
+
+ $str =~ s/THEHOURXII/$hourxii/g;
+ $str =~ s/THEHOUR/$hour/g;
+ $str =~ s/THEMINUTE/$min/g;
+ $str =~ s/THESECOND/$sec/g;
+ $str =~ s/THETOHOUR/$tohour/g;
+ $str =~ s/THETOMINUTE/$tominute/g;
+ $str =~ s/AMORPMNAME/$amorpmname/g;
+
+ $str =~ s/TWODIGIT{([\d]+)}/&get_twodigit($1)/eg;
+ $str =~ s/ROMANNUMERAL{([\d]+)}/&froman($1)/eg;
+ $str =~ s/ROMANNUMERALU{([\d]+)}/uc(&froman($1))/eg;
+
+ $str =~ s/OCLOCK/&format_oclock($hour,$min)/eg;
+
+ $str;
+}
+
+sub do_cmd_settimeformat{
+ local($_) = @_;
+ local($cmd);
+
+ $cmd = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($cmd=$2));
+
+ eval('&set_timeformat_'.$cmd);
+
+ $_[0];
+}
+
+sub do_cmd_newtimeformat{
+ local($_) = @_;
+ local($cmd,$cmdbody);
+
+ $cmd = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($cmd=$2));
+ $cmdbody = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($cmdbody=$2));
+
+ $tmp = 'sub do_cmd_'.$cmd.'{&do_cmd_timeformat_at_'.$cmd.';}';
+ eval($tmp);
+
+ $tmp = 'sub set_timeformat_'.$cmd.'{';
+ $tmp .= '$timeformat = "'.$cmdbody .'";';
+ $tmp .= '}';
+ eval($tmp);
+
+ $tmp = 'sub do_cmd_timeformat_at_'.$cmd.'{';
+ $tmp .= 'local($_)=@_;';
+ $tmp .= 'local($hour,$min,$sec);';
+ $tmp .= '$hour=&missing_braces unless ';
+ $tmp .= '((s/$next_pair_pr_rx//o)&&($hour=$2));';
+ $tmp .= '$min=&missing_braces unless ';
+ $tmp .= '((s/$next_pair_pr_rx//o)&&($min=$2));';
+ $tmp .= '$sec=&missing_braces unless ';
+ $tmp .= '((s/$next_pair_pr_rx//o)&&($sec=$2));';
+ $tmp .= '&set_timeformat_'.$cmd.';';
+ $tmp .= '&format_time($hour, $min, $sec).$_';
+ $tmp .= "}";
+
+ eval($tmp);
+
+ join('', $_[0]);
+}
+
+sub do_cmd_THEHOUR{
+ local($_) = @_;
+
+ join('', $global{HOUR}, $_[0]);
+}
+
+sub do_cmd_THEMINUTE{
+ local($_) = @_;
+
+ join('', $global{MINUTE}, $_[0]);
+}
+
+sub do_cmd_THESECOND{
+ local($_) = @_;
+
+ join('', $global{SECONDS}, $_[0]);
+}
+
+sub do_cmd_THETOHOUR{
+ local($_) = @_;
+
+ join('', $global{TOHOUR}, $_[0]);
+}
+
+sub do_cmd_THETOMINUTE{
+ local($_) = @_;
+
+ join('', $global{TOMINUTE}, $_[0]);
+}
+
+sub do_cmd_THEHOURXII{
+ local($_) = @_;
+
+ join('', $global{HOURXII}, $_[0]);
+}
+
+1;
diff --git a/Master/texmf-dist/doc/latex/datetime/dt-lang.tex b/Master/texmf-dist/doc/latex/datetime/dt-lang.tex
new file mode 100644
index 00000000000..f4ec0da7c51
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/datetime/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 2015 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/dt-sampl.tex b/Master/texmf-dist/doc/latex/datetime/dt-sampl.tex
new file mode 100644
index 00000000000..cd2b8ab08dc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/datetime/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 2015 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/doc/latex/datetime/samples/dt-lang.pdf b/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.pdf
new file mode 100644
index 00000000000..47c9f842b4b
Binary files /dev/null and b/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.pdf differ
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..f4ec0da7c51
--- /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 2015 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
new file mode 100644
index 00000000000..d6e454a9705
Binary files /dev/null and b/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.pdf differ
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..cd2b8ab08dc
--- /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 2015 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.dtx b/Master/texmf-dist/source/latex/datetime/datetime.dtx
new file mode 100644
index 00000000000..18140e3fb5d
--- /dev/null
+++ b/Master/texmf-dist/source/latex/datetime/datetime.dtx
@@ -0,0 +1,7434 @@
+%\iffalse
+% datetime.dtx generated using makedtx version 1.1 (c) Nicola Talbot
+% Command line args:
+% -doc "datetime-manual.tex"
+% -setambles ".*\.perl=>\nopreamble\nopostamble"
+% -author "Nicola Talbot"
+% -macrocode "datetime.perl"
+% -comment "datetime.perl"
+% -comment "dt-.+\.tex"
+% -src "(.+)\.(sty)=>\1.\2"
+% -src "(.+)\.(def)=>\1.\2"
+% -src "(dt-.+)\.(tex)=>\1.\2"
+% -src "datetime.perl\Z=>datetime.perl"
+% datetime
+% Created on 2015/3/20 16:54
+%\fi
+%\iffalse
+%<*package>
+%% \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 \~}
+%
+%\fi
+% \iffalse
+% Doc-Source file to use with LaTeX2e
+% Copyright (C) 2015 Nicola Talbot, all rights reserved.
+% \fi
+% \iffalse
+%<*driver>
+\documentclass{nlctdoc}
+
+\usepackage[colorlinks,
+ bookmarks,
+ bookmarksopen,
+ hyperindex=false,
+ pdfauthor={Nicola L.C. Talbot},
+ pdftitle={datetime.sty: A Date and Time Package},
+ pdfkeywords={date,time,LaTeX}]{hyperref}
+
+
+
+\begin{document}
+\DocInput{datetime.dtx}
+\end{document}
+%
+%\fi
+%\RecordChanges
+%\OnlyDescription
+%
+%\title{datetime.sty v2.60:
+%Formatting Current Date and Time}
+% \author{Nicola L. C. Talbot\\[10pt]
+% Dickimaw Books\\
+% \url{http://www.dickimaw-books.com/}}
+% \date{2015-03-20}
+% \maketitle
+%
+%\begin{important}
+%This is the last version of this package. The replacement package is
+%called \sty{datetime2} and will be released shortly after the
+%this final version.
+%\end{important}
+%
+% \tableofcontents
+%
+% \section{Introduction}
+%\changes{1.0}{2000/08/08}{First release}
+%\changes{1.01}{2000/09/18}{Documentation added}
+%The \styfmt{datetime} package is a \LaTeXe\ package that
+%provides various different formats for \ics{today},
+%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 \pkgopt{nodate} to the package.
+%\changes{2.3}{2004/05/01}{nodate package option added}
+%
+%\changes{2.41}{2004/10/22}{split package into two files:
+%datetime.sty and fmtcount.sty}
+%Since version 2.4, the \styfmt{datetime} package has been
+%separated into two packages: \styfmt{datetime} and
+%\sty{fmtcount}. When I originally created this package,
+%I defined the commands, \ics{ordinal} etc which could be used
+%in the definition of \cs{today}. Since then, I have extended
+%the number of commands available that can be used to display the
+%value of a \LaTeX\ counter, however it seems more appropriate to
+%define all these counter-related commands in a separate package.
+%The \sty{fmtcount} package is now distributed separately
+%from the \styfmt{datetime} package, and will also need to
+%be installed.
+%
+%\changes{2.42}{2004/11/01}{made package compatible with babel}
+%As from version 2.42, the \styfmt{datetime} package is now
+%compatible with \sty{babel}, however you must load the
+%\styfmt{datetime} package \emph{after} the \sty{babel} package.
+%For example:
+%\begin{verbatim}
+%\usepackage[francais]{babel}
+%\usepackage{datetime}
+%\end{verbatim}
+%
+% \section{Predefined Date Formats}
+% There are various declarations that change the effect of
+%\ics{today}. The change can be localised by placing the
+%declaration within a group.
+%
+%As from version 2.43, the numerical date formats (such as
+%\ics{ddmmyyyydate}) use the command
+%\begin{definition}[\DescribeMacro{\dateseparator}]
+%\cs{dateseparator}
+%\end{definition}
+%to separate the numbers. So, for example, if you want to hyphens
+%instead of slashes, you can do:
+%\begin{verbatim}
+%\renewcommand{\dateseparator}{-}
+%\end{verbatim}
+%
+%\subsection{ISO format}
+%
+%\begin{definition}[\DescribeMacro{\yyyymmdddate}]
+%\cs{yyyymmdddate}
+%\end{definition}
+%This declaration will redefine \ics{today} to produce the current
+%date displayed in the form 2000/03/08. (You can redefine
+%\ics{dateseparator} to \texttt{-} to change to 2000-03-08.)
+%
+%\subsection{\texorpdfstring{\meta{Day} \meta{Month} \meta{Year}}{Day Month Year} formats}
+%
+%\begin{definition}[\DescribeMacro{\longdate}]
+%\cs{longdate}
+%\end{definition}
+%This declaration will redefine \ics{today} to produce the current
+%date displayed in the form Wednesday 8\textsuperscript{th} March,
+%2000 if the package option \pkgopt{dayofweek} is used, or
+%8\textsuperscript{th} March, 2000 if the package option
+%\pkgopt{nodayofweek} is used.
+%
+%\begin{definition}[\DescribeMacro{\shortdate}]
+%\cs{shortdate}
+%\end{definition}
+%This declaration will redefine \ics{today} to produce the current
+%date displayed in the form Wed 8\textsuperscript{th} Mar, 2000 if
+%the package option \pkgopt{dayofweek} is used, or
+%8\textsuperscript{th} Mar, 2000 if the package option
+%\pkgopt{nodayofweek} is used.
+%
+%\begin{definition}[\DescribeMacro{\ddmmyyyydate}]
+%\cs{ddmmyyyydate}
+%\end{definition}
+%This declaration will redefine \ics{today} to produce the current
+%date displayed in the form 08/03/2000.
+%
+%\begin{definition}[\DescribeMacro{\dmyyyydate}]
+%\cs{dmyyyydate}
+%\end{definition}
+%This declaration will redefine \ics{today} to produce the current
+%date displayed in the form 8/3/2000.
+%
+%\begin{definition}[\DescribeMacro{\ddmmyydate}]
+%\cs{ddmmyydate}
+%\end{definition}
+%This declaration will redefine \ics{today} to produce the current
+%date displayed in the form 08/03/00.
+%
+%\begin{definition}[\DescribeMacro{\dmyydate}]
+%\cs{dmyydate}
+%\end{definition}
+%This declaration will redefine \ics{today} to produce the current
+%date displayed in the form 8/3/00.
+%
+%\begin{definition}[\DescribeMacro{\textdate}]
+%\cs{textdate}
+%\end{definition}
+%This declaration will redefine \ics{today} to produce the current
+%date displayed in the form: Wednesday the Eighth of March, Two
+%Thousand if the package option \pkgopt{dayofweek} is used, or Eighth
+%of March, Two Thousand if the package option \pkgopt{nodayofweek} is
+%used. Note that \cs{textdate} is defined for use with English, it
+%won't look right if it is used when another language has been
+%selected\footnote{in fact, you may get an error from the
+%\sty{fmtcount} package if you are using a language that it doesn't
+%support.}. If you want to define a similar command for another
+%language, you will first need to check that the \sty{fmtcount}
+%package supports that language.
+%
+%\subsection{\texorpdfstring{\meta{Month} \meta{Day} \meta{Year}}{Month Day Year} formats}
+%
+%\begin{definition}[\DescribeMacro{\usdate}]
+%\cs{usdate}
+%\end{definition}
+%This declaration will redefine \cs{today} to produce the current
+%date displayed in the form March 8, 2000. (As \TeX\ and \LaTeX\ do
+%by default.)
+%
+%\begin{definition}[\DescribeMacro{\mmddyyyydate}]
+%\cs{mmddyyyydate}
+%\end{definition}
+%This declaration will redefine \ics{today} to produce the current
+%date displayed in the form 03/08/2000.
+%
+%\begin{definition}[\DescribeMacro{\mdyyyydate}]
+%\cs{mdyyyydate}
+%\end{definition}
+%This declaration will redefine \verb"\today" to produce the current
+%date displayed in the form 3/8/2000.
+%
+%\begin{definition}[\DescribeMacro{\mmddyydate}]
+%\cs{mmddyydate}
+%\end{definition}
+%This declaration will redefine \ics{today} to produce the current
+%date displayed in the form 03/08/00.
+%
+%\begin{definition}[\DescribeMacro{\mdyydate}]
+%\cs{mdyydate}
+%\end{definition}
+%This declaration will redefine \ics{today} to produce the current
+%date displayed in the form 3/8/00.
+%
+%\subsection{Dates defined by \texorpdfstring{\styfmt{babel}}{babel}}
+%
+%In addition to the above, the declarations \cs{date}\meta{lang} are
+%available for all languages defined either by calling \sty{babel}
+%prior to \styfmt{datetime} or by passing the language name as an
+%option to \styfmt{datetime}. See~\sectionref{sec:newdate} if you
+%want to define your own customised date format.
+%
+% \section{Time Commands}
+%
+%The current time is displayed using the command
+%\begin{definition}[\DescribeMacro{\currenttime}]
+%\cs{currenttime}
+%\end{definition}
+%
+%A specific time can be displayed using the command
+%\begin{definition}[\DescribeMacro{\formattime}]
+%\cs{formattime}\marg{hour}\marg{minute}\marg{second}
+%\end{definition}
+%where \meta{hour} is a number from~0 to~23, and \meta{minute} and
+%\meta{second} are numbers from~0 to~59.
+%
+%The format can be changed using the declaration
+%\begin{definition}[\DescribeMacro{\settimeformat}]
+%\cs{settimeformat}\marg{style}
+%\end{definition}
+%where \meta{style} is the name of the
+%format. Predefined formats are:
+%\begin{description}
+%\item[xxivtime] Twenty-four hour time in the form 22:28 (Default)
+%\item[hhmmsstime] Twenty-four hour time in the form 22:28:00
+%\item[ampmtime] Twelve hour time in the form 10:28pm
+%\item[oclock] Displays the current time as a string, e.g.\
+%Twenty-Eight minutes past Ten in the afternoon.
+%\end{description}
+%
+%New time formats can be defined using the command:
+%\begin{definition}[\DescribeMacro{\newtimeformat}]
+%\cs{newtimeformat}\marg{name}\marg{format}
+%\end{definition}
+%where \meta{name} is the name of the new format (used in
+%\ics{settimeformat}), and \meta{format} is how to format the time.
+%Within \meta{format} you can use the counters \ctr{HOUR} (number
+%of hours after midnight), \ctr{MINUTE} (number of minutes past
+%the hour), \ctr{SECOND} (number of seconds) \ctr{HOURXII}
+%(number of hours after midnight/midday), \ctr{TOHOUR} (the next
+%hour) and \ctr{TOMINUTE} (number of minutes to the next hour),
+%and the corresponding commands: \ics{THEHOUR}, \ics{THEMINUTE},
+%\ics{THESECOND}, \ics{THEHOURXII}, \ics{THETOHOUR} and
+%\ics{THETOMINUTE}.
+%
+%For example, to define a new time format that uses a dot instead of a
+%colon:
+%\begin{verbatim}
+%\newtimeformat{dottime}{\twodigit{\THEHOUR}.\twodigit{\THEMINUTE}}
+%\end{verbatim}
+%You then need to switch to this new format before you can use it:
+%\begin{verbatim}
+%\settimeformat{dottime}
+%\currenttime
+%\end{verbatim}
+%
+%As from version 2.43, if you only want to change the separator,
+%you can simply redefine
+%\begin{definition}[\DescribeMacro{\timeseparator}]
+%\cs{timeseparator}
+%\end{definition}
+%instead of defining a new time format. For example:
+%\begin{verbatim}
+%\renewcommand{\timeseparator}{.}
+%\end{verbatim}
+%The \texttt{xxivtime} format will now work like the \texttt{dottime}
+%format defined above.
+%
+% \section{Formating Dates}
+%\begin{definition}[\DescribeMacro{\pdfdate}]
+%\cs{pdfdate}
+%\end{definition}
+% This command\footnote{thanks to Ulrich Dirr for
+%asking about this} prints the date in the format required for
+% PDF files, e.g.\ if the date is 1 May 2004 and time is
+% 22:02, \verb"\pdfdate" 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\TeX. (This
+%command is defined regardless of whether the package option
+%\texttt{nodate} is called.)
+%Example:
+%\begin{verbatim}
+%\pdfinfo{
+% /Author (Me)
+% /Title (A Sample Document)
+% /CreationDate (D:20040501215500)
+% /ModDate (D:\pdfdate)
+%}
+%\end{verbatim}
+%\textbf{Note} that PDF\TeX\ introduced the new primitive
+%\cs{pdfcreationdate} in version 1.30.0, so \cs{pdfdate} isn't
+%required with newer versions of PDF\TeX. (\cs{pdfcreationdate}
+%is better than \cs{pdfdate} as it also stores the time zone.)
+%
+% There are two commands that print the name of the current
+% month:
+%\begin{definition}[\DescribeMacro{\monthname}]
+%\cs{monthname}\oarg{num}
+%\end{definition}
+%prints the current month name in full,
+%e.g.\ August, and
+%\begin{definition}[\DescribeMacro{\shortmonthname}]
+%\cs{shortmonthname}\oarg{num}
+%\end{definition}
+%prints the abbreviated month name, e.g.\ Aug. Both \cs{monthname}
+%and \cs{shortmonthname} take an optional argument (a number from 1
+%to 12) if the name of a specific month is required. For example,
+%\verb"\monthname[6]" will produced the output: June.
+%
+% The day of the week is computed using the algorithm documented at
+% \url{http://userpages.wittenburg.edu/bshelburne/Comp150/DayOfWeek.htm}.
+% This algorithm works for any date between 1\textsuperscript{st}
+%Jan, 1901 and 31\textsuperscript{st} Dec, 2099.
+% The following macros display the day of week for a given date:
+%
+%\begin{definition}[\DescribeMacro{\dayofweekname}]
+%\cs{dayofweekname}\marg{day}\marg{month}\marg{year}
+%\end{definition}
+%prints the day of week for the specified date. For example,
+%\begin{verbatim}
+%\dayofweekname{31}{10}{2002}
+%\end{verbatim}
+%will produce the output: Thursday.
+%
+%\begin{definition}[\DescribeMacro{\shortdayofweekname}]
+%\cs{shortdayofweekname}\meta{day}\marg{month}\marg{year}
+%\end{definition}
+%prints the abbreviated name for the day of week for the specified
+%date. For example
+%\begin{verbatim}
+%\shortdayofweekname{31}{10}{2002}
+%\end{verbatim}
+%will produce the output: Thu.
+%
+%\begin{definition}[\DescribeMacro{\ifshowdow}]
+%\cs{ifshowdow}
+%\end{definition}
+%This \TeX\ conditional can be used to determine whether or not the
+%option \pkgopt{dayofweek} has been passed to the package. For
+%example:
+%\begin{verbatim}
+%\ifshowdow\dayofweekname{31}{10}{2002} \fi
+%\end{verbatim}
+%will only display the day of week if the \pkgopt{dayofweek} option
+%was passed to \styfmt{datetime}. Alternatively, you can use
+%David~Carlisle's \sty{ifthen} package:
+%\begin{verbatim}
+%\ifthenelse{\boolean{showdow}}{\dayofweekname{31}{10}{2002} }{}
+%\end{verbatim}
+%
+%The command
+%\begin{definition}[\DescribeMacro{\ordinaldate}]
+%\cs{ordinaldate}\marg{number}
+%\end{definition}
+%displays \meta{number} as a date-type ordinal. If the current
+%language is English, this will simply pass the argument to
+%\ics{ordinalnum} (defined in the \sty{fmtcount} package), if the
+%current language is Breton, Welsh or French, a superscript will only
+%be added if \meta{number} is 1, otherwise only \meta{number} will be
+%displayed.
+%
+%The macro\footnote{Note the name change since version 1.1. The
+%command name was changed from \cs{thedate} to \cs{formatdate} to
+%avoid a name clash when using the \sty{seminar} class file.}
+%\begin{definition}[\DescribeMacro{\formatdate}]
+%\cs{formatdate}\marg{day}\marg{month}\marg{year}
+%\end{definition}
+%formats the specified date according to the current format of
+%\ics{today}\footnote{To be more precise, \ics{today} is defined to
+%be \ics{formatdate}\{\cs{day}\}\{\cs{month}\}\{\cs{year}\} where
+%\ics{longdate} etc change the definition of \cs{formatdate}}.
+%(Arguments must all be integers.) For example, in combination with
+%\ics{longdate}, the command
+%\begin{verbatim}
+%\formatdate{27}{9}{2004}
+%\end{verbatim}
+%will produce the output: Monday 27\textsuperscript{th} September,
+%2004.
+%
+%You can ensure that a number is displayed with at least two digits
+%using the command
+%\begin{definition}[\DescribeMacro{\twodigit}]
+%\cs{twodigit}\marg{num}
+%\end{definition}
+%
+%\section{Defining New Date Formats}\label{sec:newdate}
+%
+%New date formats can be defined using the command:
+%\begin{definition}[\DescribeMacro{\newdateformat}]
+% \cs{newdateformat}\marg{name}\marg{format}
+%\end{definition}
+%where \meta{name} is the name of the new format, and \meta{format}
+%is how to format the date. Within the argument \meta{format} you can
+%use the commands \ics{THEDAY}, \ics{THEMONTH} and \ics{THEYEAR} to
+%represent the relevant day, month and year, or you can use the
+%counters \ctr{DAY}, \ctr{MONTH} and \ctr{YEAR} if you want to use
+%\ics{ordinal} etc. Once you have defined the new date format, you
+%can then switch to it using the declaration \verb'\'\meta{name}
+%(i.e.\ the name you specified preceded by a backslash), and
+%subsequent calls to \ics{today} and \ics{formatdate} will use your
+%new format.
+%
+%For example, suppose you want to define a new date format called,
+%say, \texttt{mydate}, that will typeset the date in the form:
+%8-3-2002, then you can do:
+%\begin{verbatim}
+%\newdateformat{mydate}{\THEDAY-\THEMONTH-\THEYEAR}
+%\end{verbatim}
+%\ics{newdateformat} will then define the declaration
+%\cs{mydate} 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 date:
+%\begin{verbatim}
+%\newdateformat{dashdate}{%
+%\twodigit{\THEDAY}-\twodigit{\THEMONTH}-\THEYEAR}
+%
+%\newdateformat{usvardate}{%
+%\monthname[\THEMONTH] \ordinal{DAY}, \THEYEAR}
+%
+%Dash: \dashdate\today.
+%US: \usvardate\today.
+%\end{verbatim}
+%If the current date is, say, 8th March, 2002, the above code will
+%produce the following: Dash: 08-03-2002. US: March
+%8\textsuperscript{th}, 2002.
+%
+%Note that \ics{THEDAY} etc and \ctr{DAY} etc have no real
+%meaning outside \ics{newdateformat} (this is why they
+%are in uppercase). Incidentally, the \texttt{dashdate} format
+%is not really necessary, as you can achieve this format
+%using:
+%\begin{verbatim}
+%\renewcommand{\dateseparator}{-}
+%\ddmmyyyydate
+%\end{verbatim}
+%
+%Another note: in the above code, \ics{ordinal} was
+%used to illustrate the use of the \ctr{DAY} counter. It
+%is better to use \ics{ordinaldate} instead:
+%\begin{verbatim}
+%\newdateformat{usvardate}{%
+%\monthname[\THEMONTH] \ordinaldate{\THEDAY}, \THEYEAR}
+%\end{verbatim}
+%
+%\section{Saving Dates}
+%
+%It is possible to save a date for later use using the command:
+%\footnote{Thanks to Denis Bitouz\'e for asking about this}
+%\begin{definition}[\DescribeMacro{\newdate}]
+%\cs{newdate}\marg{name}\marg{day}\marg{month}\marg{year}
+%\end{definition}
+%
+%This date can later be displayed using the same format as that
+%used by \ics{formatdate} using the command:
+%\begin{definition}[\DescribeMacro{\displaydate}]
+%\cs{displaydate}\marg{name}
+%\end{definition}
+%
+%Individual elements of the date can be extracted using the
+%commands:
+%\begin{definition}[\DescribeMacro{\getdateday}]
+%\cs{getdateday}\marg{name}
+%\end{definition}
+%\begin{definition}[\DescribeMacro{\getdatemonth}]
+%\cs{getdatemonth}\marg{name}
+%\end{definition}
+%\begin{definition}[\DescribeMacro{\getdateyear}]
+%\cs{getdateyear}\marg{name}
+%\end{definition}
+%
+%\section{Predefined Names}
+%
+%The following commands are defined by the \styfmt{datetime}
+%package:
+%
+%\begin{tabular}{ll}
+%\bfseries Command Name & \bfseries Default Value\\
+%\ics{dateseparator} & \verb'/'\\
+%\ics{timeseparator} & \verb':'\\
+%\ics{amname} & \texttt{am}\\
+%\ics{pmname} & \texttt{pm}\\
+%\ics{amorpmname} & \ics{amname} if morning, otherwise \ics{pmname}\\
+%\ics{amstring} & \texttt{in the morning}\\
+%\ics{pmstring} & \texttt{in the afternoon}\\
+%\ics{amorpmstring} & \ics{amstring} if morning, otherwise
+%\ics{pmstring}\\
+%\ics{halfpast} & \texttt{Half past}\\
+%\ics{quarterpast} & \texttt{Quarter past}\\
+%\ics{quarterto} & \texttt{Quarter to}\\
+%\ics{noon} & \texttt{Noon}\\
+%\ics{midnight} & \texttt{Midnight}\\
+%\ics{oclockstring} & \texttt{O'Clock}
+%\end{tabular}
+%
+%\section{Package Options}
+%
+% The following options may be passed to this package:
+%\begin{description}
+%\item[\pkgopt{long}] make \cs{today} produce long date
+%\item[\pkgopt{short}] make \cs{today} produce short date
+%\item[\pkgopt{yyyymmdd}] make \cs{today} produce YYYY/MM/DD date
+%\item[\pkgopt{ddmmyyyy}] make \cs{today} produce DD/MM/YYYY date
+%\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 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
+%\item[\pkgopt{mmddyy}] make \cs{today} produce MM/DD/YY date
+%\item[\pkgopt{mdyy}] make \cs{today} produce M/D/YY date
+%\item[\pkgopt{raise}] make ordinal st,nd,rd,th appear as superscript
+%\item[\pkgopt{level}] make ordinal st,nd,rd,th appear level with rest of
+%text
+%\item[\pkgopt{dayofweek}] make the day of week appear for \ics{longdate},
+%\ics{shortdate}
+% or \ics{textdate}
+%\item[\pkgopt{nodayofweek}] don't display the day of week.
+%\item[\pkgopt{hhmmss}] make \cs{currenttime} produce \texttt{hhmmsstime}
+%format
+%\item[\pkgopt{24hr}] make \cs{currenttime} produce \texttt{xxivtime}
+%format
+%\item[\pkgopt{12hr}] make \cs{currenttime} produce \texttt{ampmtime}
+%format
+%\item[\pkgopt{oclock}] make \cs{currenttime} produce \texttt{oclock}
+%format
+%\item[\pkgopt{nodate}] Don't redefine \cs{today} or define the month or
+%day of week commands
+% (useful if you only want the time commands)
+%\item[\pkgopt{iso}] as \pkgopt{ddmmyyyy} and \pkgopt{hhmmss} but
+%also sets date separator to \texttt{-}
+% and time separator to \texttt{:}
+% \end{description}
+%
+%The default options are: \pkgopt{long}, \pkgopt{raise},
+%\pkgopt{dayofweek} and \pkgopt{24hr}.
+%
+%\section{Multilingual Support}
+%
+%If you use the \sty{ngerman} package, you must use \styfmt{datetime}'s
+%\pkgopt{ngerman} package option if you want the date displayed
+%in the same form as \sty{ngerman}. You must also load \sty{ngerman}
+%\emph{before} you load \styfmt{datetime}. Similarly for the
+%\sty{german} package.
+%
+%If you want to use the \sty{babel} package, you must load
+%it \emph{before} you load the \styfmt{datetime} package. This
+%is because the \sty{babel} \cs{date}\meta{lang} commands
+%redefine \ics{today}, whereas the \sty{datetime} package
+%redefines \cs{today} to use \ics{formatdate}, and the
+%date formatting commands (such as \ics{longdate}) redefine
+%\cs{formatdate} rather than \cs{today}. This ensures
+%consistent formatting of the dates whether you use \cs{today} or
+%\cs{formatdate}. Therefore, the \styfmt{datetime} package
+%has to redefine all the \cs{date}\meta{lang} commands accordingly.
+%Thus the multilingual date support is mostly limited to that provided
+%by \sty{babel}. 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.
+%
+%As from v2.56, the package options supplied to \styfmt{datetime}
+%override \sty{babel}'s date format. For example:
+%\begin{verbatim}
+%\usepackage[french,spanish]{babel}
+%\usepackage[ddmmyyyy]{datetime}
+%\end{verbatim}
+%will use ddmmyyyy date format regardless of language. Note that
+%if you use a declaration instead of a package option, for
+%example:
+%\begin{verbatim}
+%\usepackage[french,spanish]{babel}
+%\usepackage{datetime}
+%\ddmmyyyydate
+%\end{verbatim}
+%the date format will be switched back to \cs{datefrench} or
+%\cs{datespanish} whenever the language is set. You can use
+%\begin{definition}[\DescribeMacro{\setdefaultdate}]
+%\cs{setdefaultdate}\marg{declaration}
+%\end{definition}
+%to always use \marg{declaration} whenever the language
+%is set. For example:
+%\begin{verbatim}
+%\setdefaultdate{\ddmmyyyydate}
+%\end{verbatim}
+%
+%The commands \ics{monthname} and \ics{shortmonthname},
+%will produce the month name in the current language.
+%If you want the month name in a specific language, you
+%can use the command \cs{monthname}\meta{lang}.
+%For example, \verb"\monthnamefrench[6]" will produce the output:
+%juin. Note that \ics{textdate} is formatted for English dates,
+%and won't look right if used with another language setting. If you
+%want a textual date, the \sty{fmtcount} package (which is
+%loaded by \styfmt{datetime}) defines some commands which display
+%a number or ordinal as a word, but it only has very limited
+%multilingual support. See the \sty{fmtcount} documentation
+%for further details.
+%
+%\section{Registers}
+%
+%\TeX\ provides \ics{day}, \ics{month} and \ics{year} registers. In
+%addition, \styfmt{datetime} provides the registers:
+%\ics{currenthour}, \ics{currentminute} and \ics{currentsecond}.
+%Note that old distributions of \TeX\ will always have
+%\cs{currentsecond} set to zero.
+%
+%\section{Configuration File}
+%
+%As from Version 2.4, the \styfmt{datetime} package will read in settings
+%from the configuration file \texttt{datetime.cfg}, 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 \texttt{datetime.cfg} that
+%contains the line:
+%\begin{verbatim}
+%\shortdate\showdowfalse
+%\end{verbatim}
+%The file \texttt{datetime.cfg} should then go somewhere on the
+%\TeX\ path. Now all you need to do is:
+%\begin{verbatim}
+%\usepackage{datetime}
+%\end{verbatim}
+%without having to specify the \pkgopt{short} and
+%\pkgopt{nodayofweek} options.
+%
+%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:
+%\begin{verbatim}
+%\newdateformat{dashdate}{\twodigit{\THEDAY}-\twodigit{\THEMONTH}-\THEYEAR}
+%\dashdate
+%\end{verbatim}
+%Whenever you use the \styfmt{datetime} package, it will now
+%use this format by default.
+%
+%\section{LaTeX2HTML styles}
+%
+%\changes{2.43}{2005/02/25}{Added LaTeX2HTML support}%
+%\changes{2.44}{2005/03/03}{Fixed minor bugs in Perl scripts}
+%Version 2.43 and above of the \styfmt{datetime} bundle
+%supplies the LaTeX2HTML style file \texttt{datetime.perl}.
+%This file should be placed in a
+%directory searched by LaTeX2HTML. The following limitations
+%apply to the LaTeX2HTML styles:
+%
+%\begin{itemize}
+%\item The configuration file \texttt{datetime.cfg}
+%is currently ignored. You can however
+%do:
+%\begin{verbatim}
+%\usepackage{datetime}
+%\html{\input{datetime.cfg}}
+%\end{verbatim}
+%This, I agree, is an unpleasant cludge.
+%
+%\item The commands \cs{monthname}\meta{language} are not
+%implemented.
+%
+%\item Some of the languages are not implemented.
+%
+%\item The package option \pkgopt{nodate} is not implemented.
+%
+%\end{itemize}
+%
+%\section{Troubleshooting}
+%
+%There is a \sty{datetime} FAQ available at:
+%\url{http://www.dickimaw-books.com/faqs/datetimefaq.html}.
+%
+%\StopEventually{\phantomsection
+%\addcontentsline{toc}{section}{Index}\PrintIndex
+%}
+%
+%
+%
+%\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}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*datetime.sty>
+% \end{macrocode}
+%\fi
+%\subsection{datetime.sty}
+% This section documents the code for \texttt{datetime.sty}
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{datetime}[2015/03/20 v2.60 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
+% \cs{monthname}, \cs{shortmonthname}, \cs{dayofweek} and
+% \cs{shortdayofweek} be defined.
+% Set it to false.
+% \begin{macrocode}
+\newif\if@dt@nodate
+\@dt@nodatefalse
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\dateseparator}
+% Define the character used to separate the numbers in the formats
+% defined by \cs{ddmmyyyy} etc
+%\changes{2.43}{2005/02/25}{new}
+% \begin{macrocode}
+\newcommand{\dateseparator}{/}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\if@dt@multilingual}
+% Define switch to determine whether to enable multilingual support.
+% This check to see if babel package is
+% loaded instead of testing 'languagename (following suggestions on
+% comp.text.tex)
+%\changes{v2.49}{5 Dec 2006}{checks if babel package has been loaded}
+% Note that babel must be loaded \emph{before} datetime, otherwise
+% it will change the definitions of \cs{date}\meta{lang}.
+%\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}%
+ }
+% \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).
+% 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}
+\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}
+% Now define the declarations that redefine |\formatdate| as they
+% are used by the package options. Need a conditional to determine
+% whether or not to show the day of week name.
+% \begin{macrocode}
+\newif\ifshowdow
+% \end{macrocode}
+%\end{macro}
+%\changes{1.1}{2002/04/20}{\cs{thedate} added}
+%\begin{macro}{\formatdate}
+% Initially |\formatdate| does nothing. It will be redefined later.
+%\changes{2.0}{2002/10/30}{changes \cs{thedate} to \cs{formatdate}
+% to avoid name conflict with other packages/class files.}
+% \begin{macrocode}
+\providecommand*{\formatdate}[3]{}
+% \end{macrocode}
+%\end{macro}
+% Provide counters to store the specified date:
+% \begin{macrocode}
+\newcount\@day
+\newcount\@month
+\newcount\@year
+% \end{macrocode}
+%\begin{macro}{\longdate}
+% Long date format. (This is the default in the absence of package
+% 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}%
+}
+% \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}%
+}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\twodigit}
+% Define |\twodigit| to display a number as two digits. \LaTeX\
+% already defines the internal command |\two@digits|, but need
+% a command that can be used in |\newdateformat| in the document.
+%\changes{2.2}{2004/04/27}{new}
+% \begin{macrocode}
+\let\twodigit\two@digits
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\yyyymmdddate}
+%\changes{2.56}{2009/11/16}{new}
+% Year/month/day format. (Day and month displayed as two digits,
+% year displayed as is.)
+% \begin{macrocode}
+\DeclareRobustCommand*{\yyyymmdddate}{%
+\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\the\@year\dateseparator \twodigit\@month\dateseparator
+\twodigit\@day}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\ddmmyyyydate}
+% Day/month/year format. (Day and month displayed as two digits,
+% year displayed as is.)
+% \begin{macrocode}
+\DeclareRobustCommand*{\ddmmyyyydate}{%
+\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\twodigit\@day\dateseparator \twodigit\@month\dateseparator
+\the\@year}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\dmyyyydate}
+% Day/month/year format. (Numbers all displayed as is.)
+% \begin{macrocode}
+\DeclareRobustCommand*{\dmyyyydate}{%
+\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\the\@day\dateseparator \the\@month\dateseparator \the\@year}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\ddmmyydate}
+% Day/month/year format. (All numbers displayed as two digits.)
+% \begin{macrocode}
+\DeclareRobustCommand*{\ddmmyydate}{\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\@dtctr=\@year%
+\@FCmodulo{\@dtctr}{100}%
+\twodigit\@day\dateseparator \twodigit\@month\dateseparator
+\twodigit\@dtctr}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\dmyydate}
+% Day/month/year format. (Day and month displayed as is, year
+% abbreviated to two digits.)
+% \begin{macrocode}
+\DeclareRobustCommand*{\dmyydate}{\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\@dtctr=\@year%
+\@FCmodulo{\@dtctr}{100}%
+\the\@day\dateseparator \the\@month\dateseparator \twodigit\@dtctr}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\textdate}
+% Full textual date (English).
+% \begin{macrocode}
+\DeclareRobustCommand*{\textdate}{%
+\renewcommand*{\formatdate}[3]{%
+\ifshowdow\dayofweekname{##1}{##2}{##3} the \fi
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\Ordinalstringnum{\@day}\ of \monthname[\@month],
+\Numberstringnum{\@year}%
+}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\usdate}
+% US format (as per original definition of |\today|)
+% \begin{macrocode}
+\DeclareRobustCommand*{\usdate}{%
+\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\monthname[\@month]\ \the\@day, \the\@year}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\mmddyyyydate}
+% Month/day/year format. (Month and day displayed as two digits,
+% year displayed as is.)
+% \begin{macrocode}
+\DeclareRobustCommand*{\mmddyyyydate}{%
+\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\twodigit\@month\dateseparator \twodigit\@day\dateseparator
+\the\@year}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\mdyyyydate}
+% Month/day/year format. (All numbers displayed as is.)
+% \begin{macrocode}
+\DeclareRobustCommand*{\mdyyyydate}{%
+\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\the\@month\dateseparator \the\@day\dateseparator \the\@year}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\mmddyydate}
+% Month/day/year format. (All numbers displayed with two digits.)
+% \begin{macrocode}
+\DeclareRobustCommand*{\mmddyydate}{\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\@dtctr=\@year%
+\@FCmodulo{\@dtctr}{100}%
+\twodigit\@month\dateseparator \twodigit\@day\dateseparator
+\twodigit\@dtctr}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\mdyydate}
+% Month/day/year format. (Month and day displayed as is, year
+% abbreviated to two digits.)
+% \begin{macrocode}
+\DeclareRobustCommand*{\mdyydate}{\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\@dtctr=\@year%
+\@FCmodulo{\@dtctr}{100}%
+\the\@month\dateseparator \the\@day\dateseparator \twodigit\@dtctr}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\newdate}
+% Define commands to save dates
+% and later format them. Store a given date:
+%\changes{2.45}{2005/05/01}{new}
+% \begin{macrocode}
+\newcommand*{\newdate}[4]{%
+\@ifundefined{date@#1@y}{%
+\@namedef{date@#1@d}{#2}%
+\@namedef{date@#1@m}{#3}%
+\@namedef{date@#1@y}{#4}}{%
+\PackageError{datetime}{Date `#1' already defined}{}}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\getdateyear}
+% Display year from previously stored date
+% \begin{macrocode}
+\newcommand*{\getdateyear}[1]{%
+\@ifundefined{date@#1@y}{%
+\PackageError{datetime}{Date `#1' not defined}{}}{%
+\csname date@#1@y\endcsname}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\getdatemonth}
+% Display month from previously stored date
+% \begin{macrocode}
+\newcommand*{\getdatemonth}[1]{%
+\@ifundefined{date@#1@m}{%
+\PackageError{datetime}{Date `#1' not defined}{}}{%
+\csname date@#1@m\endcsname}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\getdateday}
+% Display day from previously stored date
+% \begin{macrocode}
+\newcommand{\getdateday}[1]{%
+\@ifundefined{date@#1@d}{%
+\PackageError{datetime}{Date `#1' not defined}{}}{%
+\csname date@#1@d\endcsname}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\displaydate}
+% Display a previously stored date using current date format
+% \begin{macrocode}
+\newcommand*{\displaydate}[1]{%
+\@ifundefined{date@#1@y}{%
+\PackageError{datetime}{Date `#1' not defined}{}}{%
+\formatdate{\csname date@#1@d\endcsname}{%
+\csname date@#1@m\endcsname}{%
+\csname date@#1@y\endcsname}}}
+% \end{macrocode}
+%\end{macro}
+% Set defaults:
+% \begin{macrocode}
+\longdate
+\showdowtrue
+% \end{macrocode}
+%
+%\changes{2.56}{2009/11/16}{moved definition of \cs{newdateformat}
+% before cfg file loaded}
+% Define |\newdateformat| which defines a declaration that redefines |\formatdate| so that
+% it uses |\dateformat|. |\dateformat| takes four arguments, the first defines the format
+% the last three arguments are the three arguments that effectively get passed to |\formatdate|.
+% |\dateformat| sets |\@day|, |\@month| and |\@year|. |\c@DAY|, |\c@MONTH| and |\c@YEAR|
+% are set as synonims for |\@day|, |\@month| and |\@year|, to that the uses can use the counters
+% |DAY|, |MONTH| and |YEAR| as part of the format.
+% The commands |\THEDAY|, |\THEMONTH| and |\THEYEAR| should only be
+% used in the argument to |\newdateformat|. This is done partly to
+% assist the \LaTeX2HTML version.
+%
+% This command must be defined before the configuration file is
+% loaded, which in turn must be before the package options, therefore
+% can't test for \texttt{nodate} package option.
+% \begin{macrocode}
+\providecommand*\THEDAY{\the\@day}
+\providecommand*\THEMONTH{\the\@month}
+\providecommand*\THEYEAR{\the\@year}
+% \end{macrocode}
+% Simulate a \LaTeX\ counter.
+% \begin{macrocode}
+\let\c@DAY=\@day
+\let\c@MONTH=\@month
+\let\c@YEAR=\@year
+% \end{macrocode}
+%\begin{macro}{\newdateformat}
+% Provide a means to define a new date format.
+%\changes{2.2}{2004/04/27}{new}
+% \begin{macrocode}
+\providecommand{\newdateformat}[2]{%
+\@ifundefined{#1}{%
+\expandafter\DeclareRobustCommand\csname#1\endcsname{%
+\renewcommand{\formatdate}{\dateformat{#2}}}}{%
+\PackageError{datetime}{Can't create new date format, command
+\textbackslash#1 already defined}{You will need to
+give your new date format a different name}}}
+% \end{macrocode}
+%\end{macro}
+% \subsubsection{Time Macros}
+%\begin{macro}{\currenttime}
+% (New to v2.3) Define |\currenttime| which will print the
+% time according to the current format.
+%\changes{2.56}{2009/11/16}{change to use \cs{formattime}}
+% \begin{macrocode}
+\DeclareRobustCommand*{\currenttime}{%
+ \formattime{\currenthour}{\currentminute}{\currentsecond}%
+}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\formattime}
+% Define \cs{formattime} analoguous to \cs{formatdate}.
+% Set it to 24hr time by default
+%\changes{2.56}{2009/11/16}{new}
+% \begin{macrocode}
+\newcommand*{\formattime}[3]{\protect\@formattime{#1}{#2}{#3}}
+\newcommand*{\@formattime}[3]{%
+ \csname timeformat@xxivtime\endcsname{#1}{#2}{#3}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\timeseparator}
+%\changes{2.43}{2005/02/25}{new}
+% Define separator for numerical times:
+% \begin{macrocode}
+\newcommand*{\timeseparator}{:}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\settimeformat}
+% Switch to specified time format:
+%\changes{2.3}{2004/05/01}{new}
+%\changes{2.56}{2009/11/16}{now sets formattime}
+% \begin{macrocode}
+\providecommand*{\settimeformat}[1]{%
+ \@ifundefined{timeformat@#1}{%
+ \PackageError{datetime}{Unknown time format `#1'}{}%
+ }{%
+ \renewcommand*{\@formattime}[3]{%
+ \csname timeformat@#1\endcsname{##1}{##2}{##3}}%
+ }%
+}
+% \end{macrocode}
+%\end{macro}
+% Define a command to create a new time format, similar to the new
+% date format. Again this is done in a way that makes it easier to
+% code the \LaTeX2HTML version.
+% \begin{macrocode}
+\newcount\c@HOUR
+\newcount\c@HOURXII
+\newcount\c@MINUTE
+\newcount\c@TOHOUR
+\newcount\c@TOMINUTE
+\newcount\c@SECOND
+% \end{macrocode}
+% These commands should only be used in |\newtimeformat|.
+% \begin{macrocode}
+\def\THEHOUR{\the\c@HOUR}
+\def\THEHOURXII{\the\c@HOURXII}
+\def\THEMINUTE{\the\c@MINUTE}
+\def\THETOHOUR{\the\c@TOHOUR}
+\def\THETOMINUTE{\the\c@TOMINUTE}
+\def\THESECOND{\the\c@SECOND}
+% \end{macrocode}
+%\begin{macro}{\currenthour}
+%\changes{2.56}{2009/11/16}{new}
+% Store the current hour
+% \begin{macrocode}
+\newcount\currenthour
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\currentminute}
+%\changes{2.56}{2009/11/16}{new}
+% Store current minute
+% \begin{macrocode}
+\newcount\currentminute
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\currentsecond}
+%\changes{2.56}{2009/11/16}{new}
+\newcount\currentsecond
+%\end{macro}
+% Get time information from \cs{pdfcreationdate} (if it exists)
+% \begin{macrocode}
+{\catcode`\D=12\relax
+ \gdef\@dt@getdate D:#1#2#3#4#5#6#7#8{\@dt@gettime}%
+}
+\@ifundefined{pdfcreationdate}{%
+ \currenthour=\time\relax
+ \divide\currenthour by 60\relax
+ \currentminute=\time\relax
+ \@FCmodulo{\currentminute}{60}%
+ \currentsecond=0\relax
+}{%
+ \def\@dt@gettime#1#2#3#4#5#6#7\relax{%
+ \currenthour=#1#2\relax
+ \currentminute=#3#4\relax
+ \currentsecond=#5#6\relax}%
+ \expandafter\@dt@getdate\pdfcreationdate\relax
+}
+% \end{macrocode}
+%\begin{macro}{\newtimeformat}
+% Provide a means to define a new time format.
+%\changes{2.3}{2004/05/01}{new}
+%\changes{2.56}{2009/11/16}{added \cs{timeformat}@\meta{name}}
+% \begin{macrocode}
+\providecommand*{\newtimeformat}[2]{%
+\@ifundefined{#1}{%
+\expandafter\def\csname#1\endcsname{%
+ \csname timeformat@#1\endcsname{\currenthour}{\currentminute}%
+ {\currentsecond}%
+}%
+\expandafter\def\csname timeformat@#1\endcsname##1##2##3{%
+\c@HOUR=##1%
+\c@HOURXII=\c@HOUR
+\ifnum\c@HOURXII>12
+\advance\c@HOURXII by -12\relax
+\fi
+\c@MINUTE=##2%
+\c@TOHOUR=\c@HOURXII
+\advance\c@TOHOUR by 1\relax
+\@FCmodulo{\c@TOHOUR}{12}%
+\c@TOMINUTE=\c@MINUTE
+\advance\c@TOMINUTE by -60\relax
+\multiply\c@TOMINUTE by -1\relax
+\c@SECOND=##3\relax
+#2\relax
+}}{%
+\PackageError{datetime}{Command \textbackslash#1 already defined}{%
+You can't create a new time format called "#1" as the command
+\textbackslash#1 already exists}}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\xxivtime}
+% Define commands to print the current time. Twenty-four hour time:
+% \begin{macrocode}
+\newtimeformat{xxivtime}{%
+\twodigit\THEHOUR\timeseparator\twodigit\THEMINUTE}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\hhmmsstime}
+% Twenty-four hour time including seconds.
+% \begin{macrocode}
+\newtimeformat{hhmmsstime}{%
+\twodigit\THEHOUR\timeseparator\twodigit\THEMINUTE\timeseparator
+\twodigit\THESECOND}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\ampmtime}
+% 12-hour time:
+%\changes{2.3}{2004/05/01}{fixed minor bug}
+%\changes{2.51}{2007/01/30}{fixed bug between midnight and 1am}
+% \begin{macrocode}
+\newtimeformat{ampmtime}{%
+\ifthenelse{\value{HOUR}=0}{12}{\THEHOURXII}\timeseparator
+\twodigit\THEMINUTE
+\ifthenelse{\value{HOUR}<12}{\amname}{%
+\ifthenelse{\value{HOUR}=12}{ \noon}{\pmname}}}
+% \end{macrocode}
+%\end{macro}
+% Textual time:
+%\begin{macro}{\hourstring}
+% \cs{hourstring}\marg{count} will print |\midnight| if
+% \meta{count} is 0, otherwise will do \cs{Numberstring}\marg{count}.
+% \begin{macrocode}
+\newcommand*{\hourstring}[1]{%
+\ifthenelse{\value{#1}=0}{\midnight}{\Numberstring{#1}}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\oclock}
+%\changes{2.43}{2005/02/23}{fixed bug causing an infinite loop on the hour}
+% \begin{macrocode}
+\newtimeformat{oclock}{%
+ \ifthenelse{\(\value{HOUR}=0 \OR \value{HOUR}=12 \OR\value{HOUR}=24\)\AND
+ \value{MINUTE}=0}{%
+% \end{macrocode}
+% Midnight or Midday:
+% \begin{macrocode}
+\ifthenelse{\value{HOUR}=12}{\noon}{\midnight}}{%
+% \end{macrocode}
+% Neither Midnight nor Midday.
+% Do minutes first
+% \begin{macrocode}
+\ifthenelse{\value{MINUTE}=0}{%
+% \end{macrocode}
+% On the hour: don't print any minutes, just do the hour and
+% |\oclockstring|
+% \begin{macrocode}
+\Numberstring{HOUR} \oclockstring}{%
+\ifthenelse{\value{MINUTE}=15}{%
+\quarterpast\ \hourstring{HOUR}}{%
+\ifthenelse{\value{MINUTE}=30}{%
+\halfpast\ \hourstring{HOUR}}{%
+\ifthenelse{\value{MINUTE}=45}{%
+\quarterto\ \hourstring{TOHOUR}}{%
+\ifthenelse{\value{MINUTE}<30}{%
+\Numberstring{MINUTE}\ \ifthenelse{\value{MINUTE}=1}{minute}{minutes}
+past \hourstring{HOURXII}}{%
+\Numberstring{TOMINUTE}\ \ifthenelse{%
+\value{TOMINUTE}=1}{minute}{minutes} to \hourstring{TOHOUR}}}}}}%
+% \end{macrocode}
+% Now say whether it is morning or afternoon
+% \begin{macrocode}
+\ifthenelse{\value{HOUR}<12}{%
+% \end{macrocode}
+% Morning
+% \begin{macrocode}
+\ifthenelse{\value{HOUR}=0}{}{\ \amstring}}{%
+% \end{macrocode}
+% Afternoon
+% \begin{macrocode}
+\ifthenelse{\value{TOHOUR}=0}{}{\ \pmstring}}}}
+% \end{macrocode}
+%\end{macro}
+% Define textual strings used in the above.
+%\begin{macro}{\amname}
+% \begin{macrocode}
+\providecommand*{\amname}{am}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\pmname}
+% \begin{macrocode}
+\providecommand*{\pmname}{pm}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\amorpmname}
+%\changes{2.60}{2015-03-20}{fixed bug}
+% \begin{macrocode}
+\providecommand*{\amorpmname}{%
+\ifthenelse{\value{HOUR}>11}{\pmname}{\amname}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\amstring}
+% \begin{macrocode}
+\providecommand*{\amstring}{in the morning}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\pmstring}
+% \begin{macrocode}
+\providecommand*{\pmstring}{in the afternoon}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\amorpmstring}
+% \begin{macrocode}
+\providecommand*{\amorpmstring}{%
+\ifthenelse{\value{HOUR}>12}{\pmstring}{\amstring}}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\halfpast}
+% \begin{macrocode}
+\providecommand*{\halfpast}{Half past}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\quarterpast}
+% \begin{macrocode}
+\providecommand*{\quarterpast}{Quarter past}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\quarterto}
+% \begin{macrocode}
+\providecommand*{\quarterto}{Quarter to}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\noon}
+% \begin{macrocode}
+\providecommand*{\noon}{Noon}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\midnight}
+% \begin{macrocode}
+\providecommand*{\midnight}{Midnight}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\oclockstring}
+% \begin{macrocode}
+\providecommand*{\oclockstring}{O'Clock}
+% \end{macrocode}
+%\end{macro}
+%\subsubsection{Configuration File}
+% Load in specifications from configuration file:
+%\changes{2.4}{2004/09/25}{added provision for configuration file
+%datetime.cfg}
+% \begin{macrocode}
+\InputIfFileExists{datetime.cfg}{\PackageInfo{datetime}{%
+Loading local datetime configurations}}{%
+\PackageInfo{datetime}{No datetime.cfg file found, using default
+settings}}
+% \end{macrocode}
+%\subsubsection{Package Options}
+% Package options need to override \sty{babel}, so define command to
+% add date format to \sty{babel}'s extras.
+% \begin{macrocode}
+\@ifpackageloaded{babel}{%
+ \newcommand*{\dt@addtoextras}[1]{%
+ \@ifundefined{extrasenglish}{}{%
+ \addto\extrasenglish{#1}%
+ }%
+ \@ifundefined{extrasamerican}{}{%
+ \addto\extrasamerican{#1}%
+ }%
+ \@ifundefined{extrasaustrian}{}{%
+ \addto\extrasaustrian{#1}%
+ }%
+ \@ifundefined{extrasaustralian}{}{%
+ \addto\extrasaustralian{#1}%
+ }%
+ \@ifundefined{extrasbahasa}{}{%
+ \addto\extrasbahasa{#1}%
+ }%
+ \@ifundefined{extrasbreton}{}{%
+ \addto\extrasbreton{#1}%
+ }%
+ \@ifundefined{extrasbritish}{}{%
+ \addto\extrasbritish{#1}%
+ }%
+ \@ifundefined{extrasbulgarian}{}{%
+ \addto\extrasbulgarian{#1}%
+ }%
+ \@ifundefined{extrascanadian}{}{%
+ \addto\extrascanadian{#1}%
+ }%
+ \@ifundefined{extrascatalan}{}{%
+ \addto\extrascatalan{#1}%
+ }%
+ \@ifundefined{extrascroatian}{}{%
+ \addto\extrascroatian{#1}%
+ }%
+ \@ifundefined{extrasczech}{}{%
+ \addto\extrasczech{#1}%
+ }%
+ \@ifundefined{extrasdanish}{}{%
+ \addto\extrasdanish{#1}%
+ }%
+ \@ifundefined{extrasesperanto}{}{%
+ \addto\extrasesperanto{#1}%
+ }%
+ \@ifundefined{extrasestonian}{}{%
+ \addto\extrasestonian{#1}%
+ }%
+ \@ifundefined{extrasfinnish}{}{%
+ \addto\extrasfinnish{#1}%
+ }%
+ \@ifundefined{extrasfrench}{}{%
+ \addto\extrasfrench{#1}%
+ }%
+ \@ifundefined{extrasgalician}{}{%
+ \addto\extrasgalician{#1}%
+ }%
+ \@ifundefined{extrasgerman}{}{%
+ \addto\extrasgerman{#1}%
+ }%
+ \@ifundefined{extrasgreek}{}{%
+ \addto\extrasgreek{#1}%
+ }%
+ \@ifundefined{extrashebrew}{}{%
+ \addto\extrashebrew{#1}%
+ }%
+ \@ifundefined{extrasicelandic}{}{%
+ \addto\extrasicelandic{#1}%
+ }%
+ \@ifundefined{extrasirish}{}{%
+ \addto\extrasirish{#1}%
+ }%
+ \@ifundefined{extrasitalian}{}{%
+ \addto\extrasitalian{#1}%
+ }%
+ \@ifundefined{extraslatin}{}{%
+ \addto\extraslatin{#1}%
+ }%
+ \@ifundefined{extraslsorbian}{}{%
+ \addto\extraslsorbian{#1}%
+ }%
+ \@ifundefined{extrasmagyar}{}{%
+ \addto\extrasmagyar{#1}%
+ }%
+ \@ifundefined{extrasnaustrian}{}{%
+ \addto\extrasnaustrian{#1}%
+ }%
+ \@ifundefined{extrasngerman}{}{%
+ \addto\extrasngerman{#1}%
+ }%
+ \@ifundefined{extrasnewzealand}{}{%
+ \addto\extrasnewzealand{#1}%
+ }%
+ \@ifundefined{extrasnorsk}{}{%
+ \addto\extrasnorsk{#1}%
+ }%
+ \@ifundefined{extraspolish}{}{%
+ \addto\extraspolish{#1}%
+ }%
+ \@ifundefined{extrasportuges}{}{%
+ \addto\extrasportuges{#1}%
+ }%
+ \@ifundefined{extrasromanian}{}{%
+ \addto\extrasromanian{#1}%
+ }%
+ \@ifundefined{extrasrussian}{}{%
+ \addto\extrasrussian{#1}%
+ }%
+ \@ifundefined{extrassamin}{}{%
+ \addto\extrassamin{#1}%
+ }%
+ \@ifundefined{extrasscottish}{}{%
+ \addto\extrasscottish{#1}%
+ }%
+ \@ifundefined{extrasserbian}{}{%
+ \addto\extrasserbian{#1}%
+ }%
+ \@ifundefined{extrasslovak}{}{%
+ \addto\extrasslovak{#1}%
+ }%
+ \@ifundefined{extrasslovene}{}{%
+ \addto\extrasslovene{#1}%
+ }%
+ \@ifundefined{extrasspanish}{}{%
+ \addto\extrasspanish{#1}%
+ }%
+ \@ifundefined{extrasswedish}{}{%
+ \addto\extrasswedish{#1}%
+ }%
+ \@ifundefined{extrasturkish}{}{%
+ \addto\extrasturkish{#1}%
+ }%
+ \@ifundefined{extrasUKenglish}{}{%
+ \addto\extrasUKenglish{#1}%
+ }%
+ \@ifundefined{extrasukraine}{}{%
+ \addto\extrasukraine{#1}%
+ }%
+ \@ifundefined{extrasUSenglish}{}{%
+ \addto\extrasUSenglish{#1}%
+ }%
+ \@ifundefined{extrasusorbian}{}{%
+ \addto\extrasusorbian{#1}%
+ }%
+ \@ifundefined{extraswelsh}{}{%
+ \addto\extraswelsh{#1}%
+ }%
+ }
+}{%
+ \newcommand*{\dt@addtoextras}[1]{}
+}
+% \end{macrocode}
+%\begin{macro}{setdefaultdate}
+% Set default date.
+% \begin{macrocode}
+\newcommand*{\setdefaultdate}[1]{\dt@addtoextras{#1}#1}
+% \end{macrocode}
+%\end{macro}
+% Specify the package options, specify default options and process
+% \begin{macrocode}
+\RequirePackage{fmtcount}
+\DeclareOption{long}{\setdefaultdate{\longdate}}
+\DeclareOption{short}{\setdefaultdate{\shortdate}}
+\DeclareOption{yyyymmdd}{\setdefaultdate{\yyyymmdddate}}
+\DeclareOption{ddmmyyyy}{\setdefaultdate{\ddmmyyyydate}}
+\DeclareOption{dmyyyy}{\setdefaultdate{\dmyyyydate}}
+\DeclareOption{ddmmyy}{\setdefaultdate{\ddmmyydate}}
+\DeclareOption{dmyy}{\setdefaultdate{\dmyydate}}
+\DeclareOption{text}{\setdefaultdate{\textdate}}
+\DeclareOption{us}{\setdefaultdate{\usdate}}
+\DeclareOption{mmddyyyy}{\setdefaultdate{\mmddyyyydate}}
+\DeclareOption{mdyyyy}{\setdefaultdate{\mdyyyydate}}
+\DeclareOption{mmddyy}{\setdefaultdate{\mmddyydate}}
+\DeclareOption{mdyy}{\setdefaultdate{\mdyydate}}
+\DeclareOption{level}{\fmtcountsetoptions{fmtord=level}}
+\DeclareOption{raise}{\fmtcountsetoptions{fmtord=raise}}
+\DeclareOption{dayofweek}{\showdowtrue}
+\DeclareOption{nodayofweek}{\showdowfalse}
+\DeclareOption{nodate}{\@dt@nodatetrue}
+\DeclareOption{hhmmss}{\settimeformat{hhmmsstime}}
+\DeclareOption{24hr}{\settimeformat{xxivtime}}
+\DeclareOption{12hr}{\settimeformat{ampmtime}}
+\DeclareOption{oclock}{\settimeformat{oclock}}
+\DeclareOption{iso}{%
+ \setdefaultdate{\yyyymmdddate}\settimeformat{hhmmsstime}%
+ \renewcommand*{\dateseparator}{-}%
+ \renewcommand*{\timeseparator}{:}%
+}
+% \end{macrocode}
+%
+%\begin{macro}{\loadDTdef}
+%\changes{2.58}{2010/09/21}{new}
+% Load the datetime language definition file for the given language
+% \begin{macrocode}
+\newcommand*{\loadDTdef}[1]{%
+% \end{macrocode}
+% Check whether the file has already been loaded.
+% \begin{macrocode}
+ \DTifDefLoaded{#1}%
+% \end{macrocode}
+% File already loaded, so do nothing.
+% \begin{macrocode}
+ {}%
+ {%
+ \InputIfFileExists{dt-#1.def}%
+ {}%
+ {%
+ \PackageWarning{datetime}{Can't find datetime language
+ definition file for `#1'}%
+ }%
+ }%
+}
+% \end{macrocode}
+%\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}
+\DeclareOption{austrian}{\loadDTdef{austrian}}
+\DeclareOption{american}{\loadDTdef{american}}
+\DeclareOption{bahasa}{\loadDTdef{bahasa}}
+\DeclareOption{basque}{\loadDTdef{basque}}
+\DeclareOption{breton}{\loadDTdef{breton}}
+\DeclareOption{british}{\loadDTdef{british}}
+\DeclareOption{bulgarian}{\loadDTdef{bulgarian}}
+\DeclareOption{catalan}{\loadDTdef{catalan}}
+\DeclareOption{croatian}{\loadDTdef{croatian}}
+\DeclareOption{czech}{\loadDTdef{czech}}
+\DeclareOption{danish}{\loadDTdef{danish}}
+\DeclareOption{dutch}{\loadDTdef{dutch}}
+\DeclareOption{esperanto}{\loadDTdef{esperanto}}
+\DeclareOption{estonian}{\loadDTdef{estonian}}
+\DeclareOption{finnish}{\loadDTdef{finnish}}
+\DeclareOption{french}{\loadDTdef{french}}
+\DeclareOption{galician}{\loadDTdef{galician}}
+\DeclareOption{german}{\loadDTdef{german}\dategerman}
+\DeclareOption{greek}{\loadDTdef{greek}}
+\DeclareOption{hebrew}{\loadDTdef{hebrew}}
+\DeclareOption{icelandic}{\loadDTdef{icelandic}}
+\DeclareOption{irish}{\loadDTdef{irish}}
+\DeclareOption{italian}{\loadDTdef{italian}}
+\DeclareOption{latin}{\loadDTdef{latin}}
+\DeclareOption{lsorbian}{\loadDTdef{lsorbian}}
+\DeclareOption{magyar}{\loadDTdef{magyar}}
+\DeclareOption{naustrian}{\loadDTdef{naustrian}}
+\DeclareOption{ngerman}{\loadDTdef{ngerman}\datengerman}
+\DeclareOption{norsk}{\loadDTdef{norsk}}
+\DeclareOption{polish}{\loadDTdef{polish}}
+\DeclareOption{portuges}{\loadDTdef{portuges}}
+\DeclareOption{romanian}{\loadDTdef{romanian}}
+\DeclareOption{russian}{\loadDTdef{russian}}
+\DeclareOption{samin}{\loadDTdef{samin}}
+\DeclareOption{scottish}{\loadDTdef{scottish}}
+\DeclareOption{serbian}{\loadDTdef{serbian}}
+\DeclareOption{slovak}{\loadDTdef{slovak}}
+\DeclareOption{slovene}{\loadDTdef{slovene}}
+\DeclareOption{spanish}{\loadDTdef{spanish}}
+\DeclareOption{swedish}{\loadDTdef{swedish}}
+\DeclareOption{turkish}{\loadDTdef{turkish}}
+\DeclareOption{ukraineb}{\loadDTdef{ukraineb}}
+\DeclareOption{usorbian}{\loadDTdef{usorbian}}
+\DeclareOption{UKenglish}{\loadDTdef{UKenglish}}
+\DeclareOption{USenglish}{\loadDTdef{USenglish}}
+\DeclareOption{welsh}{\loadDTdef{welsh}}
+% \end{macrocode}
+% Process package options
+% \begin{macrocode}
+\ProcessOptions
+% \end{macrocode}
+% \subsubsection{Date Specific Macros}
+% \begin{macrocode}
+\if@dt@nodate
+ \PackageInfo{datetime}{option "nodate" used, so note defining
+ \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}
+% \end{macrocode}
+%\end{macro}
+% \begin{macrocode}
+\fi
+% \end{macrocode}
+% Define the macro that prints the month name.
+% (Only define this command if @dt@nodate is false)
+% \begin{macrocode}
+\if@dt@nodate
+% \end{macrocode}
+% 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}
+\else
+% \end{macrocode}
+%\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
+% \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:
+% \begin{macrocode}
+\fi
+% \end{macrocode}
+% Define the macro that prints the abbreviated month name
+% (Again, only do this if @dt@nodate is false)
+% \begin{macrocode}
+\if@dt@nodate
+% \end{macrocode}
+% 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}
+\else
+% \end{macrocode}
+%\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
+% \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:
+% \begin{macrocode}
+\fi
+% \end{macrocode}
+% Define macros needed to compute the weekday
+% (Again, only do this if @dt@nodate is false)
+%\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}
+ \def\ifleapyear{\ifDTLleapyear}
+ \let\leapyeartrue\DTLleapyeartrue
+ \let\leapyearfalse\DTLleapyearfalse
+}%
+{}
+% \end{macrocode}
+%\end{macro}
+% Define temporary counter for arithmetic.
+% \begin{macrocode}
+\newcount\@dtctr
+% \end{macrocode}
+% If nodate, add a reminder in the log file that \verb|\dayofweek|
+% is not defined.
+% \begin{macrocode}
+\if@dt@nodate
+ \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|\ifDTleapyear|.
+% \begin{macrocode}
+\providecommand*{\testifleapyear}[1]{%
+ \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}
+% Count register in which to store the day of the year.
+% \begin{macrocode}
+\newcount\dayofyear
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\computedayofyear}
+% \cs{computedayofyear}\marg{day}\marg{month}\marg{year}\par
+% 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
+ \ifDTleapyear\advance\dayofyear by 1\relax\fi
+ \fi
+ \advance\dayofyear by \@day\relax
+}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\dayofweek}
+% Count register in which to store the day of the week.
+% \begin{macrocode}
+\newcount\dayofweek
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\computedayofweek}
+% \cs{computedayofweek}\marg{day}\marg{month}\marg{year}\par
+% Computes the day of week index. The result is stored in
+% |\dayofweek|.
+% \begin{macrocode}
+\providecommand*{\computedayofweek}[3]{%
+ \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}
+% Given the day of week index, print the associated name in the
+% current language. If there is none defined for that language
+% default to English.
+% \begin{macrocode}
+\providecommand*{\dayofweeknameid}[1]{%
+ \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}
+%\begin{macro}{\dayofweekname}
+% Print the day of week name for the specified date.
+% \begin{macrocode}
+\providecommand*{\dayofweekname}[3]{%
+ \computedayofweek{#1}{#2}{#3}%
+ \dayofweeknameid{\dayofweek}%
+}
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\thisdayofweekname}
+% Print today's day of week name.
+% \begin{macrocode}
+\providecommand*{\thisdayofweekname}{%
+ \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
+% \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}
+%\end{macro}
+%\begin{macro}{\thisshortdayofweekname}
+% Today's week day name, abbreviated:
+% \begin{macrocode}
+\providecommand*{\thisshortdayofweekname}{%
+ \dayofweekname{\day}{\month}{\year}}
+% \end{macrocode}
+%\end{macro}
+% End of |\if@dt@nodate| else part.
+% \begin{macrocode}
+\fi
+% \end{macrocode}
+%\begin{macro}{\today}
+% Redefine |\today| so that it uses |\formatdate|.
+% (Only do this if @dt@nodate is false)
+%\changes{2.46}{2005/09/30}{defined using \cs{DeclareRobustCommand}}
+%\changes{2.41}{2004/10/22}{defined using \cs{providecommand}}
+% \begin{macrocode}
+\if@dt@nodate
+\else
+ \DeclareRobustCommand*{\today}{\formatdate{\day}{\month}{\year}}
+\fi
+% \end{macrocode}
+%\end{macro}
+%Check to see if babel package has redefined |\today|.
+%\changes{2.53}{11 June 2007}{added check for \cs{dateUKenglish} and
+%\cs{dateUSenglish}}
+%\changes{2.54}{15 June 2007}{added check for \cs{datebritish}}
+% \begin{macrocode}
+\if@dt@nodate
+\else
+\@ifundefined{dateenglish}{}{\let\dateenglish\longdate}
+\@ifundefined{dateUKenglish}{}{\loadDTdef{UKenglish}}
+\@ifundefined{dateUSenglish}{}{\loadDTdef{USenglish}}
+\@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}}
+\@ifundefined{datedanish}{}{\loadDTdef{danish}}
+\@ifundefined{datedutch}{}{\loadDTdef{dutch}}
+\@ifundefined{dateesperanto}{}{\loadDTdef{esperanto}}
+\@ifundefined{dateestonian}{}{\loadDTdef{estonian}}
+\@ifundefined{datefinnish}{}{\loadDTdef{finnish}}
+\@ifundefined{datefrench}{}{\loadDTdef{french}}
+\@ifundefined{dategalician}{}{\loadDTdef{galician}}
+\@ifundefined{dategerman}{}{\loadDTdef{german}}
+\@ifundefined{dategreek}{}{\loadDTdef{greek}}
+\@ifundefined{datehebrew}{}{\loadDTdef{hebrew}}
+\@ifundefined{dateicelandic}{}{\loadDTdef{icelandic}}
+\@ifundefined{dateirish}{}{\loadDTdef{irish}}
+\@ifundefined{dateitalian}{}{\loadDTdef{italian}}
+\@ifundefined{datelatin}{}{\loadDTdef{latin}}
+\@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}}
+\@ifundefined{dateportuges}{}{\loadDTdef{portuges}}
+\@ifundefined{dateromanian}{}{\loadDTdef{romanian}}
+\@ifundefined{daterussian}{}{\loadDTdef{russian}}
+\@ifundefined{datesamin}{}{\loadDTdef{samin}}
+\@ifundefined{datescottish}{}{\loadDTdef{scottish}}
+\@ifundefined{dateserbian}{}{\loadDTdef{serbian}}
+\@ifundefined{dateslovak}{}{\loadDTdef{slovak}}
+\@ifundefined{dateslovene}{}{\loadDTdef{slovene}}
+\@ifundefined{datespanish}{}{\loadDTdef{spanish}}
+\@ifundefined{dateswedish}{}{\loadDTdef{swedish}}
+\@ifundefined{dateturkish}{}{\loadDTdef{turkish}}
+\@ifundefined{dateukraineb}{}{\loadDTdef{ukraineb}}
+\@ifundefined{dateusorbian}{}{\loadDTdef{usorbian}}
+\@ifundefined{datewelsh}{}{\loadDTdef{welsh}}
+\fi
+% \end{macrocode}
+%
+%\begin{macro}{\pdfdate}
+% Finally create command that will typeset the date in PDF format
+% e.g. 20040501215500. This is defined regardless of |\if@no@date|
+% as it's provided for use in |\pdfinfo|. Initially |\pdfdate| is set
+% to the year. Note that pdftex provides \cs{pdfcreationdate}
+% which also stores the seconds and time zone.
+%\changes{2.31}{2004/05/01}{new}
+%\changes{2.32}{2004/05/04}{fixed bug}
+% \begin{macrocode}
+\newtoks\dt@a \newtoks\dt@b
+\edef\pdfdate{\the\year}
+% \end{macrocode}
+% Append the month
+% \begin{macrocode}
+\dt@b=\expandafter{\pdfdate}
+\dt@a=\expandafter{\the\month}
+\ifnum\month<10\relax
+\edef\pdfdate{\the\dt@b0\the\dt@a}
+\else
+\edef\pdfdate{\the\dt@b\the\dt@a}
+\fi
+% \end{macrocode}
+% Append the day
+% \begin{macrocode}
+\dt@b=\expandafter{\pdfdate}
+\dt@a=\expandafter{\the\day}
+\ifnum\day<10\relax
+\edef\pdfdate{\the\dt@b0\the\dt@a}
+\else
+\edef\pdfdate{\the\dt@b\the\dt@a}
+\fi
+% \end{macrocode}
+% Append the hour
+% \begin{macrocode}
+\@dtctr=\time%
+\divide\@dtctr by 60\relax
+\dt@b=\expandafter{\pdfdate}
+\dt@a=\expandafter{\the\@dtctr}
+\ifnum\@dtctr<10
+\edef\pdfdate{\the\dt@b0\the\dt@a}
+\else
+\edef\pdfdate{\the\dt@b\the\dt@a}
+\fi
+% \end{macrocode}
+% Append the minute.
+% \begin{macrocode}
+\@dtctr=\time%
+\@FCmodulo{\@dtctr}{60}%
+\dt@b=\expandafter{\pdfdate}
+\dt@a=\expandafter{\the\@dtctr}
+\ifnum\@dtctr<10\relax
+\edef\pdfdate{\the\dt@b0\the\dt@a}
+\else
+\edef\pdfdate{\the\dt@b\the\dt@a}
+\fi
+% \end{macrocode}
+% Append the seconds.
+% \begin{macrocode}
+\dt@a={00}
+\dt@b=\expandafter{\pdfdate}
+\edef\pdfdate{\the\dt@b\the\dt@a}
+% \end{macrocode}
+%\end{macro}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-american.def>
+% \end{macrocode}
+%\fi
+%\subsection{Compatibility with Babel (Language definition files)}
+%\subsubsection{american}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-american.def}[2013/09/10]%
+% \end{macrocode}
+%\begin{macro}{\dateamerican}
+% \begin{macrocode}
+\global\let\dateamerican\usdate
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\monthnameamerican}
+% \begin{macrocode}
+\global\let\monthnameamerican\monthnameenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\shortmonthnameamerican}
+% \begin{macrocode}
+\global\let\shortmonthnameamerican\shortmonthnameenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\dayofweeknameidamerican}
+% \begin{macrocode}
+\global\let\dayofweeknameidamerican\dayofweeknameidenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\shortdayofweeknameamerican}
+% \begin{macrocode}
+\global\let\shortdayofweeknameidamerican\shortdayofweeknameidenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\ordinaldateamerican}
+% \begin{macrocode}
+\providecommand*{\ordinaldateamerican}[1]{#1}%
+\global\let\ordinaldateamerican\ordinaldateamerican
+% \end{macrocode}
+%\end{macro}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\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}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-austrian.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Austrian}
+% Identify file
+% \begin{macrocode}
+\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%
+\else
+ \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.
+%\begin{macro}{\dateaustrian}
+% \begin{macrocode}
+\DeclareRobustCommand*\dateaustrian{%
+\renewcommand{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\number\@day.~\monthnameaustrian[\@month]\space\number\@year}}%
+\global\let\dateaustrian\dateaustrian
+% \end{macrocode}
+%\end{macro}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-bahasa.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Bahasa}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-bahasa.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamebahasa}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Januari) to 12 (Desember)}%
+\or Januari%
+\or Pebruari%
+\or Maret%
+\or April%
+\or Mei%
+\or Juni%
+\or Juli%
+\or Agustus%
+\or September%
+\or Oktober%
+\or Nopember%
+\or Desember%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Januari) to 12 (Desember)}%
+\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.
+% \begin{macrocode}
+\providecommand{\shortmonthnamebahasa}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Januari) to 12 (Desember)}%
+\or Januari%
+\or Pebruari%
+\or Maret%
+\or April%
+\or Mei%
+\or Juni%
+\or Juli%
+\or Agustus%
+\or September%
+\or Oktober%
+\or Nopember%
+\or Desember%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Januari) to 12 (Desember)}%
+\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}}%
+\global\let\datebahasa\datebahasa
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-basque.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Basque}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-basque.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamebasque}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}%
+\or urtarrilaren%
+\or otsailaren%
+\or martxoaren%
+\or apirilaren%
+\or maiatzaren%
+\or ekainaren%
+\or uztailaren%
+\or abuztuaren%
+\or irailaren%
+\or urriaren%
+\or azaroaren%
+\or abenduaren%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}%
+\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.
+% \begin{macrocode}
+\providecommand{\shortmonthnamebasque}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}%
+\or urtarrilaren%
+\or otsailaren%
+\or martxoaren%
+\or apirilaren%
+\or maiatzaren%
+\or ekainaren%
+\or uztailaren%
+\or abuztuaren%
+\or irailaren%
+\or urriaren%
+\or azaroaren%
+\or abenduaren%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}%
+\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}}%
+\global\let\datebasque\datebasque
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-breton.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Breton}
+% Identify file
+% \begin{macrocode}
+\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}%
+\global\let\ordinaldatebreton\ordinaldatebreton
+% \end{macrocode}
+%\end{macro}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamebreton}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Genver) to 12 (Kerzu)}%
+\or Genver%
+\or C'hwevrer%
+\or Meurzh%
+\or Ebrel%
+\or Mae%
+\or Mezheven%
+\or Gouere%
+\or Eost%
+\or Gwengolo%
+\or Here%
+\or Du%
+\or Kerzu%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Genver) to 12 (Kerzu)}%
+\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.
+% \begin{macrocode}
+\providecommand{\shortmonthnamebreton}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Genver) to 12 (Kerzu)}%
+\or Genver%
+\or C'hwevrer%
+\or Meurzh%
+\or Ebrel%
+\or Mae%
+\or Mezheven%
+\or Gouere%
+\or Eost%
+\or Gwengolo%
+\or Here%
+\or Du%
+\or Kerzu%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Genver) to 12 (Kerzu)}%
+\fi}%
+\global\let\shortmonthnamebreton\shortmonthnamebreton
+% \end{macrocode}
+% (Re)Define declaration to switch to this format.
+% \begin{macrocode}
+\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
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-british.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{british}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-british.def}[2013/09/10]%
+% \end{macrocode}
+%\begin{macro}{\datebritish}
+% \begin{macrocode}
+\global\let\datebritish\longdate
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\monthnamebritish}
+% \begin{macrocode}
+\global\let\monthnamebritish\monthnameenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\shortmonthnamebritish}
+% \begin{macrocode}
+\global\let\shortmonthnamebritish\shortmonthnameenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\dayofweeknameidbritish}
+% \begin{macrocode}
+\global\let\dayofweeknameidbritish\dayofweeknameidenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\shortdayofweekidbritish}
+% \begin{macrocode}
+\global\let\shortdayofweeknameidbritish\shortdayofweeknameidenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\ordinaldatebritish}
+% \begin{macrocode}
+\global\let\ordinaldatebritish\ordinaldateenglish
+% \end{macrocode}
+%\end{macro}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-bulgarian.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Bulgarian}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-bulgarian.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamebulgarian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+ \or\cyrya\cyrn\cyru\cyra\cyrr\cyri\or
+ \cyrf\cyre\cyrv\cyrr\cyru\cyra\cyrr\cyri\or
+ \cyrm\cyra\cyrr\cyrt\or
+ \cyra\cyrp\cyrr\cyri\cyrl\or
+ \cyrm\cyra\cyrishrt\or
+ \cyryu\cyrn\cyri\or
+ \cyryu\cyrl\cyri\or
+ \cyra\cyrv\cyrg\cyru\cyrs\cyrt\or
+ \cyrs\cyre\cyrp\cyrt\cyre\cyrm\cyrv\cyrr\cyri\or
+ \cyro\cyrk\cyrt\cyro\cyrm\cyrv\cyrr\cyri\or
+ \cyrn\cyro\cyre\cyrm\cyrv\cyrr\cyri\or
+ \cyrd\cyre\cyrk\cyre\cyrm\cyrv\cyrr\cyri
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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.
+% \begin{macrocode}
+\providecommand{\shortmonthnamebulgarian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+ \or\cyrya\cyrn\cyru\cyra\cyrr\cyri\or
+ \cyrf\cyre\cyrv\cyrr\cyru\cyra\cyrr\cyri\or
+ \cyrm\cyra\cyrr\cyrt\or
+ \cyra\cyrp\cyrr\cyri\cyrl\or
+ \cyrm\cyra\cyrishrt\or
+ \cyryu\cyrn\cyri\or
+ \cyryu\cyrl\cyri\or
+ \cyra\cyrv\cyrg\cyru\cyrs\cyrt\or
+ \cyrs\cyre\cyrp\cyrt\cyre\cyrm\cyrv\cyrr\cyri\or
+ \cyro\cyrk\cyrt\cyro\cyrm\cyrv\cyrr\cyri\or
+ \cyrn\cyro\cyre\cyrm\cyrv\cyrr\cyri\or
+ \cyrd\cyre\cyrk\cyre\cyrm\cyrv\cyrr\cyri
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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.}}%
+\global\let\datebulgarian\datebulgarian
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\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}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-catalan.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Catalan}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-catalan.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamecatalan}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (de gener) to 12 (de desembre)}%
+\or de gener%
+\or de febrer%
+\or de mar\c{c}%
+\or d'abril%
+\or de maig%
+\or de juny%
+\or de juliol%
+\or d'agost%
+\or de setembre%
+\or d'octubre%
+\or de novembre%
+\or de desembre%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (de gener) to 12 (de desembre)}%
+\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.
+% \begin{macrocode}
+\providecommand{\shortmonthnamecatalan}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (de gener) to 12 (de desembre)}%
+\or de gener%
+\or de febrer%
+\or de mar\c{c}%
+\or d'abril%
+\or de maig%
+\or de juny%
+\or de juliol%
+\or d'agost%
+\or de setembre%
+\or d'octubre%
+\or de novembre%
+\or de desembre%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (de gener) to 12 (de desembre)}%
+\fi}%
+\global\let\shortmonthnamecatalan\shortmonthnamecatalan
+% \end{macrocode}
+% (Re)Define declaration to switch to this format.
+% \begin{macrocode}
+\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
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-croatian.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Croatian}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-croatian.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamecroatian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (sijecnja) to 12 (prosinca)}%
+\or sije\v{c}nja%
+\or velja\v{c}e%
+\or o\v{z}ujka%
+\or travnja%
+\or svibnja%
+\or lipnja%
+\or srpnja%
+\or kolovoza%
+\or rujna%
+\or listopada%
+\or studenoga%
+\or prosinca%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (sijecnja) to 12 (prosinca)}%
+\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.
+% \begin{macrocode}
+\providecommand{\shortmonthnamecroatian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (sijecnja) to 12 (prosinca)}%
+\or sije\v{c}nja%
+\or velja\v{c}e%
+\or o\v{z}ujka%
+\or travnja%
+\or svibnja%
+\or lipnja%
+\or srpnja%
+\or kolovoza%
+\or rujna%
+\or listopada%
+\or studenoga%
+\or prosinca%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (sijecnja) to 12 (prosinca)}%
+\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.}}%
+\global\let\datecroatian\datecroatian
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-czech.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Czech}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-czech.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnameczech}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or ledna%
+\or \'unora%
+\or b\v{r}ezna%
+\or dubna%
+\or kv\v{e}tna%
+\or \v{c}ervna%
+\or \v{c}ervence%
+\or srpna%
+\or z\'a\v{r}\'{\i}%
+\or \v{r}\'{\i}jna%
+\or listopadu%
+\or prosince%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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.
+% \begin{macrocode}
+\providecommand{\shortmonthnameczech}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or ledna%
+\or \'unora%
+\or b\v{r}ezna%
+\or dubna%
+\or kv\v{e}tna%
+\or \v{c}ervna%
+\or \v{c}ervence%
+\or srpna%
+\or z\'a\v{r}\'{\i}%
+\or \v{r}\'{\i}jna%
+\or listopadu%
+\or prosince%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\dateczech\dateczech
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-danish.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Danish}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-danish.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamedanish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januar%
+\or februar%
+\or marts%
+\or april%
+\or maj%
+\or juni%
+\or juli%
+\or august%
+\or september%
+\or oktober%
+\or november%
+\or december%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\datedanish\datedanish
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-dutch.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Dutch}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-dutch.def}[2015/03/20]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamedutch}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januari%
+\or februari%
+\or maart%
+\or april%
+\or mei%
+\or juni%
+\or juli%
+\or augustus%
+\or september%
+\or oktober%
+\or november%
+\or december%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\datedutch\datedutch
+% \end{macrocode}
+% Day of week name provided by multiple people.
+% \begin{macrocode}
+\providecommand*{\dayofweeknameiddutch}[1]{%
+\ifcase#1\relax
+\or zondag%
+\or maandag%
+\or dinsdag%
+\or woensdag%
+\or donderdag%
+\or vrijdag%
+\or zaterdag%
+\fi}
+
+\providecommand*{\shortdayofweeknameiddutch}[1]{%
+\ifcase#1\relax
+\or zo%
+\or ma%
+\or di%
+\or wo%
+\or do%
+\or vr%
+\or za%
+\fi}
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-esperanto.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Esperanto}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-esperanto.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnameesperanto}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januaro%
+\or februaro%
+\or marto%
+\or aprilo%
+\or majo%
+\or junio%
+\or julio%
+\or a\u{u}gusto%
+\or septembro%
+\or oktobro%
+\or novembro%
+\or decembro%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnameesperanto\monthnameesperanto
+% \end{macrocode}
+% (Re)Define declaration to switch to this format.
+% \begin{macrocode}
+\DeclareRobustCommand*\dateesperanto{%
+\renewcommand{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\number\@day{--a}~de~\monthnameesperanto[\@month],\space
+\number\@year}}%
+\global\let\dateesperanto\dateesperanto
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-estonian.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Estonian}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-estonian.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnameestonian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or jaanuar%
+\or veebruar%
+\or m"arts%
+\or aprill%
+\or mai%
+\or juuni%
+\or juuli%
+\or august%
+\or september%
+\or oktoober%
+\or november%
+\or detsember%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnameestonian\monthnameestonian
+% \end{macrocode}
+% (Re)Define declaration to switch to this format.
+% \begin{macrocode}
+\DeclareRobustCommand*\dateestonian{%
+\renewcommand{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\number\@day.\space\monthnameestonian[\@month]\space
+\number\@year.\space a.}}%
+\global\let\dateestonian\dateestonian
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-finnish.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Finnish}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-finnish.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamefinnish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or tammikuuta%
+\or helmikuuta%
+\or maaliskuuta%
+\or huhtikuuta%
+\or toukokuuta%
+\or kes\"akuuta%
+\or hein\"akuuta%
+\or elokuuta%
+\or syyskuuta%
+\or lokakuuta%
+\or marraskuuta%
+\or joulukuuta%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\datefinnish\datefinnish
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-french.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{French}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-french.def}[2013/09/10]%
+% \end{macrocode}
+%\begin{macro}{\ordinaldatefrench}
+% French:
+% \begin{macrocode}
+\providecommand*{\ordinaldatefrench}[1]{%
+#1\ifnum#1=1\ier\fi}%
+\global\let\ordinaldatefrench\ordinaldatefrench
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\ier}
+% In case \verb|\ier| hasn't been defined:%
+%\changes{v2.47}{27 Oct 2005}{defined if it doesn't
+% already exist}
+% \begin{macrocode}
+\providecommand*{\ier}{\textsuperscript{er}}%
+\global\let\ier\ier
+% \end{macrocode}
+%\end{macro}
+% Define week day names.
+% \begin{macrocode}
+\providecommand{\dayofweeknameidfrench}[1]{%
+\ifcase#1\relax
+\or dimanche%
+\or lundi%
+\or mardi%
+\or mercredi%
+\or jeudi%
+\or vendredi%
+\or samedi%
+\fi}%
+\global\let\dayofweeknameidfrench\dayofweeknameidfrench
+% \end{macrocode}
+% Define abbreviated week day names (are these correct?)
+% \begin{macrocode}
+\providecommand{\shortdayofweeknameidfrench}[1]{%
+\ifcase#1\relax
+\or dim%
+\or lun%
+\or mar%
+\or mer%
+\or jeu%
+\or ven%
+\or sam%
+\fi}%
+\global\let\shortdayofweeknameidfrench\shortdayofweeknameidfrench
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamefrench}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (janvier) to 12 (decembre)}%
+\or janvier%
+\or f\'evrier%
+\or mars%
+\or avril%
+\or mai%
+\or juin%
+\or juillet%
+\or ao\^ut%
+\or septembre%
+\or octobre%
+\or novembre%
+\or d\'ecembre%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (janvier) to 12 (decembre)}%
+\fi}%
+\global\let\monthnamefrench\monthnamefrench
+% \end{macrocode}
+% (Re)Define declaration to switch to this format.
+% \begin{macrocode}
+\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}}%
+\global\let\datefrench\datefrench
+% \end{macrocode}
+% Short month names provided by Rapha\"el Pinson
+% \begin{macrocode}
+\providecommand{\shortmonthnamefrench}[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 f\'evr.%
+\or mars%
+\or avr.%
+\or mai%
+\or juin%
+\or juill.%
+\or ao\^ut%
+\or sept.%
+\or oct.%
+\or nov.%
+\or d\'ec.%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (jan.) to 12 (dec.)}%
+\fi}
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-galician.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Galician}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-galician.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamegalician}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or xaneiro%
+\or febreiro%
+\or marzo%
+\or abril%
+\or maio%
+\or xu\~no%
+\or xullo%
+\or agosto%
+\or setembro%
+\or outubro%
+\or novembro%
+\or decembro%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnamegalician\monthnamegalician
+% \end{macrocode}
+% (Re)Define declaration to switch to this format.
+% \begin{macrocode}
+\DeclareRobustCommand*\dategalician{%
+\renewcommand{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\number\@day~de\space\monthnamegalician[\@month]\space
+de~\number\@year}}%
+\global\let\dategalician\dategalician
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-german.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{German}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-german.def}[2010/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamegerman}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Januar%
+\or Februar%
+\or M\"arz%
+\or April%
+\or Mai%
+\or Juni%
+\or Juli%
+\or August%
+\or September%
+\or Oktober%
+\or November%
+\or Dezember%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (janvier) to 12 (decembre)}%
+\fi}%
+\global\let\monthnamegerman\monthnamegerman
+% \end{macrocode}
+% The following week day names were supplied by Uwe Bieling:
+% \begin{macrocode}
+\providecommand{\dayofweeknameidgerman}[1]{%
+\ifcase#1\relax
+\or Sonntag%
+\or Montag%
+\or Dienstag%
+\or Mittwoch%
+\or Donnerstag%
+\or Freitag%
+\or Samstag%
+\fi}%
+\global\let\dayofweeknameidgerman\dayofweeknameidgerman
+% \end{macrocode}
+% \begin{macrocode}
+\providecommand{\shortdayofweeknameidgerman}[1]{%
+\ifcase#1\relax
+\or So%
+\or Mo%
+\or Di%
+\or Mi%
+\or Do%
+\or Fr%
+\or Sa%
+\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}}%
+\global\let\dategerman\dategerman
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-greek.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Greek}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-greek.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamegreek}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Ianouar'iou%
+\or Febrouar'iou%
+\or Mart'iou%
+\or April'iou%
+\or Ma'"iou%
+\or Ioun'iou%
+\or Ioul'iou%
+\or Augo'ustou%
+\or Septembr'iou%
+\or Oktwbr'iou%
+\or Noembr'iou%
+\or Dekembr'iou%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\dategreek\dategreek
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-hebrew.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Hebrew}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-hebrew.def}[2013/09/10]%
+% \end{macrocode}
+% Babel already provides Hebrew month names, so just provide a
+% synonym.
+% \begin{macrocode}
+\global\let\monthnamehebrew\hebmonth
+% \end{macrocode}
+% Redefine declaration to switch to this format. (This uses
+% |\hebdate| which is defined by babel.)
+% \begin{macrocode}
+\DeclareRobustCommand*\datehebrew{%
+\renewcommand{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\hebdate\@day\@month\@year}}%
+\global\let\datehebrew\datehebrew
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-icelandic.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Icelandic}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-icelandic.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\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\'uar%
+\or febr\'uar%
+\or mars%
+\or apr\'il%
+\or ma\'i%
+\or j\'un\'i%
+\or j\'ul\'i%
+\or \'ag\'ust%
+\or september%
+\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}%
+\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}}%
+\global\let\dateicelandic\dateicelandic
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-irish.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Irish}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-irish.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnameirish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Ean\'air%
+\or Feabhra%
+\or M\'arta%
+\or Aibre\'an%
+\or Bealtaine%
+\or Meitheamh%
+\or I\'uil%
+\or L\'unasa%
+\or Me\'an F\'omhair%
+\or Deireadh F\'omhair%
+\or M\'{\i} na Samhna%
+\or M\'{\i} na Nollag%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\dateirish\dateirish
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-italian.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Italian}
+% \begin{macrocode}
+\ProvidesFile{dt-italian.def}[2015/03/20]%
+% \end{macrocode}
+% Translations provided by Giada Ermacora and Marco Coppola
+% \begin{macrocode}
+\providecommand{\dayofweeknameiditalian}[1]{%
+\ifcase#1\relax
+\or domenica%
+\or luned\`{\i}%
+\or marted\`{\i}%
+\or mercoled\`{\i}%
+\or gioved\`{\i}%
+\or venerd\`{\i}%
+\or sabato%
+\fi}%
+\global\let\dayofweeknameiditalian\dayofweeknameiditalian
+% \end{macrocode}
+% \begin{macrocode}
+\providecommand{\shortdayofweeknameiditalian}[1]{%
+\ifcase#1\relax
+\or dom%
+\or lun%
+\or mar%
+\or mer%
+\or gio%
+\or ven%
+\or sab%
+\fi}%
+\global\let\shortdayofweeknameiditalian\shortdayofweeknameiditalian
+% \end{macrocode}
+% \begin{macrocode}
+\providecommand{\monthnameitalian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (gennaio) to 12 (dicembre)}%
+\or gennaio%
+\or febbraio%
+\or marzo%
+\or aprile%
+\or maggio%
+\or giugno%
+\or luglio%
+\or agosto%
+\or settembre%
+\or ottobre%
+\or novembre%
+\or dicembre%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (gennaio) to 12 (dicembre)}%
+\fi}%
+\global\let\monthnameitalian\monthnameitalian
+% \end{macrocode}
+% \begin{macrocode}
+\providecommand{\shortmonthnameitalian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (gen) to 12 (dic)}%
+\or gen%
+\or feb%
+\or mar%
+\or apr%
+\or mag%
+\or giu%
+\or lug%
+\or ago%
+\or set%
+\or ott%
+\or nov%
+\or dic%
+\else%
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (gen) to 12 (dic)}%
+\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}}%
+\global\let\dateitalian\dateitalian
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-latin.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Latin}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-latin.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamelatin}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Ianuarii%
+\or Februarii%
+\or Martii%
+\or Aprilis%
+\or Maii%
+\or Iunii%
+\or Iulii%
+\or Augusti%
+\or Septembris%
+\or Octobris%
+\or Novembris%
+\or Decembris%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnamelatin\monthnamelatin
+% \end{macrocode}
+% (Re)Define declaration to switch to this format.
+% \begin{macrocode}
+\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}}}}%
+\global\let\datelatin\datelatin
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-lsorbian.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{LSorbian}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-lsorbian.def}[2013/09/10]%
+% \end{macrocode}
+% Define new month names.
+% \begin{macrocode}
+\providecommand{\monthnamenewlsorbian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januara%
+\or februara%
+\or m\v erca%
+\or apryla%
+\or maja%
+\or junija%
+\or julija%
+\or awgusta%
+\or septembra%
+\or oktobra%
+\or nowembra%
+\or decembra%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnamenewlsorbian\monthnamenewlsorbian
+% \end{macrocode}
+% Define old month names.
+% \begin{macrocode}
+\providecommand{\monthnameoldlsorbian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or wjelikego ro\v zka%
+\or ma\l ego ro\v zka%
+\or nal\v etnika%
+\or jat\v sownika%
+\or ro\v zownika%
+\or sma\v znika%
+\or pra\v znika%
+\or \v znje\'nca%
+\or po\v znje\'nca%
+\or winowca%
+\or nazymnika%
+\or godownika%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnameoldlsorbian\monthnameoldlsorbian
+% \end{macrocode}
+% Set the default month names.
+% \begin{macrocode}
+\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}}%
+\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}}%
+\global\let\olddatelsorbian\olddatelsorbian
+% \end{macrocode}
+% Set the default date format.
+% \begin{macrocode}
+\global\let\datelsorbian\newdatelsorbian
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-magyar.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Magyar}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-magyar.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamemagyar}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or janu\'ar%
+\or febru\'ar%
+\or m\'arcius%
+\or \'aprilis%
+\or m\'ajus%
+\or j\'unius%
+\or j\'ulius%
+\or augusztus%
+\or szeptember%
+\or okt\'ober%
+\or november%
+\or december%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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.}}%
+\global\let\datemagyar\datemagyar
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-naustrian.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{NAustrian}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-naustrian.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamenaustrian}[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%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\datenaustrian\datenaustrian
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\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}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-ngerman.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{NGerman}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-ngerman.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamengerman}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Januar%
+\or Februar%
+\or M\"arz%
+\or April%
+\or Mai%
+\or Juni%
+\or Juli%
+\or August%
+\or September%
+\or Oktober%
+\or November%
+\or Dezember%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnamengerman\monthnamengerman
+% \end{macrocode}
+% The following week day names were supplied by Uwe Bieling:
+% \begin{macrocode}
+\providecommand{\dayofweeknameidngerman}[1]{%
+\ifcase#1\relax
+\or Sonntag%
+\or Montag%
+\or Dienstag%
+\or Mittwoch%
+\or Donnerstag%
+\or Freitag%
+\or Samstag%
+\fi}%
+\global\let\dayofweeknameidngerman\dayofweeknameidngerman
+% \end{macrocode}
+% \begin{macrocode}
+\providecommand{\shortdayofweeknameidngerman}[1]{%
+\ifcase#1\relax
+\or So%
+\or Mo%
+\or Di%
+\or Mi%
+\or Do%
+\or Fr%
+\or Sa%
+\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}}%
+\global\let\datengerman\datengerman
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-norsk.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Norsk}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-norsk.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamenorsk}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januar%
+\or februar%
+\or mars%
+\or april%
+\or mai%
+\or juni%
+\or juli%
+\or august%
+\or september%
+\or oktober%
+\or november%
+\or desember%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\datenorsk\datenorsk
+% \end{macrocode}
+% Day of week provided by Tor Inge Birkenes
+% \begin{macrocode}
+\providecommand*{\dayofweeknameidnorsk}[1]{%
+\ifcase#1\relax
+\or S\o{}ndag%
+\or Mandag%
+\or Tirsdag%
+\or Onsdag%
+\or Torsdag%
+\or Fredag%
+\or L\o{}rdag%
+\fi}
+\providecommand*{\shortdayofweeknameidnorsk}[1]{%
+\ifcase#1\relax
+\or S\o{}n%
+\or Man%
+\or Tir%
+\or Ons%
+\or Tor%
+\or Fre%
+\or L\o{}r%
+\fi}
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-polish.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Polish}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-polish.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+%\begin{macro}{\monthnamepolish}
+% \begin{macrocode}
+\providecommand{\monthnamepolish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or stycznia%
+\or lutego%
+\or marca%
+\or kwietnia%
+\or maja%
+\or czerwca%
+\or lipca%
+\or sierpnia%
+\or wrze\'snia%
+\or pa\'zdziernika%
+\or listopada%
+\or grudnia%
+\else
+\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.
+% \begin{macrocode}
+\DeclareRobustCommand*\datepolish{%
+\renewcommand{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\number\@day~\monthnamepolish[\@month]\space\number\@year}}%
+\global\let\datepolish\datepolish
+% \end{macrocode}
+% The week names were provided by Piotr Kempa
+%\begin{macro}{\dayofweeknameidpolish}
+% \begin{macrocode}
+\providecommand{\dayofweeknameidpolish}[1]{%
+\ifcase#1\relax
+\or Niedziela%
+\or Poniedzia\l ek%
+\or Wtorek%
+\or \'Sroda%
+\or Czwartek%
+\or Pi\k atek%
+\or Sobota%
+\fi}%
+\global\let\dayofweeknameidpolish\dayofweeknameidpolish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\shortdayofweeknameidpolish}
+% \begin{macrocode}
+\providecommand{\shortdayofweeknameidpolish}[1]{%
+\ifcase#1\relax
+\or Ndz.%
+\or Pon.%
+\or Wt.%
+\or \'Sr.%
+\or Czw.%
+\or Pt.%
+\or Sob.%
+\fi}%
+\global\let\shortdayofweeknameidpolish\shortdayofweeknameidpolish
+% \end{macrocode}
+%\end{macro}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-portuges.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Portuges}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-portuges.def}[2013/09/10]%
+% \end{macrocode}
+% Define week day names.
+% \begin{macrocode}
+\providecommand{\dayofweeknameidportuges}[1]{%
+\ifcase#1\relax
+\or domingo%
+\or segunda-feira%
+\or ter\c{c}a-feira%
+\or quarta-feira%
+\or quinta-feira%
+\or sexta-feira%
+\or sabado%
+\fi}%
+\global\let\dayofweeknameidportuges\dayofweeknameidportuges
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnameportuges}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Janeiro%
+\or Fevereiro%
+\or Mar\c{c}o%
+\or Abril%
+\or Maio%
+\or Junho%
+\or Julho%
+\or Agosto%
+\or Setembro%
+\or Outubro%
+\or Novembro%
+\or Dezembro%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnameportuges\monthnameportuges
+% \end{macrocode}
+% (Re)Define declaration to switch to this format.
+% \begin{macrocode}
+\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}}%
+\global\let\dateportuges\dateportuges
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-romanian.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Romanian}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-romanian.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnameromanian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or ianuarie%
+\or februarie%
+\or martie%
+\or aprilie%
+\or mai%
+\or iunie%
+\or iulie%
+\or august%
+\or septembrie%
+\or octombrie%
+\or noiembrie%
+\or decembrie%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\dateromanian\dateromanian
+% \end{macrocode}
+% The following were provided by Daniel Dumitriu:
+% \begin{macrocode}
+\providecommand{\dayofweeknameidromanian}[1]{%
+\ifcase#1\relax
+\or duminic\u{a}%
+\or luni%
+\or mar\c{t}i%
+\or miercuri%
+\or joi%
+\or vineri%
+\or s\^{a}mb\u{a}t\u{a}%
+\fi}%
+\global\let\dayofweeknameidromanian\dayofweeknameidromanian
+% \end{macrocode}
+%
+% \begin{macrocode}
+\providecommand{\shortdayofweeknameidromanian}[1]{%
+\ifcase#1\relax
+\or D%
+\or L%
+\or Ma%
+\or Mi%
+\or J%
+\or V%
+\or S%
+\fi}%
+\global\let\shortdayofweeknameidromanian\shortdayofweeknameidromanian
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-russian.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Russian}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-russian.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamerussian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or \cyrya\cyrn\cyrv\cyra\cyrr\cyrya\or
+ \cyrf\cyre\cyrv\cyrr\cyra\cyrl\cyrya\or
+ \cyrm\cyra\cyrr\cyrt\cyra\or
+ \cyra\cyrp\cyrr\cyre\cyrl\cyrya\or
+ \cyrm\cyra\cyrya\or
+ \cyri\cyryu\cyrn\cyrya\or
+ \cyri\cyryu\cyrl\cyrya\or
+ \cyra\cyrv\cyrg\cyru\cyrs\cyrt\cyra\or
+ \cyrs\cyre\cyrn\cyrt\cyrya\cyrb\cyrr\cyrya\or
+ \cyro\cyrk\cyrt\cyrya\cyrb\cyrr\cyrya\or
+ \cyrn\cyro\cyrya\cyrb\cyrr\cyrya\or
+ \cyrd\cyre\cyrk\cyra\cyrb\cyrr\cyrya%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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.}}%
+\global\let\daterussian\daterussian
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-samin.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Samin}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-samin.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamesamin}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or o\dj{}\dj{}ajagem\'anu\or
+ guovvam\'anu\or
+ njuk\v cam\'anu\or
+ cuo\ng{}om\'anu\or
+ miessem\'anu\or
+ geassem\'anu\or
+ suoidnem\'anu\or
+ borgem\'anu\or
+ \v cak\v cam\'anu\or
+ golggotm\'anu\or
+ sk\'abmam\'anu\or
+ juovlam\'anu%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnamesamin\monthnamesamin
+% \end{macrocode}
+% (Re)Define declaration to switch to this format.
+% \begin{macrocode}
+\DeclareRobustCommand*\datesamin{%
+\renewcommand{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\monthnamesamin[\@month]\space\number\@day.~b.\space
+\number\@year}}%
+\global\let\datesamin\datesamin
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-scottish.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Scottish}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-scottish.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamescottish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or am Faoilteach%
+\or an Gearran%
+\or am M\`art%
+\or an Giblean%
+\or an C\`eitean%
+\or an t-\`Og mhios%
+\or an t-Iuchar%
+\or L\`unasdal%
+\or an Sultuine%
+\or an D\`amhar%
+\or an t-Samhainn%
+\or an Dubhlachd%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\datescottish\datescottish
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-serbian.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Serbian}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-serbian.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnameserbian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januar%
+\or februar%
+\or mart%
+\or april%
+\or maj%
+\or juni%
+\or juli%
+\or avgust%
+\or septembar%
+\or oktobar%
+\or novembar%
+\or decembar%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\dateserbian\dateserbian
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-slovak.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Slovak}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-slovak.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnameslovak}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month
+numbers should go from 1 to 12}%
+\or janu\'ara%
+\or febru\'ara%
+\or marca%
+\or apr\'{\i}la%
+\or m\'aja%
+\or j\'una%
+\or j\'ula%
+\or augusta%
+\or septembra%
+\or okt\'obra%
+\or novembra%
+\or decembra%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\dateslovak\dateslovak
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-slovene.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Slovene}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-slovene.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnameslovene}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januar%
+\or februar%
+\or marec%
+\or april%
+\or maj%
+\or junij%
+\or julij%
+\or avgust%
+\or september%
+\or oktober%
+\or november%
+\or december%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\dateslovene\dateslovene
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-spanish.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Spanish}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-spanish.def}[2013/09/10]%
+% \end{macrocode}
+% Define week day names.
+% \begin{macrocode}
+\providecommand{\dayofweeknameidspanish}[1]{%
+\ifcase#1\relax
+\or domingo%
+\or lunes%
+\or martes%
+\or mi\'ercoles%
+\or jueves%
+\or viernes%
+\or s\'abado%
+\fi}%
+\global\let\dayofweeknameidspanish\dayofweeknameidspanish
+% \end{macrocode}
+% Define abbreviated week day names (is this correct?)
+% \begin{macrocode}
+\providecommand{\shortdayofweeknameidspanish}[1]{%
+\ifcase#1\relax
+\or dom%
+\or lun%
+\or mar%
+\or mi\'e%
+\or jue%
+\or vie%
+\or s\'ab%
+\fi}%
+\global\let\shortdayofweeknameidspanish\shortdayofweeknameidspanish
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamespanish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or enero%
+\or febrero%
+\or marzo%
+\or abril%
+\or mayo%
+\or junio%
+\or julio%
+\or agosto%
+\or septiembre%
+\or octubre%
+\or noviembre%
+\or diciembre%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\datespanish\datespanish
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-swedish.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Swedish}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-swedish.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnameswedish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januari%
+\or februari%
+\or mars%
+\or april%
+\or maj%
+\or juni%
+\or juli%
+\or augusti%
+\or september%
+\or oktober%
+\or november%
+\or december%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnameswedish\monthnameswedish
+% \end{macrocode}
+% (Re)Define declaration to switch to this format
+% (day monthname year).
+% \begin{macrocode}
+\DeclareRobustCommand*\dateswedish{%
+\renewcommand{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\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}%
+}%
+\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}%
+}%
+\global\let\datesdmy\datesdmy
+% \end{macrocode}
+% Day of weekname provided by Johan Sj\"oblom
+% \begin{macrocode}
+\providecommand*{\dayofweeknameidswedish}[1]{%
+\ifcase#1\relax
+\or S\"ondag%
+\or M\aa{}ndag%
+\or Tisdag%
+\or Onsdag%
+\or Torsdag%
+\or Fredag%
+\or L\"ordag%
+\fi}
+\providecommand*{\shortdayofweeknameidswedish}[1]{%
+\ifcase#1\relax
+\or S\"on%
+\or M\aa{}n%
+\or Tis%
+\or Ons%
+\or Tor%
+\or Fre%
+\or L\"or%
+\fi}
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-turkish.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Turkish}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-turkish.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnameturkish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Ocak%
+\or \c Subat%
+\or Mart%
+\or Nisan%
+\or May\i{}s%
+\or Haziran%
+\or Temmuz%
+\or A\u gustos%
+\or Eyl\"ul%
+\or Ekim%
+\or Kas\i{}m%
+\or Aral\i{}k%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\dateturkish\dateturkish
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-UKenglish.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{UKenglish}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-UKenglish.def}[2013/09/10]%
+% \end{macrocode}
+%\begin{macro}{\dateUKenglish}
+% \begin{macrocode}
+\global\let\dateUKenglish\longdate
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\monthnameUKenglish}
+% \begin{macrocode}
+\global\let\monthnameUKenglish\monthnameenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\shortmonthnameUKenglish}
+% \begin{macrocode}
+\global\let\shortmonthnameUKenglish\shortmonthnameenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\dayofweeknameidUKenglish}
+% \begin{macrocode}
+\global\let\dayofweeknameidUKenglish\dayofweeknameidenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\shortdayofweeknameidUKenglish}
+% \begin{macrocode}
+\global\let\shortdayofweeknameidUKenglish\shortdayofweeknameidenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\ordinaldateUKenglish}
+% \begin{macrocode}
+\global\let\ordinaldateUKenglish\ordinaldateenglish
+% \end{macrocode}
+%\end{macro}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-ukraineb.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Ukraine}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-ukraineb.def}[2013/09/10]%
+% \end{macrocode}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnameukraineb}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or \cyrs\cyrii\cyrch\cyrn\cyrya\or
+ \cyrl\cyryu\cyrt\cyro\cyrg\cyro\or
+ \cyrb\cyre\cyrr\cyre\cyrz\cyrn\cyrya\or
+ \cyrk\cyrv\cyrii\cyrt\cyrn\cyrya\or
+ \cyrt\cyrr\cyra\cyrv\cyrn\cyrya\or
+ \cyrch\cyre\cyrr\cyrv\cyrn\cyrya\or
+ \cyrl\cyri\cyrp\cyrn\cyrya\or
+ \cyrs\cyre\cyrr\cyrp\cyrn\cyrya\or
+ \cyrv\cyre\cyrr\cyre\cyrs\cyrn\cyrya\or
+ \cyrzh\cyro\cyrv\cyrt\cyrn\cyrya\or
+ \cyrl\cyri\cyrs\cyrt\cyro\cyrp\cyra\cyrd\cyra\or
+ \cyrg\cyrr\cyru\cyrd\cyrn\cyrya%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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.}}%
+\global\let\dateukraineb\dateukraineb
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-USenglish.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{USenglish}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-USenglish.def}[2013/09/10]%
+% \end{macrocode}
+%\begin{macro}{\dateUSenglish}
+% \begin{macrocode}
+\global\let\dateUSenglish\usdate
+% \end{macrocode}
+%\end{macro}
+%\begin{macrocode}{\monthnameUSenglish}
+% \begin{macrocode}
+\global\let\monthnameUSenglish\monthnameenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\shortmonthnameUSenglish}
+% \begin{macrocode}
+\global\let\shortmonthnameUSenglish\shortmonthnameenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\dayofweeknameidUSenglish}
+% \begin{macrocode}
+\global\let\dayofweeknameidUSenglish\dayofweeknameidenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macrocode}{\shortdayofweeknameidUSenglish}
+% \begin{macrocode}
+\global\let\shortdayofweeknameidUSenglish\shortdayofweeknameidenglish
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\ordinaldateUSenglish}
+% \begin{macrocode}
+\newcommand*{\ordinaldateUSenglish}[1]{#1}%
+\global\let\ordinaldateUSenglish\ordinaldateUSenglish
+% \end{macrocode}
+%\end{macro}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-usorbian.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{USorbian}
+% Identify file
+% \begin{macrocode}
+\ProvidesFile{dt-usorbian.def}[2013/09/10]%
+% \end{macrocode}
+% Define (new) month names.
+% \begin{macrocode}
+\providecommand{\monthnamenewusorbian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januara%
+\or februara%
+\or m\v erca%
+\or apryla%
+\or meje%
+\or junija%
+\or julija%
+\or awgusta%
+\or septembra%
+\or oktobra%
+\or nowembra%
+\or decembra%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnamenewusorbian\monthnamenewusorbian
+% \end{macrocode}
+% Define (old) month names.
+% \begin{macrocode}
+\providecommand{\monthnameoldusorbian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or wulkeho r\'o\v zka%
+\or ma\l eho r\'o\v zka%
+\or nal\v etnika%
+\or jutrownika%
+\or r\'o\v zownika%
+\or sma\v znika%
+\or pra\v znika%
+\or \v znjenca%
+\or po\v znjenca%
+\or winowca%
+\or nazymnika%
+\or hodownika%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnameoldusorbian\monthnameoldusorbian
+% \end{macrocode}
+% Set up default
+% \begin{macrocode}
+\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}}%
+\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}}%
+\global\let\olddateusorbian\olddateusorbian
+% \end{macrocode}
+% Set up default
+% \begin{macrocode}
+\global\let\dateusorbian\newdateusorbian
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-welsh.def>
+% \end{macrocode}
+%\fi
+%\subsubsection{Welsh}
+% Identify file
+% \begin{macrocode}
+\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}%
+\global\let\ordinaldatewelsh\ordinaldatewelsh
+% \end{macrocode}
+%\end{macro}
+% Define month names.
+% \begin{macrocode}
+\providecommand{\monthnamewelsh}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Ionawr%
+\or Chwefror%
+\or Mawrth%
+\or Ebrill%
+\or Mai%
+\or Mehefin%
+\or Gorffennaf%
+\or Awst%
+\or Medi%
+\or Hydref%
+\or Tachwedd%
+\or Rhagfyr%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnamewelsh\monthnamewelsh
+% \end{macrocode}
+% (Re)Define declaration to switch to this format.
+%\changes{5.60}{2014-09-25}{removed `a viz'}
+% \begin{macrocode}
+\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
+ \monthnamewelsh[\@month]\space\number\@year}%
+}%
+\global\let\datewelsh\datewelsh
+% \end{macrocode}
+% \subsection{LaTeX2HTML Perl Script}
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-lang.tex>
+% \end{macrocode}
+%\fi
+%\iffalse
+\documentclass{article}
+
+\usepackage[T1]{fontenc}
+\usepackage[french,spanish,english]{babel}
+\usepackage{datetime} % Date will be language-dependent
+%\usepackage[iso]{datetime} % Date will be displayed the same for all languages
+
+\begin{document}
+English: \today
+
+\selectlanguage{french}
+French: \today
+
+\selectlanguage{spanish}
+Spanish: \today
+
+\begin{otherlanguage}{french}
+French: \today
+\end{otherlanguage}
+
+\today
+\end{document}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*dt-sampl.tex>
+% \end{macrocode}
+%\fi
+%\iffalse
+\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}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*datetime.perl>
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+# File : datetime.perl
+# Author : Nicola Talbot
+# Date : 17 Nov 2009
+# Version : 1.04
+#
+# This is a LaTeX2HTML style implementing the datetime package, and
+# is distributed as part of that package.
+# Copyright 2007 Nicola L.C. 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.
+
+# set up default values for internal counters.
+
+($global{SECONDS},$global{MINUTE},$global{HOUR},$global{DAY},$global{MONTH},$global{YEAR})=localtime(time);
+$global{YEAR} += 1900;
+$global{MONTH}++;
+
+package main;
+
+&do_require_package('fmtcount');
+
+sub do_cmd_ordinaldate{
+ &do_cmd_ordinalnum(@_);
+}
+
+# define package options
+
+sub do_datetime_long{
+ &do_cmd_longdate(@_);
+}
+
+sub do_datetime_short{
+ &do_cmd_shortdate(@_);
+}
+
+sub do_datetime_text{
+ &do_cmd_textdate(@_);
+}
+
+sub do_datetime_yyyymmdd{
+ &do_cmd_yyyymmdddate(@_);
+}
+
+sub do_datetime_ddmmyyyy{
+ &do_cmd_ddmmyyyydate(@_);
+}
+
+sub do_datetime_dmyyyy{
+ &do_cmd_dmyyyydate(@_);
+}
+
+sub do_datetime_ddmmyy{
+ &do_cmd_ddmmyydate(@_);
+}
+
+sub do_datetime_dmyy{
+ &do_cmd_dmyyyydate(@_);
+}
+
+sub do_datetime_us{
+ &do_cmd_usdate(@_);
+}
+
+sub do_datetime_mmddyyyy{
+ &do_cmd_mmddyyyydate(@_);
+}
+
+sub do_datetime_mdyyyy{
+ &do_cmd_mdyyyydate(@_);
+}
+
+sub do_datetime_mmddyy{
+ &do_cmd_mmddyydate(@_);
+}
+
+sub do_datetime_mdyy{
+ &do_cmd_mdyyyydate(@_);
+}
+
+sub do_datetime_raise{
+ local($tmp)="";
+
+ $tmp .= 'sub do_cmd_fmtord{';
+ $tmp .= 'local($_) = @_;';
+ $tmp .= 'local($num) = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($num=$2));';
+ $tmp .= 'join("", "",$num,"",$_);';
+ $tmp .='}';
+
+ eval($tmp);
+}
+
+sub do_datetime_level{
+ local($tmp)="";
+
+ $tmp .= 'sub do_cmd_fmtord{';
+ $tmp .= 'local($_) = @_;';
+ $tmp .= 'local($num) = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($num=$2));';
+ $tmp .= 'join("", $num,$_);';
+ $tmp .='}';
+
+ eval($tmp);
+}
+
+sub do_datetime_dayofweek{
+ &do_cmd_showdowtrue(@_);
+}
+
+sub do_datetime_nodayofweek{
+ &do_cmd_showdowfalse(@_);
+}
+
+sub do_datetime_hhmmss{
+ &set_timeformat_hhmmsstime
+}
+
+sub do_datetime_24hr{
+ &set_timeformat_xxivtime
+}
+
+&do_datetime_24hr;
+
+sub do_datetime_12hr{
+ &set_timeformat_ampmtime
+}
+
+sub do_datetime_oclock{
+ &set_timeformat_oclock
+}
+
+sub do_datetime_iso{
+ &set_timeformat_hhmmsstime;
+ &do_cmd_yyyymmdddate;
+ eval('sub do_cmd_dateseparator{join(\'\', \'-\', $_[0]);}');
+ eval('sub do_cmd_timeseparator{join(\'\', \':\', $_[0]);}');
+}
+
+# babel stuff (Month will already be redefined by babel, so only need to change $dateformat)
+
+sub do_datetime_austrian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateaustrian{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateaustrian(@_);
+}
+
+if (defined &austrian_today)
+{
+ &do_datetime_austrian(@_);
+}
+
+sub do_datetime_bahasa{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datebahasa{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datebahasa(@_);
+}
+
+if (defined &bahasa_today)
+{
+ &do_datetime_bahasa(@_);
+}
+
+sub do_datetime_basque{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datebasque{';
+ $tmp .= ' $dateformat = "THEYEAR.eko MONTHNAME[THEMONTH] THEDAY";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datebasque(@_);
+}
+
+if (defined &basque_today)
+{
+ &do_datetime_basque(@_);
+}
+
+sub do_datetime_breton{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datebreton{';
+ $tmp .= ' $dateformat = "{ORDINALDATE{DAY}}\\ a viz MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ $tmp = 'sub do_cmd_ordinaldate{';
+ $tmp .= 'local($_) = @_;';
+ $tmp .= 'local($num) = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($num=$2));';
+ $tmp .= 'local($before) = $num;';
+
+ $tmp .= 'if ($num == 1)';
+ $tmp .= '{ $before .= \'a\~n\'; }';
+
+ $tmp .= '$before . $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datebreton(@_);
+}
+
+if (defined &breton_today)
+{
+ &do_datetime_breton(@_);
+}
+
+sub do_datetime_bulgarian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datebulgarian{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR \\cyrg.";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datebulgarian(@_);
+}
+
+if (defined &bulgarian_today)
+{
+ &do_datetime_bulgarian(@_);
+}
+
+sub do_datetime_catalan{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datecatalan{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] de THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datecatalan(@_);
+}
+
+if (defined &catalan_today)
+{
+ &do_datetime_catalan(@_);
+}
+
+sub do_datetime_croatian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datecroatian{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR.";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datecroatian(@_);
+}
+
+if (defined &croatian_today)
+{
+ &do_datetime_croatian(@_);
+}
+
+sub do_datetime_czech{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateczech{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateczech(@_);
+}
+
+if (defined &czech_today)
+{
+ &do_datetime_czech(@_);
+}
+
+sub do_datetime_danish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datedanish{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datedanish(@_);
+}
+
+if (defined &danish_today)
+{
+ &do_datetime_danish(@_);
+}
+
+sub do_datetime_dutch{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datedutch{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datedutch(@_);
+}
+
+if (defined &dutch_today)
+{
+ &do_datetime_dutch(@_);
+}
+
+sub do_datetime_esperanto{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateesperanto{';
+ $tmp .= ' $dateformat = "THEDAY--a de MONTHNAME[THEMONTH], THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateesperanto(@_);
+}
+
+if (defined &esperanto_today)
+{
+ &do_datetime_esperanto(@_);
+}
+
+sub do_datetime_estonian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateestonian{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR. a.";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateestonian(@_);
+}
+
+if (defined &estonian_today)
+{
+ &do_datetime_estonian(@_);
+}
+
+sub do_datetime_finnish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datefinnish{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datefinnish(@_);
+}
+
+if (defined &finnish_today)
+{
+ &do_datetime_finnish(@_);
+}
+
+sub do_datetime_french{
+ local($tmp) = "";
+
+ eval($tmp);
+ $tmp .= 'sub do_cmd_datefrench{';
+ $tmp .= ' $dateformat = "{ORDINALDATE{DAY}}\\ MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ $tmp = 'sub do_cmd_ordinaldate{';
+ $tmp .= 'local($_) = @_;';
+ $tmp .= 'local($num) = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($num=$2));';
+ $tmp .= 'local($before) = $num;';
+
+ $tmp .= 'if ($num == 1)';
+ $tmp .= '{ $before .= \'\ier\'; }';
+
+ $tmp .= '$before . $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datefrench(@_);
+}
+
+if (defined &french_today)
+{
+ &do_datetime_french(@_);
+}
+
+sub do_datetime_galician{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dategalician{';
+ $tmp .= ' $dateformat = "THEDAY de MONTHNAME[THEMONTH] de THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dategalician(@_);
+}
+
+if (defined &galician_today)
+{
+ &do_datetime_galician(@_);
+}
+
+sub do_datetime_german{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dategerman{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dategerman(@_);
+}
+
+if (defined &german_today)
+{
+ &do_datetime_german(@_);
+}
+
+sub do_datetime_greek{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dategreek{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dategreek(@_);
+}
+
+if (defined &greek_today)
+{
+ &do_datetime_greek(@_);
+}
+
+sub do_datetime_icelandic{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateicelandic{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateicelandic(@_);
+}
+
+if (defined &icelandic_today)
+{
+ &do_datetime_icelandic(@_);
+}
+
+sub do_datetime_irish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateirish{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateirish(@_);
+}
+
+if (defined &irish_today)
+{
+ &do_datetime_irish(@_);
+}
+
+sub do_datetime_italian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateitalian{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateitalian(@_);
+}
+
+if (defined &italian_today)
+{
+ &do_datetime_italian(@_);
+}
+
+sub do_datetime_latin{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datelatin{';
+ $tmp .= ' $dateformat = "ROMANNUMERALU{THEDAY} MONTHNAME[THEMONTH] ROMANNUMERALU{THEYEAR}";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datelatin(@_);
+}
+
+if (defined &latin_today)
+{
+ &do_datetime_latin(@_);
+}
+
+sub do_datetime_lsorbian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datelsorbian{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datelsorbian(@_);
+}
+
+if (defined &lsorbian_today)
+{
+ &do_datetime_lsorbian(@_);
+}
+
+sub do_datetime_magyar{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datemagyar{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR.";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datemagyar(@_);
+}
+
+if (defined &magyar_today)
+{
+ &do_datetime_magyar(@_);
+}
+
+sub do_datetime_naustrian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datenaustrian{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datenaustrian(@_);
+}
+
+if (defined &naustrian_today)
+{
+ &do_datetime_naustrian(@_);
+}
+
+sub do_datetime_ngerman{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datengerman{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datengerman(@_);
+}
+
+if (defined &ngerman_today)
+{
+ &do_datetime_ngerman(@_);
+}
+
+sub do_datetime_norsk{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datenorsk{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datenorsk(@_);
+}
+
+if (defined &norsk_today)
+{
+ &do_datetime_norsk(@_);
+}
+
+sub do_datetime_polish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datenorsk{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datenorsk(@_);
+}
+
+if (defined &polish_today)
+{
+ &do_datetime_polish(@_);
+}
+
+sub do_datetime_portuges{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateportuges{';
+ $tmp .= ' $dateformat = "THEDAY de MONTHNAME[THEMONTH] de THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateportuges(@_);
+}
+
+if (defined &portuges_today)
+{
+ &do_datetime_portuges(@_);
+}
+
+sub do_datetime_romanian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateromanian{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateromanian(@_);
+}
+
+if (defined &romanian_today)
+{
+ &do_datetime_romanian(@_);
+}
+
+sub do_datetime_russian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_daterussian{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR \\\\cyrg.";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_daterussian(@_);
+}
+
+if (defined &russian_today)
+{
+ &do_datetime_russian(@_);
+}
+
+sub do_datetime_samin{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datesamin{';
+ $tmp .= ' $dateformat = "MONTHNAME[THEMONTH] THEDAY.~b. THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datesamin(@_);
+}
+
+if (defined &samin_today)
+{
+ &do_datetime_samin(@_);
+}
+
+sub do_datetime_scottish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datescottish{';
+ $tmp .= ' $dateformat = "THEDAY MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datescottish(@_);
+}
+
+if (defined &scottish_today)
+{
+ &do_datetime_scottish(@_);
+}
+
+sub do_datetime_serbian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateserbian{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateserbian(@_);
+}
+
+if (defined &serbian_today)
+{
+ &do_datetime_serbian(@_);
+}
+
+sub do_datetime_slovak{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateslovak{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateslovak(@_);
+}
+
+if (defined &slovak_today)
+{
+ &do_datetime_slovak(@_);
+}
+
+sub do_datetime_slovene{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateslovene{';
+ $tmp .= ' $dateformat = "THEDAY. MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateslovene(@_);
+}
+
+if (defined &slovene_today)
+{
+ &do_datetime_slovene(@_);
+}
+
+sub do_datetime_spanish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datespanish{';
+ $tmp .= ' $dateformat = "THEDAY~de MONTHNAME[THEMONTH] de~THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datespanish(@_);
+}
+
+if (defined &spanish_today)
+{
+ &do_datetime_spanish(@_);
+}
+
+sub do_datetime_swedish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateswedish{';
+ $tmp .= ' $dateformat = "THEDAY~MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ $tmp = "";
+ $tmp .= 'sub do_cmd_datesymd{';
+ $tmp .= ' $dateformat = "THEYEAR-TWODIGIT{THEMONTH}-TWODIGIT{THEDAY}";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ $tmp = "";
+ $tmp .= 'sub do_cmd_datesdmy{';
+ $tmp .= ' $dateformat = "THEDAY/THEMONTH THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateswedish(@_);
+}
+
+if (defined &swedish_today)
+{
+ &do_datetime_swedish(@_);
+}
+
+sub do_datetime_turkish{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateturkish{';
+ $tmp .= ' $dateformat = "THEDAY~MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateturkish(@_);
+}
+
+if (defined &turkish_today)
+{
+ &do_datetime_turkish(@_);
+}
+
+sub do_datetime_ukraineb{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateukraineb{';
+ $tmp .= ' $dateformat = "THEDAY~MONTHNAME[THEMONTH] THEYEAR~\\\\cyrr.";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateukraineb(@_);
+}
+
+if (defined &ukraineb_today)
+{
+ &do_datetime_ukraineb(@_);
+}
+
+sub do_datetime_usorbian{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_dateusorbian{';
+ $tmp .= ' $dateformat = "THEDAY.~MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_dateusorbian(@_);
+}
+
+if (defined &usorbian_today)
+{
+ &do_datetime_usorbian(@_);
+}
+
+sub do_datetime_welsh{
+ local($tmp) = "";
+
+ $tmp .= 'sub do_cmd_datewelsh{';
+ $tmp .= ' $dateformat = "{ORDINALDATE{DAY}}\\ a viz MONTHNAME[THEMONTH] THEYEAR";';
+ $tmp .= ' $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ $tmp = 'sub do_cmd_ordinaldate{';
+ $tmp .= 'local($_) = @_;';
+ $tmp .= 'local($num) = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($num=$2));';
+ $tmp .= 'local($before) = $num;';
+
+ $tmp .= 'if ($num == 1)';
+ $tmp .= '{ $before .= \'a\~n\'; }';
+
+ $tmp .= '$before . $_[0];';
+ $tmp .= '}';
+
+ eval($tmp);
+
+ &do_cmd_datewelsh(@_);
+}
+
+if (defined &welsh_today)
+{
+ &do_datetime_welsh(@_);
+}
+
+# As far as I know, LaTeX2HTML doesn't implement TeX conditionals.
+# $showdow corresponds to LaTeX boolean variable showdow
+$showdow = 1;
+
+sub get_monthname{
+ local($month) = @_;
+
+ if ($month eq 'THEMONTH' or $month eq '\THEMONTH')
+ {
+ # this is a cludge to help newdateformat work
+
+ 'MONTHNAME[THEMONTH]';
+ }
+ else
+ {
+ if ($month eq '')
+ {
+ local($today) = &get_date();
+ $today =~ m|(\d+)/0?(\d+)/|;
+ $month = $1;
+ }
+
+ $Month[$month];
+ }
+}
+
+sub do_cmd_monthname{
+ local($_) = @_;
+ local($month,$pat) = &get_next_optional_argument;
+
+ local($monthname) = &get_monthname($month);
+ join('',$monthname,$_);
+}
+
+sub get_shortmonthname{
+ local($month) = @_;
+
+ if ($month eq 'THEMONTH' or $month eq '\THEMONTH')
+ {
+ 'SHORTMONTHNAME[THEMONTH]';
+ }
+ else
+ {
+ substr(&get_monthname($month), 0, 3);
+ }
+}
+
+sub do_cmd_shortmonthname{
+ local($_) = @_;
+ local($month,$pat) = &get_next_optional_argument;
+
+ local($monthname) = &get_shortmonthname($month);
+
+ join('',$monthname,$_);
+}
+
+sub is_leap_year{
+ local($year) = @_;
+ local($isleapyear) = 0;
+
+ if (($year%400) == 0)
+ {
+ # year mod 400 = 0 => leap year
+
+ $isleapyear = 1;
+ }
+ elsif (($year%100) == 0)
+ {
+ # year mod 100 = 0 and year mod 400 != 0 => not a leap year
+
+ $isleapyear = 0;
+ }
+ elsif (($year%4) == 0)
+ {
+ # year mod 4 = 0 and year mod 100 != 0 => leap year
+
+ $isleapyear = 1;
+ }
+
+ $isleapyear;
+}
+
+sub get_day_of_year{
+ local($day,$month,$year) = @_;
+ local($dayofyear) = 0;
+
+ SWITCH: {
+ if ($month == 2) {$dayofyear += 31; last SWITCH; }
+ if ($month == 3) {$dayofyear += 59; last SWITCH; }
+ if ($month == 4) {$dayofyear += 90; last SWITCH; }
+ if ($month == 5) {$dayofyear += 120; last SWITCH; }
+ if ($month == 6) {$dayofyear += 151; last SWITCH; }
+ if ($month == 7) {$dayofyear += 181; last SWITCH; }
+ if ($month == 8) {$dayofyear += 212; last SWITCH; }
+ if ($month == 9) {$dayofyear += 243; last SWITCH; }
+ if ($month == 10) {$dayofyear += 273; last SWITCH; }
+ if ($month == 11) {$dayofyear += 304; last SWITCH; }
+ if ($month == 12) {$dayofyear += 334; last SWITCH; }
+ }
+
+ if ($month > 2 && &is_leap_year($year))
+ {
+ $dayofyear += 1;
+ }
+
+ $dayofyear += $day;
+ local($_)=$dayofyear;
+}
+
+sub get_day_of_week{
+ local($day,$month,$year) = @_;
+ local($dayofyear) = &get_day_of_year($day,$month,$year);
+ local($_) = (((($year-1901)%28)*1.25 + 2)%7 + $dayofyear - 1)%7 + 1;
+}
+
+sub get_day_of_weekname_english{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('Sunday',
+ 'Monday',
+ 'Tuesday',
+ 'Wednesday',
+ 'Thursday',
+ 'Friday',
+ 'Saturday');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_day_of_weekname_french{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('dimanche',
+ 'lundi',
+ 'mardi',
+ 'mercredi',
+ 'jeudi',
+ 'vendredi',
+ 'samedi');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_day_of_weekname_spanish{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('domingo',
+ 'lunes',
+ 'martes',
+ 'mi\\\'ercoles',
+ 'jueves',
+ 'viernes',
+ 's\\\'abado');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_day_of_weekname_portuges{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('domingo',
+ 'segunda-feira',
+ 'ter\c{c}a-feira',
+ 'quarta-feira',
+ 'quinta-feira',
+ 'sexta-feira',
+ 'sabado');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_day_of_weekname_german{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('Sonntag',
+ 'Montag',
+ 'Dienstag',
+ 'Mittwoch',
+ 'Donnerstag',
+ 'Freitag',
+ 'Samstag');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_day_of_weekname_ngerman{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('Sonntag',
+ 'Montag',
+ 'Dienstag',
+ 'Mittwoch',
+ 'Donnerstag',
+ 'Freitag',
+ 'Samstag');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_day_of_weekname{
+ local($dow)=@_;
+ local($dowsub);
+
+ $dowsub = "get_day_of_weekname_$default_language";
+
+ if (defined ($dowsub))
+ {
+ &$dowsub($dow);
+ }
+ else
+ {
+ &get_day_of_weekname_english($dow);
+ }
+}
+
+sub get_short_day_of_weekname_english{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('Sun',
+ 'Mon',
+ 'Tue',
+ 'Wed',
+ 'Thu',
+ 'Fri',
+ 'Sat');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_short_day_of_weekname_german{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('So',
+ 'Mo',
+ 'Di',
+ 'Mi',
+ 'Do',
+ 'Fr',
+ 'Sa');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_short_day_of_weekname_ngerman{
+ local($dow) = @_;
+
+ local(@DayOfWeek) = ('So',
+ 'Mo',
+ 'Di',
+ 'Mi',
+ 'Do',
+ 'Fr',
+ 'Sa');
+
+ if ($dow <= 0 || $dow > 7)
+ {
+ &write_warnings("Invalid day of week number: $dow");
+ }
+ else
+ {
+ $DayOfWeek[$dow-1];
+ }
+}
+
+sub get_short_day_of_weekname{
+ local($dow)=@_;
+ local($dowsub);
+
+ $dowsub = "get_short_day_of_weekname_$default_language";
+
+ if (defined ($dowsub))
+ {
+ &$dowsub($dow);
+ }
+ else
+ {
+ substr(&get_day_of_weekname($dow),0,3);
+ }
+}
+
+sub do_cmd_dayofweeknameid{
+ local($_) = @_;
+ local($dow);
+
+ $dow = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($dow=$2));
+
+ join('',&get_day_of_weekname($dow), $_);
+}
+
+sub do_cmd_dayofweekname{
+ local($_) = @_;
+ local($day,$month,$year);
+ # read 1st argument
+ $day = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($day=$2));
+ # read 2nd argument
+ $month = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($month=$2));
+ # read 3rd argument
+ $year = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($year=$2));
+
+ if ($day eq 'THEDAY' or $day eq '\THEDAY')
+ {
+ # this is a cludge to help newdateformat work
+
+ join('', '{DOW}', $_);
+ }
+ else
+ {
+ local($dow) = &get_day_of_week($day,$month,$year);
+
+ join('',&get_day_of_weekname($dow), $_);
+ }
+}
+
+sub do_cmd_shortdayofweekname{
+ local($_) = @_;
+ local($day,$month,$year);
+ # read 1st argument
+ $day = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($day=$2));
+ # read 2nd argument
+ $month = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($month=$2));
+ # read 3rd argument
+ $year = &missing_braces unless ((s/$next_pair_pr_rx//o)&&($year=$2));
+
+ local($dow) = &get_day_of_week($day,$month,$year);
+
+ join('',&get_short_day_of_weekname($dow), $_);
+}
+
+sub do_cmd_thisdayofweekname{
+ local($dow) = &get_day_of_week($global{DAY}, $global{MONTH}, $global{YEAR});
+
+ join('',$DayOfWeek[$dow], $_);
+}
+
+sub do_cmd_thisshortdayofweekname{
+ local($dow) = &get_day_of_week($global{DAY}, $global{MONTH}, $global{YEAR});
+
+ join('',&get_short_day_of_weekname($dow), $_);
+}
+
+$dateformat = "\\ifshowdow{DOW}\\fi {ORDINALDATE{DAY}}\\ MONTHNAME[THEMONTH], THEYEAR";
+
+sub format_date{
+ local($day,$month,$year) = @_;
+
+ local($str) = $dateformat;
+
+ $str =~ s/THEDAY/$day/g;
+ $str =~ s/THEMONTH/$month/g;
+ $str =~ s/THEYEAR/$year/g;
+
+ $str =~ s/TWODIGIT{([\d]+)}/&get_twodigit($1)/eg;
+ $str =~ s/ROMANNUMERAL{([\d]+)}/&froman($1)/eg;
+ $str =~ s/ROMANNUMERALU{([\d]+)}/uc(&froman($1))/eg;
+ $str =~ s/TRUNCATE{([\d]+)}/&get_twodigit($1%100)/eg;
+ $str =~ s/SHORTMONTHNAME\[([\d]+)\]/&get_shortmonthname($1)/eg;
+ $str =~ s/MONTHNAME\[([\d]+)\]/&get_monthname($1)/eg;
+
+ local($X) = ++$global{'max_id'};
+ local($Y) = ++$global{'max_id'};
+ local($Z) = ++$global{'max_id'};
+ $str =~ s/{DOW}/\\dayofweekname${OP}$X${CP}$day${OP}$X${CP}${OP}$Y${CP}$month${OP}$Y${CP}${OP}$Z${CP}$year${OP}$Z${CP}/g;
+ $str =~ s/{SDOW}/\\shortdayofweekname${OP}$X${CP}$day${OP}$X${CP}${OP}$Y${CP}$month${OP}$Y${CP}${OP}$Z${CP}$year${OP}$Z${CP}/g;
+
+ local($br_id) = ++$global{'max_id'};
+ $suffix = &get_ordinal_suffix($day);
+ $str =~ s/{ORDINAL{DAY}}/$day\\fmtord${OP}$br_id${CP}$suffix${OP}$br_id${CP}/g;
+
+ $br_id = ++$global{'max_id'};
+ $suffix = &get_ordinal_suffix($month);
+ $str =~ s/{ORDINAL{MONTH}}/$month\\fmtord${OP}$br_id${CP}$suffix${OP}$br_id${CP}/g;
+
+ $br_id = ++$global{'max_id'};
+ $suffix = &get_ordinal_suffix($year);
+ $str =~ s/{ORDINAL{YEAR}}/$year\\fmtord${OP}$br_id${CP}$suffix${OP}$br_id${CP}/g;
+
+ local($br_id) = ++$global{'max_id'};
+ $str =~ s/{ORDINALDATE{DAY}}/\\ordinaldate${OP}$br_id${CP}$day${OP}$br_id${CP}/g;
+
+ $str =~ s/{NNUMBERSTRING{DAY}}/&get_Numberstring($day)/eg;
+ $str =~ s/{NNUMBERSTRING{MONTH}}/&get_Numberstring($month)/eg;
+ $str =~ s/{NNUMBERSTRING{YEAR}}/&get_Numberstring($year)/eg;
+
+ $str =~ s/{OORDINALSTRING{DAY}}/&get_Ordinalstring($day)/eg;
+ $str =~ s/{OORDINALSTRING{MONTH}}/&get_Ordinalstring($month)/eg;
+ $str =~ s/{OORDINALSTRING{YEAR}}/&get_Ordinalstring($year)/eg;
+
+ $str =~ s/{CAPNUMBERSTRING{DAY}}/uc(&get_numberstring($day))/eg;
+ $str =~ s/{CAPNUMBERSTRING{MONTH}}/uc(&get_numberstring($month))/eg;
+ $str =~ s/{CAPNUMBERSTRING{YEAR}}/uc(&get_numberstring($year))/eg;
+
+ $str =~ s/{CAPORDINALSTRING{DAY}}/uc(&get_ordinalstring($day))/eg;
+ $str =~ s/{CAPORDINALSTRING{MONTH}}/uc(&get_ordinalstring($month))/eg;
+ $str =~ s/{CAPORDINALSTRING{YEAR}}/uc(&get_ordinalstring($year))/eg;
+
+ $str =~ s/{NUMBERSTRING{DAY}}/&get_numberstring($day)/eg;
+ $str =~ s/{NUMBERSTRING{MONTH}}/&get_numberstring($month)/eg;
+ $str =~ s/{NUMBERSTRING{YEAR}}/&get_numberstring($year)/eg;
+
+ $str =~ s/{ORDINALSTRING{DAY}}/&get_ordinalstring($day)/eg;
+ $str =~ s/{ORDINALSTRING{MONTH}}/&get_ordinalstring($month)/eg;
+ $str =~ s/{ORDINALSTRING{YEAR}}/&get_ordinalstring($year)/eg;
+
+ $str;
+}
+
+sub do_cmd_formatdate{
+ local($day,$month,$year);
+ # read 1st argument
+ $day = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($day=$2));
+ # read 2nd argument
+ $month = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($month=$2));
+ # read 3rd argument
+ $year = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($year=$2));
+
+ join('', &format_date($day,$month,$year), $_[0]);
+}
+
+sub do_cmd_today{
+ join('', &format_date($global{DAY},$global{MONTH},$global{YEAR}), $_[0]);
+}
+
+sub do_cmd_day{
+ join('', $global{DAY}, $_[0]);
+}
+
+sub do_cmd_month{
+ join('', $global{MONTH}, $_[0]);
+}
+
+sub do_cmd_year{
+ join('', $global{YEAR}, $_[0]);
+}
+
+sub do_cmd_showdowtrue{
+ local($_) = @_;
+ $showdow = 1;
+ $_[0];
+}
+
+sub do_cmd_showdowfalse{
+ local($_) = @_;
+ $showdow = 0;
+ $_[0];
+}
+
+# This is a bit primative, it doesn't allow for
+# nested conditionals
+
+sub do_cmd_ifshowdow{
+ local($_) = @_;
+ local($ifbit,$elsebit);
+
+ $_[0] =~s/(.*)\\fi//;
+
+ $ifbit = $1;
+
+ $ifbit =~s/(.*)\\else(.*)/\1/g;
+
+ $elsebit = $2;
+
+ if ($showdow)
+ {
+ join('', $ifbit, $_[0]);
+ }
+ else
+ {
+ join('', $elsebit, $_[0]);
+ }
+}
+
+sub do_cmd_dateseparator{
+ join('', '/', $_[0]);
+}
+
+sub do_cmd_longdate{
+ $dateformat = "\\ifshowdow{DOW}\\fi {ORDINALDATE{DAY}}\\ MONTHNAME[THEMONTH], THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_shortdate{
+ $dateformat = "\\ifshowdow{SDOW}\\fi {ORDINALDATE{DAY}}\\ SHORTMONTHNAME[THEMONTH], THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_yyyymmdddate{
+ $dateformat = "THEYEAR\\dateseparator TWODIGIT{THEMONTH}\\dateseparator TWODIGIT{THEDAY}";
+
+ $_[0];
+}
+
+sub do_cmd_ddmmyyyydate{
+ $dateformat = "TWODIGIT{THEDAY}\\dateseparator TWODIGIT{THEMONTH}\\dateseparator THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_dmyyyydate{
+ $dateformat = "THEDAY\\dateseparator THEMONTH\\dateseparator THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_dmyydate{
+ $dateformat = "THEDAY\\dateseparator THEMONTH\\dateseparator TRUNCATE{THEYEAR}";
+
+ $_[0];
+}
+
+sub do_cmd_ddmmyydate{
+ $dateformat = "TWODIGIT{THEDAY}\\dateseparator TWODIGIT{THEMONTH}\\dateseparator TRUNCATE{THEYEAR}";
+
+ $_[0];
+}
+
+sub do_cmd_textdate{
+ $dateformat = "\\ifshowdow{DOW} the\\fi {OORDINALSTRING{DAY}} of MONTHNAME[THEMONTH], {NNUMBERSTRING{YEAR}}";
+
+ $_[0];
+}
+
+sub do_cmd_usdate{
+ $dateformat = "MONTHNAME[THEMONTH] THEDAY, THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_mmddyyyydate{
+ $dateformat = "TWODIGIT{THEMONTH}\\dateseparator TWODIGIT{THEDAY}\\dateseparator THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_mdyyyydate{
+ $dateformat = "THEMONTH\\dateseparator THEDAY\\dateseparator THEYEAR";
+
+ $_[0];
+}
+
+sub do_cmd_mmddyydate{
+ $dateformat = "TWODIGIT{THEMONTH}\\dateseparator TWODIGIT{THEDAY}\\dateseparator TRUNCATE{THEYEAR}";
+
+ $_[0];
+}
+
+sub do_cmd_mdyydate{
+ $dateformat = "THEMONTH\\dateseparator THEDAY\\dateseparator TRUNCATE{THEYEAR}";
+
+ $_[0];
+}
+
+sub do_cmd_THEYEAR{
+ join('', 'THEYEAR', $_[0]);
+}
+
+sub do_cmd_THEMONTH{
+ join('', 'THEMONTH', $_[0]);
+}
+
+sub do_cmd_THEDAY{
+ join('', 'THEDAY', $_[0]);
+}
+
+sub do_cmd_newdateformat{
+ local($_) = @_;
+ local($cmd,$cmdbody);
+ local($ntmp);
+
+ $cmd = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($cmd=$2));
+ $cmdbody = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($cmdbody=$2));
+
+ $ntmp = 'sub do_cmd_' . $cmd . '{';
+ $ntmp .= '$dateformat = "' . $cmdbody . '";';
+
+ $ntmp .= '$_[0];';
+ $ntmp .= '}';
+
+ eval($ntmp);
+
+ join('', $_[0]);
+}
+
+sub do_cmd_pdfdate{
+ local($_) = @_;
+
+ local($timestring) = sprintf "%d%02d%02d%02d%02d%02d",
+ $global{YEAR}, $global{MONTH}, $global{DAY}, $global{HOUR}, $global{MINUTE}, $global{SECONDS};
+
+ join('', $timestring, $_[0]);
+}
+
+ %userdates = ();
+
+sub do_cmd_newdate{
+ local($_)=@_;
+ local($datename,$mon,$day,$year);
+
+ $datename = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($datename=$2));
+
+ $day = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($day=$2));
+
+ $mon = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($mon =$2));
+
+ $year = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($year =$2));
+
+
+ $userdates{$datename}{day} = $day;
+ $userdates{$datename}{month} = $mon;
+ $userdates{$datename}{year} = $year;
+
+ join('', $_[0]);
+}
+
+sub do_cmd_displaydate{
+ local($_)=@_;
+ local($datename);
+ local($cmd,$br_id);
+
+ $datename = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($datename=$2));
+
+ $br_id = ++$global{'max_id'};
+ $cmd = "$OP$br_id$CP" . $userdates{$datename}{day} ."$OP$br_id$CP";
+ $br_id = ++$global{'max_id'};
+ $cmd .= "$OP$br_id$CP" . $userdates{$datename}{month} ."$OP$br_id$CP";
+ $br_id = ++$global{'max_id'};
+ $cmd .= "$OP$br_id$CP" . $userdates{$datename}{year} ."$OP$br_id$CP";
+
+ join('', '\formatdate', $cmd, $_[0]);
+}
+
+sub do_cmd_getdateyear{
+ local($_)=@_;
+ local($datename);
+
+ $datename = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($datename=$2));
+
+ join('', $userdates{$datename}{year}, $_[0]);
+}
+
+sub do_cmd_getdatemonth{
+ local($_)=@_;
+ local($datename);
+
+ $datename = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($datename=$2));
+
+ join('', $userdates{$datename}{month}, $_[0]);
+}
+
+sub do_cmd_getdateday{
+ local($_)=@_;
+ local($datename);
+
+ $datename = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($datename=$2));
+
+ join('', $userdates{$datename}{day}, $_[0]);
+}
+
+# time commands
+
+sub do_cmd_timeseparator{
+ join('', ':', $_[0]);
+}
+
+sub do_cmd_noon{
+ local($_) = @_;
+
+ join('', "Noon", $_[0]);
+}
+
+sub do_cmd_midnight{
+ local($_) = @_;
+
+ join('', "Midnight", $_[0]);
+}
+
+sub do_cmd_amname{
+ local($_) = @_;
+
+ join('', "am", $_[0]);
+}
+
+sub do_cmd_pmname{
+ local($_) = @_;
+
+ join('', "pm", $_[0]);
+}
+
+sub do_cmd_amstring{
+ local($_) = @_;
+
+ join('', "in the morning", $_[0]);
+}
+
+sub do_cmd_pmstring{
+ local($_) = @_;
+
+ join('', "in the afternoon", $_[0]);
+}
+
+sub do_cmd_halfpast{
+ local($_) = @_;
+
+ join('', "Half past", $_[0]);
+}
+
+sub do_cmd_quarterpast{
+ local($_) = @_;
+
+ join('', "Quarter past", $_[0]);
+}
+
+sub do_cmd_quarterto{
+ local($_) = @_;
+
+ join('', "Quarter to", $_[0]);
+}
+
+sub do_cmd_oclockstring{
+ local($_) = @_;
+
+ join('', "O'Clock", $_[0]);
+}
+
+sub do_cmd_amorpmname{
+ if ($global{HOUR}>12)
+ {
+ &do_cmd_pmname;
+ }
+ else
+ {
+ &do_cmd_amname;
+ }
+}
+
+sub do_cmd_amorpmstring{
+ if ($global{HOUR}>12)
+ {
+ &do_cmd_pmstring;
+ }
+ else
+ {
+ &do_cmd_amstring;
+ }
+}
+
+sub set_timeformat_hhmmsstime{
+ $timeformat = "TWODIGIT{THEHOUR}\\timeseparator TWODIGIT{THEMINUTE}"
+ . "\\timeseparator TWODIGIT{THESECOND}";
+}
+
+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);
+ local($hourxii) = ($hour == 12 ? 12 : ($hour)%12);
+
+ $timestring = sprintf "%d\\timeseparator %02d", $hourxii, $min;
+
+ $timestring .= ($hour < 12 ?
+ "\\amname " : (($hour eq 12 and $min eq 0) ? " \\noon" :"\\pmname "));
+
+ $timestring
+}
+
+sub do_cmd_ampmtime{
+ join('', &format_ampmtime($global{HOUR},$global{MINUTE}), $_[0]);
+}
+
+sub do_cmd_timeformat_at_ampmtime{
+ local($hour,$min,$sec);
+ # read 1st argument
+ $hour = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($day=$2));
+ # read 2nd argument
+ $min = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($month=$2));
+ # read 3rd argument
+ $sec = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($year=$2));
+
+ join('', &format_ampmtime($hour, $min), $_[0]);
+}
+
+sub do_cmd_timeformatATampmtime{&do_cmd_timeformat_at_ampmtime}
+
+sub set_timeformat_ampmtime{
+ $timeformat = "TWODIGIT{THEHOURXII}\\timeseparator TWODIGIT{THEMINUTE}AMORPMNAME";
+}
+
+sub format_oclock{
+ local($hour,$min)=@_;
+
+ local($hourxii) = ($hour == 12 ? 12 : ($hour)%12);
+ local($tohour) = ($hour == 11 ? 12 :($hour+1)%12);
+ local($tominute) = ($min == 0? 0 : 60 - $min);
+
+ local($timestring);
+
+ if ($hour == 0 && $min == 0)
+ {
+ $timestring = "\\midnight";
+ }
+ elsif ($hour == 12 && $min == 0)
+ {
+ $timestring = "\\noon";
+ }
+ else
+ {
+ if ($min == 0)
+ {
+ $timestring = &get_Numberstring($hourxii) . " \\oclockstring";
+ }
+ elsif ($min == 15)
+ {
+ $timestring = "\\quarterpast\\ " . &get_Numberstring($hourxii);
+ }
+ elsif ($min == 30)
+ {
+ $timestring = "\\halfpast\\ " . &get_Numberstring($hourxii);
+ }
+ elsif ($min == 45)
+ {
+ $timestring = "\\quarterto\\ " . &get_Numberstring($tohour);
+ }
+ elsif ($min < 30)
+ {
+ $timestring = get_Numberstring($min);
+
+ $timestring .= ($min == 1 ? " minute" : " minutes") . " past ";
+
+ $timestring .= get_Numberstring($hourxii);
+ }
+ else
+ {
+ $timestring = get_Numberstring($tominute);
+
+ $timestring .= ($min == 1 ? " minute" : " minutes") . " to ";
+
+ $timestring .= get_Numberstring($tohour);
+ }
+
+ $timestring .= ($hour < 12 ? " \\amstring" : " \\pmstring");
+ }
+
+ $timestring
+}
+
+sub do_cmd_oclock{
+ local($_) = @_;
+
+ join('', &format_oclock($global{HOUR},$global{MINUTE}), $_[0]);
+}
+
+sub do_cmd_timeformat_at_oclock{
+ local($hour,$min,$sec);
+ # read 1st argument
+ $hour = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($day=$2));
+ # read 2nd argument
+ $min = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($month=$2));
+ # read 3rd argument
+ $sec = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($year=$2));
+
+ join('', &format_oclock($hour, $min), $_[0]);
+}
+
+sub do_cmd_timeformatAToclock{&do_cmd_timeformat_at_oclock}
+
+sub set_timeformat_oclock{
+ $timeformat="OCLOCK";
+}
+
+sub do_cmd_formattime{
+ local($_) = @_;
+ local($hour,$min,$sec);
+
+ # read 1st argument
+ $hour = &missing_braces unless
+ (s/$next_pair_pr_rx/$hour=$2;''/eo);
+ # read 2nd argument
+ $min = &missing_braces unless
+ (s/$next_pair_pr_rx/$min=$2;''/eo);
+ # read 3rd argument
+ $sec = &missing_braces unless
+ (s/$next_pair_pr_rx/$sec=$2;''/eo);
+
+ join('', &format_time($hour,$min,$sec), $_);
+}
+
+sub do_cmd_currenttime{
+ join('', &format_time($global{HOUR},$global{MINUTE},$global{SECONDS}), $_[0]);
+}
+
+sub format_time{
+ local($hour,$min,$sec) = @_;
+
+ local($str) = $timeformat;
+
+ local($hourxii) = ($hour == 12 ? 12 : ($hour)%12);
+ local($tohour) = ($hour == 11 ? 12 :($hour+1)%12);
+ local($tominute) = ($min == 0? 0 : 60 - $min);
+ local($amorpmname) = ($hour < 12 ? '\amname' :
+ ($hour == 12 ? ' \noon' : '\pmname'));
+
+ $str =~ s/THEHOURXII/$hourxii/g;
+ $str =~ s/THEHOUR/$hour/g;
+ $str =~ s/THEMINUTE/$min/g;
+ $str =~ s/THESECOND/$sec/g;
+ $str =~ s/THETOHOUR/$tohour/g;
+ $str =~ s/THETOMINUTE/$tominute/g;
+ $str =~ s/AMORPMNAME/$amorpmname/g;
+
+ $str =~ s/TWODIGIT{([\d]+)}/&get_twodigit($1)/eg;
+ $str =~ s/ROMANNUMERAL{([\d]+)}/&froman($1)/eg;
+ $str =~ s/ROMANNUMERALU{([\d]+)}/uc(&froman($1))/eg;
+
+ $str =~ s/OCLOCK/&format_oclock($hour,$min)/eg;
+
+ $str;
+}
+
+sub do_cmd_settimeformat{
+ local($_) = @_;
+ local($cmd);
+
+ $cmd = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($cmd=$2));
+
+ eval('&set_timeformat_'.$cmd);
+
+ $_[0];
+}
+
+sub do_cmd_newtimeformat{
+ local($_) = @_;
+ local($cmd,$cmdbody);
+
+ $cmd = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($cmd=$2));
+ $cmdbody = &missing_braces unless ($_[0]=~(s/$next_pair_pr_rx//o)&&($cmdbody=$2));
+
+ $tmp = 'sub do_cmd_'.$cmd.'{&do_cmd_timeformat_at_'.$cmd.';}';
+ eval($tmp);
+
+ $tmp = 'sub set_timeformat_'.$cmd.'{';
+ $tmp .= '$timeformat = "'.$cmdbody .'";';
+ $tmp .= '}';
+ eval($tmp);
+
+ $tmp = 'sub do_cmd_timeformat_at_'.$cmd.'{';
+ $tmp .= 'local($_)=@_;';
+ $tmp .= 'local($hour,$min,$sec);';
+ $tmp .= '$hour=&missing_braces unless ';
+ $tmp .= '((s/$next_pair_pr_rx//o)&&($hour=$2));';
+ $tmp .= '$min=&missing_braces unless ';
+ $tmp .= '((s/$next_pair_pr_rx//o)&&($min=$2));';
+ $tmp .= '$sec=&missing_braces unless ';
+ $tmp .= '((s/$next_pair_pr_rx//o)&&($sec=$2));';
+ $tmp .= '&set_timeformat_'.$cmd.';';
+ $tmp .= '&format_time($hour, $min, $sec).$_';
+ $tmp .= "}";
+
+ eval($tmp);
+
+ join('', $_[0]);
+}
+
+sub do_cmd_THEHOUR{
+ local($_) = @_;
+
+ join('', $global{HOUR}, $_[0]);
+}
+
+sub do_cmd_THEMINUTE{
+ local($_) = @_;
+
+ join('', $global{MINUTE}, $_[0]);
+}
+
+sub do_cmd_THESECOND{
+ local($_) = @_;
+
+ join('', $global{SECONDS}, $_[0]);
+}
+
+sub do_cmd_THETOHOUR{
+ local($_) = @_;
+
+ join('', $global{TOHOUR}, $_[0]);
+}
+
+sub do_cmd_THETOMINUTE{
+ local($_) = @_;
+
+ join('', $global{TOMINUTE}, $_[0]);
+}
+
+sub do_cmd_THEHOURXII{
+ local($_) = @_;
+
+ join('', $global{HOURXII}, $_[0]);
+}
+
+1;
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%
+% \end{macrocode}
+%\fi
+%\Finale
+\endinput
diff --git a/Master/texmf-dist/source/latex/datetime/datetime.ins b/Master/texmf-dist/source/latex/datetime/datetime.ins
new file mode 100644
index 00000000000..e1bf4c301b4
--- /dev/null
+++ b/Master/texmf-dist/source/latex/datetime/datetime.ins
@@ -0,0 +1,136 @@
+% datetime.ins generated using makedtx version 1.1 2015/3/20 16:54
+\input docstrip
+
+\preamble
+
+ datetime.dtx
+ Copyright 2015 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.
+
+\endpreamble
+
+\askforoverwritefalse
+
+\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
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-bahasa.def,package}}
+\file{dt-basque.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-basque.def,package}}
+\file{dt-breton.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-breton.def,package}}
+\file{dt-british.def}{\usepreamble\defaultpreamble
+\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
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-croatian.def,package}}
+\file{dt-czech.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-czech.def,package}}
+\file{dt-danish.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-danish.def,package}}
+\file{dt-dutch.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-dutch.def,package}}
+\file{dt-esperanto.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-esperanto.def,package}}
+\file{dt-estonian.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-estonian.def,package}}
+\file{dt-finnish.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-finnish.def,package}}
+\file{dt-french.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-french.def,package}}
+\file{dt-galician.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-galician.def,package}}
+\file{dt-german.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-german.def,package}}
+\file{dt-greek.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-greek.def,package}}
+\file{dt-hebrew.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-hebrew.def,package}}
+\file{dt-icelandic.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-icelandic.def,package}}
+\file{dt-irish.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-irish.def,package}}
+\file{dt-italian.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-italian.def,package}}
+\file{dt-latin.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-latin.def,package}}
+\file{dt-lsorbian.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-lsorbian.def,package}}
+\file{dt-magyar.def}{\usepreamble\defaultpreamble
+\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
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-norsk.def,package}}
+\file{dt-polish.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-polish.def,package}}
+\file{dt-portuges.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-portuges.def,package}}
+\file{dt-romanian.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-romanian.def,package}}
+\file{dt-russian.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-russian.def,package}}
+\file{dt-samin.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-samin.def,package}}
+\file{dt-scottish.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-scottish.def,package}}
+\file{dt-serbian.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-serbian.def,package}}
+\file{dt-slovak.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-slovak.def,package}}
+\file{dt-slovene.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-slovene.def,package}}
+\file{dt-spanish.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-spanish.def,package}}
+\file{dt-swedish.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-swedish.def,package}}
+\file{dt-turkish.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-turkish.def,package}}
+\file{dt-UKenglish.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-UKenglish.def,package}}
+\file{dt-ukraineb.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-ukraineb.def,package}}
+\file{dt-USenglish.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-USenglish.def,package}}
+\file{dt-usorbian.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-usorbian.def,package}}
+\file{dt-welsh.def}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-welsh.def,package}}
+\file{dt-lang.tex}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-lang.tex,package}}
+\file{dt-sampl.tex}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{datetime.dtx}{dt-sampl.tex,package}}
+\file{datetime.perl}{\nopreamble\nopostamble\from{datetime.dtx}{datetime.perl}}
+}
+
+\endbatchfile
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..4d276e26ba2
--- /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 2015 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
new file mode 100644
index 00000000000..f32ec32299c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/datetime.sty
@@ -0,0 +1,830 @@
+%%
+%% This is file `datetime.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `datetime.sty,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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 \~}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{datetime}[2015/03/20 v2.60 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}%
+ }
+\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}%
+}
+\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}%
+}
+\let\twodigit\two@digits
+\DeclareRobustCommand*{\yyyymmdddate}{%
+\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\the\@year\dateseparator \twodigit\@month\dateseparator
+\twodigit\@day}}
+\DeclareRobustCommand*{\ddmmyyyydate}{%
+\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\twodigit\@day\dateseparator \twodigit\@month\dateseparator
+\the\@year}}
+\DeclareRobustCommand*{\dmyyyydate}{%
+\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\the\@day\dateseparator \the\@month\dateseparator \the\@year}}
+\DeclareRobustCommand*{\ddmmyydate}{\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\@dtctr=\@year%
+\@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%
+\@FCmodulo{\@dtctr}{100}%
+\the\@day\dateseparator \the\@month\dateseparator \twodigit\@dtctr}}
+\DeclareRobustCommand*{\textdate}{%
+\renewcommand*{\formatdate}[3]{%
+\ifshowdow\dayofweekname{##1}{##2}{##3} the \fi
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\Ordinalstringnum{\@day}\ of \monthname[\@month],
+\Numberstringnum{\@year}%
+}}
+\DeclareRobustCommand*{\usdate}{%
+\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\monthname[\@month]\ \the\@day, \the\@year}}
+\DeclareRobustCommand*{\mmddyyyydate}{%
+\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\twodigit\@month\dateseparator \twodigit\@day\dateseparator
+\the\@year}}
+\DeclareRobustCommand*{\mdyyyydate}{%
+\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\the\@month\dateseparator \the\@day\dateseparator \the\@year}}
+\DeclareRobustCommand*{\mmddyydate}{\renewcommand*{\formatdate}[3]{%
+\@day=##1\relax\@month=##2\relax\@year=##3\relax
+\@dtctr=\@year%
+\@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%
+\@FCmodulo{\@dtctr}{100}%
+\the\@month\dateseparator \the\@day\dateseparator \twodigit\@dtctr}}
+\newcommand*{\newdate}[4]{%
+\@ifundefined{date@#1@y}{%
+\@namedef{date@#1@d}{#2}%
+\@namedef{date@#1@m}{#3}%
+\@namedef{date@#1@y}{#4}}{%
+\PackageError{datetime}{Date `#1' already defined}{}}}
+\newcommand*{\getdateyear}[1]{%
+\@ifundefined{date@#1@y}{%
+\PackageError{datetime}{Date `#1' not defined}{}}{%
+\csname date@#1@y\endcsname}}
+\newcommand*{\getdatemonth}[1]{%
+\@ifundefined{date@#1@m}{%
+\PackageError{datetime}{Date `#1' not defined}{}}{%
+\csname date@#1@m\endcsname}}
+\newcommand{\getdateday}[1]{%
+\@ifundefined{date@#1@d}{%
+\PackageError{datetime}{Date `#1' not defined}{}}{%
+\csname date@#1@d\endcsname}}
+\newcommand*{\displaydate}[1]{%
+\@ifundefined{date@#1@y}{%
+\PackageError{datetime}{Date `#1' not defined}{}}{%
+\formatdate{\csname date@#1@d\endcsname}{%
+\csname date@#1@m\endcsname}{%
+\csname date@#1@y\endcsname}}}
+\longdate
+\showdowtrue
+\providecommand*\THEDAY{\the\@day}
+\providecommand*\THEMONTH{\the\@month}
+\providecommand*\THEYEAR{\the\@year}
+\let\c@DAY=\@day
+\let\c@MONTH=\@month
+\let\c@YEAR=\@year
+\providecommand{\newdateformat}[2]{%
+\@ifundefined{#1}{%
+\expandafter\DeclareRobustCommand\csname#1\endcsname{%
+\renewcommand{\formatdate}{\dateformat{#2}}}}{%
+\PackageError{datetime}{Can't create new date format, command
+\textbackslash#1 already defined}{You will need to
+give your new date format a different name}}}
+\DeclareRobustCommand*{\currenttime}{%
+ \formattime{\currenthour}{\currentminute}{\currentsecond}%
+}
+\newcommand*{\formattime}[3]{\protect\@formattime{#1}{#2}{#3}}
+\newcommand*{\@formattime}[3]{%
+ \csname timeformat@xxivtime\endcsname{#1}{#2}{#3}}
+\newcommand*{\timeseparator}{:}
+\providecommand*{\settimeformat}[1]{%
+ \@ifundefined{timeformat@#1}{%
+ \PackageError{datetime}{Unknown time format `#1'}{}%
+ }{%
+ \renewcommand*{\@formattime}[3]{%
+ \csname timeformat@#1\endcsname{##1}{##2}{##3}}%
+ }%
+}
+\newcount\c@HOUR
+\newcount\c@HOURXII
+\newcount\c@MINUTE
+\newcount\c@TOHOUR
+\newcount\c@TOMINUTE
+\newcount\c@SECOND
+\def\THEHOUR{\the\c@HOUR}
+\def\THEHOURXII{\the\c@HOURXII}
+\def\THEMINUTE{\the\c@MINUTE}
+\def\THETOHOUR{\the\c@TOHOUR}
+\def\THETOMINUTE{\the\c@TOMINUTE}
+\def\THESECOND{\the\c@SECOND}
+\newcount\currenthour
+\newcount\currentminute
+\newcount\currentsecond
+{\catcode`\D=12\relax
+ \gdef\@dt@getdate D:#1#2#3#4#5#6#7#8{\@dt@gettime}%
+}
+\@ifundefined{pdfcreationdate}{%
+ \currenthour=\time\relax
+ \divide\currenthour by 60\relax
+ \currentminute=\time\relax
+ \@FCmodulo{\currentminute}{60}%
+ \currentsecond=0\relax
+}{%
+ \def\@dt@gettime#1#2#3#4#5#6#7\relax{%
+ \currenthour=#1#2\relax
+ \currentminute=#3#4\relax
+ \currentsecond=#5#6\relax}%
+ \expandafter\@dt@getdate\pdfcreationdate\relax
+}
+\providecommand*{\newtimeformat}[2]{%
+\@ifundefined{#1}{%
+\expandafter\def\csname#1\endcsname{%
+ \csname timeformat@#1\endcsname{\currenthour}{\currentminute}%
+ {\currentsecond}%
+}%
+\expandafter\def\csname timeformat@#1\endcsname##1##2##3{%
+\c@HOUR=##1%
+\c@HOURXII=\c@HOUR
+\ifnum\c@HOURXII>12
+\advance\c@HOURXII by -12\relax
+\fi
+\c@MINUTE=##2%
+\c@TOHOUR=\c@HOURXII
+\advance\c@TOHOUR by 1\relax
+\@FCmodulo{\c@TOHOUR}{12}%
+\c@TOMINUTE=\c@MINUTE
+\advance\c@TOMINUTE by -60\relax
+\multiply\c@TOMINUTE by -1\relax
+\c@SECOND=##3\relax
+#2\relax
+}}{%
+\PackageError{datetime}{Command \textbackslash#1 already defined}{%
+You can't create a new time format called "#1" as the command
+\textbackslash#1 already exists}}}
+\newtimeformat{xxivtime}{%
+\twodigit\THEHOUR\timeseparator\twodigit\THEMINUTE}
+\newtimeformat{hhmmsstime}{%
+\twodigit\THEHOUR\timeseparator\twodigit\THEMINUTE\timeseparator
+\twodigit\THESECOND}
+\newtimeformat{ampmtime}{%
+\ifthenelse{\value{HOUR}=0}{12}{\THEHOURXII}\timeseparator
+\twodigit\THEMINUTE
+\ifthenelse{\value{HOUR}<12}{\amname}{%
+\ifthenelse{\value{HOUR}=12}{ \noon}{\pmname}}}
+\newcommand*{\hourstring}[1]{%
+\ifthenelse{\value{#1}=0}{\midnight}{\Numberstring{#1}}}
+\newtimeformat{oclock}{%
+ \ifthenelse{\(\value{HOUR}=0 \OR \value{HOUR}=12 \OR\value{HOUR}=24\)\AND
+ \value{MINUTE}=0}{%
+\ifthenelse{\value{HOUR}=12}{\noon}{\midnight}}{%
+\ifthenelse{\value{MINUTE}=0}{%
+\Numberstring{HOUR} \oclockstring}{%
+\ifthenelse{\value{MINUTE}=15}{%
+\quarterpast\ \hourstring{HOUR}}{%
+\ifthenelse{\value{MINUTE}=30}{%
+\halfpast\ \hourstring{HOUR}}{%
+\ifthenelse{\value{MINUTE}=45}{%
+\quarterto\ \hourstring{TOHOUR}}{%
+\ifthenelse{\value{MINUTE}<30}{%
+\Numberstring{MINUTE}\ \ifthenelse{\value{MINUTE}=1}{minute}{minutes}
+past \hourstring{HOURXII}}{%
+\Numberstring{TOMINUTE}\ \ifthenelse{%
+\value{TOMINUTE}=1}{minute}{minutes} to \hourstring{TOHOUR}}}}}}%
+\ifthenelse{\value{HOUR}<12}{%
+\ifthenelse{\value{HOUR}=0}{}{\ \amstring}}{%
+\ifthenelse{\value{TOHOUR}=0}{}{\ \pmstring}}}}
+\providecommand*{\amname}{am}
+\providecommand*{\pmname}{pm}
+\providecommand*{\amorpmname}{%
+\ifthenelse{\value{HOUR}>11}{\pmname}{\amname}}
+\providecommand*{\amstring}{in the morning}
+\providecommand*{\pmstring}{in the afternoon}
+\providecommand*{\amorpmstring}{%
+\ifthenelse{\value{HOUR}>12}{\pmstring}{\amstring}}
+\providecommand*{\halfpast}{Half past}
+\providecommand*{\quarterpast}{Quarter past}
+\providecommand*{\quarterto}{Quarter to}
+\providecommand*{\noon}{Noon}
+\providecommand*{\midnight}{Midnight}
+\providecommand*{\oclockstring}{O'Clock}
+\InputIfFileExists{datetime.cfg}{\PackageInfo{datetime}{%
+Loading local datetime configurations}}{%
+\PackageInfo{datetime}{No datetime.cfg file found, using default
+settings}}
+\@ifpackageloaded{babel}{%
+ \newcommand*{\dt@addtoextras}[1]{%
+ \@ifundefined{extrasenglish}{}{%
+ \addto\extrasenglish{#1}%
+ }%
+ \@ifundefined{extrasamerican}{}{%
+ \addto\extrasamerican{#1}%
+ }%
+ \@ifundefined{extrasaustrian}{}{%
+ \addto\extrasaustrian{#1}%
+ }%
+ \@ifundefined{extrasaustralian}{}{%
+ \addto\extrasaustralian{#1}%
+ }%
+ \@ifundefined{extrasbahasa}{}{%
+ \addto\extrasbahasa{#1}%
+ }%
+ \@ifundefined{extrasbreton}{}{%
+ \addto\extrasbreton{#1}%
+ }%
+ \@ifundefined{extrasbritish}{}{%
+ \addto\extrasbritish{#1}%
+ }%
+ \@ifundefined{extrasbulgarian}{}{%
+ \addto\extrasbulgarian{#1}%
+ }%
+ \@ifundefined{extrascanadian}{}{%
+ \addto\extrascanadian{#1}%
+ }%
+ \@ifundefined{extrascatalan}{}{%
+ \addto\extrascatalan{#1}%
+ }%
+ \@ifundefined{extrascroatian}{}{%
+ \addto\extrascroatian{#1}%
+ }%
+ \@ifundefined{extrasczech}{}{%
+ \addto\extrasczech{#1}%
+ }%
+ \@ifundefined{extrasdanish}{}{%
+ \addto\extrasdanish{#1}%
+ }%
+ \@ifundefined{extrasesperanto}{}{%
+ \addto\extrasesperanto{#1}%
+ }%
+ \@ifundefined{extrasestonian}{}{%
+ \addto\extrasestonian{#1}%
+ }%
+ \@ifundefined{extrasfinnish}{}{%
+ \addto\extrasfinnish{#1}%
+ }%
+ \@ifundefined{extrasfrench}{}{%
+ \addto\extrasfrench{#1}%
+ }%
+ \@ifundefined{extrasgalician}{}{%
+ \addto\extrasgalician{#1}%
+ }%
+ \@ifundefined{extrasgerman}{}{%
+ \addto\extrasgerman{#1}%
+ }%
+ \@ifundefined{extrasgreek}{}{%
+ \addto\extrasgreek{#1}%
+ }%
+ \@ifundefined{extrashebrew}{}{%
+ \addto\extrashebrew{#1}%
+ }%
+ \@ifundefined{extrasicelandic}{}{%
+ \addto\extrasicelandic{#1}%
+ }%
+ \@ifundefined{extrasirish}{}{%
+ \addto\extrasirish{#1}%
+ }%
+ \@ifundefined{extrasitalian}{}{%
+ \addto\extrasitalian{#1}%
+ }%
+ \@ifundefined{extraslatin}{}{%
+ \addto\extraslatin{#1}%
+ }%
+ \@ifundefined{extraslsorbian}{}{%
+ \addto\extraslsorbian{#1}%
+ }%
+ \@ifundefined{extrasmagyar}{}{%
+ \addto\extrasmagyar{#1}%
+ }%
+ \@ifundefined{extrasnaustrian}{}{%
+ \addto\extrasnaustrian{#1}%
+ }%
+ \@ifundefined{extrasngerman}{}{%
+ \addto\extrasngerman{#1}%
+ }%
+ \@ifundefined{extrasnewzealand}{}{%
+ \addto\extrasnewzealand{#1}%
+ }%
+ \@ifundefined{extrasnorsk}{}{%
+ \addto\extrasnorsk{#1}%
+ }%
+ \@ifundefined{extraspolish}{}{%
+ \addto\extraspolish{#1}%
+ }%
+ \@ifundefined{extrasportuges}{}{%
+ \addto\extrasportuges{#1}%
+ }%
+ \@ifundefined{extrasromanian}{}{%
+ \addto\extrasromanian{#1}%
+ }%
+ \@ifundefined{extrasrussian}{}{%
+ \addto\extrasrussian{#1}%
+ }%
+ \@ifundefined{extrassamin}{}{%
+ \addto\extrassamin{#1}%
+ }%
+ \@ifundefined{extrasscottish}{}{%
+ \addto\extrasscottish{#1}%
+ }%
+ \@ifundefined{extrasserbian}{}{%
+ \addto\extrasserbian{#1}%
+ }%
+ \@ifundefined{extrasslovak}{}{%
+ \addto\extrasslovak{#1}%
+ }%
+ \@ifundefined{extrasslovene}{}{%
+ \addto\extrasslovene{#1}%
+ }%
+ \@ifundefined{extrasspanish}{}{%
+ \addto\extrasspanish{#1}%
+ }%
+ \@ifundefined{extrasswedish}{}{%
+ \addto\extrasswedish{#1}%
+ }%
+ \@ifundefined{extrasturkish}{}{%
+ \addto\extrasturkish{#1}%
+ }%
+ \@ifundefined{extrasUKenglish}{}{%
+ \addto\extrasUKenglish{#1}%
+ }%
+ \@ifundefined{extrasukraine}{}{%
+ \addto\extrasukraine{#1}%
+ }%
+ \@ifundefined{extrasUSenglish}{}{%
+ \addto\extrasUSenglish{#1}%
+ }%
+ \@ifundefined{extrasusorbian}{}{%
+ \addto\extrasusorbian{#1}%
+ }%
+ \@ifundefined{extraswelsh}{}{%
+ \addto\extraswelsh{#1}%
+ }%
+ }
+}{%
+ \newcommand*{\dt@addtoextras}[1]{}
+}
+\newcommand*{\setdefaultdate}[1]{\dt@addtoextras{#1}#1}
+\RequirePackage{fmtcount}
+\DeclareOption{long}{\setdefaultdate{\longdate}}
+\DeclareOption{short}{\setdefaultdate{\shortdate}}
+\DeclareOption{yyyymmdd}{\setdefaultdate{\yyyymmdddate}}
+\DeclareOption{ddmmyyyy}{\setdefaultdate{\ddmmyyyydate}}
+\DeclareOption{dmyyyy}{\setdefaultdate{\dmyyyydate}}
+\DeclareOption{ddmmyy}{\setdefaultdate{\ddmmyydate}}
+\DeclareOption{dmyy}{\setdefaultdate{\dmyydate}}
+\DeclareOption{text}{\setdefaultdate{\textdate}}
+\DeclareOption{us}{\setdefaultdate{\usdate}}
+\DeclareOption{mmddyyyy}{\setdefaultdate{\mmddyyyydate}}
+\DeclareOption{mdyyyy}{\setdefaultdate{\mdyyyydate}}
+\DeclareOption{mmddyy}{\setdefaultdate{\mmddyydate}}
+\DeclareOption{mdyy}{\setdefaultdate{\mdyydate}}
+\DeclareOption{level}{\fmtcountsetoptions{fmtord=level}}
+\DeclareOption{raise}{\fmtcountsetoptions{fmtord=raise}}
+\DeclareOption{dayofweek}{\showdowtrue}
+\DeclareOption{nodayofweek}{\showdowfalse}
+\DeclareOption{nodate}{\@dt@nodatetrue}
+\DeclareOption{hhmmss}{\settimeformat{hhmmsstime}}
+\DeclareOption{24hr}{\settimeformat{xxivtime}}
+\DeclareOption{12hr}{\settimeformat{ampmtime}}
+\DeclareOption{oclock}{\settimeformat{oclock}}
+\DeclareOption{iso}{%
+ \setdefaultdate{\yyyymmdddate}\settimeformat{hhmmsstime}%
+ \renewcommand*{\dateseparator}{-}%
+ \renewcommand*{\timeseparator}{:}%
+}
+\newcommand*{\loadDTdef}[1]{%
+ \DTifDefLoaded{#1}%
+ {}%
+ {%
+ \InputIfFileExists{dt-#1.def}%
+ {}%
+ {%
+ \PackageWarning{datetime}{Can't find datetime language
+ 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}}
+\DeclareOption{basque}{\loadDTdef{basque}}
+\DeclareOption{breton}{\loadDTdef{breton}}
+\DeclareOption{british}{\loadDTdef{british}}
+\DeclareOption{bulgarian}{\loadDTdef{bulgarian}}
+\DeclareOption{catalan}{\loadDTdef{catalan}}
+\DeclareOption{croatian}{\loadDTdef{croatian}}
+\DeclareOption{czech}{\loadDTdef{czech}}
+\DeclareOption{danish}{\loadDTdef{danish}}
+\DeclareOption{dutch}{\loadDTdef{dutch}}
+\DeclareOption{esperanto}{\loadDTdef{esperanto}}
+\DeclareOption{estonian}{\loadDTdef{estonian}}
+\DeclareOption{finnish}{\loadDTdef{finnish}}
+\DeclareOption{french}{\loadDTdef{french}}
+\DeclareOption{galician}{\loadDTdef{galician}}
+\DeclareOption{german}{\loadDTdef{german}\dategerman}
+\DeclareOption{greek}{\loadDTdef{greek}}
+\DeclareOption{hebrew}{\loadDTdef{hebrew}}
+\DeclareOption{icelandic}{\loadDTdef{icelandic}}
+\DeclareOption{irish}{\loadDTdef{irish}}
+\DeclareOption{italian}{\loadDTdef{italian}}
+\DeclareOption{latin}{\loadDTdef{latin}}
+\DeclareOption{lsorbian}{\loadDTdef{lsorbian}}
+\DeclareOption{magyar}{\loadDTdef{magyar}}
+\DeclareOption{naustrian}{\loadDTdef{naustrian}}
+\DeclareOption{ngerman}{\loadDTdef{ngerman}\datengerman}
+\DeclareOption{norsk}{\loadDTdef{norsk}}
+\DeclareOption{polish}{\loadDTdef{polish}}
+\DeclareOption{portuges}{\loadDTdef{portuges}}
+\DeclareOption{romanian}{\loadDTdef{romanian}}
+\DeclareOption{russian}{\loadDTdef{russian}}
+\DeclareOption{samin}{\loadDTdef{samin}}
+\DeclareOption{scottish}{\loadDTdef{scottish}}
+\DeclareOption{serbian}{\loadDTdef{serbian}}
+\DeclareOption{slovak}{\loadDTdef{slovak}}
+\DeclareOption{slovene}{\loadDTdef{slovene}}
+\DeclareOption{spanish}{\loadDTdef{spanish}}
+\DeclareOption{swedish}{\loadDTdef{swedish}}
+\DeclareOption{turkish}{\loadDTdef{turkish}}
+\DeclareOption{ukraineb}{\loadDTdef{ukraineb}}
+\DeclareOption{usorbian}{\loadDTdef{usorbian}}
+\DeclareOption{UKenglish}{\loadDTdef{UKenglish}}
+\DeclareOption{USenglish}{\loadDTdef{USenglish}}
+\DeclareOption{welsh}{\loadDTdef{welsh}}
+\ProcessOptions
+\if@dt@nodate
+ \PackageInfo{datetime}{option "nodate" used, so note defining
+ \string\dateformat}
+\else
+ \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}
+\else
+\newcommand*{\monthname}[1][\month]{%
+ \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}
+\else
+\newcommand*{\shortmonthname}[1][\month]{%
+ \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\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}
+\else
+\providecommand*{\testifleapyear}[1]{%
+ \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
+ \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
+ \@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
+ \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}%
+}
+\providecommand*{\thisdayofweekname}{%
+ \dayofweekname{\day}{\month}{\year}}
+\providecommand*{\shortdayofweekname}[3]{%
+ \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}}
+\fi
+\if@dt@nodate
+\else
+ \DeclareRobustCommand*{\today}{\formatdate{\day}{\month}{\year}}
+\fi
+\if@dt@nodate
+\else
+\@ifundefined{dateenglish}{}{\let\dateenglish\longdate}
+\@ifundefined{dateUKenglish}{}{\loadDTdef{UKenglish}}
+\@ifundefined{dateUSenglish}{}{\loadDTdef{USenglish}}
+\@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}}
+\@ifundefined{datedanish}{}{\loadDTdef{danish}}
+\@ifundefined{datedutch}{}{\loadDTdef{dutch}}
+\@ifundefined{dateesperanto}{}{\loadDTdef{esperanto}}
+\@ifundefined{dateestonian}{}{\loadDTdef{estonian}}
+\@ifundefined{datefinnish}{}{\loadDTdef{finnish}}
+\@ifundefined{datefrench}{}{\loadDTdef{french}}
+\@ifundefined{dategalician}{}{\loadDTdef{galician}}
+\@ifundefined{dategerman}{}{\loadDTdef{german}}
+\@ifundefined{dategreek}{}{\loadDTdef{greek}}
+\@ifundefined{datehebrew}{}{\loadDTdef{hebrew}}
+\@ifundefined{dateicelandic}{}{\loadDTdef{icelandic}}
+\@ifundefined{dateirish}{}{\loadDTdef{irish}}
+\@ifundefined{dateitalian}{}{\loadDTdef{italian}}
+\@ifundefined{datelatin}{}{\loadDTdef{latin}}
+\@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}}
+\@ifundefined{dateportuges}{}{\loadDTdef{portuges}}
+\@ifundefined{dateromanian}{}{\loadDTdef{romanian}}
+\@ifundefined{daterussian}{}{\loadDTdef{russian}}
+\@ifundefined{datesamin}{}{\loadDTdef{samin}}
+\@ifundefined{datescottish}{}{\loadDTdef{scottish}}
+\@ifundefined{dateserbian}{}{\loadDTdef{serbian}}
+\@ifundefined{dateslovak}{}{\loadDTdef{slovak}}
+\@ifundefined{dateslovene}{}{\loadDTdef{slovene}}
+\@ifundefined{datespanish}{}{\loadDTdef{spanish}}
+\@ifundefined{dateswedish}{}{\loadDTdef{swedish}}
+\@ifundefined{dateturkish}{}{\loadDTdef{turkish}}
+\@ifundefined{dateukraineb}{}{\loadDTdef{ukraineb}}
+\@ifundefined{dateusorbian}{}{\loadDTdef{usorbian}}
+\@ifundefined{datewelsh}{}{\loadDTdef{welsh}}
+\fi
+\newtoks\dt@a \newtoks\dt@b
+\edef\pdfdate{\the\year}
+\dt@b=\expandafter{\pdfdate}
+\dt@a=\expandafter{\the\month}
+\ifnum\month<10\relax
+\edef\pdfdate{\the\dt@b0\the\dt@a}
+\else
+\edef\pdfdate{\the\dt@b\the\dt@a}
+\fi
+\dt@b=\expandafter{\pdfdate}
+\dt@a=\expandafter{\the\day}
+\ifnum\day<10\relax
+\edef\pdfdate{\the\dt@b0\the\dt@a}
+\else
+\edef\pdfdate{\the\dt@b\the\dt@a}
+\fi
+\@dtctr=\time%
+\divide\@dtctr by 60\relax
+\dt@b=\expandafter{\pdfdate}
+\dt@a=\expandafter{\the\@dtctr}
+\ifnum\@dtctr<10
+\edef\pdfdate{\the\dt@b0\the\dt@a}
+\else
+\edef\pdfdate{\the\dt@b\the\dt@a}
+\fi
+\@dtctr=\time%
+\@FCmodulo{\@dtctr}{60}%
+\dt@b=\expandafter{\pdfdate}
+\dt@a=\expandafter{\the\@dtctr}
+\ifnum\@dtctr<10\relax
+\edef\pdfdate{\the\dt@b0\the\dt@a}
+\else
+\edef\pdfdate{\the\dt@b\the\dt@a}
+\fi
+\dt@a={00}
+\dt@b=\expandafter{\pdfdate}
+\edef\pdfdate{\the\dt@b\the\dt@a}
+\endinput
+%%
+%% End of file `datetime.sty'.
diff --git a/Master/texmf-dist/tex/latex/datetime/dt-UKenglish.def b/Master/texmf-dist/tex/latex/datetime/dt-UKenglish.def
new file mode 100644
index 00000000000..5ba6841eb16
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-UKenglish.def
@@ -0,0 +1,50 @@
+%%
+%% This is file `dt-UKenglish.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-UKenglish.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-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
new file mode 100644
index 00000000000..e8aa65c4307
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-USenglish.def
@@ -0,0 +1,51 @@
+%%
+%% This is file `dt-USenglish.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-USenglish.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-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
new file mode 100644
index 00000000000..fd2b17b4b54
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-american.def
@@ -0,0 +1,51 @@
+%%
+%% This is file `dt-american.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-american.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-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..ca9c55cec7c
--- /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 2015 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
new file mode 100644
index 00000000000..881178c0e3e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-austrian.def
@@ -0,0 +1,71 @@
+%%
+%% This is file `dt-austrian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-austrian.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-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%
+\else
+ \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}}%
+\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
new file mode 100644
index 00000000000..7062df243c0
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-bahasa.def
@@ -0,0 +1,93 @@
+%%
+%% This is file `dt-bahasa.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-bahasa.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-bahasa.def}[2013/09/10]%
+\providecommand{\monthnamebahasa}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Januari) to 12 (Desember)}%
+\or Januari%
+\or Pebruari%
+\or Maret%
+\or April%
+\or Mei%
+\or Juni%
+\or Juli%
+\or Agustus%
+\or September%
+\or Oktober%
+\or Nopember%
+\or Desember%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Januari) to 12 (Desember)}%
+\fi}%
+\global\let\monthnamebahasa\monthnamebahasa
+\providecommand{\shortmonthnamebahasa}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Januari) to 12 (Desember)}%
+\or Januari%
+\or Pebruari%
+\or Maret%
+\or April%
+\or Mei%
+\or Juni%
+\or Juli%
+\or Agustus%
+\or September%
+\or Oktober%
+\or Nopember%
+\or Desember%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Januari) to 12 (Desember)}%
+\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}}%
+\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
new file mode 100644
index 00000000000..41a586bfa28
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-basque.def
@@ -0,0 +1,92 @@
+%%
+%% This is file `dt-basque.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-basque.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-basque.def}[2013/09/10]%
+\providecommand{\monthnamebasque}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}%
+\or urtarrilaren%
+\or otsailaren%
+\or martxoaren%
+\or apirilaren%
+\or maiatzaren%
+\or ekainaren%
+\or uztailaren%
+\or abuztuaren%
+\or irailaren%
+\or urriaren%
+\or azaroaren%
+\or abenduaren%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}%
+\fi}%
+\global\let\monthnamebasque\monthnamebasque
+\providecommand{\shortmonthnamebasque}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}%
+\or urtarrilaren%
+\or otsailaren%
+\or martxoaren%
+\or apirilaren%
+\or maiatzaren%
+\or ekainaren%
+\or uztailaren%
+\or abuztuaren%
+\or irailaren%
+\or urriaren%
+\or azaroaren%
+\or abenduaren%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (urtarrilaren) to 12 (abenduaren)}%
+\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}}%
+\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
new file mode 100644
index 00000000000..d38962d2c4c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-breton.def
@@ -0,0 +1,99 @@
+%%
+%% This is file `dt-breton.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-breton.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-breton.def}[2013/09/10]%
+\providecommand*{\ordinaldatebreton}[1]{%
+#1\ifnum#1=1\/\textsuperscript{a\~n}\fi}%
+\global\let\ordinaldatebreton\ordinaldatebreton
+\providecommand{\monthnamebreton}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Genver) to 12 (Kerzu)}%
+\or Genver%
+\or C'hwevrer%
+\or Meurzh%
+\or Ebrel%
+\or Mae%
+\or Mezheven%
+\or Gouere%
+\or Eost%
+\or Gwengolo%
+\or Here%
+\or Du%
+\or Kerzu%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Genver) to 12 (Kerzu)}%
+\fi}%
+\global\let\monthnamebreton\monthnamebreton
+\providecommand{\shortmonthnamebreton}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Genver) to 12 (Kerzu)}%
+\or Genver%
+\or C'hwevrer%
+\or Meurzh%
+\or Ebrel%
+\or Mae%
+\or Mezheven%
+\or Gouere%
+\or Eost%
+\or Gwengolo%
+\or Here%
+\or Du%
+\or Kerzu%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (Genver) to 12 (Kerzu)}%
+\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
new file mode 100644
index 00000000000..3caa0d9d650
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-british.def
@@ -0,0 +1,50 @@
+%%
+%% This is file `dt-british.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-british.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-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
new file mode 100644
index 00000000000..1e4b0a05102
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def
@@ -0,0 +1,93 @@
+%%
+%% This is file `dt-bulgarian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-bulgarian.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-bulgarian.def}[2013/09/10]%
+\providecommand{\monthnamebulgarian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+ \or\cyrya\cyrn\cyru\cyra\cyrr\cyri\or
+ \cyrf\cyre\cyrv\cyrr\cyru\cyra\cyrr\cyri\or
+ \cyrm\cyra\cyrr\cyrt\or
+ \cyra\cyrp\cyrr\cyri\cyrl\or
+ \cyrm\cyra\cyrishrt\or
+ \cyryu\cyrn\cyri\or
+ \cyryu\cyrl\cyri\or
+ \cyra\cyrv\cyrg\cyru\cyrs\cyrt\or
+ \cyrs\cyre\cyrp\cyrt\cyre\cyrm\cyrv\cyrr\cyri\or
+ \cyro\cyrk\cyrt\cyro\cyrm\cyrv\cyrr\cyri\or
+ \cyrn\cyro\cyre\cyrm\cyrv\cyrr\cyri\or
+ \cyrd\cyre\cyrk\cyre\cyrm\cyrv\cyrr\cyri
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnamebulgarian\monthnamebulgarian
+\providecommand{\shortmonthnamebulgarian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+ \or\cyrya\cyrn\cyru\cyra\cyrr\cyri\or
+ \cyrf\cyre\cyrv\cyrr\cyru\cyra\cyrr\cyri\or
+ \cyrm\cyra\cyrr\cyrt\or
+ \cyra\cyrp\cyrr\cyri\cyrl\or
+ \cyrm\cyra\cyrishrt\or
+ \cyryu\cyrn\cyri\or
+ \cyryu\cyrl\cyri\or
+ \cyra\cyrv\cyrg\cyru\cyrs\cyrt\or
+ \cyrs\cyre\cyrp\cyrt\cyre\cyrm\cyrv\cyrr\cyri\or
+ \cyro\cyrk\cyrt\cyro\cyrm\cyrv\cyrr\cyri\or
+ \cyrn\cyro\cyre\cyrm\cyrv\cyrr\cyri\or
+ \cyrd\cyre\cyrk\cyre\cyrm\cyrv\cyrr\cyri
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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.}}%
+\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..b1d7fe0aa4e
--- /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 2015 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
new file mode 100644
index 00000000000..1f05fcdf979
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-catalan.def
@@ -0,0 +1,94 @@
+%%
+%% This is file `dt-catalan.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-catalan.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-catalan.def}[2013/09/10]%
+\providecommand{\monthnamecatalan}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (de gener) to 12 (de desembre)}%
+\or de gener%
+\or de febrer%
+\or de mar\c{c}%
+\or d'abril%
+\or de maig%
+\or de juny%
+\or de juliol%
+\or d'agost%
+\or de setembre%
+\or d'octubre%
+\or de novembre%
+\or de desembre%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (de gener) to 12 (de desembre)}%
+\fi}%
+\global\let\monthnamecatalan\monthnamecatalan
+\providecommand{\shortmonthnamecatalan}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (de gener) to 12 (de desembre)}%
+\or de gener%
+\or de febrer%
+\or de mar\c{c}%
+\or d'abril%
+\or de maig%
+\or de juny%
+\or de juliol%
+\or d'agost%
+\or de setembre%
+\or d'octubre%
+\or de novembre%
+\or de desembre%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (de gener) to 12 (de desembre)}%
+\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
new file mode 100644
index 00000000000..f7b6c92bfbd
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-croatian.def
@@ -0,0 +1,115 @@
+%%
+%% This is file `dt-croatian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-croatian.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-croatian.def}[2013/09/10]%
+\providecommand{\monthnamecroatian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (sijecnja) to 12 (prosinca)}%
+\or sije\v{c}nja%
+\or velja\v{c}e%
+\or o\v{z}ujka%
+\or travnja%
+\or svibnja%
+\or lipnja%
+\or srpnja%
+\or kolovoza%
+\or rujna%
+\or listopada%
+\or studenoga%
+\or prosinca%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (sijecnja) to 12 (prosinca)}%
+\fi}%
+\global\let\monthnamecroatian\monthnamecroatian
+\providecommand{\shortmonthnamecroatian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (sijecnja) to 12 (prosinca)}%
+\or sije\v{c}nja%
+\or velja\v{c}e%
+\or o\v{z}ujka%
+\or travnja%
+\or svibnja%
+\or lipnja%
+\or srpnja%
+\or kolovoza%
+\or rujna%
+\or listopada%
+\or studenoga%
+\or prosinca%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (sijecnja) to 12 (prosinca)}%
+\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.}}%
+\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
new file mode 100644
index 00000000000..3efdbcb5376
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-czech.def
@@ -0,0 +1,93 @@
+%%
+%% This is file `dt-czech.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-czech.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-czech.def}[2013/09/10]%
+\providecommand{\monthnameczech}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or ledna%
+\or \'unora%
+\or b\v{r}ezna%
+\or dubna%
+\or kv\v{e}tna%
+\or \v{c}ervna%
+\or \v{c}ervence%
+\or srpna%
+\or z\'a\v{r}\'{\i}%
+\or \v{r}\'{\i}jna%
+\or listopadu%
+\or prosince%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnameczech\monthnameczech
+\providecommand{\shortmonthnameczech}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or ledna%
+\or \'unora%
+\or b\v{r}ezna%
+\or dubna%
+\or kv\v{e}tna%
+\or \v{c}ervna%
+\or \v{c}ervence%
+\or srpna%
+\or z\'a\v{r}\'{\i}%
+\or \v{r}\'{\i}jna%
+\or listopadu%
+\or prosince%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..c6e2a24ff29
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-danish.def
@@ -0,0 +1,71 @@
+%%
+%% This is file `dt-danish.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-danish.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-danish.def}[2013/09/10]%
+\providecommand{\monthnamedanish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januar%
+\or februar%
+\or marts%
+\or april%
+\or maj%
+\or juni%
+\or juli%
+\or august%
+\or september%
+\or oktober%
+\or november%
+\or december%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..e2946007bd8
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-dutch.def
@@ -0,0 +1,92 @@
+%%
+%% This is file `dt-dutch.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-dutch.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-dutch.def}[2015/03/20]%
+\providecommand{\monthnamedutch}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januari%
+\or februari%
+\or maart%
+\or april%
+\or mei%
+\or juni%
+\or juli%
+\or augustus%
+\or september%
+\or oktober%
+\or november%
+\or december%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\datedutch\datedutch
+\providecommand*{\dayofweeknameiddutch}[1]{%
+\ifcase#1\relax
+\or zondag%
+\or maandag%
+\or dinsdag%
+\or woensdag%
+\or donderdag%
+\or vrijdag%
+\or zaterdag%
+\fi}
+
+\providecommand*{\shortdayofweeknameiddutch}[1]{%
+\ifcase#1\relax
+\or zo%
+\or ma%
+\or di%
+\or wo%
+\or do%
+\or vr%
+\or za%
+\fi}
+\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
new file mode 100644
index 00000000000..55f5fae9356
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def
@@ -0,0 +1,72 @@
+%%
+%% This is file `dt-esperanto.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-esperanto.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-esperanto.def}[2013/09/10]%
+\providecommand{\monthnameesperanto}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januaro%
+\or februaro%
+\or marto%
+\or aprilo%
+\or majo%
+\or junio%
+\or julio%
+\or a\u{u}gusto%
+\or septembro%
+\or oktobro%
+\or novembro%
+\or decembro%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..539edd125d9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-estonian.def
@@ -0,0 +1,72 @@
+%%
+%% This is file `dt-estonian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-estonian.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-estonian.def}[2013/09/10]%
+\providecommand{\monthnameestonian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or jaanuar%
+\or veebruar%
+\or m"arts%
+\or aprill%
+\or mai%
+\or juuni%
+\or juuli%
+\or august%
+\or september%
+\or oktoober%
+\or november%
+\or detsember%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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.}}%
+\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
new file mode 100644
index 00000000000..f5730cda024
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-finnish.def
@@ -0,0 +1,71 @@
+%%
+%% This is file `dt-finnish.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-finnish.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-finnish.def}[2013/09/10]%
+\providecommand{\monthnamefinnish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or tammikuuta%
+\or helmikuuta%
+\or maaliskuuta%
+\or huhtikuuta%
+\or toukokuuta%
+\or kes\"akuuta%
+\or hein\"akuuta%
+\or elokuuta%
+\or syyskuuta%
+\or lokakuuta%
+\or marraskuuta%
+\or joulukuuta%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..e024d904ccf
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-french.def
@@ -0,0 +1,120 @@
+%%
+%% This is file `dt-french.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-french.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-french.def}[2013/09/10]%
+\providecommand*{\ordinaldatefrench}[1]{%
+#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%
+\or lundi%
+\or mardi%
+\or mercredi%
+\or jeudi%
+\or vendredi%
+\or samedi%
+\fi}%
+\global\let\dayofweeknameidfrench\dayofweeknameidfrench
+\providecommand{\shortdayofweeknameidfrench}[1]{%
+\ifcase#1\relax
+\or dim%
+\or lun%
+\or mar%
+\or mer%
+\or jeu%
+\or ven%
+\or sam%
+\fi}%
+\global\let\shortdayofweeknameidfrench\shortdayofweeknameidfrench
+\providecommand{\monthnamefrench}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (janvier) to 12 (decembre)}%
+\or janvier%
+\or f\'evrier%
+\or mars%
+\or avril%
+\or mai%
+\or juin%
+\or juillet%
+\or ao\^ut%
+\or septembre%
+\or octobre%
+\or novembre%
+\or d\'ecembre%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (janvier) to 12 (decembre)}%
+\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}}%
+\global\let\datefrench\datefrench
+\providecommand{\shortmonthnamefrench}[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 f\'evr.%
+\or mars%
+\or avr.%
+\or mai%
+\or juin%
+\or juill.%
+\or ao\^ut%
+\or sept.%
+\or oct.%
+\or nov.%
+\or d\'ec.%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (jan.) to 12 (dec.)}%
+\fi}
+\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
new file mode 100644
index 00000000000..d1bb75a4670
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-galician.def
@@ -0,0 +1,72 @@
+%%
+%% This is file `dt-galician.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-galician.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-galician.def}[2013/09/10]%
+\providecommand{\monthnamegalician}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or xaneiro%
+\or febreiro%
+\or marzo%
+\or abril%
+\or maio%
+\or xu\~no%
+\or xullo%
+\or agosto%
+\or setembro%
+\or outubro%
+\or novembro%
+\or decembro%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..518d749ae3d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-german.def
@@ -0,0 +1,93 @@
+%%
+%% This is file `dt-german.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-german.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-german.def}[2010/09/10]%
+\providecommand{\monthnamegerman}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Januar%
+\or Februar%
+\or M\"arz%
+\or April%
+\or Mai%
+\or Juni%
+\or Juli%
+\or August%
+\or September%
+\or Oktober%
+\or November%
+\or Dezember%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (janvier) to 12 (decembre)}%
+\fi}%
+\global\let\monthnamegerman\monthnamegerman
+\providecommand{\dayofweeknameidgerman}[1]{%
+\ifcase#1\relax
+\or Sonntag%
+\or Montag%
+\or Dienstag%
+\or Mittwoch%
+\or Donnerstag%
+\or Freitag%
+\or Samstag%
+\fi}%
+\global\let\dayofweeknameidgerman\dayofweeknameidgerman
+\providecommand{\shortdayofweeknameidgerman}[1]{%
+\ifcase#1\relax
+\or So%
+\or Mo%
+\or Di%
+\or Mi%
+\or Do%
+\or Fr%
+\or Sa%
+\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}}%
+\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
new file mode 100644
index 00000000000..6738ff3d6da
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-greek.def
@@ -0,0 +1,71 @@
+%%
+%% This is file `dt-greek.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-greek.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-greek.def}[2013/09/10]%
+\providecommand{\monthnamegreek}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Ianouar'iou%
+\or Febrouar'iou%
+\or Mart'iou%
+\or April'iou%
+\or Ma'"iou%
+\or Ioun'iou%
+\or Ioul'iou%
+\or Augo'ustou%
+\or Septembr'iou%
+\or Oktwbr'iou%
+\or Noembr'iou%
+\or Dekembr'iou%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..936fc5927d3
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-hebrew.def
@@ -0,0 +1,50 @@
+%%
+%% This is file `dt-hebrew.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-hebrew.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-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}}%
+\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
new file mode 100644
index 00000000000..c4d04a6554d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-icelandic.def
@@ -0,0 +1,71 @@
+%%
+%% This is file `dt-icelandic.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-icelandic.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-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\'uar%
+\or febr\'uar%
+\or mars%
+\or apr\'il%
+\or ma\'i%
+\or j\'un\'i%
+\or j\'ul\'i%
+\or \'ag\'ust%
+\or september%
+\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}%
+\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}}%
+\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
new file mode 100644
index 00000000000..08af202662c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-irish.def
@@ -0,0 +1,71 @@
+%%
+%% This is file `dt-irish.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-irish.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-irish.def}[2013/09/10]%
+\providecommand{\monthnameirish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Ean\'air%
+\or Feabhra%
+\or M\'arta%
+\or Aibre\'an%
+\or Bealtaine%
+\or Meitheamh%
+\or I\'uil%
+\or L\'unasa%
+\or Me\'an F\'omhair%
+\or Deireadh F\'omhair%
+\or M\'{\i} na Samhna%
+\or M\'{\i} na Nollag%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..9a40e5faf94
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-italian.def
@@ -0,0 +1,110 @@
+%%
+%% This is file `dt-italian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-italian.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-italian.def}[2015/03/20]%
+\providecommand{\dayofweeknameiditalian}[1]{%
+\ifcase#1\relax
+\or domenica%
+\or luned\`{\i}%
+\or marted\`{\i}%
+\or mercoled\`{\i}%
+\or gioved\`{\i}%
+\or venerd\`{\i}%
+\or sabato%
+\fi}%
+\global\let\dayofweeknameiditalian\dayofweeknameiditalian
+\providecommand{\shortdayofweeknameiditalian}[1]{%
+\ifcase#1\relax
+\or dom%
+\or lun%
+\or mar%
+\or mer%
+\or gio%
+\or ven%
+\or sab%
+\fi}%
+\global\let\shortdayofweeknameiditalian\shortdayofweeknameiditalian
+\providecommand{\monthnameitalian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (gennaio) to 12 (dicembre)}%
+\or gennaio%
+\or febbraio%
+\or marzo%
+\or aprile%
+\or maggio%
+\or giugno%
+\or luglio%
+\or agosto%
+\or settembre%
+\or ottobre%
+\or novembre%
+\or dicembre%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (gennaio) to 12 (dicembre)}%
+\fi}%
+\global\let\monthnameitalian\monthnameitalian
+\providecommand{\shortmonthnameitalian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (gen) to 12 (dic)}%
+\or gen%
+\or feb%
+\or mar%
+\or apr%
+\or mag%
+\or giu%
+\or lug%
+\or ago%
+\or set%
+\or ott%
+\or nov%
+\or dic%
+\else%
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (gen) to 12 (dic)}%
+\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}}%
+\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
new file mode 100644
index 00000000000..47185b61626
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-latin.def
@@ -0,0 +1,74 @@
+%%
+%% This is file `dt-latin.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-latin.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-latin.def}[2013/09/10]%
+\providecommand{\monthnamelatin}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Ianuarii%
+\or Februarii%
+\or Martii%
+\or Aprilis%
+\or Maii%
+\or Iunii%
+\or Iulii%
+\or Augusti%
+\or Septembris%
+\or Octobris%
+\or Novembris%
+\or Decembris%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}}}%
+\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
new file mode 100644
index 00000000000..7f82d567a3b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def
@@ -0,0 +1,100 @@
+%%
+%% This is file `dt-lsorbian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-lsorbian.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-lsorbian.def}[2013/09/10]%
+\providecommand{\monthnamenewlsorbian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januara%
+\or februara%
+\or m\v erca%
+\or apryla%
+\or maja%
+\or junija%
+\or julija%
+\or awgusta%
+\or septembra%
+\or oktobra%
+\or nowembra%
+\or decembra%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnamenewlsorbian\monthnamenewlsorbian
+\providecommand{\monthnameoldlsorbian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or wjelikego ro\v zka%
+\or ma\l ego ro\v zka%
+\or nal\v etnika%
+\or jat\v sownika%
+\or ro\v zownika%
+\or sma\v znika%
+\or pra\v znika%
+\or \v znje\'nca%
+\or po\v znje\'nca%
+\or winowca%
+\or nazymnika%
+\or godownika%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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}}%
+\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
new file mode 100644
index 00000000000..b34bcb28d69
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-magyar.def
@@ -0,0 +1,71 @@
+%%
+%% This is file `dt-magyar.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-magyar.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-magyar.def}[2013/09/10]%
+\providecommand{\monthnamemagyar}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or janu\'ar%
+\or febru\'ar%
+\or m\'arcius%
+\or \'aprilis%
+\or m\'ajus%
+\or j\'unius%
+\or j\'ulius%
+\or augusztus%
+\or szeptember%
+\or okt\'ober%
+\or november%
+\or december%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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.}}%
+\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
new file mode 100644
index 00000000000..832c74b0db2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-naustrian.def
@@ -0,0 +1,71 @@
+%%
+%% This is file `dt-naustrian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-naustrian.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-naustrian.def}[2013/09/10]%
+\providecommand{\monthnamenaustrian}[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%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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..1a1911bd9f5
--- /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 2015 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
new file mode 100644
index 00000000000..e70d2dc50b7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-ngerman.def
@@ -0,0 +1,93 @@
+%%
+%% This is file `dt-ngerman.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-ngerman.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-ngerman.def}[2013/09/10]%
+\providecommand{\monthnamengerman}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Januar%
+\or Februar%
+\or M\"arz%
+\or April%
+\or Mai%
+\or Juni%
+\or Juli%
+\or August%
+\or September%
+\or Oktober%
+\or November%
+\or Dezember%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnamengerman\monthnamengerman
+\providecommand{\dayofweeknameidngerman}[1]{%
+\ifcase#1\relax
+\or Sonntag%
+\or Montag%
+\or Dienstag%
+\or Mittwoch%
+\or Donnerstag%
+\or Freitag%
+\or Samstag%
+\fi}%
+\global\let\dayofweeknameidngerman\dayofweeknameidngerman
+\providecommand{\shortdayofweeknameidngerman}[1]{%
+\ifcase#1\relax
+\or So%
+\or Mo%
+\or Di%
+\or Mi%
+\or Do%
+\or Fr%
+\or Sa%
+\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}}%
+\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
new file mode 100644
index 00000000000..03e0824621b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-norsk.def
@@ -0,0 +1,91 @@
+%%
+%% This is file `dt-norsk.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-norsk.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-norsk.def}[2013/09/10]%
+\providecommand{\monthnamenorsk}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januar%
+\or februar%
+\or mars%
+\or april%
+\or mai%
+\or juni%
+\or juli%
+\or august%
+\or september%
+\or oktober%
+\or november%
+\or desember%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\datenorsk\datenorsk
+\providecommand*{\dayofweeknameidnorsk}[1]{%
+\ifcase#1\relax
+\or S\o{}ndag%
+\or Mandag%
+\or Tirsdag%
+\or Onsdag%
+\or Torsdag%
+\or Fredag%
+\or L\o{}rdag%
+\fi}
+\providecommand*{\shortdayofweeknameidnorsk}[1]{%
+\ifcase#1\relax
+\or S\o{}n%
+\or Man%
+\or Tir%
+\or Ons%
+\or Tor%
+\or Fre%
+\or L\o{}r%
+\fi}
+\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
new file mode 100644
index 00000000000..d071f196972
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-polish.def
@@ -0,0 +1,93 @@
+%%
+%% This is file `dt-polish.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-polish.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-polish.def}[2013/09/10]%
+\providecommand{\monthnamepolish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or stycznia%
+\or lutego%
+\or marca%
+\or kwietnia%
+\or maja%
+\or czerwca%
+\or lipca%
+\or sierpnia%
+\or wrze\'snia%
+\or pa\'zdziernika%
+\or listopada%
+\or grudnia%
+\else
+\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}}%
+\global\let\datepolish\datepolish
+\providecommand{\dayofweeknameidpolish}[1]{%
+\ifcase#1\relax
+\or Niedziela%
+\or Poniedzia\l ek%
+\or Wtorek%
+\or \'Sroda%
+\or Czwartek%
+\or Pi\k atek%
+\or Sobota%
+\fi}%
+\global\let\dayofweeknameidpolish\dayofweeknameidpolish
+\providecommand{\shortdayofweeknameidpolish}[1]{%
+\ifcase#1\relax
+\or Ndz.%
+\or Pon.%
+\or Wt.%
+\or \'Sr.%
+\or Czw.%
+\or Pt.%
+\or Sob.%
+\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
new file mode 100644
index 00000000000..a5dd230fc0b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-portuges.def
@@ -0,0 +1,83 @@
+%%
+%% This is file `dt-portuges.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-portuges.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-portuges.def}[2013/09/10]%
+\providecommand{\dayofweeknameidportuges}[1]{%
+\ifcase#1\relax
+\or domingo%
+\or segunda-feira%
+\or ter\c{c}a-feira%
+\or quarta-feira%
+\or quinta-feira%
+\or sexta-feira%
+\or sabado%
+\fi}%
+\global\let\dayofweeknameidportuges\dayofweeknameidportuges
+\providecommand{\monthnameportuges}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Janeiro%
+\or Fevereiro%
+\or Mar\c{c}o%
+\or Abril%
+\or Maio%
+\or Junho%
+\or Julho%
+\or Agosto%
+\or Setembro%
+\or Outubro%
+\or Novembro%
+\or Dezembro%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..0d8aee6abd9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-romanian.def
@@ -0,0 +1,93 @@
+%%
+%% This is file `dt-romanian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-romanian.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-romanian.def}[2013/09/10]%
+\providecommand{\monthnameromanian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or ianuarie%
+\or februarie%
+\or martie%
+\or aprilie%
+\or mai%
+\or iunie%
+\or iulie%
+\or august%
+\or septembrie%
+\or octombrie%
+\or noiembrie%
+\or decembrie%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\global\let\dateromanian\dateromanian
+\providecommand{\dayofweeknameidromanian}[1]{%
+\ifcase#1\relax
+\or duminic\u{a}%
+\or luni%
+\or mar\c{t}i%
+\or miercuri%
+\or joi%
+\or vineri%
+\or s\^{a}mb\u{a}t\u{a}%
+\fi}%
+\global\let\dayofweeknameidromanian\dayofweeknameidromanian
+\providecommand{\shortdayofweeknameidromanian}[1]{%
+\ifcase#1\relax
+\or D%
+\or L%
+\or Ma%
+\or Mi%
+\or J%
+\or V%
+\or S%
+\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
new file mode 100644
index 00000000000..0d2dc8f1df8
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-russian.def
@@ -0,0 +1,71 @@
+%%
+%% This is file `dt-russian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-russian.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-russian.def}[2013/09/10]%
+\providecommand{\monthnamerussian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or \cyrya\cyrn\cyrv\cyra\cyrr\cyrya\or
+ \cyrf\cyre\cyrv\cyrr\cyra\cyrl\cyrya\or
+ \cyrm\cyra\cyrr\cyrt\cyra\or
+ \cyra\cyrp\cyrr\cyre\cyrl\cyrya\or
+ \cyrm\cyra\cyrya\or
+ \cyri\cyryu\cyrn\cyrya\or
+ \cyri\cyryu\cyrl\cyrya\or
+ \cyra\cyrv\cyrg\cyru\cyrs\cyrt\cyra\or
+ \cyrs\cyre\cyrn\cyrt\cyrya\cyrb\cyrr\cyrya\or
+ \cyro\cyrk\cyrt\cyrya\cyrb\cyrr\cyrya\or
+ \cyrn\cyro\cyrya\cyrb\cyrr\cyrya\or
+ \cyrd\cyre\cyrk\cyra\cyrb\cyrr\cyrya%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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.}}%
+\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
new file mode 100644
index 00000000000..e4e1e78404d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-samin.def
@@ -0,0 +1,72 @@
+%%
+%% This is file `dt-samin.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-samin.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-samin.def}[2013/09/10]%
+\providecommand{\monthnamesamin}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or o\dj{}\dj{}ajagem\'anu\or
+ guovvam\'anu\or
+ njuk\v cam\'anu\or
+ cuo\ng{}om\'anu\or
+ miessem\'anu\or
+ geassem\'anu\or
+ suoidnem\'anu\or
+ borgem\'anu\or
+ \v cak\v cam\'anu\or
+ golggotm\'anu\or
+ sk\'abmam\'anu\or
+ juovlam\'anu%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..09ff21ef963
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-scottish.def
@@ -0,0 +1,71 @@
+%%
+%% This is file `dt-scottish.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-scottish.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-scottish.def}[2013/09/10]%
+\providecommand{\monthnamescottish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or am Faoilteach%
+\or an Gearran%
+\or am M\`art%
+\or an Giblean%
+\or an C\`eitean%
+\or an t-\`Og mhios%
+\or an t-Iuchar%
+\or L\`unasdal%
+\or an Sultuine%
+\or an D\`amhar%
+\or an t-Samhainn%
+\or an Dubhlachd%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..671c5e0beae
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-serbian.def
@@ -0,0 +1,71 @@
+%%
+%% This is file `dt-serbian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-serbian.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-serbian.def}[2013/09/10]%
+\providecommand{\monthnameserbian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januar%
+\or februar%
+\or mart%
+\or april%
+\or maj%
+\or juni%
+\or juli%
+\or avgust%
+\or septembar%
+\or oktobar%
+\or novembar%
+\or decembar%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..78d8ef8c88c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-slovak.def
@@ -0,0 +1,70 @@
+%%
+%% This is file `dt-slovak.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-slovak.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-slovak.def}[2013/09/10]%
+\providecommand{\monthnameslovak}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month
+numbers should go from 1 to 12}%
+\or janu\'ara%
+\or febru\'ara%
+\or marca%
+\or apr\'{\i}la%
+\or m\'aja%
+\or j\'una%
+\or j\'ula%
+\or augusta%
+\or septembra%
+\or okt\'obra%
+\or novembra%
+\or decembra%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..6150b10d437
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-slovene.def
@@ -0,0 +1,70 @@
+%%
+%% This is file `dt-slovene.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-slovene.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-slovene.def}[2013/09/10]%
+\providecommand{\monthnameslovene}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januar%
+\or februar%
+\or marec%
+\or april%
+\or maj%
+\or junij%
+\or julij%
+\or avgust%
+\or september%
+\or oktober%
+\or november%
+\or december%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..c412a306126
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-spanish.def
@@ -0,0 +1,92 @@
+%%
+%% This is file `dt-spanish.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-spanish.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-spanish.def}[2013/09/10]%
+\providecommand{\dayofweeknameidspanish}[1]{%
+\ifcase#1\relax
+\or domingo%
+\or lunes%
+\or martes%
+\or mi\'ercoles%
+\or jueves%
+\or viernes%
+\or s\'abado%
+\fi}%
+\global\let\dayofweeknameidspanish\dayofweeknameidspanish
+\providecommand{\shortdayofweeknameidspanish}[1]{%
+\ifcase#1\relax
+\or dom%
+\or lun%
+\or mar%
+\or mi\'e%
+\or jue%
+\or vie%
+\or s\'ab%
+\fi}%
+\global\let\shortdayofweeknameidspanish\shortdayofweeknameidspanish
+\providecommand{\monthnamespanish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or enero%
+\or febrero%
+\or marzo%
+\or abril%
+\or mayo%
+\or junio%
+\or julio%
+\or agosto%
+\or septiembre%
+\or octubre%
+\or noviembre%
+\or diciembre%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..e7f72d73ed6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-swedish.def
@@ -0,0 +1,102 @@
+%%
+%% This is file `dt-swedish.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-swedish.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-swedish.def}[2013/09/10]%
+\providecommand{\monthnameswedish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januari%
+\or februari%
+\or mars%
+\or april%
+\or maj%
+\or juni%
+\or juli%
+\or augusti%
+\or september%
+\or oktober%
+\or november%
+\or december%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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}%
+}%
+\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}%
+}%
+\global\let\datesdmy\datesdmy
+\providecommand*{\dayofweeknameidswedish}[1]{%
+\ifcase#1\relax
+\or S\"ondag%
+\or M\aa{}ndag%
+\or Tisdag%
+\or Onsdag%
+\or Torsdag%
+\or Fredag%
+\or L\"ordag%
+\fi}
+\providecommand*{\shortdayofweeknameidswedish}[1]{%
+\ifcase#1\relax
+\or S\"on%
+\or M\aa{}n%
+\or Tis%
+\or Ons%
+\or Tor%
+\or Fre%
+\or L\"or%
+\fi}
+\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
new file mode 100644
index 00000000000..195b3397cc8
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-turkish.def
@@ -0,0 +1,70 @@
+%%
+%% This is file `dt-turkish.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-turkish.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-turkish.def}[2013/09/10]%
+\providecommand{\monthnameturkish}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Ocak%
+\or \c Subat%
+\or Mart%
+\or Nisan%
+\or May\i{}s%
+\or Haziran%
+\or Temmuz%
+\or A\u gustos%
+\or Eyl\"ul%
+\or Ekim%
+\or Kas\i{}m%
+\or Aral\i{}k%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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}}%
+\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
new file mode 100644
index 00000000000..e1ca3095ac2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def
@@ -0,0 +1,70 @@
+%%
+%% This is file `dt-ukraineb.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-ukraineb.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-ukraineb.def}[2013/09/10]%
+\providecommand{\monthnameukraineb}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or \cyrs\cyrii\cyrch\cyrn\cyrya\or
+ \cyrl\cyryu\cyrt\cyro\cyrg\cyro\or
+ \cyrb\cyre\cyrr\cyre\cyrz\cyrn\cyrya\or
+ \cyrk\cyrv\cyrii\cyrt\cyrn\cyrya\or
+ \cyrt\cyrr\cyra\cyrv\cyrn\cyrya\or
+ \cyrch\cyre\cyrr\cyrv\cyrn\cyrya\or
+ \cyrl\cyri\cyrp\cyrn\cyrya\or
+ \cyrs\cyre\cyrr\cyrp\cyrn\cyrya\or
+ \cyrv\cyre\cyrr\cyre\cyrs\cyrn\cyrya\or
+ \cyrzh\cyro\cyrv\cyrt\cyrn\cyrya\or
+ \cyrl\cyri\cyrs\cyrt\cyro\cyrp\cyra\cyrd\cyra\or
+ \cyrg\cyrr\cyru\cyrd\cyrn\cyrya%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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.}}%
+\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
new file mode 100644
index 00000000000..eedaac437e0
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def
@@ -0,0 +1,97 @@
+%%
+%% This is file `dt-usorbian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-usorbian.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-usorbian.def}[2013/09/10]%
+\providecommand{\monthnamenewusorbian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or januara%
+\or februara%
+\or m\v erca%
+\or apryla%
+\or meje%
+\or junija%
+\or julija%
+\or awgusta%
+\or septembra%
+\or oktobra%
+\or nowembra%
+\or decembra%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\fi}%
+\global\let\monthnamenewusorbian\monthnamenewusorbian
+\providecommand{\monthnameoldusorbian}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or wulkeho r\'o\v zka%
+\or ma\l eho r\'o\v zka%
+\or nal\v etnika%
+\or jutrownika%
+\or r\'o\v zownika%
+\or sma\v znika%
+\or pra\v znika%
+\or \v znjenca%
+\or po\v znjenca%
+\or winowca%
+\or nazymnika%
+\or hodownika%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}%
+\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}}%
+\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}}%
+\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
new file mode 100644
index 00000000000..1e39a806a71
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime/dt-welsh.def
@@ -0,0 +1,80 @@
+%%
+%% This is file `dt-welsh.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime.dtx (with options: `dt-welsh.def,package')
+%%
+%% datetime.dtx
+%% Copyright 2015 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-welsh.def}[2013/09/10]%
+\providecommand*{\ordinaldatewelsh}[1]{%
+#1\ifnum#1=1\/\textsuperscript{a\~n}\fi}%
+\global\let\ordinaldatewelsh\ordinaldatewelsh
+\providecommand{\monthnamewelsh}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\or Ionawr%
+\or Chwefror%
+\or Mawrth%
+\or Ebrill%
+\or Mai%
+\or Mehefin%
+\or Gorffennaf%
+\or Awst%
+\or Medi%
+\or Hydref%
+\or Tachwedd%
+\or Rhagfyr%
+\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 to 12}%
+\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
+ \monthnamewelsh[\@month]\space\number\@year}%
+}%
+\global\let\datewelsh\datewelsh
+\endinput
+%%
+%% End of file `dt-welsh.def'.
--
cgit v1.2.3