diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-20 22:12:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-20 22:12:12 +0000 |
commit | 079558e6176a0d4e952fd903f1c51f2f41740ff5 (patch) | |
tree | 42ba355191e9368b416e05229632e320fc541d48 /Master/texmf-dist/source/generic/babel-serbianc | |
parent | 9a8aeb5318a022f7c208c40d8dd870ab9d097f5d (diff) |
babel-serbianc
git-svn-id: svn://tug.org/texlive/trunk@62110 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/babel-serbianc')
-rw-r--r-- | Master/texmf-dist/source/generic/babel-serbianc/serbianc.dtx | 43 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/babel-serbianc/serbianc.ins | 8 |
2 files changed, 42 insertions, 9 deletions
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. |