summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-22 22:20:04 +0000
committerKarl Berry <karl@freefriends.org>2019-11-22 22:20:04 +0000
commit900a0d425df1c460eace46e1a8b2f1a4602232ed (patch)
tree3a323055fa3786225cadf50736aa7f2295dc4790 /Master
parent22795003e66903d4206e43046c1d414a111ee5e3 (diff)
datetime2-serbian (22nov19)
git-svn-id: svn://tug.org/texlive/trunk@52893 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/datetime2-serbian/README.md3
-rw-r--r--Master/texmf-dist/doc/latex/datetime2-serbian/datetime2-serbian.pdfbin281516 -> 284366 bytes
-rw-r--r--Master/texmf-dist/source/latex/datetime2-serbian/datetime2-serbian.dtx625
-rw-r--r--Master/texmf-dist/source/latex/datetime2-serbian/datetime2-serbian.ins2
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base-ascii.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base-utf8.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian.ldf16
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbianc.ldf16
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-BA.ldf16
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-ME.ldf16
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-RS.ldf16
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl.ldf16
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-BA.ldf16
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-ME.ldf16
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-RS.ldf16
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn.ldf16
17 files changed, 522 insertions, 274 deletions
diff --git a/Master/texmf-dist/doc/latex/datetime2-serbian/README.md b/Master/texmf-dist/doc/latex/datetime2-serbian/README.md
index cacfff42e5e..7c46827696f 100644
--- a/Master/texmf-dist/doc/latex/datetime2-serbian/README.md
+++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/datetime2-serbian/datetime2-serbian.pdf b/Master/texmf-dist/doc/latex/datetime2-serbian/datetime2-serbian.pdf
index 22091a637ac..1ae7d32bb20 100644
--- a/Master/texmf-dist/doc/latex/datetime2-serbian/datetime2-serbian.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2-serbian/datetime2-serbian.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/datetime2-serbian/datetime2-serbian.dtx b/Master/texmf-dist/source/latex/datetime2-serbian/datetime2-serbian.dtx
index ec37cb4dc13..7147f42dfea 100644
--- a/Master/texmf-dist/source/latex/datetime2-serbian/datetime2-serbian.dtx
+++ b/Master/texmf-dist/source/latex/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/Master/texmf-dist/source/latex/datetime2-serbian/datetime2-serbian.ins b/Master/texmf-dist/source/latex/datetime2-serbian/datetime2-serbian.ins
index 7825ac00824..b0fbe7e17f5 100644
--- a/Master/texmf-dist/source/latex/datetime2-serbian/datetime2-serbian.ins
+++ b/Master/texmf-dist/source/latex/datetime2-serbian/datetime2-serbian.ins
@@ -183,4 +183,4 @@
}%
}
-\endbatchfile
+\endbatchfile \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base-ascii.ldf
index 3103d1a7b27..af23f3039c4 100644
--- a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base-ascii.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base-ascii.ldf
@@ -54,7 +54,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{serbian-base-ascii}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{serbian-base-ascii}[2019/11/22 v2.1.0]
%%\subsubsection{Latin month names}
\newcommand*{\DTMserbianlatnoimonthname}[1]{%
\ifcase#1
diff --git a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base-utf8.ldf
index e4030101ef8..1f4447a49be 100644
--- a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base-utf8.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base-utf8.ldf
@@ -54,7 +54,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{serbian-base-utf8}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{serbian-base-utf8}[2019/11/22 v2.1.0]
\newcommand*{\DTMserbianlatnoimonthname}[1]{%
\ifcase#1
\or%
diff --git a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base.ldf b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base.ldf
index 84c7d675450..bec9dad5d87 100644
--- a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian-base.ldf
@@ -54,7 +54,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{serbian-base}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{serbian-base}[2019/11/22 v2.1.0]
\newcommand*{\DTMserbianordinalROMAN}[1]{%
\ifcase#1
\or%
diff --git a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian.ldf b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian.ldf
index aadb5b5bd7e..5e19edacc49 100644
--- a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbian.ldf
@@ -54,7 +54,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{serbian}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{serbian}[2019/11/22 v2.1.0]
\RequireDateTimeModule{serbian-base}
\newcommand*{\DTMserbiandowdaysep}{,\space}
\newcommand*{\DTMserbiandaymonthsep}{%
@@ -108,8 +108,6 @@
\DTMifbool{serbian}{leadingzero}%
{\DTMtwodigits{#1}}%
{\number#1}\DTMserbiandatesep}%
- \newcommand*{\DTMserbianyearordinal}[1]{%
- \number#1\DTMserbiandatesep}%
\newcommand*{\DTMserbiannoimonthname}{\DTMserbianlatnoimonthname}
\newcommand*{\DTMserbiannoiMonthname}{\DTMserbianlatnoiMonthname}
\newcommand*{\DTMserbianimonthname}{\DTMserbianlatimonthname}
@@ -139,7 +137,7 @@
\DTMifbool{serbian}{showyear}%
{%
\DTMserbianmonthyearsep%
- \DTMserbianyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -165,7 +163,7 @@
\DTMifbool{serbian}{showyear}%
{%
\DTMserbianmonthyearsep%
- \DTMserbianyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -249,7 +247,7 @@
\DTMifbool{serbian}{showyear}%
{%
\DTMserbianmonthyearsep%
- \DTMserbianyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -267,7 +265,7 @@
\DTMifbool{serbian}{showyear}%
{%
\DTMserbianmonthyearsep%
- \DTMserbianyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -332,8 +330,8 @@
\csdef{date\CurrentTrackedDialect}{%
\DTMifcaseregional%
{}% do nothing
- {\DTMsetstyle{serbian}}%
- {\DTMsetstyle{serbian-numeric}}%
+ {\DTMsetstyle{serbian}}%
+ {\DTMsetstyle{serbian-numeric}}%
}%
}%
\endinput
diff --git a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbianc.ldf b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbianc.ldf
index d5c7cce66ea..5abbe015dda 100644
--- a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbianc.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-serbianc.ldf
@@ -54,7 +54,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{serbianc}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{serbianc}[2019/11/22 v2.1.0]
\RequireDateTimeModule{serbian-base}
\newcommand*{\DTMserbiancdowdaysep}{,\space}
\newcommand*{\DTMserbiancdaymonthsep}{%
@@ -108,8 +108,6 @@
\DTMifbool{serbianc}{leadingzero}%
{\DTMtwodigits{#1}}%
{\number#1}\DTMserbiancdatesep}%
- \newcommand*{\DTMserbiancyearordinal}[1]{%
- \number#1\DTMserbiancdatesep}%
\newcommand*{\DTMserbiancnoimonthname}{\DTMserbiancyrnoimonthname}
\newcommand*{\DTMserbiancnoiMonthname}{\DTMserbiancyrnoiMonthname}
\newcommand*{\DTMserbiancimonthname}{\DTMserbiancyrimonthname}
@@ -139,7 +137,7 @@
\DTMifbool{serbianc}{showyear}%
{%
\DTMserbiancmonthyearsep%
- \DTMserbiancyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -165,7 +163,7 @@
\DTMifbool{serbianc}{showyear}%
{%
\DTMserbiancmonthyearsep%
- \DTMserbiancyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -249,7 +247,7 @@
\DTMifbool{serbianc}{showyear}%
{%
\DTMserbiancmonthyearsep%
- \DTMserbiancyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -267,7 +265,7 @@
\DTMifbool{serbianc}{showyear}%
{%
\DTMserbiancmonthyearsep%
- \DTMserbiancyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -332,8 +330,8 @@
\csdef{date\CurrentTrackedDialect}{%
\DTMifcaseregional%
{}% do nothing
- {\DTMsetstyle{serbianc}}%
- {\DTMsetstyle{serbianc-numeric}}%
+ {\DTMsetstyle{serbianc}}%
+ {\DTMsetstyle{serbianc-numeric}}%
}%
}%
\endinput
diff --git a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-BA.ldf b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-BA.ldf
index b58e07759eb..ff97c5a470a 100644
--- a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-BA.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-BA.ldf
@@ -54,7 +54,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{sr-Cyrl-BA}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Cyrl-BA}[2019/11/22 v2.1.0]
\RequireDateTimeModule{serbianc}
\newcommand*{\DTMsrCyrlBAdowdaysep}{,\space}
\newcommand*{\DTMsrCyrlBAdaymonthsep}{%
@@ -108,8 +108,6 @@
\DTMifbool{sr-Cyrl-BA}{leadingzero}%
{\DTMtwodigits{#1}}%
{\number#1}\DTMsrCyrlBAdatesep}%
- \newcommand*{\DTMsrCyrlBAyearordinal}[1]{%
- \number#1\DTMsrCyrlBAdatesep}%
\newcommand*{\DTMsrCyrlBAnoimonthname}{\DTMserbiancyrnoimonthname}
\newcommand*{\DTMsrCyrlBAnoiMonthname}{\DTMserbiancyrnoiMonthname}
\newcommand*{\DTMsrCyrlBAimonthname}{\DTMserbiancyrimonthname}
@@ -139,7 +137,7 @@
\DTMifbool{sr-Cyrl-BA}{showyear}%
{%
\DTMsrCyrlBAmonthyearsep%
- \DTMsrCyrlBAyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -165,7 +163,7 @@
\DTMifbool{sr-Cyrl-BA}{showyear}%
{%
\DTMsrCyrlBAmonthyearsep%
- \DTMsrCyrlBAyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -249,7 +247,7 @@
\DTMifbool{sr-Cyrl-BA}{showyear}%
{%
\DTMsrCyrlBAmonthyearsep%
- \DTMsrCyrlBAyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -267,7 +265,7 @@
\DTMifbool{sr-Cyrl-BA}{showyear}%
{%
\DTMsrCyrlBAmonthyearsep%
- \DTMsrCyrlBAyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -332,8 +330,8 @@
\csdef{date\CurrentTrackedDialect}{%
\DTMifcaseregional%
{}% do nothing
- {\DTMsetstyle{serbianc}}%
- {\DTMsetstyle{serbianc-numeric}}%
+ {\DTMsetstyle{sr-Cyrl-BA}}%
+ {\DTMsetstyle{sr-Cyrl-BA-numeric}}%
}%
}%
\endinput
diff --git a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-ME.ldf b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-ME.ldf
index b513db28161..a36d717c597 100644
--- a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-ME.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-ME.ldf
@@ -54,7 +54,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{sr-Cyrl-ME}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Cyrl-ME}[2019/11/22 v2.1.0]
\RequireDateTimeModule{serbianc}
\newcommand*{\DTMsrCyrlMEdowdaysep}{,\space}
\newcommand*{\DTMsrCyrlMEdaymonthsep}{%
@@ -108,8 +108,6 @@
\DTMifbool{sr-Cyrl-ME}{leadingzero}%
{\DTMtwodigits{#1}}%
{\number#1}\DTMsrCyrlMEdatesep}%
- \newcommand*{\DTMsrCyrlMEyearordinal}[1]{%
- \number#1\DTMsrCyrlMEdatesep}%
\newcommand*{\DTMsrCyrlMEnoimonthname}{\DTMserbiancyrnoimonthname}
\newcommand*{\DTMsrCyrlMEnoiMonthname}{\DTMserbiancyrnoiMonthname}
\newcommand*{\DTMsrCyrlMEimonthname}{\DTMserbiancyrimonthname}
@@ -139,7 +137,7 @@
\DTMifbool{sr-Cyrl-ME}{showyear}%
{%
\DTMsrCyrlMEmonthyearsep%
- \DTMsrCyrlMEyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -165,7 +163,7 @@
\DTMifbool{sr-Cyrl-ME}{showyear}%
{%
\DTMsrCyrlMEmonthyearsep%
- \DTMsrCyrlMEyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -249,7 +247,7 @@
\DTMifbool{sr-Cyrl-ME}{showyear}%
{%
\DTMsrCyrlMEmonthyearsep%
- \DTMsrCyrlMEyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -267,7 +265,7 @@
\DTMifbool{sr-Cyrl-ME}{showyear}%
{%
\DTMsrCyrlMEmonthyearsep%
- \DTMsrCyrlMEyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -332,8 +330,8 @@
\csdef{date\CurrentTrackedDialect}{%
\DTMifcaseregional%
{}% do nothing
- {\DTMsetstyle{serbianc}}%
- {\DTMsetstyle{serbianc-numeric}}%
+ {\DTMsetstyle{sr-Cyrl-ME}}%
+ {\DTMsetstyle{sr-Cyrl-ME-numeric}}%
}%
}%
\endinput
diff --git a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-RS.ldf b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-RS.ldf
index 66a42bf481c..b4b80bb8690 100644
--- a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-RS.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl-RS.ldf
@@ -54,7 +54,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{sr-Cyrl-RS}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Cyrl-RS}[2019/11/22 v2.1.0]
\RequireDateTimeModule{serbianc}
\newcommand*{\DTMsrCyrlRSdowdaysep}{,\space}
\newcommand*{\DTMsrCyrlRSdaymonthsep}{%
@@ -108,8 +108,6 @@
\DTMifbool{sr-Cyrl-RS}{leadingzero}%
{\DTMtwodigits{#1}}%
{\number#1}\DTMsrCyrlRSdatesep}%
- \newcommand*{\DTMsrCyrlRSyearordinal}[1]{%
- \number#1\DTMsrCyrlRSdatesep}%
\newcommand*{\DTMsrCyrlRSnoimonthname}{\DTMserbiancyrnoimonthname}
\newcommand*{\DTMsrCyrlRSnoiMonthname}{\DTMserbiancyrnoiMonthname}
\newcommand*{\DTMsrCyrlRSimonthname}{\DTMserbiancyrimonthname}
@@ -139,7 +137,7 @@
\DTMifbool{sr-Cyrl-RS}{showyear}%
{%
\DTMsrCyrlRSmonthyearsep%
- \DTMsrCyrlRSyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -165,7 +163,7 @@
\DTMifbool{sr-Cyrl-RS}{showyear}%
{%
\DTMsrCyrlRSmonthyearsep%
- \DTMsrCyrlRSyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -249,7 +247,7 @@
\DTMifbool{sr-Cyrl-RS}{showyear}%
{%
\DTMsrCyrlRSmonthyearsep%
- \DTMsrCyrlRSyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -267,7 +265,7 @@
\DTMifbool{sr-Cyrl-RS}{showyear}%
{%
\DTMsrCyrlRSmonthyearsep%
- \DTMsrCyrlRSyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -332,8 +330,8 @@
\csdef{date\CurrentTrackedDialect}{%
\DTMifcaseregional%
{}% do nothing
- {\DTMsetstyle{serbianc}}%
- {\DTMsetstyle{serbianc-numeric}}%
+ {\DTMsetstyle{sr-Cyrl-RS}}%
+ {\DTMsetstyle{sr-Cyrl-RS-numeric}}%
}%
}%
\endinput
diff --git a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl.ldf b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl.ldf
index 63657dacc32..4979bbd8656 100644
--- a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Cyrl.ldf
@@ -54,7 +54,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{sr-Cyrl}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Cyrl}[2019/11/22 v2.1.0]
\RequireDateTimeModule{serbianc}
\newcommand*{\DTMsrCyrldowdaysep}{,\space}
\newcommand*{\DTMsrCyrldaymonthsep}{%
@@ -108,8 +108,6 @@
\DTMifbool{sr-Cyrl}{leadingzero}%
{\DTMtwodigits{#1}}%
{\number#1}\DTMsrCyrldatesep}%
- \newcommand*{\DTMsrCyrlyearordinal}[1]{%
- \number#1\DTMsrCyrldatesep}%
\newcommand*{\DTMsrCyrlnoimonthname}{\DTMserbiancyrnoimonthname}
\newcommand*{\DTMsrCyrlnoiMonthname}{\DTMserbiancyrnoiMonthname}
\newcommand*{\DTMsrCyrlimonthname}{\DTMserbiancyrimonthname}
@@ -139,7 +137,7 @@
\DTMifbool{sr-Cyrl}{showyear}%
{%
\DTMsrCyrlmonthyearsep%
- \DTMsrCyrlyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -165,7 +163,7 @@
\DTMifbool{sr-Cyrl}{showyear}%
{%
\DTMsrCyrlmonthyearsep%
- \DTMsrCyrlyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -249,7 +247,7 @@
\DTMifbool{sr-Cyrl}{showyear}%
{%
\DTMsrCyrlmonthyearsep%
- \DTMsrCyrlyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -267,7 +265,7 @@
\DTMifbool{sr-Cyrl}{showyear}%
{%
\DTMsrCyrlmonthyearsep%
- \DTMsrCyrlyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -332,8 +330,8 @@
\csdef{date\CurrentTrackedDialect}{%
\DTMifcaseregional%
{}% do nothing
- {\DTMsetstyle{serbianc}}%
- {\DTMsetstyle{serbianc-numeric}}%
+ {\DTMsetstyle{sr-Cyrl}}%
+ {\DTMsetstyle{sr-Cyrl-numeric}}%
}%
}%
\endinput
diff --git a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-BA.ldf b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-BA.ldf
index d8677a807f2..5b431c2adf1 100644
--- a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-BA.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-BA.ldf
@@ -54,7 +54,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{sr-Latn-BA}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Latn-BA}[2019/11/22 v2.1.0]
\RequireDateTimeModule{serbian}
\newcommand*{\DTMsrLatnBAdowdaysep}{,\space}
\newcommand*{\DTMsrLatnBAdaymonthsep}{%
@@ -108,8 +108,6 @@
\DTMifbool{sr-Latn-BA}{leadingzero}%
{\DTMtwodigits{#1}}%
{\number#1}\DTMsrLatnBAdatesep}%
- \newcommand*{\DTMsrLatnBAyearordinal}[1]{%
- \number#1\DTMsrLatnBAdatesep}%
\newcommand*{\DTMsrLatnBAnoimonthname}{\DTMserbianlatnoimonthname}
\newcommand*{\DTMsrLatnBAnoiMonthname}{\DTMserbianlatnoiMonthname}
\newcommand*{\DTMsrLatnBAimonthname}{\DTMserbianlatimonthname}
@@ -139,7 +137,7 @@
\DTMifbool{sr-Latn-BA}{showyear}%
{%
\DTMsrLatnBAmonthyearsep%
- \DTMsrLatnBAyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -165,7 +163,7 @@
\DTMifbool{sr-Latn-BA}{showyear}%
{%
\DTMsrLatnBAmonthyearsep%
- \DTMsrLatnBAyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -249,7 +247,7 @@
\DTMifbool{sr-Latn-BA}{showyear}%
{%
\DTMsrLatnBAmonthyearsep%
- \DTMsrLatnBAyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -267,7 +265,7 @@
\DTMifbool{sr-Latn-BA}{showyear}%
{%
\DTMsrLatnBAmonthyearsep%
- \DTMsrLatnBAyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -332,8 +330,8 @@
\csdef{date\CurrentTrackedDialect}{%
\DTMifcaseregional%
{}% do nothing
- {\DTMsetstyle{serbian}}%
- {\DTMsetstyle{serbian-numeric}}%
+ {\DTMsetstyle{sr-Latn-BA}}%
+ {\DTMsetstyle{sr-Latn-BA-numeric}}%
}%
}%
\endinput
diff --git a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-ME.ldf b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-ME.ldf
index aef19c7e23d..84ed0eba041 100644
--- a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-ME.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-ME.ldf
@@ -54,7 +54,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{sr-Latn-ME}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Latn-ME}[2019/11/22 v2.1.0]
\RequireDateTimeModule{serbian}
\newcommand*{\DTMsrLatnMEdowdaysep}{,\space}
\newcommand*{\DTMsrLatnMEdaymonthsep}{%
@@ -108,8 +108,6 @@
\DTMifbool{sr-Latn-ME}{leadingzero}%
{\DTMtwodigits{#1}}%
{\number#1}\DTMsrLatnMEdatesep}%
- \newcommand*{\DTMsrLatnMEyearordinal}[1]{%
- \number#1\DTMsrLatnMEdatesep}%
\newcommand*{\DTMsrLatnMEnoimonthname}{\DTMserbianlatnoimonthname}
\newcommand*{\DTMsrLatnMEnoiMonthname}{\DTMserbianlatnoiMonthname}
\newcommand*{\DTMsrLatnMEimonthname}{\DTMserbianlatimonthname}
@@ -139,7 +137,7 @@
\DTMifbool{sr-Latn-ME}{showyear}%
{%
\DTMsrLatnMEmonthyearsep%
- \DTMsrLatnMEyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -165,7 +163,7 @@
\DTMifbool{sr-Latn-ME}{showyear}%
{%
\DTMsrLatnMEmonthyearsep%
- \DTMsrLatnMEyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -249,7 +247,7 @@
\DTMifbool{sr-Latn-ME}{showyear}%
{%
\DTMsrLatnMEmonthyearsep%
- \DTMsrLatnMEyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -267,7 +265,7 @@
\DTMifbool{sr-Latn-ME}{showyear}%
{%
\DTMsrLatnMEmonthyearsep%
- \DTMsrLatnMEyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -332,8 +330,8 @@
\csdef{date\CurrentTrackedDialect}{%
\DTMifcaseregional%
{}% do nothing
- {\DTMsetstyle{serbian}}%
- {\DTMsetstyle{serbian-numeric}}%
+ {\DTMsetstyle{sr-Latn-ME}}%
+ {\DTMsetstyle{sr-Latn-ME-numeric}}%
}%
}%
\endinput
diff --git a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-RS.ldf b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-RS.ldf
index dad2ccf9814..156709a6527 100644
--- a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-RS.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn-RS.ldf
@@ -54,7 +54,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{sr-Latn-RS}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Latn-RS}[2019/11/22 v2.1.0]
\RequireDateTimeModule{serbian}
\newcommand*{\DTMsrLatnRSdowdaysep}{,\space}
\newcommand*{\DTMsrLatnRSdaymonthsep}{%
@@ -108,8 +108,6 @@
\DTMifbool{sr-Latn-RS}{leadingzero}%
{\DTMtwodigits{#1}}%
{\number#1}\DTMsrLatnRSdatesep}%
- \newcommand*{\DTMsrLatnRSyearordinal}[1]{%
- \number#1\DTMsrLatnRSdatesep}%
\newcommand*{\DTMsrLatnRSnoimonthname}{\DTMserbianlatnoimonthname}
\newcommand*{\DTMsrLatnRSnoiMonthname}{\DTMserbianlatnoiMonthname}
\newcommand*{\DTMsrLatnRSimonthname}{\DTMserbianlatimonthname}
@@ -139,7 +137,7 @@
\DTMifbool{sr-Latn-RS}{showyear}%
{%
\DTMsrLatnRSmonthyearsep%
- \DTMsrLatnRSyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -165,7 +163,7 @@
\DTMifbool{sr-Latn-RS}{showyear}%
{%
\DTMsrLatnRSmonthyearsep%
- \DTMsrLatnRSyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -249,7 +247,7 @@
\DTMifbool{sr-Latn-RS}{showyear}%
{%
\DTMsrLatnRSmonthyearsep%
- \DTMsrLatnRSyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -267,7 +265,7 @@
\DTMifbool{sr-Latn-RS}{showyear}%
{%
\DTMsrLatnRSmonthyearsep%
- \DTMsrLatnRSyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -332,8 +330,8 @@
\csdef{date\CurrentTrackedDialect}{%
\DTMifcaseregional%
{}% do nothing
- {\DTMsetstyle{serbian}}%
- {\DTMsetstyle{serbian-numeric}}%
+ {\DTMsetstyle{sr-Latn-RS}}%
+ {\DTMsetstyle{sr-Latn-RS-numeric}}%
}%
}%
\endinput
diff --git a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn.ldf b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn.ldf
index b3f2aab263b..e7fe99ef0ff 100644
--- a/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-serbian/datetime2-sr-Latn.ldf
@@ -54,7 +54,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{sr-Latn}[2019/11/11 v2.0.1]
+\ProvidesDateTimeModule{sr-Latn}[2019/11/22 v2.1.0]
\RequireDateTimeModule{serbian}
\newcommand*{\DTMsrLatndowdaysep}{,\space}
\newcommand*{\DTMsrLatndaymonthsep}{%
@@ -108,8 +108,6 @@
\DTMifbool{sr-Latn}{leadingzero}%
{\DTMtwodigits{#1}}%
{\number#1}\DTMsrLatndatesep}%
- \newcommand*{\DTMsrLatnyearordinal}[1]{%
- \number#1\DTMsrLatndatesep}%
\newcommand*{\DTMsrLatnnoimonthname}{\DTMserbianlatnoimonthname}
\newcommand*{\DTMsrLatnnoiMonthname}{\DTMserbianlatnoiMonthname}
\newcommand*{\DTMsrLatnimonthname}{\DTMserbianlatimonthname}
@@ -139,7 +137,7 @@
\DTMifbool{sr-Latn}{showyear}%
{%
\DTMsrLatnmonthyearsep%
- \DTMsrLatnyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -165,7 +163,7 @@
\DTMifbool{sr-Latn}{showyear}%
{%
\DTMsrLatnmonthyearsep%
- \DTMsrLatnyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -249,7 +247,7 @@
\DTMifbool{sr-Latn}{showyear}%
{%
\DTMsrLatnmonthyearsep%
- \DTMsrLatnyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -267,7 +265,7 @@
\DTMifbool{sr-Latn}{showyear}%
{%
\DTMsrLatnmonthyearsep%
- \DTMsrLatnyearordinal{##1}%
+ ##1\DTMfinaldot{}%
}%
{}%
}%
@@ -332,8 +330,8 @@
\csdef{date\CurrentTrackedDialect}{%
\DTMifcaseregional%
{}% do nothing
- {\DTMsetstyle{serbian}}%
- {\DTMsetstyle{serbian-numeric}}%
+ {\DTMsetstyle{sr-Latn}}%
+ {\DTMsetstyle{sr-Latn-numeric}}%
}%
}%
\endinput