texlive[58816] Master/texmf-dist: babel-serbianc (10apr21)

commits+karl at tug.org commits+karl at tug.org
Sat Apr 10 23:10:29 CEST 2021


Revision: 58816
          http://tug.org/svn/texlive?view=revision&revision=58816
Author:   karl
Date:     2021-04-10 23:10:29 +0200 (Sat, 10 Apr 2021)
Log Message:
-----------
babel-serbianc (10apr21)

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	2021-04-10 21:10:10 UTC (rev 58815)
+++ trunk/Master/texmf-dist/doc/generic/babel-serbianc/README.md	2021-04-10 21:10:29 UTC (rev 58816)
@@ -1,8 +1,8 @@
 ----------------------------------------------------------------
 
-Serbian Cyrillic language module for Babel, v3.0a
+# Serbian Cyrillic language module for Babel, v3.1
 
-Released under the LaTeX Project Public License v1.3c or later.
+Released under the LaTeX Project Public License v1.3 or later.
 See http://www.latex-project.org/lppl.txt
 
 The package provides support for use of Babel in documents written in Serbian Cyrillic
@@ -11,7 +11,7 @@
 
 The Current Maintainer is Uroš Stefanović.
 
-USAGE
+## USAGE
 
 Serbianc language definition file can be used both with legacy 8-bit engines
 (such as latex.exe or pdflatex.exe) and Unicode compilers (xelatex.exe or
@@ -43,10 +43,15 @@
     \usepackage[english,serbianc]{babel}
     \languageattribute{serbianc}{ijekav}
 or
+
     \usepackage[english,serbianc.ijekav]{babel}
 	
 Also, the attributes 'datei' and 'quotes' are defined.
 
-DOCUMENTATION
+## CHANGES v3.1
 
+New enumeration alphabets are available.
+
+## DOCUMENTATION
+
 See serbianc.pdf for more information.

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	2021-04-10 21:10:10 UTC (rev 58815)
+++ trunk/Master/texmf-dist/source/generic/babel-serbianc/serbianc.dtx	2021-04-10 21:10:29 UTC (rev 58816)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-%Copyright 2019 Uroš Stefanović,
+%Copyright 2019--2021 Uroš Stefanović,
 %2002--2019 Filip Brčić
 %All rights reserved.
 % 
@@ -32,7 +32,7 @@
 %<code>\ProvidesLanguage{serbianc}
 %\fi
 %\ProvidesFile{serbianc.dtx}
-        [2019/12/15 3.0a Serbian Cyrillic support for the Babel system]
+        [2021/04/10 3.1 Serbian Cyrillic support for the Babel system]
 %\iffalse
 %% File `serbianc.dtx'
 %
@@ -98,7 +98,13 @@
 %    (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.
 %
-%    The alphabetical enumerations in texts use the Cyrillic alphabet and alphabetic order.
+%    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.
+%    If the Latin alphabet is used in the enumeration the letters q, w, x and y are omitted by the rules of the Serbian language
+%    (22 letters are used in that case).
+%    However, if the user wants to use the English alphabet for the enumeration (26 letters), this option is also available.
+%    One can manually switch the enumeration alphabet with the commands |\enumCyr|, |\enumLat| and |\enumEng|.
+%    This commands can be used after the |\begin{document}| when the \Lopt{serbianc} language is active.
 %    In principle, enumerations are a matter for class and style designers but the same can be
 %    said also about things, other than enumerations, such as names of sections and bibliography lists.
 %
@@ -471,8 +477,8 @@
 %    \end{macrocode}
 %
 %    The Serbian hyphenation patterns can be used with |\lefthyphenmin| and
-%    |\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.)
+%    |\righthyphenmin| set to~2. (Actually, the “official” definition allows even one character for |lefthyphen|,
+%    but it is recommended to use the value two for the better results.)
 %
 %    \begin{macrocode}
 \providehyphenmins{\CurrentOption}{\tw@\tw@}
@@ -514,46 +520,68 @@
 %    \end{macrocode}
 %
 %    We redefine the macro |\Alph|, which now produces (uppercase) Cyrillic letters instead of Latin
-%    ones when Serbian is switched on.
+%    ones when Serbian is switched on. Also we will define Serbian Latin and English alphabets so
+%    the user can choose which alphabet to use through the commands |\enumCyr|, |\enumLat| and |\enumEng|
+%    (or even to switch from one enumeration to another).
 %
 %    \begin{macrocode}
-\addto\extrasserbianc{%
-\babel at save\@Alph
-\if at srbc@uni at ode
-  \def\@Alph#1{\ifcase#1\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 Џ\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}%
-\fi
-}
+\newcount\srbc at lettering \srbc at lettering=\z@
+\addto\extrasserbianc{\babel at save\@Alph \let\@Alph\srbc at Alph}
+\def\srbc at Alph#1{%
+\ifcase\srbc at lettering
+    \if at srbc@uni at ode
+        \ifcase#1\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 Џ\or Ш\else\@ctrerr\fi
+    \else
+        \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
+    \fi
+\or
+    \ifcase#1\or A\or B\or C\or D\or E\or F\or G\or H\or I\or
+    J\or K\or L\or M\or N\or O\or P\or R\or S\or T\or U\or V\or
+    Z\else\@ctrerr\fi
+\or
+    \ifcase#1\or A\or B\or C\or D\or E\or F\or G\or H\or I\or
+    J\or K\or L\or M\or N\or O\or P\or Q\or R\or S\or T\or U\or V\or
+    W\or X\or Y\or Z\else\@ctrerr\fi
+\fi}%
 %    \end{macrocode}
 %
-%    The macro |\alph| produces lowercase Cyrillic letters.
+%    The same thing will be done with the macro |\alph|.
 %
 %    \begin{macrocode}
+\addto\extrasserbianc{\babel at save\@alph \let\@alph\srbc at alph}
+\def\srbc at alph#1{%
+\ifcase\srbc at lettering
+    \if at srbc@uni at ode
+        \ifcase#1\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 џ\or ш\else\@ctrerr\fi
+    \else
+        \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
+    \fi
+\or
+    \ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or
+    j\or k\or l\or m\or n\or o\or p\or r\or s\or t\or u\or v\or
+    z\else\@ctrerr\fi
+\or
+    \ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or
+    j\or k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or
+    w\or x\or y\or z\else\@ctrerr\fi
+\fi}%
 \addto\extrasserbianc{%
-\babel at save\@alph
-\if at srbc@uni at ode
-  \def\@alph#1{\ifcase#1\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 џ\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}%
-\fi
-}
+  \babel at save\enumEng \def\enumEng{\srbc at lettering=\tw@}
+  \babel at save\enumLat \def\enumLat{\srbc at lettering=\@ne}
+  \babel at save\enumCyr \def\enumCyr{\srbc at lettering=\z@}
+}%
 %    \end{macrocode}
 %
 %    An |ijekav| attribute changes the default behavior and activates an
@@ -609,17 +637,20 @@
 \def\Prob{\mathop{\kern\z@\mathsf{P}}\nolimits}
 \def\Expect{\mathop{\kern\z@\mathsf{E}}\nolimits}
 \def\Variance{\mathop{\kern\z@\mathsf{D}}\nolimits}
-\if at srbc@uni at ode
-  \def\nzs{\mathop{\mathrm{нзс}}\nolimits}
-  \def\nzd{\mathop{\mathrm{нзд}}\nolimits}
-  \def\NZS{\mathop{\mathrm{НЗС}}\nolimits}
-  \def\NZD{\mathop{\mathrm{НЗД}}\nolimits}
-\else
-  \def\nzs{\mathop{\textnormal{\cyrn\cyrz\cyrs}}\nolimits}
-  \def\nzd{\mathop{\textnormal{\cyrn\cyrz\cyrd}}\nolimits}
-  \def\NZS{\mathop{\textnormal{\CYRN\CYRZ\CYRS}}\nolimits}
-  \def\NZD{\mathop{\textnormal{\CYRN\CYRZ\CYRD}}\nolimits}
-\fi
+\addto\extrasserbianc{%
+  \babel at save\nzs \babel at save\nzd
+  \babel at save\NZS \babel at save\NZD
+  \if at srbc@uni at ode
+    \def\nzs{\mathop{\mathrm{нзс}}\nolimits}
+    \def\nzd{\mathop{\mathrm{нзд}}\nolimits}
+    \def\NZS{\mathop{\mathrm{НЗС}}\nolimits}
+    \def\NZD{\mathop{\mathrm{НЗД}}\nolimits}
+  \else
+    \def\nzs{\mathop{\textnormal{\cyrn\cyrz\cyrs}}\nolimits}
+    \def\nzd{\mathop{\textnormal{\cyrn\cyrz\cyrd}}\nolimits}
+    \def\NZS{\mathop{\textnormal{\CYRN\CYRZ\CYRS}}\nolimits}
+    \def\NZD{\mathop{\textnormal{\CYRN\CYRZ\CYRD}}\nolimits}
+  \fi}
 %    \end{macrocode}
 %
 %    The macro |\ldf at finish| takes care of looking for a

Modified: trunk/Master/texmf-dist/source/generic/babel-serbianc/serbianc.ins
===================================================================
--- trunk/Master/texmf-dist/source/generic/babel-serbianc/serbianc.ins	2021-04-10 21:10:10 UTC (rev 58815)
+++ trunk/Master/texmf-dist/source/generic/babel-serbianc/serbianc.ins	2021-04-10 21:10:29 UTC (rev 58816)
@@ -3,7 +3,7 @@
 %% driver files from the doc files in this package when run through
 %% LaTeX or TeX.
 %%
-%% Copyright 2019 Uroš Stefanović,
+%% Copyright 2019--2021 Uroš Stefanović,
 %% 2002--2019 Filip Brčić
 %% All rights reserved.
 %% 
@@ -29,7 +29,7 @@
 %%
 %% --------------- start of docstrip commands ------------------
 %%
-\def\filedate{2019/12/15}
+\def\filedate{2021/04/10}
 \def\batchfile{serbianc.ins}
 \input docstrip.tex
 
@@ -51,7 +51,7 @@
 \declarepreamble\mainpreamble
 This is a generated file.
 
-Copyright 2019 Uroš Stefanović,
+Copyright 2019--2021 Uroš Stefanović,
 2002--2019 Filip Brčić
 All rights reserved.
 
@@ -78,7 +78,7 @@
 \declarepreamble\fdpreamble
 This is a generated file.
 
-Copyright 2019 Uroš Stefanović,
+Copyright 2019--2021 Uroš Stefanović,
 2002--2019 Filip Brčić
 All rights reserved.
 

Modified: trunk/Master/texmf-dist/tex/generic/babel-serbianc/serbianc.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel-serbianc/serbianc.ldf	2021-04-10 21:10:10 UTC (rev 58815)
+++ trunk/Master/texmf-dist/tex/generic/babel-serbianc/serbianc.ldf	2021-04-10 21:10:29 UTC (rev 58816)
@@ -7,7 +7,7 @@
 %% serbianc.dtx  (with options: `code')
 %% This is a generated file.
 %% 
-%% Copyright 2019 Uroš Stefanović,
+%% Copyright 2019--2021 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}
-        [2019/12/15 3.0a Serbian Cyrillic support for the Babel system]
+        [2021/04/10 3.1 Serbian Cyrillic support for the Babel system]
 %% File `serbianc.dtx'
 \LdfInit{serbianc}{captionsserbianc}
 \ifdefined\if at srbc@uni at ode
@@ -224,38 +224,58 @@
 \def\bbl at nonserbiancindent{\let\@afterindentfalse\@aifORI\@afterindentfalse}
 \addto\extrasserbianc{\bbl at serbiancindent}
 \addto\noextrasserbianc{\bbl at nonserbiancindent}
+\newcount\srbc at lettering \srbc at lettering=\z@
+\addto\extrasserbianc{\babel at save\@Alph \let\@Alph\srbc at Alph}
+\def\srbc at Alph#1{%
+\ifcase\srbc at lettering
+    \if at srbc@uni at ode
+        \ifcase#1\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 Џ\or Ш\else\@ctrerr\fi
+    \else
+        \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
+    \fi
+\or
+    \ifcase#1\or A\or B\or C\or D\or E\or F\or G\or H\or I\or
+    J\or K\or L\or M\or N\or O\or P\or R\or S\or T\or U\or V\or
+    Z\else\@ctrerr\fi
+\or
+    \ifcase#1\or A\or B\or C\or D\or E\or F\or G\or H\or I\or
+    J\or K\or L\or M\or N\or O\or P\or Q\or R\or S\or T\or U\or V\or
+    W\or X\or Y\or Z\else\@ctrerr\fi
+\fi}%
+\addto\extrasserbianc{\babel at save\@alph \let\@alph\srbc at alph}
+\def\srbc at alph#1{%
+\ifcase\srbc at lettering
+    \if at srbc@uni at ode
+        \ifcase#1\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 џ\or ш\else\@ctrerr\fi
+    \else
+        \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
+    \fi
+\or
+    \ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or
+    j\or k\or l\or m\or n\or o\or p\or r\or s\or t\or u\or v\or
+    z\else\@ctrerr\fi
+\or
+    \ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or
+    j\or k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or
+    w\or x\or y\or z\else\@ctrerr\fi
+\fi}%
 \addto\extrasserbianc{%
-\babel at save\@Alph
-\if at srbc@uni at ode
-  \def\@Alph#1{\ifcase#1\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 Џ\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}%
-\fi
-}
-\addto\extrasserbianc{%
-\babel at save\@alph
-\if at srbc@uni at ode
-  \def\@alph#1{\ifcase#1\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 џ\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}%
-\fi
-}
+  \babel at save\enumEng \def\enumEng{\srbc at lettering=\tw@}
+  \babel at save\enumLat \def\enumLat{\srbc at lettering=\@ne}
+  \babel at save\enumCyr \def\enumCyr{\srbc at lettering=\z@}
+}%
 \bbl at declare@ttribute{serbianc}{ijekav}{%
  \PackageInfo{babel}{Serbianc attribute set to ijekav}%
  \let\captionsserbianc=\captionsserbianc at ijekav }
@@ -294,17 +314,20 @@
 \def\Prob{\mathop{\kern\z@\mathsf{P}}\nolimits}
 \def\Expect{\mathop{\kern\z@\mathsf{E}}\nolimits}
 \def\Variance{\mathop{\kern\z@\mathsf{D}}\nolimits}
-\if at srbc@uni at ode
-  \def\nzs{\mathop{\mathrm{нзс}}\nolimits}
-  \def\nzd{\mathop{\mathrm{нзд}}\nolimits}
-  \def\NZS{\mathop{\mathrm{НЗС}}\nolimits}
-  \def\NZD{\mathop{\mathrm{НЗД}}\nolimits}
-\else
-  \def\nzs{\mathop{\textnormal{\cyrn\cyrz\cyrs}}\nolimits}
-  \def\nzd{\mathop{\textnormal{\cyrn\cyrz\cyrd}}\nolimits}
-  \def\NZS{\mathop{\textnormal{\CYRN\CYRZ\CYRS}}\nolimits}
-  \def\NZD{\mathop{\textnormal{\CYRN\CYRZ\CYRD}}\nolimits}
-\fi
+\addto\extrasserbianc{%
+  \babel at save\nzs \babel at save\nzd
+  \babel at save\NZS \babel at save\NZD
+  \if at srbc@uni at ode
+    \def\nzs{\mathop{\mathrm{нзс}}\nolimits}
+    \def\nzd{\mathop{\mathrm{нзд}}\nolimits}
+    \def\NZS{\mathop{\mathrm{НЗС}}\nolimits}
+    \def\NZD{\mathop{\mathrm{НЗД}}\nolimits}
+  \else
+    \def\nzs{\mathop{\textnormal{\cyrn\cyrz\cyrs}}\nolimits}
+    \def\nzd{\mathop{\textnormal{\cyrn\cyrz\cyrd}}\nolimits}
+    \def\NZS{\mathop{\textnormal{\CYRN\CYRZ\CYRS}}\nolimits}
+    \def\NZD{\mathop{\textnormal{\CYRN\CYRZ\CYRD}}\nolimits}
+  \fi}
 \ldf at finish{serbianc}
 %%
 %% \CharacterTable



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