texlive[62041] Master/texmf-dist: babel-serbian (16feb22)

commits+karl at tug.org commits+karl at tug.org
Wed Feb 16 22:16:39 CET 2022


Revision: 62041
          http://tug.org/svn/texlive?view=revision&revision=62041
Author:   karl
Date:     2022-02-16 22:16:38 +0100 (Wed, 16 Feb 2022)
Log Message:
-----------
babel-serbian (16feb22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/babel-serbian/README.md
    trunk/Master/texmf-dist/doc/generic/babel-serbian/serbian.pdf
    trunk/Master/texmf-dist/source/generic/babel-serbian/serbian.dtx
    trunk/Master/texmf-dist/source/generic/babel-serbian/serbian.ins
    trunk/Master/texmf-dist/tex/generic/babel-serbian/serbian.ldf

Modified: trunk/Master/texmf-dist/doc/generic/babel-serbian/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/babel-serbian/README.md	2022-02-16 21:16:12 UTC (rev 62040)
+++ trunk/Master/texmf-dist/doc/generic/babel-serbian/README.md	2022-02-16 21:16:38 UTC (rev 62041)
@@ -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 @@
 
 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.

Modified: trunk/Master/texmf-dist/doc/generic/babel-serbian/serbian.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/generic/babel-serbian/serbian.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/babel-serbian/serbian.dtx	2022-02-16 21:16:12 UTC (rev 62040)
+++ trunk/Master/texmf-dist/source/generic/babel-serbian/serbian.dtx	2022-02-16 21:16:38 UTC (rev 62041)
@@ -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 at 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 at 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 at serbian@gen\ \number\year\@ifstar{}{.}}%
+    \def\todayArabic{\number\day.~\number\month.~\number\year\@ifstar{}{.}}}
   \let\dateserbian at datei=\dateserbian
   \addto\dateserbian at datei{
     \def\month at serbian@datei{\ifnum\month=6 juni%

Modified: trunk/Master/texmf-dist/source/generic/babel-serbian/serbian.ins
===================================================================
--- trunk/Master/texmf-dist/source/generic/babel-serbian/serbian.ins	2022-02-16 21:16:12 UTC (rev 62040)
+++ trunk/Master/texmf-dist/source/generic/babel-serbian/serbian.ins	2022-02-16 21:16:38 UTC (rev 62041)
@@ -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 @@
 \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.

Modified: trunk/Master/texmf-dist/tex/generic/babel-serbian/serbian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel-serbian/serbian.ldf	2022-02-16 21:16:12 UTC (rev 62040)
+++ trunk/Master/texmf-dist/tex/generic/babel-serbian/serbian.ldf	2022-02-16 21:16:38 UTC (rev 62041)
@@ -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 at srb@uni at ode
@@ -121,8 +121,23 @@
     oktobar\or
     novembar\or
     decembar\fi}%
+   \def\month at 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 at 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 at serbian@gen\ \number\year\@ifstar{}{.}}%
+    \def\todayArabic{\number\day.~\number\month.~\number\year\@ifstar{}{.}}}
   \let\dateserbian at datei=\dateserbian
   \addto\dateserbian at datei{
     \def\month at serbian@datei{\ifnum\month=6 juni%



More information about the tex-live-commits mailing list.