summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-16 21:16:38 +0000
committerKarl Berry <karl@freefriends.org>2022-02-16 21:16:38 +0000
commit92a238ceeb6e36c0b8ce4d156f690bc76c3bae0f (patch)
treea00c5439ae7b78a094f7c06631b8ad46672ad117
parent6a2f550c3d03ff584ae06539ecb58d0b031a5e98 (diff)
babel-serbian (16feb22)
git-svn-id: svn://tug.org/texlive/trunk@62041 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/babel-serbian/README.md12
-rw-r--r--Master/texmf-dist/doc/generic/babel-serbian/serbian.pdfbin255910 -> 273184 bytes
-rw-r--r--Master/texmf-dist/source/generic/babel-serbian/serbian.dtx26
-rw-r--r--Master/texmf-dist/source/generic/babel-serbian/serbian.ins8
-rw-r--r--Master/texmf-dist/tex/generic/babel-serbian/serbian.ldf21
5 files changed, 52 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-serbian/README.md b/Master/texmf-dist/doc/generic/babel-serbian/README.md
index 7006c05ad02..788773c140d 100644
--- a/Master/texmf-dist/doc/generic/babel-serbian/README.md
+++ b/Master/texmf-dist/doc/generic/babel-serbian/README.md
@@ -1,6 +1,6 @@
----------------------------------------------------------------
-# Serbian Latin language module for Babel, v2.1
+# Serbian Latin language module for Babel, v2.2
Released under the LaTeX Project Public License v1.3 or later.
See http://www.latex-project.org/lppl.txt
@@ -19,14 +19,18 @@ lualatex.exe).
Typesetting in ijekavian dialect:
- \usepackage[english,serbianc]{babel}
- \languageattribute{serbianc}{ijekav}
+ \usepackage[english,serbian]{babel}
+ \languageattribute{serbian}{ijekav}
or
- \usepackage[english,serbianc.ijekav]{babel}
+ \usepackage[english,serbian.ijekav]{babel}
Also, the attributes 'datei' and 'quotes' are defined.
+## CHANGES v2.2
+
+New date formats are available.
+
## CHANGES v2.1
New enumeration alphabets are available.
diff --git a/Master/texmf-dist/doc/generic/babel-serbian/serbian.pdf b/Master/texmf-dist/doc/generic/babel-serbian/serbian.pdf
index 29d8d75b5e6..2f02e914980 100644
--- a/Master/texmf-dist/doc/generic/babel-serbian/serbian.pdf
+++ b/Master/texmf-dist/doc/generic/babel-serbian/serbian.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/generic/babel-serbian/serbian.dtx b/Master/texmf-dist/source/generic/babel-serbian/serbian.dtx
index 106ac9b7aa4..70f9a2c38da 100644
--- a/Master/texmf-dist/source/generic/babel-serbian/serbian.dtx
+++ b/Master/texmf-dist/source/generic/babel-serbian/serbian.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 2019--2021 Uroš Stefanović and any individual authors
+% Copyright 2019--2022 Uroš Stefanović and any individual authors
% listed elsewhere in this file. All rights reserved.
% Earlier Maintainers: Dejan Muhamedagić, Slobodan Janković, Javier Bezos López, Johannes L. Braams
%
@@ -32,7 +32,7 @@
%<code>\ProvidesLanguage{serbian}
%\fi
%\ProvidesFile{serbian.dtx}
- [2021/04/10 2.1 Serbian Latin support for the Babel system]
+ [2022/02/16 2.2 Serbian Latin support for the Babel system]
%\iffalse
%% File `serbian.dtx'
%
@@ -98,7 +98,9 @@
% If you prefer to use `juni' and `juli' instead of default `jun' and `jul',
% 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*| prints 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 Latin alphabet and alphabetic order,
% but the letters q, w, x and y are omitted by the rules of the Serbian language (22 letters are used).
@@ -271,6 +273,7 @@
% \end{macrocode}
%
% The macro |\dateserbian| redefines the commands |\today|, |\today*|, |\todayRoman| and |\todayRoman*| to produce Serbian dates.
+% Also, the commands |\todayGen|, |\todayGen*|, |\todayArabic| and |\todayArabic*| are provided.
%
% \begin{macrocode}
\def\dateserbian{%
@@ -287,8 +290,23 @@
oktobar\or
novembar\or
decembar\fi}%
+ \def\month@serbian@gen{\ifcase\month\or
+ januara\or
+ februara\or
+ marta\or
+ aprila\or
+ maja\or
+ juna\or
+ jula\or
+ avgusta\or
+ septembra\or
+ oktobra\or
+ novembra\or
+ decembra\fi}%
\def\today{\number\day.~\month@serbian\ \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@serbian@gen\ \number\year\@ifstar{}{.}}%
+ \def\todayArabic{\number\day.~\number\month.~\number\year\@ifstar{}{.}}}
\let\dateserbian@datei=\dateserbian
\addto\dateserbian@datei{
\def\month@serbian@datei{\ifnum\month=6 juni%
diff --git a/Master/texmf-dist/source/generic/babel-serbian/serbian.ins b/Master/texmf-dist/source/generic/babel-serbian/serbian.ins
index aa495cf06af..8ab31c34152 100644
--- a/Master/texmf-dist/source/generic/babel-serbian/serbian.ins
+++ b/Master/texmf-dist/source/generic/babel-serbian/serbian.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ć and any individual authors
+%% Copyright 2019--2022 Uroš Stefanović and any individual authors
%% listed elsewhere in this file. All rights reserved.
%% Earlier Maintainers: Dejan Muhamedagić, Slobodan Janković, Javier Bezos López, Johannes L. Braams
%%
@@ -29,7 +29,7 @@
%%
%% --------------- start of docstrip commands ------------------
%%
-\def\filedate{2021/04/10}
+\def\filedate{2022/02/16}
\def\batchfile{serbian.ins}
\input docstrip.tex
@@ -51,7 +51,7 @@
\declarepreamble\mainpreamble
This is a generated file.
-Copyright 2019--2021 Uroš Stefanović and any individual authors
+Copyright 2019--2022 Uroš Stefanović and any individual authors
listed elsewhere in this file. All rights reserved.
This file is intended to be used with the Babel system.
@@ -77,7 +77,7 @@ extension .ins) which are part of the distribution.
\declarepreamble\fdpreamble
This is a generated file.
-Copyright 2019--2021 Uroš Stefanović and any individual authors
+Copyright 2019--2022 Uroš Stefanović and any individual authors
listed elsewhere in this file. All rights reserved.
This file is intended to be used with the Babel system.
diff --git a/Master/texmf-dist/tex/generic/babel-serbian/serbian.ldf b/Master/texmf-dist/tex/generic/babel-serbian/serbian.ldf
index d92cdcfcc38..6022e94c2a4 100644
--- a/Master/texmf-dist/tex/generic/babel-serbian/serbian.ldf
+++ b/Master/texmf-dist/tex/generic/babel-serbian/serbian.ldf
@@ -7,7 +7,7 @@
%% serbian.dtx (with options: `code')
%% This is a generated file.
%%
-%% Copyright 2019--2021 Uroš Stefanović and any individual authors
+%% Copyright 2019--2022 Uroš Stefanović and any individual authors
%% listed elsewhere in this file. All rights reserved.
%%
%% This file is intended to be used with the Babel system.
@@ -29,7 +29,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
\ProvidesLanguage{serbian}
- [2021/04/10 2.1 Serbian Latin support for the Babel system]
+ [2022/02/16 2.2 Serbian Latin support for the Babel system]
%% File `serbian.dtx'
\LdfInit{serbian}{captionsserbian}
\ifdefined\if@srb@uni@ode
@@ -121,8 +121,23 @@
oktobar\or
novembar\or
decembar\fi}%
+ \def\month@serbian@gen{\ifcase\month\or
+ januara\or
+ februara\or
+ marta\or
+ aprila\or
+ maja\or
+ juna\or
+ jula\or
+ avgusta\or
+ septembra\or
+ oktobra\or
+ novembra\or
+ decembra\fi}%
\def\today{\number\day.~\month@serbian\ \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@serbian@gen\ \number\year\@ifstar{}{.}}%
+ \def\todayArabic{\number\day.~\number\month.~\number\year\@ifstar{}{.}}}
\let\dateserbian@datei=\dateserbian
\addto\dateserbian@datei{
\def\month@serbian@datei{\ifnum\month=6 juni%