summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/CHANGES5
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/README4
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/datetime2.pdfbin679641 -> 685060 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdfbin72943 -> 72937 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdfbin28801 -> 28801 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdfbin16635 -> 17006 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdfbin62440 -> 62797 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdfbin100517 -> 100517 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdfbin27191 -> 53846 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.tex165
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdfbin5335 -> 7343 bytes
11 files changed, 70 insertions, 104 deletions
diff --git a/Master/texmf-dist/doc/latex/datetime2/CHANGES b/Master/texmf-dist/doc/latex/datetime2/CHANGES
index a978a00e2ce..3435b72e1f0 100644
--- a/Master/texmf-dist/doc/latex/datetime2/CHANGES
+++ b/Master/texmf-dist/doc/latex/datetime2/CHANGES
@@ -1,3 +1,8 @@
+1.5.3 (2018-07-20):
+
+ * Bug fix: removed unwanted \relax inserted in negative time zones
+ for all base numeric styles.
+
1.5.2 (2016-07-12):
* Added \DTMifhasstyle, \DTMifhasdatestyle, \DTMifhastimestyle,
diff --git a/Master/texmf-dist/doc/latex/datetime2/README b/Master/texmf-dist/doc/latex/datetime2/README
index 208bce8ae08..5f393336d87 100644
--- a/Master/texmf-dist/doc/latex/datetime2/README
+++ b/Master/texmf-dist/doc/latex/datetime2/README
@@ -1,6 +1,6 @@
-LaTeX Package : datetime2 v1.5.2
+LaTeX Package : datetime2 v1.5.3
-Last Modified : 2016-07-12
+Last Modified : 2018-07-20
Author : Nicola Talbot
diff --git a/Master/texmf-dist/doc/latex/datetime2/datetime2.pdf b/Master/texmf-dist/doc/latex/datetime2/datetime2.pdf
index 566371182a8..a15e11feb43 100644
--- a/Master/texmf-dist/doc/latex/datetime2/datetime2.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/datetime2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdf
index 475b6986b57..578625e683e 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdf
index e1ffdb55273..02e2ba10da7 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdf
index d951ae6dc0c..3e2c3e54d23 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdf
index de54cef3b2f..b26477e0e40 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdf
index 240315500da..5fd36633352 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdf
index 31fa4321a35..76dbfd1e824 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.tex b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.tex
index 6d11198794e..28d042f7297 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.tex
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.tex
@@ -3,66 +3,82 @@
% to be installed.
% arara: pdflatex
-\documentclass[english]{article}
+\documentclass[english]{report}
\usepackage{datetime2}
%\DTMsetup{showseconds=false,datesep=/,timesep=.}
-\begin{document}
-\DTMsavetimestamp{mydate}{2015-04-01T08:05:00+01:00}
-\DTMsavetimestamp{mydate2}{2015-04-01T08:13:45+01:00}
-
-Default: \DTMnow. \DTMuse{mydate}.
-\typeout{Date-Time (default): \DTMnow. \DTMuse{mydate}.}
-
-\DTMsetstyle{iso}
-
-ISO: \DTMnow. \DTMuse{mydate}.
-\typeout{Date-Time (iso): \DTMnow. \DTMuse{mydate}.}
-
-\DTMsetstyle{pdf}
-
-PDF: \DTMnow. \DTMuse{mydate}.
-\typeout{Date-Time (pdf): \DTMnow. \DTMuse{mydate}.}
-
-\DTMsetstyle{ddmmyyyy}
-
-ddmmyyyy: \DTMnow. \DTMuse{mydate}.
-\typeout{Date-Time (ddmmyyyy): \DTMnow. \DTMuse{mydate}.}
+\newcommand{\testdate}[1]{%
+ \DTMsetstyle{#1}\section{Style `#1'}\par
+ \begin{tabular}{ll}
+ Now: & \DTMnow.\\
+ Positive Time Zone: & \DTMuse{mydate+}\\
+ Negative Time Zone: & \DTMuse{mydate-}\\
+ Zero Time Zone: & \DTMuse{mydate0}
+ \end{tabular}\par
+ \typeout{Date-Time (#1): \DTMnow.}%
+}
-\DTMsetstyle{dmyyyy}
+\newcommand{\testtime}[1]{%
+ \DTMsettimestyle{#1}%
+ \section{#1}\par
+ \begin{tabular}{ll}
+ Now: & \DTMcurrenttime.\\
+ 0 milliseconds: & \DTMusetime{mydate+}.\\
+ 45 milliseconds: & \DTMusetime{mydate2}.\\
+ Noon: & \DTMusetime{noon}.\\
+ Midnight (0hrs): & \DTMusetime{midnight1}.\\
+ Midnight (24hrs): & \DTMusetime{midnight2}.\\
+ Morning: & \DTMusetime{8am}.\\
+ Evening: & \DTMusetime{8pm}.\\
+ Post-Midday: & \DTMusetime{1203}.\\
+ Post-Midnight (24hr): & \DTMusetime{2401}.\\
+ Post-Midnight (0hr): & \DTMusetime{0001}.
+ \end{tabular}\par
+ \typeout{Time (#1): \DTMcurrenttime.
+ \DTMusetime{mydate}.
+ \DTMusetime{mydate2}.
+ \DTMusetime{noon}.
+ \DTMusetime{midnight1}.
+ \DTMusetime{midnight2}.
+ \DTMusetime{8am}.
+ \DTMusetime{8pm}.
+ \DTMusetime{1203}.
+ \DTMusetime{2401}.
+ \DTMusetime{0001}.
+ }%
+}
-dmyyyy: \DTMnow. \DTMuse{mydate}.
-\typeout{Date-Time (dmyyyy): \DTMnow. \DTMuse{mydate}.}
+\begin{document}
+\chapter{Date-Time Styles}
+\DTMsavetimestamp{mydate+}{2015-04-01T08:05:00+01:00}
+\DTMsavetimestamp{mydate-}{2015-04-01T08:05:00-01:00}
+\DTMsavetimestamp{mydate0}{2015-04-01T08:05:00+00:00}
-\DTMsetstyle{dmyy}
+\testdate{default}
-dmyy: \DTMnow. \DTMuse{mydate}.
-\typeout{Date-Time (dmyy): \DTMnow. \DTMuse{mydate}.}
+\testdate{iso}
-\DTMsetstyle{mmddyyyy}
+\testdate{pdf}
-mmddyyyy: \DTMnow. \DTMuse{mydate}.
-\typeout{Date-Time (mmddyyyy): \DTMnow. \DTMuse{mydate}.}
+\testdate{ddmmyyyy}
-\DTMsetstyle{mdyyyy}
+\testdate{dmyyyy}
-mdyyyy: \DTMnow. \DTMuse{mydate}.
-\typeout{Date-Time (mdyyyy): \DTMnow. \DTMuse{mydate}.}
+\testdate{dmyy}
-\DTMsetstyle{mdyy}
+\testdate{mmddyyyy}
-mdyy: \DTMnow. \DTMuse{mydate}.
-\typeout{Date-Time (mdyy): \DTMnow. \DTMuse{mydate}.}
+\testdate{mdyyyy}
-\DTMsetstyle{yyyymd}
+\testdate{mdyy}
-yyyymd: \DTMnow. \DTMuse{mydate}.
-\typeout{Date-Time (yyyymd): \DTMnow. \DTMuse{mydate}.}
+\testdate{yyyymd}
-Testing time styles.
+\chapter{Time Styles}
+\DTMsavetimestamp{mydate2}{2015-04-01T08:13:45+01:00}
\DTMsavetime{noon}{12:00:00}
\DTMsavetime{midnight1}{00:00:00}
\DTMsavetime{midnight2}{24:00:00}
@@ -72,70 +88,15 @@ Testing time styles.
\DTMsavetime{2401}{24:01:00}
\DTMsavetime{0001}{00:01:00}
-\DTMsettimestyle{hmmss}
-
-hmmss: \DTMcurrenttime. \DTMusetime{mydate}.
-\DTMusetime{mydate2}.
-\DTMusetime{noon}.
-\DTMusetime{midnight1}.
-\DTMusetime{midnight2}.
-\DTMusetime{8am}.
-\DTMusetime{8pm}.
-\DTMusetime{1203}.
-\DTMusetime{2401}.
-\DTMusetime{0001}.
-
-\typeout{Time (hmmss): \DTMcurrenttime.
- \DTMusetime{mydate}.
- \DTMusetime{mydate2}.
- \DTMusetime{noon}.
- \DTMusetime{midnight1}.
- \DTMusetime{midnight2}.
- \DTMusetime{8am}.
- \DTMusetime{8pm}.
- \DTMusetime{1203}.
- \DTMusetime{2401}.
- \DTMusetime{0001}.
-}
+\testtime{hmmss}
-\DTMsettimestyle{englishampm}
-ampm: \DTMcurrenttime.
-\DTMusetime{mydate}.
-\DTMusetime{mydate2}.
-\DTMusetime{noon}.
-\DTMusetime{midnight1}.
-\DTMusetime{midnight2}.
-\DTMusetime{8am}.
-\DTMusetime{8pm}.
-\DTMusetime{1203}.
-\DTMusetime{2401}.
-\DTMusetime{0001}.
-
-\typeout{Time (ampm): \DTMcurrenttime.
-\DTMusetime{mydate}.
-\DTMusetime{mydate2}.
-\DTMusetime{noon}.
-\DTMusetime{midnight1}.
-\DTMusetime{midnight2}.
-\DTMusetime{8am}.
-\DTMusetime{8pm}.
-\DTMusetime{1203}.
-\DTMusetime{2401}.
-\DTMusetime{0001}.
-}
+\testtime{englishampm}
\renewcommand*{\DTMenglishampmfmt}[1]{\protect\textsc{#1}}
-(ampm sc) \DTMcurrenttime.
-\DTMusetime{mydate}.
-\DTMusetime{mydate2}.
-\DTMusetime{noon}.
-\DTMusetime{midnight1}.
-\DTMusetime{midnight2}.
-\DTMusetime{8am}.
-\DTMusetime{8pm}.
-\DTMusetime{1203}.
-\DTMusetime{2401}.
-\DTMusetime{0001}.
+\bigskip
+
+(Redefining \verb|\DTMenglishampmfmt| for following test.)
+\testtime{englishampm}
\end{document}
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdf
index 2345f4b2feb..bcf2d0b7eab 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdf
Binary files differ