summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-20 22:12:12 +0000
committerKarl Berry <karl@freefriends.org>2022-02-20 22:12:12 +0000
commit079558e6176a0d4e952fd903f1c51f2f41740ff5 (patch)
tree42ba355191e9368b416e05229632e320fc541d48 /Master
parent9a8aeb5318a022f7c208c40d8dd870ab9d097f5d (diff)
babel-serbianc
git-svn-id: svn://tug.org/texlive/trunk@62110 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/generic/babel-serbianc/README.md6
-rw-r--r--Master/texmf-dist/doc/generic/babel-serbianc/serbianc.pdfbin296954 -> 314360 bytes
-rw-r--r--Master/texmf-dist/source/generic/babel-serbianc/serbianc.dtx43
-rw-r--r--Master/texmf-dist/source/generic/babel-serbianc/serbianc.ins8
-rw-r--r--Master/texmf-dist/tex/generic/babel-serbianc/serbianc.ldf38
5 files changed, 81 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-serbianc/README.md b/Master/texmf-dist/doc/generic/babel-serbianc/README.md
index 5a9c48d83c8..5d43446d6a1 100644
--- a/Master/texmf-dist/doc/generic/babel-serbianc/README.md
+++ b/Master/texmf-dist/doc/generic/babel-serbianc/README.md
@@ -1,6 +1,6 @@
----------------------------------------------------------------
-# Serbian Cyrillic language module for Babel, v3.1
+# Serbian Cyrillic language module for Babel, v3.2
Released under the LaTeX Project Public License v1.3 or later.
See http://www.latex-project.org/lppl.txt
@@ -48,6 +48,10 @@ or
Also, the attributes 'datei' and 'quotes' are defined.
+## CHANGES v3.2
+
+New date formats are available.
+
## CHANGES v3.1
New enumeration alphabets are available.
diff --git a/Master/texmf-dist/doc/generic/babel-serbianc/serbianc.pdf b/Master/texmf-dist/doc/generic/babel-serbianc/serbianc.pdf
index b886b7b261a..34eaa6d2337 100644
--- a/Master/texmf-dist/doc/generic/babel-serbianc/serbianc.pdf
+++ b/Master/texmf-dist/doc/generic/babel-serbianc/serbianc.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/generic/babel-serbianc/serbianc.dtx b/Master/texmf-dist/source/generic/babel-serbianc/serbianc.dtx
index cca22b76c04..c3716aff52d 100644
--- a/Master/texmf-dist/source/generic/babel-serbianc/serbianc.dtx
+++ b/Master/texmf-dist/source/generic/babel-serbianc/serbianc.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-%Copyright 2019--2021 Uroš Stefanović,
+%Copyright 2019--2022 Uroš Stefanović,
%2002--2019 Filip Brčić
%All rights reserved.
%
@@ -32,7 +32,7 @@
%<code>\ProvidesLanguage{serbianc}
%\fi
%\ProvidesFile{serbianc.dtx}
- [2021/04/10 3.1 Serbian Cyrillic support for the Babel system]
+ [2022/02/16 3.2 Serbian Cyrillic support for the Babel system]
%\iffalse
%% File `serbianc.dtx'
%
@@ -96,7 +96,9 @@
% If you prefer to use `јуни' and `јули' instead of default `јун' and `јул',
% use the \Lopt{datei} attribute. Also, the |\today*| macro prints the date without dot after the year
% (used when after the date is the punctuation mark, such as comma).
-% Alternatively, the commands |\todayRoman| and |\todayRoman*| print the current date using Roman numerals for months.
+% Alternatively, the commands |\todayRoman| and |\todayRoman*| prints the current date using Roman numerals for months;
+% |\todayGen| and |\todayGen*| prints the current month name in the genitive case,
+% and |\todayArabic| and |\todayArabic*| prints the current month as a number.
%
% The alphabetical enumerations in texts use the Cyrillic alphabet and alphabetic order (all 30 letters of the Serbian language are used).
% Also, the Serbian language allows enumeration with the Latin alphabet.
@@ -426,6 +428,7 @@
% \end{macrocode}
%
% The macro |\dateserbianc| redefines the commands |\today|, |\today*|, |\todayRoman| and |\todayRoman*| to produce Serbian dates.
+% Also, the commands |\todayGen|, |\todayGen*|, |\todayArabic| and |\todayArabic*| are provided.
%
% \begin{macrocode}
\if@srbc@uni@ode
@@ -443,8 +446,23 @@
октобар\or
новембар\or
децембар\fi}%
+ \def\month@serbianc@gen{\ifcase\month\or
+ јануара\or
+ фебруара\or
+ марта\or
+ априла\or
+ маја\or
+ јуна\or
+ јула\or
+ августа\or
+ септембра\or
+ октобра\or
+ новембра\or
+ децембра\fi}%
\def\today{\number\day.~\month@serbianc\ \number\year\@ifstar{}{.}}%
- \def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}}
+ \def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}%
+ \def\todayGen{\number\day.~\month@serbianc@gen\ \number\year\@ifstar{}{.}}%
+ \def\todayArabic{\number\day.~\number\month.~\number\year\@ifstar{}{.}}}
\let\dateserbianc@datei=\dateserbianc
\addto\dateserbianc@datei{%
\def\month@serbianc@datei{\ifnum\month=6 јуни%
@@ -465,8 +483,23 @@
\cyro\cyrk\cyrt\cyro\cyrb\cyra\cyrr\or
\cyrn\cyro\cyrv\cyre\cyrm\cyrb\cyra\cyrr\or
\cyrd\cyre\cyrc\cyre\cyrm\cyrb\cyra\cyrr\fi}%
+ \def\month@serbianc@gen{\ifcase\month\or
+ \cyrje\cyra\cyrn\cyru\cyra\cyrr\cyra\or
+ \cyrf\cyre\cyrb\cyrr\cyru\cyra\cyrr\cyra\or
+ \cyrm\cyra\cyrr\cyrt\cyra\or
+ \cyra\cyrp\cyrr\cyri\cyrl\cyra\or
+ \cyrm\cyra\cyrje\cyra\or
+ \cyrje\cyru\cyrn\cyra\or
+ \cyrje\cyru\cyrl\cyra\or
+ \cyra\cyrv\cyrg\cyru\cyrs\cyrt\cyra\or
+ \cyrs\cyre\cyrp\cyrt\cyre\cyrm\cyrb\cyrr\cyra\or
+ \cyro\cyrk\cyrt\cyro\cyrb\cyrr\cyra\or
+ \cyrn\cyro\cyrv\cyre\cyrm\cyrb\cyrr\cyra\or
+ \cyrd\cyre\cyrc\cyre\cyrm\cyrb\cyrr\cyra\fi}%
\def\today{\number\day.~\month@serbianc\ \number\year\@ifstar{}{.}}%
- \def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}}
+ \def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}%
+ \def\todayGen{\number\day.~\month@serbianc@gen\ \number\year\@ifstar{}{.}}%
+ \def\todayArabic{\number\day.~\number\month.~\number\year\@ifstar{}{.}}}
\let\dateserbianc@datei=\dateserbianc
\addto\dateserbianc@datei{%
\def\month@serbianc@datei{\ifnum\month=6\cyrje\cyru\cyrn\cyri%
diff --git a/Master/texmf-dist/source/generic/babel-serbianc/serbianc.ins b/Master/texmf-dist/source/generic/babel-serbianc/serbianc.ins
index 4260d94966c..e925a6f8db5 100644
--- a/Master/texmf-dist/source/generic/babel-serbianc/serbianc.ins
+++ b/Master/texmf-dist/source/generic/babel-serbianc/serbianc.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 2019--2021 Uroš Stefanović,
+%% Copyright 2019--2022 Uroš Stefanović,
%% 2002--2019 Filip Brčić
%% All rights reserved.
%%
@@ -29,7 +29,7 @@
%%
%% --------------- start of docstrip commands ------------------
%%
-\def\filedate{2021/04/10}
+\def\filedate{2022/02/16}
\def\batchfile{serbianc.ins}
\input docstrip.tex
@@ -51,7 +51,7 @@
\declarepreamble\mainpreamble
This is a generated file.
-Copyright 2019--2021 Uroš Stefanović,
+Copyright 2019--2022 Uroš Stefanović,
2002--2019 Filip Brčić
All rights reserved.
@@ -78,7 +78,7 @@ extension .ins) which are part of the distribution.
\declarepreamble\fdpreamble
This is a generated file.
-Copyright 2019--2021 Uroš Stefanović,
+Copyright 2019--2022 Uroš Stefanović,
2002--2019 Filip Brčić
All rights reserved.
diff --git a/Master/texmf-dist/tex/generic/babel-serbianc/serbianc.ldf b/Master/texmf-dist/tex/generic/babel-serbianc/serbianc.ldf
index 4534910e078..37d872f5a29 100644
--- a/Master/texmf-dist/tex/generic/babel-serbianc/serbianc.ldf
+++ b/Master/texmf-dist/tex/generic/babel-serbianc/serbianc.ldf
@@ -7,7 +7,7 @@
%% serbianc.dtx (with options: `code')
%% This is a generated file.
%%
-%% Copyright 2019--2021 Uroš Stefanović,
+%% Copyright 2019--2022 Uroš Stefanović,
%% 2002--2019 Filip Brčić
%% All rights reserved.
%%
@@ -30,7 +30,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
\ProvidesLanguage{serbianc}
- [2021/04/10 3.1 Serbian Cyrillic support for the Babel system]
+ [2022/02/16 3.2 Serbian Cyrillic support for the Babel system]
%% File `serbianc.dtx'
\LdfInit{serbianc}{captionsserbianc}
\ifdefined\if@srbc@uni@ode
@@ -179,8 +179,23 @@
октобар\or
новембар\or
децембар\fi}%
+ \def\month@serbianc@gen{\ifcase\month\or
+ јануара\or
+ фебруара\or
+ марта\or
+ априла\or
+ маја\or
+ јуна\or
+ јула\or
+ августа\or
+ септембра\or
+ октобра\or
+ новембра\or
+ децембра\fi}%
\def\today{\number\day.~\month@serbianc\ \number\year\@ifstar{}{.}}%
- \def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}}
+ \def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}%
+ \def\todayGen{\number\day.~\month@serbianc@gen\ \number\year\@ifstar{}{.}}%
+ \def\todayArabic{\number\day.~\number\month.~\number\year\@ifstar{}{.}}}
\let\dateserbianc@datei=\dateserbianc
\addto\dateserbianc@datei{%
\def\month@serbianc@datei{\ifnum\month=6 јуни%
@@ -201,8 +216,23 @@
\cyro\cyrk\cyrt\cyro\cyrb\cyra\cyrr\or
\cyrn\cyro\cyrv\cyre\cyrm\cyrb\cyra\cyrr\or
\cyrd\cyre\cyrc\cyre\cyrm\cyrb\cyra\cyrr\fi}%
+ \def\month@serbianc@gen{\ifcase\month\or
+ \cyrje\cyra\cyrn\cyru\cyra\cyrr\cyra\or
+ \cyrf\cyre\cyrb\cyrr\cyru\cyra\cyrr\cyra\or
+ \cyrm\cyra\cyrr\cyrt\cyra\or
+ \cyra\cyrp\cyrr\cyri\cyrl\cyra\or
+ \cyrm\cyra\cyrje\cyra\or
+ \cyrje\cyru\cyrn\cyra\or
+ \cyrje\cyru\cyrl\cyra\or
+ \cyra\cyrv\cyrg\cyru\cyrs\cyrt\cyra\or
+ \cyrs\cyre\cyrp\cyrt\cyre\cyrm\cyrb\cyrr\cyra\or
+ \cyro\cyrk\cyrt\cyro\cyrb\cyrr\cyra\or
+ \cyrn\cyro\cyrv\cyre\cyrm\cyrb\cyrr\cyra\or
+ \cyrd\cyre\cyrc\cyre\cyrm\cyrb\cyrr\cyra\fi}%
\def\today{\number\day.~\month@serbianc\ \number\year\@ifstar{}{.}}%
- \def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}}
+ \def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}%
+ \def\todayGen{\number\day.~\month@serbianc@gen\ \number\year\@ifstar{}{.}}%
+ \def\todayArabic{\number\day.~\number\month.~\number\year\@ifstar{}{.}}}
\let\dateserbianc@datei=\dateserbianc
\addto\dateserbianc@datei{%
\def\month@serbianc@datei{\ifnum\month=6\cyrje\cyru\cyrn\cyri%