texlive[53139] Master/texmf-dist: babel-serbianc (15dec19)
commits+karl at tug.org
commits+karl at tug.org
Sun Dec 15 23:18:06 CET 2019
Revision: 53139
http://tug.org/svn/texlive?view=revision&revision=53139
Author: karl
Date: 2019-12-15 23:18:05 +0100 (Sun, 15 Dec 2019)
Log Message:
-----------
babel-serbianc (15dec19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/generic/babel-serbianc/README.md
trunk/Master/texmf-dist/doc/generic/babel-serbianc/serbianc.pdf
trunk/Master/texmf-dist/source/generic/babel-serbianc/serbianc.dtx
trunk/Master/texmf-dist/source/generic/babel-serbianc/serbianc.ins
trunk/Master/texmf-dist/tex/generic/babel-serbianc/serbianc.ldf
Modified: trunk/Master/texmf-dist/doc/generic/babel-serbianc/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/babel-serbianc/README.md 2019-12-15 22:17:46 UTC (rev 53138)
+++ trunk/Master/texmf-dist/doc/generic/babel-serbianc/README.md 2019-12-15 22:18:05 UTC (rev 53139)
@@ -1,6 +1,6 @@
----------------------------------------------------------------
-Serbian Cyrillic language module for Babel, v3.0
+Serbian Cyrillic language module for Babel, v3.0a
Released under the LaTeX Project Public License v1.3c or later.
See http://www.latex-project.org/lppl.txt
@@ -50,41 +50,3 @@
DOCUMENTATION
See serbianc.pdf for more information.
-
-CHANGES
-
- * Command \todayRoman is added;
-
- * Commands \today* and \todayRoman* print dates without dot after year;
-
- * Ijekavian dialect is now supported (if 'ijekav' attribute is used);
-
- * Shorthand "' prints '' quotes instead of traditional `` quotes (if 'quotes' attribute is used);
-
- * 'јуни' and 'јули' is printed instead of 'јун' and 'јул' (if 'datei' attribute is used);
-
- * Some captions strings are fixeds;
-
- * Cyrillic enumeration is added.
-
- * Encodings T2A, X2, OT2 (8-bit mode) and TU (Unicode mode) are supported.
-
-----------------------------------------------------------------
-
-%%
-%% \CharacterTable
-%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-%%
Modified: trunk/Master/texmf-dist/doc/generic/babel-serbianc/serbianc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/generic/babel-serbianc/serbianc.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/babel-serbianc/serbianc.dtx 2019-12-15 22:17:46 UTC (rev 53138)
+++ trunk/Master/texmf-dist/source/generic/babel-serbianc/serbianc.dtx 2019-12-15 22:18:05 UTC (rev 53139)
@@ -32,7 +32,7 @@
%<code>\ProvidesLanguage{serbianc}
%\fi
%\ProvidesFile{serbianc.dtx}
- [2019/01/12 3.0 Serbian Cyrillic support for the Babel system]
+ [2019/12/15 3.0a Serbian Cyrillic support for the Babel system]
%\iffalse
%% File `serbianc.dtx'
%
@@ -42,6 +42,7 @@
\documentclass{ltxdoc}
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
+\usepackage[a4paper,top=2.0cm,left=3cm,right=2.5cm,bottom=2cm,includefoot,includehead]{geometry}
\title{The Serbian Cyrillic Language in the \babel\ system}
\author{Uroš Stefanović\footnote{\texttt{urostajms at gmail.com}}}
\newcommand*\babel{\textsf{babel}}
@@ -382,7 +383,7 @@
\def\glossaryname{Речник}%
}%
\let\captionsserbianc at ijekav=\captionsserbianc
- \addto\captionsserbianc at ijekav{
+ \addto\captionsserbianc at ijekav{%
\def\partname{Дио}%
\def\glossaryname{Рjечник}%
}
@@ -411,7 +412,7 @@
\def\glossaryname{{\cyr\CYRR\cyre\cyrch\cyrn\cyri\cyrk}}%
}%
\let\captionsserbianc at ijekav=\captionsserbianc
- \addto\captionsserbianc at ijekav{
+ \addto\captionsserbianc at ijekav{%
\def\partname{{\cyr\CYRD\cyri\cyro}}%
\def\glossaryname{{\cyr\CYRR\cyrje\cyre\cyrch\cyrn\cyri\cyrk}}%
}
@@ -435,13 +436,13 @@
септембар\or
октобар\or
новембар\or
- децембар\fi}
- \def\today{\number\day.~\month at serbianc\ \number\year\@ifstar{}{.}}
+ децембар\fi}%
+ \def\today{\number\day.~\month at serbianc\ \number\year\@ifstar{}{.}}%
\def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}}
\let\dateserbianc at datei=\dateserbianc
- \addto\dateserbianc at datei{
+ \addto\dateserbianc at datei{%
\def\month at serbianc@datei{\ifnum\month=6 јуни%
- \else\ifnum\month=7 јули\else\month at serbianc\fi\fi}
+ \else\ifnum\month=7 јули\else\month at serbianc\fi\fi}%
\def\today{\number\day.~\month at serbianc@datei\ \number\year\@ifstar{}{.}}}
\else
\def\dateserbianc{%
@@ -457,13 +458,13 @@
\cyrs\cyre\cyrp\cyrt\cyre\cyrm\cyrb\cyra\cyrr\or
\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\today{\number\day.~\month at serbianc\ \number\year\@ifstar{}{.}}
+ \cyrd\cyre\cyrc\cyre\cyrm\cyrb\cyra\cyrr\fi}%
+ \def\today{\number\day.~\month at serbianc\ \number\year\@ifstar{}{.}}%
\def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}}
\let\dateserbianc at datei=\dateserbianc
- \addto\dateserbianc at datei{
+ \addto\dateserbianc at datei{%
\def\month at serbianc@datei{\ifnum\month=6\cyrje\cyru\cyrn\cyri%
- \else\ifnum\month=7\cyrje\cyru\cyrl\cyri\else\month at serbianc\fi\fi}
+ \else\ifnum\month=7\cyrje\cyru\cyrl\cyri\else\month at serbianc\fi\fi}%
\def\today{\number\day.~\month at serbianc@datei\ \number\year\@ifstar{}{.}}
}
\fi
@@ -470,8 +471,8 @@
% \end{macrocode}
%
% The Serbian hyphenation patterns can be used with |\lefthyphenmin| and
-% |\righthyphenmin| set to 2. (Actually, the “official” definition even allows one character for |lefthyphen|, but in that case,
-% the \LaTeX{} hyphenation patterns will give the wrong results.)
+% |\righthyphenmin| set to 2. (Actually, the “official” definition allows even one character for |lefthyphen|,
+% but it is recommended to use value two for better results.)
%
% \begin{macrocode}
\providehyphenmins{\CurrentOption}{\tw@\tw@}
@@ -516,7 +517,7 @@
% ones when Serbian is switched on.
%
% \begin{macrocode}
-\addto\extrasserbianc{
+\addto\extrasserbianc{%
\babel at save\@Alph
\if at srbc@uni at ode
\def\@Alph#1{\ifcase#1\or
@@ -523,13 +524,13 @@
А\or Б\or В\or Г\or Д\or Ђ\or Е\or Ж\or З\or
И\or Ј\or К\or Л\or Љ\or М\or Н\or Њ\or О\or
П\or Р\or С\or Т\or Ћ\or У\or Ф\or Х\or Ц\or
- Ч\or Џ\or Ш\else\@ctrerr\fi}
+ Ч\or Џ\or Ш\else\@ctrerr\fi}%
\else
\def\@Alph#1{\ifcase#1\or
\CYRA\or\CYRB\or\CYRV\or\CYRG\or\CYRD\or\CYRDJE\or\CYRE\or\CYRZH\or\CYRZ\or
\CYRI\or\CYRJE\or\CYRK\or\CYRL\or\CYRLJE\or\CYRM\or\CYRN\or\CYRNJE\or\CYRO\or
\CYRP\or\CYRR\or\CYRS\or\CYRT\or\CYRTSHE\or\CYRU\or\CYRF\or\CYRH\or\CYRC\or
- \CYRCH\or\CYRDZHE\or\CYRSH\else\@ctrerr\fi}
+ \CYRCH\or\CYRDZHE\or\CYRSH\else\@ctrerr\fi}%
\fi
}
% \end{macrocode}
@@ -537,7 +538,7 @@
% The macro |\alph| produces lowercase Cyrillic letters.
%
% \begin{macrocode}
-\addto\extrasserbianc{
+\addto\extrasserbianc{%
\babel at save\@alph
\if at srbc@uni at ode
\def\@alph#1{\ifcase#1\or
@@ -544,13 +545,13 @@
а\or б\or в\or г\or д\or ђ\or е\or ж\or з\or
и\or ј\or к\or л\or љ\or м\or н\or њ\or о\or
п\or р\or с\or т\or ћ\or у\or ф\or х\or ц\or
- ч\or џ\or ш\else\@ctrerr\fi}
+ ч\or џ\or ш\else\@ctrerr\fi}%
\else
\def\@alph#1{\ifcase#1\or
\cyra\or\cyrb\or\cyrv\or\cyrg\or\cyrd\or\cyrdje\or\cyre\or\cyrzh\or\cyrz\or
\cyri\or\cyrje\or\cyrk\or\cyrl\or\cyrlje\or\cyrm\or\cyrn\or\cyrnje\or\cyro\or
\cyrp\or\cyrr\or\cyrs\or\cyrt\or\cyrtshe\or\cyru\or\cyrf\or\cyrh\or\cyrc\or
- \cyrch\or\cyrdzhe\or\cyrsh\else\@ctrerr\fi}
+ \cyrch\or\cyrdzhe\or\cyrsh\else\@ctrerr\fi}%
\fi
}
% \end{macrocode}
Modified: trunk/Master/texmf-dist/source/generic/babel-serbianc/serbianc.ins
===================================================================
--- trunk/Master/texmf-dist/source/generic/babel-serbianc/serbianc.ins 2019-12-15 22:17:46 UTC (rev 53138)
+++ trunk/Master/texmf-dist/source/generic/babel-serbianc/serbianc.ins 2019-12-15 22:18:05 UTC (rev 53139)
@@ -29,7 +29,7 @@
%%
%% --------------- start of docstrip commands ------------------
%%
-\def\filedate{2019/01/12}
+\def\filedate{2019/12/15}
\def\batchfile{serbianc.ins}
\input docstrip.tex
Modified: trunk/Master/texmf-dist/tex/generic/babel-serbianc/serbianc.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel-serbianc/serbianc.ldf 2019-12-15 22:17:46 UTC (rev 53138)
+++ trunk/Master/texmf-dist/tex/generic/babel-serbianc/serbianc.ldf 2019-12-15 22:18:05 UTC (rev 53139)
@@ -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}
- [2019/01/12 3.0 Serbian Cyrillic support for the Babel system]
+ [2019/12/15 3.0a Serbian Cyrillic support for the Babel system]
%% File `serbianc.dtx'
\LdfInit{serbianc}{captionsserbianc}
\ifdefined\if at srbc@uni at ode
@@ -130,7 +130,7 @@
\def\glossaryname{Речник}%
}%
\let\captionsserbianc at ijekav=\captionsserbianc
- \addto\captionsserbianc at ijekav{
+ \addto\captionsserbianc at ijekav{%
\def\partname{Дио}%
\def\glossaryname{Рjечник}%
}
@@ -159,7 +159,7 @@
\def\glossaryname{{\cyr\CYRR\cyre\cyrch\cyrn\cyri\cyrk}}%
}%
\let\captionsserbianc at ijekav=\captionsserbianc
- \addto\captionsserbianc at ijekav{
+ \addto\captionsserbianc at ijekav{%
\def\partname{{\cyr\CYRD\cyri\cyro}}%
\def\glossaryname{{\cyr\CYRR\cyrje\cyre\cyrch\cyrn\cyri\cyrk}}%
}
@@ -178,13 +178,13 @@
септембар\or
октобар\or
новембар\or
- децембар\fi}
- \def\today{\number\day.~\month at serbianc\ \number\year\@ifstar{}{.}}
+ децембар\fi}%
+ \def\today{\number\day.~\month at serbianc\ \number\year\@ifstar{}{.}}%
\def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}}
\let\dateserbianc at datei=\dateserbianc
- \addto\dateserbianc at datei{
+ \addto\dateserbianc at datei{%
\def\month at serbianc@datei{\ifnum\month=6 јуни%
- \else\ifnum\month=7 јули\else\month at serbianc\fi\fi}
+ \else\ifnum\month=7 јули\else\month at serbianc\fi\fi}%
\def\today{\number\day.~\month at serbianc@datei\ \number\year\@ifstar{}{.}}}
\else
\def\dateserbianc{%
@@ -200,13 +200,13 @@
\cyrs\cyre\cyrp\cyrt\cyre\cyrm\cyrb\cyra\cyrr\or
\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\today{\number\day.~\month at serbianc\ \number\year\@ifstar{}{.}}
+ \cyrd\cyre\cyrc\cyre\cyrm\cyrb\cyra\cyrr\fi}%
+ \def\today{\number\day.~\month at serbianc\ \number\year\@ifstar{}{.}}%
\def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}}
\let\dateserbianc at datei=\dateserbianc
- \addto\dateserbianc at datei{
+ \addto\dateserbianc at datei{%
\def\month at serbianc@datei{\ifnum\month=6\cyrje\cyru\cyrn\cyri%
- \else\ifnum\month=7\cyrje\cyru\cyrl\cyri\else\month at serbianc\fi\fi}
+ \else\ifnum\month=7\cyrje\cyru\cyrl\cyri\else\month at serbianc\fi\fi}%
\def\today{\number\day.~\month at serbianc@datei\ \number\year\@ifstar{}{.}}
}
\fi
@@ -224,7 +224,7 @@
\def\bbl at nonserbiancindent{\let\@afterindentfalse\@aifORI\@afterindentfalse}
\addto\extrasserbianc{\bbl at serbiancindent}
\addto\noextrasserbianc{\bbl at nonserbiancindent}
-\addto\extrasserbianc{
+\addto\extrasserbianc{%
\babel at save\@Alph
\if at srbc@uni at ode
\def\@Alph#1{\ifcase#1\or
@@ -231,16 +231,16 @@
А\or Б\or В\or Г\or Д\or Ђ\or Е\or Ж\or З\or
И\or Ј\or К\or Л\or Љ\or М\or Н\or Њ\or О\or
П\or Р\or С\or Т\or Ћ\or У\or Ф\or Х\or Ц\or
- Ч\or Џ\or Ш\else\@ctrerr\fi}
+ Ч\or Џ\or Ш\else\@ctrerr\fi}%
\else
\def\@Alph#1{\ifcase#1\or
\CYRA\or\CYRB\or\CYRV\or\CYRG\or\CYRD\or\CYRDJE\or\CYRE\or\CYRZH\or\CYRZ\or
\CYRI\or\CYRJE\or\CYRK\or\CYRL\or\CYRLJE\or\CYRM\or\CYRN\or\CYRNJE\or\CYRO\or
\CYRP\or\CYRR\or\CYRS\or\CYRT\or\CYRTSHE\or\CYRU\or\CYRF\or\CYRH\or\CYRC\or
- \CYRCH\or\CYRDZHE\or\CYRSH\else\@ctrerr\fi}
+ \CYRCH\or\CYRDZHE\or\CYRSH\else\@ctrerr\fi}%
\fi
}
-\addto\extrasserbianc{
+\addto\extrasserbianc{%
\babel at save\@alph
\if at srbc@uni at ode
\def\@alph#1{\ifcase#1\or
@@ -247,13 +247,13 @@
а\or б\or в\or г\or д\or ђ\or е\or ж\or з\or
и\or ј\or к\or л\or љ\or м\or н\or њ\or о\or
п\or р\or с\or т\or ћ\or у\or ф\or х\or ц\or
- ч\or џ\or ш\else\@ctrerr\fi}
+ ч\or џ\or ш\else\@ctrerr\fi}%
\else
\def\@alph#1{\ifcase#1\or
\cyra\or\cyrb\or\cyrv\or\cyrg\or\cyrd\or\cyrdje\or\cyre\or\cyrzh\or\cyrz\or
\cyri\or\cyrje\or\cyrk\or\cyrl\or\cyrlje\or\cyrm\or\cyrn\or\cyrnje\or\cyro\or
\cyrp\or\cyrr\or\cyrs\or\cyrt\or\cyrtshe\or\cyru\or\cyrf\or\cyrh\or\cyrc\or
- \cyrch\or\cyrdzhe\or\cyrsh\else\@ctrerr\fi}
+ \cyrch\or\cyrdzhe\or\cyrsh\else\@ctrerr\fi}%
\fi
}
\bbl at declare@ttribute{serbianc}{ijekav}{%
More information about the tex-live-commits
mailing list