summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/datetime2-english/datetime2-english.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/datetime2-english/datetime2-english.dtx')
-rw-r--r--Master/texmf-dist/source/latex/datetime2-english/datetime2-english.dtx135
1 files changed, 113 insertions, 22 deletions
diff --git a/Master/texmf-dist/source/latex/datetime2-english/datetime2-english.dtx b/Master/texmf-dist/source/latex/datetime2-english/datetime2-english.dtx
index 9116cadc19f..0b1376ca17a 100644
--- a/Master/texmf-dist/source/latex/datetime2-english/datetime2-english.dtx
+++ b/Master/texmf-dist/source/latex/datetime2-english/datetime2-english.dtx
@@ -36,7 +36,7 @@
pdftitle={datetime2.sty English Module}]{hyperref}
-\CheckSum{2679}
+\CheckSum{2727}
\renewcommand*{\usage}[1]{\hyperpage{#1}}
\renewcommand*{\main}[1]{\hyperpage{#1}}
@@ -62,7 +62,7 @@
%
%\title{English Module for datetime2 Package}
%\author{Nicola L. C. Talbot}
-%\date{2016-01-23 (v1.03)}
+%\date{2016-03-09 (v1.04)}
%\maketitle
%
%\begin{abstract}
@@ -217,6 +217,10 @@
% \cs{DTMlangsetup} to modify the date-time style. These are:
%
%\begin{description}
+%\item[\opt{dowdaysep}] The separator between the day of week name and the
+%day of month number. This defaults to \cs{space}. Ignored if the
+%\opt{showdow} option is \opt{false}.
+%
%\item[\opt{daymonthsep}] The separator between the day and the month
%name in the \texttt{en-GB} style. This defaults to \cs{space}.
%
@@ -613,7 +617,7 @@
%\changes{1.0}{2015-03-24}{Initial release}
% Identify module
% \begin{macrocode}
-\ProvidesDateTimeModule{english-base}[2016/01/23 v1.03 (NLCT)]
+\ProvidesDateTimeModule{english-base}[2016/03/09 v1.04 (NLCT)]
% \end{macrocode}
% Since the main emphasize of the \sty{datetime2} package is to
% provide expandable dates where possible, the commands here need to
@@ -947,7 +951,7 @@
%
% Identify Module
% \begin{macrocode}
-\ProvidesDateTimeModule{english}[2016/01/23 v1.03 (NLCT)]
+\ProvidesDateTimeModule{english}[2016/03/09 v1.04 (NLCT)]
% \end{macrocode}
% Load the base English module.
% \begin{macrocode}
@@ -1042,7 +1046,7 @@
%\fi
% Identify this module.
% \begin{macrocode}
-\ProvidesDateTimeModule{en-GB}[2016/01/23 v1.03 (NLCT)]
+\ProvidesDateTimeModule{en-GB}[2016/03/09 v1.04 (NLCT)]
% \end{macrocode}
% Load base English module.
% \begin{macrocode}
@@ -1052,6 +1056,16 @@
% Allow the user a way of configuring the "en-GB" and
% "en-GB-numeric" styles. This doesn't use the package wide separators such as
% \cs{dtm@datetimesep} in case other date formats are also required.
+%
+%\begin{macro}{\DTMenGBdowdaysep}
+%\changes{1.04}{2016-03-09}{new}
+% The separator between the day of week name and the day of month
+% number for the text format.
+% \begin{macrocode}
+\newcommand*{\DTMenGBdowdaysep}{\space}
+% \end{macrocode}
+%\end{macro}
+%
%\begin{macro}{\DTMenGBdaymonthsep}
% The separator between the day and month for the text format.
% \begin{macrocode}
@@ -1099,6 +1113,7 @@
%Provide keys that can be used in \cs{DTMlangsetup} to set these
%separators.
% \begin{macrocode}
+\DTMdefkey{en-GB}{dowdaysep}{\renewcommand*{\DTMenGBdowdaysep}{#1}}
\DTMdefkey{en-GB}{daymonthsep}{\renewcommand*{\DTMenGBdaymonthsep}{#1}}
\DTMdefkey{en-GB}{monthyearsep}{\renewcommand*{\DTMenGBmonthyearsep}{#1}}
\DTMdefkey{en-GB}{datetimesep}{\renewcommand*{\DTMenGBdatetimesep}{#1}}
@@ -1184,7 +1199,7 @@
\DTMifbool{en-GB}{abbr}%
{\DTMenglishshortweekdayname{##4}}%
{\DTMenglishweekdayname{##4}}%
- \space
+ \DTMenGBdowdaysep
\fi
\fi
\DTMifbool{en-GB}{showdayofmonth}%
@@ -1358,7 +1373,7 @@
%
% Identify this module.
% \begin{macrocode}
-\ProvidesDateTimeModule{en-US}[2016/01/23 v1.03 (NLCT)]
+\ProvidesDateTimeModule{en-US}[2016/03/09 v1.04 (NLCT)]
% \end{macrocode}
% Load base English module.
% \begin{macrocode}
@@ -1920,7 +1935,7 @@
%
% Identify this module.
% \begin{macrocode}
-\ProvidesDateTimeModule{en-CA}[2016/01/23 v1.03 (NLCT)]
+\ProvidesDateTimeModule{en-CA}[2016/03/09 v1.04 (NLCT)]
% \end{macrocode}
% Load base English module.
% \begin{macrocode}
@@ -2421,7 +2436,7 @@
%
% Identify this module.
% \begin{macrocode}
-\ProvidesDateTimeModule{en-AU}[2016/01/23 v1.03 (NLCT)]
+\ProvidesDateTimeModule{en-AU}[2016/03/09 v1.04 (NLCT)]
% \end{macrocode}
% Load base English module.
% \begin{macrocode}
@@ -2431,6 +2446,16 @@
% Allow the user a way of configuring the "en-AU" and
% "en-AU-numeric" styles. This doesn't use the package wide separators such as
% \cs{dtm@datetimesep} in case other date formats are also required.
+%
+%\begin{macro}{\DTMenAUdowdaysep}
+%\changes{1.04}{2016-03-09}{new}
+% The separator between the day of week name and the day of month number for the
+% text format.
+% \begin{macrocode}
+\newcommand*{\DTMenAUdowdaysep}{\space}
+% \end{macrocode}
+%\end{macro}
+%
%\begin{macro}{\DTMenAUdaymonthsep}
% The separator between the day and month for the text format.
% \begin{macrocode}
@@ -2478,6 +2503,7 @@
%Provide keys that can be used in \cs{DTMlangsetup} to set these
%separators.
% \begin{macrocode}
+\DTMdefkey{en-AU}{dowdaysep}{\renewcommand*{\DTMenAUdowdaysep}{#1}}
\DTMdefkey{en-AU}{daymonthsep}{\renewcommand*{\DTMenAUdaymonthsep}{#1}}
\DTMdefkey{en-AU}{monthyearsep}{\renewcommand*{\DTMenAUmonthyearsep}{#1}}
\DTMdefkey{en-AU}{datetimesep}{\renewcommand*{\DTMenAUdatetimesep}{#1}}
@@ -2637,7 +2663,7 @@
\DTMifbool{en-AU}{abbr}%
{\DTMenglishshortweekdayname{##4}}%
{\DTMenglishweekdayname{##4}}%
- \space
+ \DTMenAUdowdaysep
\fi
\fi
\DTMifbool{en-AU}{showdayofmonth}%
@@ -2931,7 +2957,7 @@
%
% Identify this module.
% \begin{macrocode}
-\ProvidesDateTimeModule{en-NZ}[2016/01/23 v1.03 (NLCT)]
+\ProvidesDateTimeModule{en-NZ}[2016/03/09 v1.04 (NLCT)]
% \end{macrocode}
% Load base English module.
% \begin{macrocode}
@@ -2942,6 +2968,16 @@
% "en-NZ-numeric" styles.
% This doesn't use the package wide separators such as
% \cs{dtm@datetimesep} in case other date formats are also required.
+%
+%\begin{macro}{\DTMenNZdowdaysep}
+%\changes{1.04}{2016-03-09}{new}
+% The separator between the day of week name and the day of month
+% number for the text format.
+% \begin{macrocode}
+\newcommand*{\DTMenNZdowdaysep}{\space}
+% \end{macrocode}
+%\end{macro}
+%
%\begin{macro}{\DTMenNZdaymonthsep}
% The separator between the day and month for the text format.
% \begin{macrocode}
@@ -2989,6 +3025,7 @@
%Provide keys that can be used in \cs{DTMlangsetup} to set these
%separators.
% \begin{macrocode}
+\DTMdefkey{en-NZ}{dowdaysep}{\renewcommand*{\DTMenNZdowdaysep}{#1}}
\DTMdefkey{en-NZ}{daymonthsep}{\renewcommand*{\DTMenNZdaymonthsep}{#1}}
\DTMdefkey{en-NZ}{monthyearsep}{\renewcommand*{\DTMenNZmonthyearsep}{#1}}
\DTMdefkey{en-NZ}{datetimesep}{\renewcommand*{\DTMenNZdatetimesep}{#1}}
@@ -3074,7 +3111,7 @@
\DTMifbool{en-NZ}{abbr}%
{\DTMenglishshortweekdayname{##4}}%
{\DTMenglishweekdayname{##4}}%
- \space
+ \DTMenNZdowdaysep
\fi
\fi
\DTMifbool{en-NZ}{showdayofmonth}%
@@ -3249,7 +3286,7 @@
%
% Identify this module.
% \begin{macrocode}
-\ProvidesDateTimeModule{en-GG}[2016/01/23 v1.03 (NLCT)]
+\ProvidesDateTimeModule{en-GG}[2016/03/09 v1.04 (NLCT)]
% \end{macrocode}
% Load base English module.
% \begin{macrocode}
@@ -3259,6 +3296,16 @@
% Allow the user a way of configuring the "en-GG" and
% "en-GG-numeric" styles. This doesn't use the package wide separators such as
% \cs{dtm@datetimesep} in case other date formats are also required.
+%
+%\begin{macro}{\DTMenGGdowdaysep}
+%\changes{1.04}{2016-03-09}{new}
+% The separator between the day of week name and the day of month
+% number for the text format.
+% \begin{macrocode}
+\newcommand*{\DTMenGGdowdaysep}{\space}
+% \end{macrocode}
+%\end{macro}
+%
%\begin{macro}{\DTMenGGdaymonthsep}
% The separator between the day and month for the text format.
% \begin{macrocode}
@@ -3306,6 +3353,7 @@
%Provide keys that can be used in \cs{DTMlangsetup} to set these
%separators.
% \begin{macrocode}
+\DTMdefkey{en-GG}{dowdaysep}{\renewcommand*{\DTMenGGdowdaysep}{#1}}
\DTMdefkey{en-GG}{daymonthsep}{\renewcommand*{\DTMenGGdaymonthsep}{#1}}
\DTMdefkey{en-GG}{monthyearsep}{\renewcommand*{\DTMenGGmonthyearsep}{#1}}
\DTMdefkey{en-GG}{datetimesep}{\renewcommand*{\DTMenGGdatetimesep}{#1}}
@@ -3391,7 +3439,7 @@
\DTMifbool{en-GG}{abbr}%
{\DTMenglishshortweekdayname{##4}}%
{\DTMenglishweekdayname{##4}}%
- \space
+ \DTMenGGdowdaysep
\fi
\fi
\DTMifbool{en-GG}{showdayofmonth}%
@@ -3563,7 +3611,7 @@
%
% Identify this module.
% \begin{macrocode}
-\ProvidesDateTimeModule{en-JE}[2016/01/23 v1.03 (NLCT)]
+\ProvidesDateTimeModule{en-JE}[2016/03/09 v1.04 (NLCT)]
% \end{macrocode}
% Load base English module.
% \begin{macrocode}
@@ -3573,6 +3621,16 @@
% Allow the user a way of configuring the "en-JE" and
% "en-JE-numeric" styles. This doesn't use the package wide separators such as
% \cs{dtm@datetimesep} in case other date formats are also required.
+%
+%\begin{macro}{\DTMenJEdowdaysep}
+%\changes{1.04}{2016-03-09}{new}
+% The separator between the day of week name and the day of month
+% number for the text format.
+% \begin{macrocode}
+\newcommand*{\DTMenJEdowdaysep}{\space}
+% \end{macrocode}
+%\end{macro}
+%
%\begin{macro}{\DTMenJEdaymonthsep}
% The separator between the day and month for the text format.
% \begin{macrocode}
@@ -3620,6 +3678,7 @@
%Provide keys that can be used in \cs{DTMlangsetup} to set these
%separators.
% \begin{macrocode}
+\DTMdefkey{en-JE}{dowdaysep}{\renewcommand*{\DTMenJEdowdaysep}{#1}}
\DTMdefkey{en-JE}{daymonthsep}{\renewcommand*{\DTMenJEdaymonthsep}{#1}}
\DTMdefkey{en-JE}{monthyearsep}{\renewcommand*{\DTMenJEmonthyearsep}{#1}}
\DTMdefkey{en-JE}{datetimesep}{\renewcommand*{\DTMenJEdatetimesep}{#1}}
@@ -3705,7 +3764,7 @@
\DTMifbool{en-JE}{abbr}%
{\DTMenglishshortweekdayname{##4}}%
{\DTMenglishweekdayname{##4}}%
- \space
+ \DTMenJEdowdaysep
\fi
\fi
\DTMifbool{en-JE}{showdayofmonth}%
@@ -3877,7 +3936,7 @@
%
% Identify this module.
% \begin{macrocode}
-\ProvidesDateTimeModule{en-IM}[2016/01/23 v1.03 (NLCT)]
+\ProvidesDateTimeModule{en-IM}[2016/03/09 v1.04 (NLCT)]
% \end{macrocode}
% Load base English module.
% \begin{macrocode}
@@ -3887,6 +3946,16 @@
% Allow the user a way of configuring the "en-IM" and
% "en-IM-numeric" styles. This doesn't use the package wide separators such as
% \cs{dtm@datetimesep} in case other date formats are also required.
+%
+%\begin{macro}{\DTMenIMdowdaysep}
+%\changes{1.04}{2016-03-09}{new}
+% The separator between the day of week name and the day of month
+% number for the text format.
+% \begin{macrocode}
+\newcommand*{\DTMenIMdowdaysep}{\space}
+% \end{macrocode}
+%\end{macro}
+%
%\begin{macro}{\DTMenIMdaymonthsep}
% The separator between the day and month for the text format.
% \begin{macrocode}
@@ -3934,6 +4003,7 @@
%Provide keys that can be used in \cs{DTMlangsetup} to set these
%separators.
% \begin{macrocode}
+\DTMdefkey{en-IM}{dowdaysep}{\renewcommand*{\DTMenIMdowdaysep}{#1}}
\DTMdefkey{en-IM}{daymonthsep}{\renewcommand*{\DTMenIMdaymonthsep}{#1}}
\DTMdefkey{en-IM}{monthyearsep}{\renewcommand*{\DTMenIMmonthyearsep}{#1}}
\DTMdefkey{en-IM}{datetimesep}{\renewcommand*{\DTMenIMdatetimesep}{#1}}
@@ -4019,7 +4089,7 @@
\DTMifbool{en-IM}{abbr}%
{\DTMenglishshortweekdayname{##4}}%
{\DTMenglishweekdayname{##4}}%
- \space
+ \DTMenIMdowdaysep
\fi
\fi
\DTMifbool{en-IM}{showdayofmonth}%
@@ -4191,7 +4261,7 @@
%
% Identify this module.
% \begin{macrocode}
-\ProvidesDateTimeModule{en-MT}[2016/01/23 v1.03 (NLCT)]
+\ProvidesDateTimeModule{en-MT}[2016/03/09 v1.04 (NLCT)]
% \end{macrocode}
% Load base English module.
% \begin{macrocode}
@@ -4201,6 +4271,16 @@
% Allow the user a way of configuring the "en-MT" and
% "en-MT-numeric" styles. This doesn't use the package wide separators such as
% \cs{dtm@datetimesep} in case other date formats are also required.
+%
+%\begin{macro}{\DTMenMTdowdaysep}
+%\changes{1.04}{2016-03-09}{new}
+% The separator between the day of week name and the day of month
+% number for the text format.
+% \begin{macrocode}
+\newcommand*{\DTMenMTdowdaysep}{\space}
+% \end{macrocode}
+%\end{macro}
+%
%\begin{macro}{\DTMenMTdaymonthsep}
% The separator between the day and month for the text format.
% \begin{macrocode}
@@ -4248,6 +4328,7 @@
%Provide keys that can be used in \cs{DTMlangsetup} to set these
%separators.
% \begin{macrocode}
+\DTMdefkey{en-MT}{dowdaysep}{\renewcommand*{\DTMenMTdowdaysep}{#1}}
\DTMdefkey{en-MT}{daymonthsep}{\renewcommand*{\DTMenMTdaymonthsep}{#1}}
\DTMdefkey{en-MT}{monthyearsep}{\renewcommand*{\DTMenMTmonthyearsep}{#1}}
\DTMdefkey{en-MT}{datetimesep}{\renewcommand*{\DTMenMTdatetimesep}{#1}}
@@ -4333,7 +4414,7 @@
\DTMifbool{en-MT}{abbr}%
{\DTMenglishshortweekdayname{##4}}%
{\DTMenglishweekdayname{##4}}%
- \space
+ \DTMenMTdowdaysep
\fi
\fi
\DTMifbool{en-MT}{showdayofmonth}%
@@ -4506,7 +4587,7 @@
%
% Identify this module.
% \begin{macrocode}
-\ProvidesDateTimeModule{en-IE}[2016/01/23 v1.03 (NLCT)]
+\ProvidesDateTimeModule{en-IE}[2016/03/09 v1.04 (NLCT)]
% \end{macrocode}
% Load base English module.
% \begin{macrocode}
@@ -4516,6 +4597,15 @@
% Allow the user a way of configuring the "en-IE" and
% "en-IE-numeric" styles. This doesn't use the package wide separators such as
% \cs{dtm@datetimesep} in case other date formats are also required.
+%
+%\begin{macro}{\DTMenIEdowdaysep}
+%\changes{1.04}{2016-03-09}{new}
+% The separator between the day and month for the text format.
+% \begin{macrocode}
+\newcommand*{\DTMenIEdowdaysep}{\space}
+% \end{macrocode}
+%\end{macro}
+%
%\begin{macro}{\DTMenIEdaymonthsep}
% The separator between the day and month for the text format.
% \begin{macrocode}
@@ -4563,6 +4653,7 @@
%Provide keys that can be used in \cs{DTMlangsetup} to set these
%separators.
% \begin{macrocode}
+\DTMdefkey{en-IE}{dowdaysep}{\renewcommand*{\DTMenIEdowdaysep}{#1}}
\DTMdefkey{en-IE}{daymonthsep}{\renewcommand*{\DTMenIEdaymonthsep}{#1}}
\DTMdefkey{en-IE}{monthyearsep}{\renewcommand*{\DTMenIEmonthyearsep}{#1}}
\DTMdefkey{en-IE}{datetimesep}{\renewcommand*{\DTMenIEdatetimesep}{#1}}
@@ -4648,7 +4739,7 @@
\DTMifbool{en-IE}{abbr}%
{\DTMenglishshortweekdayname{##4}}%
{\DTMenglishweekdayname{##4}}%
- \space
+ \DTMenIEdowdaysep
\fi
\fi
\DTMifbool{en-IE}{showdayofmonth}%