summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/datetime2-contrib
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-11-23 03:00:33 +0000
committerNorbert Preining <norbert@preining.info>2019-11-23 03:00:33 +0000
commitce62a0079d7ae24531c203f5758502c163280ff7 (patch)
treec51a68421fef887f966f9148939460b1acdea834 /macros/latex/contrib/datetime2-contrib
parent28453b76f5307a4e4f018d469cdd8eb18e7d048b (diff)
CTAN sync 201911230300
Diffstat (limited to 'macros/latex/contrib/datetime2-contrib')
-rw-r--r--macros/latex/contrib/datetime2-contrib/datetime2-serbian/README.md3
-rw-r--r--macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.dtx625
-rw-r--r--macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.ins2
-rw-r--r--macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.pdfbin281516 -> 284366 bytes
4 files changed, 449 insertions, 181 deletions
diff --git a/macros/latex/contrib/datetime2-contrib/datetime2-serbian/README.md b/macros/latex/contrib/datetime2-contrib/datetime2-serbian/README.md
index cacfff42e5..7c46827696 100644
--- a/macros/latex/contrib/datetime2-contrib/datetime2-serbian/README.md
+++ b/macros/latex/contrib/datetime2-contrib/datetime2-serbian/README.md
@@ -3,8 +3,7 @@ Serbian Language Module for datetime2 CTAN Package
**Current maintainer:** Andrej Radović
-**Authors:** Andrej Radović (r.andrej@gmail.com), Nicola L. C. Talbot
-(inactive)
+**Authors:** Andrej Radović (r.andrej@gmail.com), Nicola L. C. Talbot (inactive)
**Licence:** LPPL
diff --git a/macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.dtx b/macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.dtx
index ec37cb4dc1..7147f42dfe 100644
--- a/macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.dtx
+++ b/macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.dtx
@@ -25,7 +25,7 @@
% \iffalse
%<*driver>
\documentclass[11pt]{ltxdoc}
-\CheckSum{3849}
+\CheckSum{3809}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
@@ -79,19 +79,21 @@ hyperindex=false%
\usepackage{textcase}
\usepackage{enumitem}
+\newlist{flushenumerate}{enumerate}{2}
+\setlist[flushenumerate]{nosep,after=\vspace{\baselineskip}}
+\setlist[flushenumerate, 1]{leftmargin=0pt, label=\arabic*}
+\setlist[flushenumerate, 2]{leftmargin=*}
\newlist{optdescription}{description}{1}
\setlist[optdescription]{%
- align=right,
- labelindent=!,
- leftmargin=0pt,
- font=\small\normalfont\ttfamily}
+ align=right,
+ labelindent=!,
+ leftmargin=0pt,
+ font=\small\normalfont\ttfamily}
\usepackage{acronym}
\renewcommand{\acsfont}[1]{{\scshape{#1}}}
\renewcommand*{\aclabelfont}[1]{{\acsfont{#1}}}
-
-
\renewcommand*{\usage}[1]{\hyperpage{#1}}
\renewcommand*{\main}[1]{\hyperpage{#1}}
\IndexPrologue{\section*{\indexname}\markboth{\indexname}{\indexname}}
@@ -103,22 +105,23 @@ hyperindex=false%
\newcommand*{\sty}[1]{{\textsf{#1}}}
\newcommand*{\opt}[1]{\texttt{#1}\index{#1=\texttt{#1}|main}}
-\newcommand*{\subsubsectionopt}[1]{\subsubsection{#1}\index{#1=\texttt{#1}|main}}
+\newcommand*{\subsubsectionopt}[1]{\subsubsection{#1}\index{#1=\texttt{#1}|main
+ }}
\newcommand*{\itemopt}[1]{\item[#1]\index{#1=\texttt{#1}|main}}
\usepackage[final,tracking=true, protrusion=true, expansion=true]{microtype}
\usepackage[drafting=false,
-tocaligned=false,
-dottedtoc=false,
-eulerchapternumbers=false,
-linedheaders=false,
-floatperchapter=false,
-eulermath=false,
-beramono=false,
-palatino=false,
-style=arsclassica,
-nochapters=true%
+ tocaligned=false,
+ dottedtoc=false,
+ eulerchapternumbers=false,
+ linedheaders=false,
+ floatperchapter=false,
+ eulermath=false,
+ beramono=false,
+ palatino=false,
+ style=arsclassica,
+ nochapters=true%
]{classicthesis}
\pagestyle{plain}
@@ -126,16 +129,16 @@ nochapters=true%
\ofoot[]{}% clear the outer footer
\usepackage[%showframe,
-top=3.25cm,bottom=3cm]{geometry}
+ top=3.25cm, bottom=3cm, marginpar=2cm]{geometry}
\defaultfontfeatures{Ligatures=TeX, Scale=MatchLowercase}
\setmainfont{XCharter}[Numbers=OldStyle]
\setmonofont{Inconsolata LGC}
\setsansfont{Fira Sans Book}[%
- Numbers=OldStyle,
- ItalicFont = {Fira Sans Book Italic},
- BoldFont = {Fira Sans SemiBold},
- BoldItalicFont = {Fira Sans SemiBold Italic}]
+ Numbers=OldStyle,
+ ItalicFont = {Fira Sans Book Italic},
+ BoldFont = {Fira Sans SemiBold},
+ BoldItalicFont = {Fira Sans SemiBold Italic}]
\newfontfamily\cyrillicfont{XCharter}
\RecordChanges%
@@ -166,7 +169,7 @@ top=3.25cm,bottom=3cm]{geometry}
% \spacedlowsmallcaps{Nicola L. C. Talbot} \\
% {\textsf{(inactive)}}
%}
-%\date{{\sffamily\scshape 2019-11-11 (v2.0.1)}}
+%\date{{\sffamily\scshape 2019-11-22 (v2.1.0)}}
%\maketitle
%
% \renewcommand{\abstractname}{\normalfont\normalsize\spacedlowsmallcaps{Abstract}}
@@ -190,9 +193,10 @@ top=3.25cm,bottom=3cm]{geometry}
% Added a proper introduction.
%}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
+%\changes{2.1.0}{2019-11-22}{Fixed version string.}
%
% \noindent
-% As of version 2.0, there is support for both Ekavian and Ijekavian
+% As of version 2.0.0, there is support for both Ekavian and Ijekavian
% pronunciation in both Latin and Cyrillic, regions (Serbia, Bosnia and
% Herzegovina, Montenegro), numeric format variants (Roman month ordinals,
% optional leading zeros).
@@ -202,10 +206,15 @@ top=3.25cm,bottom=3cm]{geometry}
% Neither month nor day of week abbreviations are supported.
% These aren't often used within dates in Serbian.
%
-% Currently, there are problems invoking regional styles, but I'm working on
-% fixing those.
-% Regionless styles are fully functional and you may load them as "serbian" and
-% "serbianc".
+% \changes{2.1.0}{2019-11-22}{Mentioned starred \cs{DTMdate}}
+% Thanks to the author of \sty{datetime2}, Dr Nicola L. C. Talbot,
+% \sty{datetime2-serbian} now (since \sty{datetime2} v1.5.5 and
+% \sty{datetime2-serbian} v1.1.0) supports a peculiar aspect of Serbian date
+% formatting: omission of year ordinal's trailing dot when the date is followed
+% by a punctuation mark such as a comma.
+% This is facilitated by the starred versions of \cs{DTMdate} and
+% \cs{DTMDate} --- \cs{DTMdate*} and \cs{DTMDate*}.
+% This is explained better in \autoref{sub:pecs}.
%
% \bigskip
%
@@ -222,10 +231,17 @@ top=3.25cm,bottom=3cm]{geometry}
% I actually tried writing the package by hand, but it was way too tedious.
% Generating most of the package from templates seems like the best way to do
% it.
+%\changes{2.1.0}{2019-11-22}{fixed \acsu{utf-8} shortcut.}
% Along the way, I also wrote a small utility for generating \acsu{ascii} --
-% \acsu{licr} strings from utf-8 strings, and it can be found here:
+% \acsu{licr} strings from \acsu{utf-8} strings, and it can be found here:
% \url{https://gitlab.com/andrejr/utf8_to_licr}.
% I might publish it to CTAN if there is interest.
+%
+% All of Serbian Cyrillic localization strings are also automatically generated
+% from Serbian Latin strings using my
+% \href{https://gitlab.com/andrejr/srtools}{srtools} Python package, available
+% on \href{https://pypi.org/project/srtools/}{PyPI} and
+% \href{https://aur.archlinux.org/packages/python-srtools/}{AUR}.
% }
%
% \tableofcontents
@@ -284,7 +300,7 @@ top=3.25cm,bottom=3cm]{geometry}
%
% \paragraph{Variant 2:}
% Load \sty{babel} and pass the "serbian" or "serbianc" option to the
-% "\documentclass" command (or to \sty{babel} directly).
+% \cs{documentclass} command (or to \sty{babel} directly).
% If you now pass the \opt{useregional} option to \sty{datetime2}, the language
% module suitable to the one specified with \sty{babel} is loaded:
%\begin{verbatim}
@@ -436,9 +452,51 @@ top=3.25cm,bottom=3cm]{geometry}
% \noindent
% уторак, 2. 4. 2019. 8.03 CET \hfill "monthord=arabic" \\
% \liningnums{уторак, 2. IV 2019. 8.03 CET} \hfill "monthord=roman" with
-% "\liningnums" \\
+% \cs{liningnums} \\
% \oldstylenums{уторак, 2. \textsc{iv} 2019. 8.03 CET} \hfill
-% "monthord=romanlsc" with "\oldstylenums"
+% "monthord=romanlsc" with \cs{oldstylenums}
+%
+% \subsection{Peculiarities of Serbian date formatting}\label{sub:pecs}
+% \changes{2.1.0}{2019-11-22}{Mentioned starred \cs{DTMdate}}
+% \marginpar{%
+% All numbers in a date are considered to be ordinals in Serbian.
+% Hence, the dots in Serbian dates aren't seen as mere separators, but
+% ordinal designations.
+% }
+% Date rules in Serbian language feature a dot after the year (the ordinal dot)
+% in \emph{almost} every case.
+% When the date is followed by a punctuation mark, the trailing dot is omitted.
+% When a sentence ends with a date, the date's trailing dot is also omitted, so
+% the sentence ends in a single period (or question or exclamation mark).
+%
+% \smallskip
+% \noindent
+% Here are some examples:
+%
+% \begin{flushenumerate}
+% \item Za 21. 2. 2019. i 3. 10. 2019. smo zakazali okupljanja.
+% \item Prva verzija je izašla 17. 9. 1991, nakon nepune godine razvoja.
+% \item Da li svima odgovara 21. februar 2019?
+% \item Konferencija je održana 6. 8. 2013.
+% \end{flushenumerate}
+%
+% To facilitate this, \sty{datetime2} and \sty{datetime2-serbian} provide
+% starred alternatives for \cs{DTMdate} and \cs{DTMDate}, which omit the
+% trailing dot.
+% Such alternatives for \cs{DTMdisplaydate}, \cs{today}, etc.\ are not
+% possible, since they would prevent said macros from working in expandable
+% contexts (such as \acsu{pdf} bookmarks).
+% It is the primary design feature of these commands to work in expandable
+% contexts.
+% Still, \cs{DTMdate*} and \cs{DTMDate} should cover most of our needs.
+%
+% Now, here's how we'd write example from above:
+%\begin{verbatim}
+% Za \DTMdate{2019-02-21} i \DTMdate{2019-10-03} smo zakazali okupljanja.
+% Prva verzija je izašla \DTMdate*{1991-09-17}, nakon nepune godine razvoja.
+% Da li svima odgovara \DTMdate*{2019-02-21}?
+% Konferencija je održana \DTMdate*{2013-08-06}.
+%\end{verbatim}
%
% \subsection{Other features and settings}
%
@@ -453,7 +511,7 @@ top=3.25cm,bottom=3cm]{geometry}
% package.
%
% \subsubsection{Generic customization of styles}
-% There are a number of settings provided that can be used in "\DTMlangsetup"
+% There are a number of settings provided that can be used in \cs{DTMlangsetup}
% to modify the date-time style.
% These should be present in all "datetime2-*" packages and are present in
% all Serbian regionless and regional styles
@@ -494,7 +552,7 @@ top=3.25cm,bottom=3cm]{geometry}
% Although the keys listed here are \emph{defined} for all variant styles, it
% depends on \sty{datetime2}'s setup and the requested styles whether they're
% \emph{used}. \\
-% For more information about the "\DTMlangsetup" command see the documentation
+% For more information about the \cs{DTMlangsetup} command see the documentation
% of the main \sty{datetime2} package.
%
%
@@ -520,6 +578,7 @@ top=3.25cm,bottom=3cm]{geometry}
% \acro{licr}{\LaTeX{} Internal Character Representation\acroextra{, a set
% of macros that help define non-\acs*{ascii} characters for typesetting in
% \LaTeX{} even in engines that only support \acs*{ascii}.}}
+% \acro{pdf}{Portable Document Format}
% \end{acronym}
% \phantomsection
% \addcontentsline{toc}{section}{Change History}%
@@ -553,7 +612,7 @@ top=3.25cm,bottom=3cm]{geometry}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
%
% \begin{macrocode}
-\ProvidesDateTimeModule{serbian-base}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{serbian-base}[2019/11/22 v2.1.0]
% \end{macrocode}
%
%
@@ -676,7 +735,7 @@ top=3.25cm,bottom=3cm]{geometry}
%}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
% \begin{macrocode}
-\ProvidesDateTimeModule{serbian-base-utf8}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{serbian-base-utf8}[2019/11/22 v2.1.0]
% \end{macrocode}
%
%\subsubsection{Latin month names}
@@ -1120,7 +1179,7 @@ top=3.25cm,bottom=3cm]{geometry}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
%
% \begin{macrocode}
-\ProvidesDateTimeModule{serbian-base-ascii}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{serbian-base-ascii}[2019/11/22 v2.1.0]
% \end{macrocode}
%
%%\subsubsection{Latin month names}
@@ -1556,7 +1615,7 @@ top=3.25cm,bottom=3cm]{geometry}
%}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
% \begin{macrocode}
-\ProvidesDateTimeModule{serbian}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{serbian}[2019/11/22 v2.1.0]
% \end{macrocode}
%\changes{2.0.0}{2019-11-07}{%
% All localization strings loaded from base module.
@@ -1735,13 +1794,9 @@ top=3.25cm,bottom=3cm]{geometry}
% \end{macrocode}
%\end{macro}
%
-%\begin{macro}{\DTMserbianyearordinal}
-% Define the year ordinal format to be used by this style.
-% \begin{macrocode}
- \newcommand*{\DTMserbianyearordinal}[1]{%
- \number#1\DTMserbiandatesep}%
-% \end{macrocode}
-%\end{macro}
+%\changes{2.1.0}{2019-11-22}{%
+% Removed year ordinal macro since year ordinals are handled differently now.
+%}
%\changes{2.0.0}{2019-11-07}{%
% Removed the option to switch between writing systems, since that is
% accomplished by using different regions or regionless styles ("serbian" and
@@ -1828,7 +1883,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{serbian}{showyear}%
{%
\DTMserbianmonthyearsep%
- \DTMserbianyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -1854,7 +1915,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{serbian}{showyear}%
{%
\DTMserbianmonthyearsep%
- \DTMserbianyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -1967,7 +2034,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{serbian}{showyear}%
{%
\DTMserbianmonthyearsep%
- \DTMserbianyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -1985,7 +2058,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{serbian}{showyear}%
{%
\DTMserbianmonthyearsep%
- \DTMserbianyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -2074,9 +2153,10 @@ top=3.25cm,bottom=3cm]{geometry}
{}% do nothing
% \end{macrocode}
%\changes{2.0.1}{2019-11-11}{Fixed non-regional variant for regional code.}
+%\changes{2.1.0}{2019-11-22}{Reverted wrong regional variant changes.}
% \begin{macrocode}
- {\DTMsetstyle{serbian}}%
- {\DTMsetstyle{serbian-numeric}}%
+ {\DTMsetstyle{serbian}}%
+ {\DTMsetstyle{serbian-numeric}}%
}%
}%
% \end{macrocode}
@@ -2102,7 +2182,7 @@ top=3.25cm,bottom=3cm]{geometry}
%}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
% \begin{macrocode}
-\ProvidesDateTimeModule{sr-Latn}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Latn}[2019/11/22 v2.1.0]
% \end{macrocode}
%\changes{2.0.0}{2019-11-07}{%
% All localization strings loaded from base module.
@@ -2281,13 +2361,9 @@ top=3.25cm,bottom=3cm]{geometry}
% \end{macrocode}
%\end{macro}
%
-%\begin{macro}{\DTMsrLatnyearordinal}
-% Define the year ordinal format to be used by this style.
-% \begin{macrocode}
- \newcommand*{\DTMsrLatnyearordinal}[1]{%
- \number#1\DTMsrLatndatesep}%
-% \end{macrocode}
-%\end{macro}
+%\changes{2.1.0}{2019-11-22}{%
+% Removed year ordinal macro since year ordinals are handled differently now.
+%}
%\changes{2.0.0}{2019-11-07}{%
% Removed the option to switch between writing systems, since that is
% accomplished by using different regions or regionless styles ("serbian" and
@@ -2374,7 +2450,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn}{showyear}%
{%
\DTMsrLatnmonthyearsep%
- \DTMsrLatnyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -2400,7 +2482,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn}{showyear}%
{%
\DTMsrLatnmonthyearsep%
- \DTMsrLatnyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -2513,7 +2601,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn}{showyear}%
{%
\DTMsrLatnmonthyearsep%
- \DTMsrLatnyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -2531,7 +2625,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn}{showyear}%
{%
\DTMsrLatnmonthyearsep%
- \DTMsrLatnyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -2620,9 +2720,10 @@ top=3.25cm,bottom=3cm]{geometry}
{}% do nothing
% \end{macrocode}
%\changes{2.0.1}{2019-11-11}{Fixed non-regional variant for regional code.}
+%\changes{2.1.0}{2019-11-22}{Reverted wrong regional variant changes.}
% \begin{macrocode}
- {\DTMsetstyle{serbian}}%
- {\DTMsetstyle{serbian-numeric}}%
+ {\DTMsetstyle{sr-Latn}}%
+ {\DTMsetstyle{sr-Latn-numeric}}%
}%
}%
% \end{macrocode}
@@ -2648,7 +2749,7 @@ top=3.25cm,bottom=3cm]{geometry}
%}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
% \begin{macrocode}
-\ProvidesDateTimeModule{sr-Latn-RS}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Latn-RS}[2019/11/22 v2.1.0]
% \end{macrocode}
%\changes{2.0.0}{2019-11-07}{%
% All localization strings loaded from base module.
@@ -2827,13 +2928,9 @@ top=3.25cm,bottom=3cm]{geometry}
% \end{macrocode}
%\end{macro}
%
-%\begin{macro}{\DTMsrLatnRSyearordinal}
-% Define the year ordinal format to be used by this style.
-% \begin{macrocode}
- \newcommand*{\DTMsrLatnRSyearordinal}[1]{%
- \number#1\DTMsrLatnRSdatesep}%
-% \end{macrocode}
-%\end{macro}
+%\changes{2.1.0}{2019-11-22}{%
+% Removed year ordinal macro since year ordinals are handled differently now.
+%}
%\changes{2.0.0}{2019-11-07}{%
% Removed the option to switch between writing systems, since that is
% accomplished by using different regions or regionless styles ("serbian" and
@@ -2920,7 +3017,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn-RS}{showyear}%
{%
\DTMsrLatnRSmonthyearsep%
- \DTMsrLatnRSyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -2946,7 +3049,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn-RS}{showyear}%
{%
\DTMsrLatnRSmonthyearsep%
- \DTMsrLatnRSyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -3059,7 +3168,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn-RS}{showyear}%
{%
\DTMsrLatnRSmonthyearsep%
- \DTMsrLatnRSyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -3077,7 +3192,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn-RS}{showyear}%
{%
\DTMsrLatnRSmonthyearsep%
- \DTMsrLatnRSyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -3166,9 +3287,10 @@ top=3.25cm,bottom=3cm]{geometry}
{}% do nothing
% \end{macrocode}
%\changes{2.0.1}{2019-11-11}{Fixed non-regional variant for regional code.}
+%\changes{2.1.0}{2019-11-22}{Reverted wrong regional variant changes.}
% \begin{macrocode}
- {\DTMsetstyle{serbian}}%
- {\DTMsetstyle{serbian-numeric}}%
+ {\DTMsetstyle{sr-Latn-RS}}%
+ {\DTMsetstyle{sr-Latn-RS-numeric}}%
}%
}%
% \end{macrocode}
@@ -3194,7 +3316,7 @@ top=3.25cm,bottom=3cm]{geometry}
%}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
% \begin{macrocode}
-\ProvidesDateTimeModule{sr-Latn-ME}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Latn-ME}[2019/11/22 v2.1.0]
% \end{macrocode}
%\changes{2.0.0}{2019-11-07}{%
% All localization strings loaded from base module.
@@ -3373,13 +3495,9 @@ top=3.25cm,bottom=3cm]{geometry}
% \end{macrocode}
%\end{macro}
%
-%\begin{macro}{\DTMsrLatnMEyearordinal}
-% Define the year ordinal format to be used by this style.
-% \begin{macrocode}
- \newcommand*{\DTMsrLatnMEyearordinal}[1]{%
- \number#1\DTMsrLatnMEdatesep}%
-% \end{macrocode}
-%\end{macro}
+%\changes{2.1.0}{2019-11-22}{%
+% Removed year ordinal macro since year ordinals are handled differently now.
+%}
%\changes{2.0.0}{2019-11-07}{%
% Removed the option to switch between writing systems, since that is
% accomplished by using different regions or regionless styles ("serbian" and
@@ -3466,7 +3584,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn-ME}{showyear}%
{%
\DTMsrLatnMEmonthyearsep%
- \DTMsrLatnMEyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -3492,7 +3616,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn-ME}{showyear}%
{%
\DTMsrLatnMEmonthyearsep%
- \DTMsrLatnMEyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -3605,7 +3735,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn-ME}{showyear}%
{%
\DTMsrLatnMEmonthyearsep%
- \DTMsrLatnMEyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -3623,7 +3759,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn-ME}{showyear}%
{%
\DTMsrLatnMEmonthyearsep%
- \DTMsrLatnMEyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -3712,9 +3854,10 @@ top=3.25cm,bottom=3cm]{geometry}
{}% do nothing
% \end{macrocode}
%\changes{2.0.1}{2019-11-11}{Fixed non-regional variant for regional code.}
+%\changes{2.1.0}{2019-11-22}{Reverted wrong regional variant changes.}
% \begin{macrocode}
- {\DTMsetstyle{serbian}}%
- {\DTMsetstyle{serbian-numeric}}%
+ {\DTMsetstyle{sr-Latn-ME}}%
+ {\DTMsetstyle{sr-Latn-ME-numeric}}%
}%
}%
% \end{macrocode}
@@ -3740,7 +3883,7 @@ top=3.25cm,bottom=3cm]{geometry}
%}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
% \begin{macrocode}
-\ProvidesDateTimeModule{sr-Latn-BA}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Latn-BA}[2019/11/22 v2.1.0]
% \end{macrocode}
%\changes{2.0.0}{2019-11-07}{%
% All localization strings loaded from base module.
@@ -3919,13 +4062,9 @@ top=3.25cm,bottom=3cm]{geometry}
% \end{macrocode}
%\end{macro}
%
-%\begin{macro}{\DTMsrLatnBAyearordinal}
-% Define the year ordinal format to be used by this style.
-% \begin{macrocode}
- \newcommand*{\DTMsrLatnBAyearordinal}[1]{%
- \number#1\DTMsrLatnBAdatesep}%
-% \end{macrocode}
-%\end{macro}
+%\changes{2.1.0}{2019-11-22}{%
+% Removed year ordinal macro since year ordinals are handled differently now.
+%}
%\changes{2.0.0}{2019-11-07}{%
% Removed the option to switch between writing systems, since that is
% accomplished by using different regions or regionless styles ("serbian" and
@@ -4012,7 +4151,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn-BA}{showyear}%
{%
\DTMsrLatnBAmonthyearsep%
- \DTMsrLatnBAyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -4038,7 +4183,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn-BA}{showyear}%
{%
\DTMsrLatnBAmonthyearsep%
- \DTMsrLatnBAyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -4151,7 +4302,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn-BA}{showyear}%
{%
\DTMsrLatnBAmonthyearsep%
- \DTMsrLatnBAyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -4169,7 +4326,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Latn-BA}{showyear}%
{%
\DTMsrLatnBAmonthyearsep%
- \DTMsrLatnBAyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -4258,9 +4421,10 @@ top=3.25cm,bottom=3cm]{geometry}
{}% do nothing
% \end{macrocode}
%\changes{2.0.1}{2019-11-11}{Fixed non-regional variant for regional code.}
+%\changes{2.1.0}{2019-11-22}{Reverted wrong regional variant changes.}
% \begin{macrocode}
- {\DTMsetstyle{serbian}}%
- {\DTMsetstyle{serbian-numeric}}%
+ {\DTMsetstyle{sr-Latn-BA}}%
+ {\DTMsetstyle{sr-Latn-BA-numeric}}%
}%
}%
% \end{macrocode}
@@ -4286,7 +4450,7 @@ top=3.25cm,bottom=3cm]{geometry}
%}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
% \begin{macrocode}
-\ProvidesDateTimeModule{serbianc}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{serbianc}[2019/11/22 v2.1.0]
% \end{macrocode}
%\changes{2.0.0}{2019-11-07}{%
% All localization strings loaded from base module.
@@ -4465,13 +4629,9 @@ top=3.25cm,bottom=3cm]{geometry}
% \end{macrocode}
%\end{macro}
%
-%\begin{macro}{\DTMserbiancyearordinal}
-% Define the year ordinal format to be used by this style.
-% \begin{macrocode}
- \newcommand*{\DTMserbiancyearordinal}[1]{%
- \number#1\DTMserbiancdatesep}%
-% \end{macrocode}
-%\end{macro}
+%\changes{2.1.0}{2019-11-22}{%
+% Removed year ordinal macro since year ordinals are handled differently now.
+%}
%\changes{2.0.0}{2019-11-07}{%
% Removed the option to switch between writing systems, since that is
% accomplished by using different regions or regionless styles ("serbian" and
@@ -4558,7 +4718,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{serbianc}{showyear}%
{%
\DTMserbiancmonthyearsep%
- \DTMserbiancyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -4584,7 +4750,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{serbianc}{showyear}%
{%
\DTMserbiancmonthyearsep%
- \DTMserbiancyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -4697,7 +4869,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{serbianc}{showyear}%
{%
\DTMserbiancmonthyearsep%
- \DTMserbiancyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -4715,7 +4893,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{serbianc}{showyear}%
{%
\DTMserbiancmonthyearsep%
- \DTMserbiancyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -4804,9 +4988,10 @@ top=3.25cm,bottom=3cm]{geometry}
{}% do nothing
% \end{macrocode}
%\changes{2.0.1}{2019-11-11}{Fixed non-regional variant for regional code.}
+%\changes{2.1.0}{2019-11-22}{Reverted wrong regional variant changes.}
% \begin{macrocode}
- {\DTMsetstyle{serbianc}}%
- {\DTMsetstyle{serbianc-numeric}}%
+ {\DTMsetstyle{serbianc}}%
+ {\DTMsetstyle{serbianc-numeric}}%
}%
}%
% \end{macrocode}
@@ -4832,7 +5017,7 @@ top=3.25cm,bottom=3cm]{geometry}
%}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
% \begin{macrocode}
-\ProvidesDateTimeModule{sr-Cyrl}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Cyrl}[2019/11/22 v2.1.0]
% \end{macrocode}
%\changes{2.0.0}{2019-11-07}{%
% All localization strings loaded from base module.
@@ -5011,13 +5196,9 @@ top=3.25cm,bottom=3cm]{geometry}
% \end{macrocode}
%\end{macro}
%
-%\begin{macro}{\DTMsrCyrlyearordinal}
-% Define the year ordinal format to be used by this style.
-% \begin{macrocode}
- \newcommand*{\DTMsrCyrlyearordinal}[1]{%
- \number#1\DTMsrCyrldatesep}%
-% \end{macrocode}
-%\end{macro}
+%\changes{2.1.0}{2019-11-22}{%
+% Removed year ordinal macro since year ordinals are handled differently now.
+%}
%\changes{2.0.0}{2019-11-07}{%
% Removed the option to switch between writing systems, since that is
% accomplished by using different regions or regionless styles ("serbian" and
@@ -5104,7 +5285,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl}{showyear}%
{%
\DTMsrCyrlmonthyearsep%
- \DTMsrCyrlyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -5130,7 +5317,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl}{showyear}%
{%
\DTMsrCyrlmonthyearsep%
- \DTMsrCyrlyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -5243,7 +5436,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl}{showyear}%
{%
\DTMsrCyrlmonthyearsep%
- \DTMsrCyrlyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -5261,7 +5460,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl}{showyear}%
{%
\DTMsrCyrlmonthyearsep%
- \DTMsrCyrlyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -5350,9 +5555,10 @@ top=3.25cm,bottom=3cm]{geometry}
{}% do nothing
% \end{macrocode}
%\changes{2.0.1}{2019-11-11}{Fixed non-regional variant for regional code.}
+%\changes{2.1.0}{2019-11-22}{Reverted wrong regional variant changes.}
% \begin{macrocode}
- {\DTMsetstyle{serbianc}}%
- {\DTMsetstyle{serbianc-numeric}}%
+ {\DTMsetstyle{sr-Cyrl}}%
+ {\DTMsetstyle{sr-Cyrl-numeric}}%
}%
}%
% \end{macrocode}
@@ -5378,7 +5584,7 @@ top=3.25cm,bottom=3cm]{geometry}
%}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
% \begin{macrocode}
-\ProvidesDateTimeModule{sr-Cyrl-RS}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Cyrl-RS}[2019/11/22 v2.1.0]
% \end{macrocode}
%\changes{2.0.0}{2019-11-07}{%
% All localization strings loaded from base module.
@@ -5557,13 +5763,9 @@ top=3.25cm,bottom=3cm]{geometry}
% \end{macrocode}
%\end{macro}
%
-%\begin{macro}{\DTMsrCyrlRSyearordinal}
-% Define the year ordinal format to be used by this style.
-% \begin{macrocode}
- \newcommand*{\DTMsrCyrlRSyearordinal}[1]{%
- \number#1\DTMsrCyrlRSdatesep}%
-% \end{macrocode}
-%\end{macro}
+%\changes{2.1.0}{2019-11-22}{%
+% Removed year ordinal macro since year ordinals are handled differently now.
+%}
%\changes{2.0.0}{2019-11-07}{%
% Removed the option to switch between writing systems, since that is
% accomplished by using different regions or regionless styles ("serbian" and
@@ -5650,7 +5852,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl-RS}{showyear}%
{%
\DTMsrCyrlRSmonthyearsep%
- \DTMsrCyrlRSyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -5676,7 +5884,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl-RS}{showyear}%
{%
\DTMsrCyrlRSmonthyearsep%
- \DTMsrCyrlRSyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -5789,7 +6003,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl-RS}{showyear}%
{%
\DTMsrCyrlRSmonthyearsep%
- \DTMsrCyrlRSyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -5807,7 +6027,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl-RS}{showyear}%
{%
\DTMsrCyrlRSmonthyearsep%
- \DTMsrCyrlRSyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -5896,9 +6122,10 @@ top=3.25cm,bottom=3cm]{geometry}
{}% do nothing
% \end{macrocode}
%\changes{2.0.1}{2019-11-11}{Fixed non-regional variant for regional code.}
+%\changes{2.1.0}{2019-11-22}{Reverted wrong regional variant changes.}
% \begin{macrocode}
- {\DTMsetstyle{serbianc}}%
- {\DTMsetstyle{serbianc-numeric}}%
+ {\DTMsetstyle{sr-Cyrl-RS}}%
+ {\DTMsetstyle{sr-Cyrl-RS-numeric}}%
}%
}%
% \end{macrocode}
@@ -5924,7 +6151,7 @@ top=3.25cm,bottom=3cm]{geometry}
%}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
% \begin{macrocode}
-\ProvidesDateTimeModule{sr-Cyrl-ME}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Cyrl-ME}[2019/11/22 v2.1.0]
% \end{macrocode}
%\changes{2.0.0}{2019-11-07}{%
% All localization strings loaded from base module.
@@ -6103,13 +6330,9 @@ top=3.25cm,bottom=3cm]{geometry}
% \end{macrocode}
%\end{macro}
%
-%\begin{macro}{\DTMsrCyrlMEyearordinal}
-% Define the year ordinal format to be used by this style.
-% \begin{macrocode}
- \newcommand*{\DTMsrCyrlMEyearordinal}[1]{%
- \number#1\DTMsrCyrlMEdatesep}%
-% \end{macrocode}
-%\end{macro}
+%\changes{2.1.0}{2019-11-22}{%
+% Removed year ordinal macro since year ordinals are handled differently now.
+%}
%\changes{2.0.0}{2019-11-07}{%
% Removed the option to switch between writing systems, since that is
% accomplished by using different regions or regionless styles ("serbian" and
@@ -6196,7 +6419,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl-ME}{showyear}%
{%
\DTMsrCyrlMEmonthyearsep%
- \DTMsrCyrlMEyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -6222,7 +6451,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl-ME}{showyear}%
{%
\DTMsrCyrlMEmonthyearsep%
- \DTMsrCyrlMEyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -6335,7 +6570,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl-ME}{showyear}%
{%
\DTMsrCyrlMEmonthyearsep%
- \DTMsrCyrlMEyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -6353,7 +6594,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl-ME}{showyear}%
{%
\DTMsrCyrlMEmonthyearsep%
- \DTMsrCyrlMEyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -6442,9 +6689,10 @@ top=3.25cm,bottom=3cm]{geometry}
{}% do nothing
% \end{macrocode}
%\changes{2.0.1}{2019-11-11}{Fixed non-regional variant for regional code.}
+%\changes{2.1.0}{2019-11-22}{Reverted wrong regional variant changes.}
% \begin{macrocode}
- {\DTMsetstyle{serbianc}}%
- {\DTMsetstyle{serbianc-numeric}}%
+ {\DTMsetstyle{sr-Cyrl-ME}}%
+ {\DTMsetstyle{sr-Cyrl-ME-numeric}}%
}%
}%
% \end{macrocode}
@@ -6470,7 +6718,7 @@ top=3.25cm,bottom=3cm]{geometry}
%}
%\changes{2.0.1}{2019-11-11}{Adopted semantic versioning.}
% \begin{macrocode}
-\ProvidesDateTimeModule{sr-Cyrl-BA}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Cyrl-BA}[2019/11/22 v2.1.0]
% \end{macrocode}
%\changes{2.0.0}{2019-11-07}{%
% All localization strings loaded from base module.
@@ -6649,13 +6897,9 @@ top=3.25cm,bottom=3cm]{geometry}
% \end{macrocode}
%\end{macro}
%
-%\begin{macro}{\DTMsrCyrlBAyearordinal}
-% Define the year ordinal format to be used by this style.
-% \begin{macrocode}
- \newcommand*{\DTMsrCyrlBAyearordinal}[1]{%
- \number#1\DTMsrCyrlBAdatesep}%
-% \end{macrocode}
-%\end{macro}
+%\changes{2.1.0}{2019-11-22}{%
+% Removed year ordinal macro since year ordinals are handled differently now.
+%}
%\changes{2.0.0}{2019-11-07}{%
% Removed the option to switch between writing systems, since that is
% accomplished by using different regions or regionless styles ("serbian" and
@@ -6742,7 +6986,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl-BA}{showyear}%
{%
\DTMsrCyrlBAmonthyearsep%
- \DTMsrCyrlBAyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -6768,7 +7018,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl-BA}{showyear}%
{%
\DTMsrCyrlBAmonthyearsep%
- \DTMsrCyrlBAyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -6881,7 +7137,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl-BA}{showyear}%
{%
\DTMsrCyrlBAmonthyearsep%
- \DTMsrCyrlBAyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -6899,7 +7161,13 @@ top=3.25cm,bottom=3cm]{geometry}
\DTMifbool{sr-Cyrl-BA}{showyear}%
{%
\DTMsrCyrlBAmonthyearsep%
- \DTMsrCyrlBAyearordinal{##1}%
+% \end{macrocode}
+%\changes{2.1.0}{2019-11-22}{%
+% Adapted the code to omit the final dot on starred version of \cs{DTMdate}
+% and \cs{DTMDate}. Thanks Nicola!
+%}
+% \begin{macrocode}
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -6988,9 +7256,10 @@ top=3.25cm,bottom=3cm]{geometry}
{}% do nothing
% \end{macrocode}
%\changes{2.0.1}{2019-11-11}{Fixed non-regional variant for regional code.}
+%\changes{2.1.0}{2019-11-22}{Reverted wrong regional variant changes.}
% \begin{macrocode}
- {\DTMsetstyle{serbianc}}%
- {\DTMsetstyle{serbianc-numeric}}%
+ {\DTMsetstyle{sr-Cyrl-BA}}%
+ {\DTMsetstyle{sr-Cyrl-BA-numeric}}%
}%
}%
% \end{macrocode}
diff --git a/macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.ins b/macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.ins
index 7825ac0082..b0fbe7e17f 100644
--- a/macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.ins
+++ b/macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.ins
@@ -183,4 +183,4 @@
}%
}
-\endbatchfile
+\endbatchfile \ No newline at end of file
diff --git a/macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.pdf b/macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.pdf
index 22091a637a..1ae7d32bb2 100644
--- a/macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.pdf
+++ b/macros/latex/contrib/datetime2-contrib/datetime2-serbian/datetime2-serbian.pdf
Binary files differ