texlive[44527] Master/texmf-dist: babel-ukrainian (8jun17)

commits+karl at tug.org commits+karl at tug.org
Thu Jun 8 23:22:51 CEST 2017


Revision: 44527
          http://tug.org/svn/texlive?view=revision&revision=44527
Author:   karl
Date:     2017-06-08 23:22:51 +0200 (Thu, 08 Jun 2017)
Log Message:
-----------
babel-ukrainian (8jun17)

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

Modified: trunk/Master/texmf-dist/doc/generic/babel-ukrainian/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/babel-ukrainian/README.md	2017-06-08 20:42:30 UTC (rev 44526)
+++ trunk/Master/texmf-dist/doc/generic/babel-ukrainian/README.md	2017-06-08 21:22:51 UTC (rev 44527)
@@ -1,6 +1,6 @@
 ----------------------------------------------------------------
 
-Ukrainian language module for Babel, v1.3h
+Ukrainian language module for Babel, v1.3i
 
 Released under the LaTeX Project Public License v1.3c or later.
 See http://www.latex-project.org/lppl.txt
@@ -81,6 +81,10 @@
 
 5. CHANGES
 
+2017-06-08 version 1.3i
+
+    * Corrections according to new standart
+
 2017-06-06 version 1.3h
 
     * Initial version

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

Modified: trunk/Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx	2017-06-08 20:42:30 UTC (rev 44526)
+++ trunk/Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx	2017-06-08 21:22:51 UTC (rev 44527)
@@ -6,7 +6,7 @@
 %<*readme>
 ----------------------------------------------------------------
 
-Ukrainian language module for Babel, v1.3h
+Ukrainian language module for Babel, v1.3i
 
 Released under the LaTeX Project Public License v1.3c or later.
 See http://www.latex-project.org/lppl.txt
@@ -90,6 +90,10 @@
 
 5. CHANGES
 
+2017-06-08 version 1.3i
+
+    * Corrections according to new standart
+    
 2017-06-06 version 1.3h
 
     * Initial version
@@ -169,8 +173,8 @@
 %</internal>
 %<*code>
 \NeedsTeXFormat{LaTeX2e}
-%\ProvidesLanguage{\jobname}[2017/06/06 1.3h Ukrainian support for the Babel system]
-\ProvidesLanguage{ukraineb}[2017/06/06 1.3h Ukrainian support for the Babel system]
+%\ProvidesLanguage{\jobname}[2017/06/08 1.3i Ukrainian support for the Babel system]
+\ProvidesLanguage{ukraineb}[2017/06/08 1.3i Ukrainian support for the Babel system]
 %</code>
 %<*driver>
 \documentclass[a4paper]{ltxdoc}
@@ -411,7 +415,7 @@
 % Output encodings (also known as font encodings) are declared as options to
 % the \pkg{fontenc} package. Known Cyrillic encodings are \texttt{T2A},
 % \texttt{T2B}, \texttt{T2C}, \texttt{LCY},  and \texttt{X2};
-% \texttt{LWN} is excluded from Ukrainian support stating version 1.2 of
+% \texttt{LWN} is excluded from Ukrainian support of
 % \file{\filename} since \texttt{LWN} is excluded from the \pkg{cyrillic}
 % bundle of related files.
 %
@@ -516,19 +520,6 @@
 % In a multilingual document, some typographic rules are language
 % dependent and should apply to the whole document.
 %
-%^^AAs of version~1.2, \file{\jobname.ldf} behaves differently
-%^^Aaccording to \babel's \emph{main language} defined as the \emph{last}
-%^^Aoption. When Ukrainian is
-%^^A|babel|'s main language, it adjusts global layout of the document
-%^^Aaccording to typographical conventions of Ukrainian language. Namely,
-%^^A\file{\jobname.ldf} makes the following changes to global layout even
-%^^Ain the parts where Ukrainian is not current language:
-%^^A\begin{enumerate}
-%^^A\item
-%^^A    the first paragraph of any section becomes indented (\LaTeX{} only).
-%^^A    (this is obsolete statement starting from version 1.2a)
-%^^A\end{enumerate}
-%
 % Regarding local typography, the macro |\selectlanguage{ukrainian}|
 % switches to the Ukrainian language, with the following effects:
 % \begin{enumerate}
@@ -558,9 +549,9 @@
 %      |\glqq| and |\grqq| which work in \LaTeXe\ and Plain\TeX.
 % \end{enumerate}
 %
-% The macro |\Ukrainian| is now defined as an alias for
+% The macro |\Ukrainian| defined as an alias for
 % |\selectlanguage{ukrainian}|, and its ``opponent'' |\English|, existed
-% in \file{\jobname.ldf} prior to version 1.2 has been removed since the Ukrainian
+% in \file{\jobname.ldf} has been removed since the Ukrainian
 % language definition file is wrong place for definition of macros which
 % switch to a distinct other language.
 %
@@ -650,24 +641,18 @@
 %
 % By default, active double quote is switched on. It can be switched off
 % any time using |\shorthandoff{"}| and the switched on again using
-% |\shorthandon{"}|. The aliases |\mdqoff| and |\mdqon| for these two macros
-% has been removed from \file{\jobname.ldf} starting from version 1.3 in favour of
-% the macros |\shorthandon| and |\shorthandoff| provided in the \pkg{babel} core.
+% |\shorthandon{"}|. 
 %
-%
 % \subsection{Math commands}
 %
-% \file{\filename} defines few macros than can be used independently
-% of current language. These are 9 macros to be used in math mode to type
+% The \file{\filename} defines few macros that can be used independently
+% of current language. These are macros to be used in math mode to type
 % the names of trigonometric functions common for Ukrainian documents:
 % |\sh|, |\ch|, |\tg|, |\ctg|, |\arctg|, |\arcctg|, |\th|, |\cth|, and
 % |\cosec|. Cyrillic letters in math mode can be typed with the aid of
 % text commands such as |\textbf|, |\textsf|, |\textit|, |\texttt|, e.t.c.
 %
-% The macros |\Prob|, |\Variance|, |\NSD|, |\nsd|, |\NSK|, |\nsk|, |\Proj|
-% print  some rare Ukrainian mathematical symbols.
 %
-%
 %    \section{\TeX{}nical details}
 %
 %    The packages \pkg{inputenc} and  \pkg{luainputenc}
@@ -686,16 +671,6 @@
 %    still kept for \LaTeX, but they are bypassed if Lua\LaTeX\ or  Xe\LaTeX\
 %    are detected.
 %
-%    Some inconsistences of prior versions of \file{\filename} was also
-%    overcame in the version 1.2. Those users who used |\selectlanguage| macro,
-%    defined in the core \pkg{babel} system, to switch between
-%    different languages should not worry. However, the macros
-%    |\Ukrainian|, |\Englsih| and their aliases |\Ukr|, |\cyr|,
-%    |\Eng| are modified or removed as they did not
-%    conform the mechanism of language switching encoded into the
-%    core of \pkg{babel} and therefore can mess it.
-%
-%
 %    \section{Known problems}
 %
 %    Before switching from a legacy 8-bit engine (tex, pdftex) to an Unicode
@@ -775,32 +750,7 @@
 %    Ukrainian language if \LaTeX\ is running but \texttt{EU1} in case of
 %    Xe\LaTeX\ and \texttt{EU2} in case of Lua\LaTeX.
 %
-%  \begin{macro}{\latinencoding}
-% \changes{1.2}{2011/10/20}{Removed \cs{latinencoding}}
 %
-%    The macro |\latinencoding| keeps the name of Latin encoding. It is
-%    defined in \file{babel.def} and is wrapped into |\AtBeginDocument| to allow
-%    for late loading \pkg{fontenc}. Therefore it does not matter
-%    whether \pkg{babel} is loaded before or after the \pkg{fontenc}.
-%    As of version 1.2, definition of |\latinencoding| was removed from
-%    \file{ukraineb.ldf} since it is overruled in \file{babel.def}.
-%    For example, after
-%\begin{verbatim}
-%\usepackage[T1,T2A]{fontenc}
-%\usepackage[english,ukrainian]{babel}
-%\end{verbatim}%
-%    as well as after
-%\begin{verbatim}
-%\usepackage[english,ukrainian]{babel}
-%\usepackage[T1,T2A]{fontenc}
-%\end{verbatim}%
-%    |\latinencoding| will be set to \texttt{T1}.
-%    After
-%\begin{verbatim}
-%\usepackage[english,ukrainian]{babel}
-%\end{verbatim}%
-%    |\latinencoding| will be \texttt{OT1}.
-%
 %    In Unicode mode, the package \pkg{fontspec} should be loaded instead of
 %    \pkg{fontenc} to make font preparation; \pkg{fontspec} loads the package
 %    \pkg{xunicode} which sets current encoding (kept in |\cf at encoding|) to
@@ -810,7 +760,6 @@
 %    be set to either \texttt{EU1} for Xe\LaTeX\ or \texttt{EU2} for Lua\LaTeX\
 %    no matter which of the packages, \pkg{babel} or \pkg{fontspec} is loaded first.
 %
-%  \end{macro}
 %
 %  \Describe\cyrillicencoding{}
 %    There is a limited list of encodings appropriate for Cyrillic text. We
@@ -846,7 +795,6 @@
 %    encodings are kept for Unicode compilers (Lua\LaTeX\ and Xe\LaTeX) since
 %    they can run in compatibility (8-bit) mode.
 %
-% \changes{1.2}{2011/10/20}{EU1 and EU2  encodings added}
 %    \begin{macrocode}
 \def\@setcyrillicencoding{%
   \def\sce at a##1##2{%
@@ -883,8 +831,6 @@
 %    encoding definitions; we use the lowercase names (i.e.,
 %    \texttt{lcyenc.def} instead of \texttt{LCYenc.def}) when we do that.
 %
-% \changes{1.2}{2011/10/20}{Removed test for present of
-%    encoding files}
 %    \begin{macrocode}
 \ifdefined\cyrillicencoding
 \else
@@ -955,23 +901,6 @@
 \let\cyr\cyrillictext
 %    \end{macrocode}
 %
-%    Starting from version v.1.2 we remove the |\English| macro and its
-%    aliases. We believe that reasonable place for defining these macros
-%    would be \file{englishb.ldf}.
-%    Note also that the macro |\English| and its  alias |\Eng| are absent
-%    in \file{ukraineb.ldf}'s counterpart in the package \pkg{polyglossia},
-%    analog of \pkg{babel} for Xe\LaTeX.
-%
-% \changes{1.2}{2011/10/20}{Removed \cs{English} macro}
-%    \begin{macrocode}
-%%\DeclareRobustCommand{\English}{%
-%%  \fontencoding\latinencoding\selectfont
-%%  \let\encodingdefault\latinencoding
-%%  \expandafter\set at hyphenmins\englishhyphenmins
-%%  \language\l at english}%
-%%\let\Eng\English
-%    \end{macrocode}
-%
 %    \textsc{Next part of code should be moved to \texttt{X2enc.def},
 %    \texttt{X2enc.dfu}, if needed.}
 %    Since the \texttt{X2} encoding does not contain Latin letters, we
@@ -1003,9 +932,6 @@
 %   Since |\latintext| is defined by the core of babel we do not repeat its
 %   definition here.
 %
-% \changes{1.1o}{2003/10/12}{\cs{latintext} is already
-%    defined by the core of babel}
-% \changes{1.2}{2011/10/20}{\cs{lat} removed}
 %    \begin{macrocode}
 %\DeclareRobustCommand{\latintext}{%
 %  \fontencoding{\latinencoding}\selectfont
@@ -1021,8 +947,7 @@
 %    The macro |\textcyrillic| takes an argument which is then typeset using the
 %    requested font encoding. It is thus an equivalent or
 %    |\foreignlangauge{ukrainian}|.
-% \changes{1.1o}{2003/10/12}{\cs{textlatin} already defined
-%    by the core of babel}
+%
 %    \begin{macrocode}
 \DeclareTextFontCommand{\textcyrillic}{\cyrillictext}
 %    \end{macrocode}
@@ -1039,10 +964,6 @@
 %    well enough to Ukrainian version of Windows ANSI encoding which is almost
 %    equivalent to \texttt{cp1251}.
 %
-% \changes{1.1l}{1999/08/27}{Made not using inputenc a
-%    warning instead of an error}
-% \changes{1.2}{2011/10/11}{Added EU1 and EU2 encodings}
-% \changes{1.2}{2011/10/11}{Removed LWN encoding}
 %    \begin{macrocode}
 \@ifpackageloaded{inputenc}{%
  \if at ukr@uni at ode
@@ -1070,8 +991,6 @@
 %    The double quote  character \texttt{"} is declared to be active in
 %    Ukrainian language.
 %
-% \changes{1.1a}{1995/03/07}{Use the new mechanism for dealing
-%    with active characters}
 %    \begin{macrocode}
 \initiate at active@char{"}
 %    \end{macrocode}
@@ -1105,18 +1024,18 @@
 %    \subsubsection{Quotes}
 %
 %    We set |"`| and |"'| as shorthands for |\quotedblbase| and
-%    |\textquotedblleft|, respectively. Prior to ver.1.2, these shorthands
+%    |\textquotedblleft|, respectively. These shorthands
 %    were defined through german quotes |\glqq| and |\grqq|, which in their turn
 %    are defined in \pkg{babel.def} via |\quotedblbase| and |\textquotedblleft|,
 %    respectively. It occurred, that old definition caused errors in Unicode
 %    mode if \pkg{fontspec} is loaded.
 %
-%    Prior to version 1.2, the shorthands |"<| and |">| were
+%    The shorthands |"<| and |">| were
 %    declared to be equivalents for the French quotes |\flqq| and |\frqq|,
 %    respectively. They are defined in \pkg{babel.def} via |\guillemotleft| and
 %    |\guillemotrigh|. However, |\flqq| and |\guillemotleft| (and their right
 %    counterparts) are typeset differently if current encoding is not
-%    \texttt{T1}. Therefore, since v.1.2, we define |"<| and |">|  directly
+%    \texttt{T1}. Therefore, we define |"<| and |">|  directly
 %    through |\guillemotleft| and |\guillemotrigh|.
 %
 %    \begin{macrocode}
@@ -1220,8 +1139,6 @@
     {\hbox to.8em{--\hss--}}{\textemdash}}
 %    \end{macrocode}
 %
-% \changes{1.1f}{1998/06/26}{%
-%    Add macro for thin space between initials}
 %
 %    Finally, we define a shorthand thin space to be placed between initials
 %    as in |D.",Mendeleev|. When used instead of |\,| as in |D.\,Mendeleev|
@@ -1254,7 +1171,7 @@
 %    However, the macros such as |\Ukrainian| do not conform to strict rules
 %    of the package \pkg{babel} as explained in the above.
 %
-%    As of version v.1.2 we eliminate |\cyr...| macros from caption names
+%    We eliminate |\cyr...| macros from caption names
 %    if Unicode engine is running. In the latter case, Cyrillic letters are typed
 %    in by their Unicode code-points, the |^^^^abcd| notation is not used
 %    since it causes error at compilation time in case if \LaTeX\ is running
@@ -1400,7 +1317,6 @@
 % \Describe\dateukrainian{}
 %    The macro |\dateukrainian| is used to reset the macro |\today| in Ukrainian.
 %
-% \changes{1.2}{2011/10/20}{Unicode code-points added for LuaLaTeX}
 %    \begin{macrocode}
 \if at ukr@uni at ode
   \addto\dateukrainian{%
@@ -1444,14 +1360,7 @@
 %    or equivalent command. But we need to declare values of
 %    |\lefthyphenmin| and |\righthyphenmin|; both are set to~2.
 %
-%    As of v.1.2 we removed a definition for |\englishhyphenmins|. It is
-%    not deal of \file{\jobname.ldf}.
 %
-% \changes{1.1a}{1995/07/04}{use \cs{ukrainianhyphenmins} to
-%    store the correct values}
-% \changes{1.1m}{2000/09/22}{Now use \cs{providehyphenmins} to
-%    provide a default value}
-% \changes{1.2}{2011/10/20}{\cs{englishhyphenmins} is removed}
 %    \begin{macrocode}
 \providehyphenmins{\CurrentOption}{\tw@\tw@}
 \providehyphenmins{ukrainian}{\tw@\tw@}
@@ -1466,8 +1375,6 @@
 %    The macro |\noextrasukrainian| is used to cancel the actions of
 %    |\extrasukrainian|.
 %
-% \changes{1.1b}{1996/02/20}{Added switch to \texttt{LWN}
-%    encoding}
 %
 %    First, we instruct \pkg{babel} to switch font encoding using earlier
 %    defined macros |\cyrillictext| and |\latintext|.
@@ -1496,38 +1403,9 @@
 %
 %    \subsection{Alphabetic counters}
 %
-%    Do we need to reset |\@alph| and |\@Alph|? They are used in the
-%    \LaTeX\ core to define the macros |\alph| and |\Alph|, respectively, which
-%    type a counter with a corresponding letter of Latin alphabet.
-%    We just want to make sure that correct |\latinencoding| is used instead of
-%    |\latinencoding| to typeset the counter. Starting from v.1.2 we do not
-%    reset these macros since all Cyrillic encoding but \texttt{X2} do have
-%    Latin letters. When using the \texttt{X2} encoding user must himself
-%    take care about selecting correct encoding when he switches his keyboard.
-%    Our decision is motivated as follows. If selected Cyrillic font is visually
-%    different from Latin font, the macro |\@alph| and |\@Alph| will produce
-%    visually different output from surrounding text if they are used with
-%    Ukrainian text, which is completely legitimate.
 %
-%    Notice for commented code:\\
-%    We put |\latinencoding| in braces to avoid problems with
-%    |\@alph| inside minipages (e.g., footnotes inside minipages) where
-%    |\@alph| is expanded and we get for example `|\fontencoding OT1|'
-%    (|\fontencoding| is robust).
+%    Macro |\@alph| and |\@Alph| did not reseted.
 %
-%    Note added on 2013/03/22: |{\fontencoding{\latinencoding}\selectfont|
-%    rises an error with recent version of \pkg{microtype} package after the
-%    |\appendix| declaration (which resets |\thechapter| to |\@Alph\c at chapter}|).
-%    Most languages do not reset |\@alph| and |\@Alph| macros and only
-%    \pkg{ukrainian} and \pkg{bulgarian} add |\fontencoding| to |\@alph| and
-%    |\@Alph|.
-%
-%    Since v.1.3 we do not reset |\@alph| and |\@Alph| here.
-%    Resetting |\fontencoding| in |\@alph| and |\@Alph| causes an error
-%    if the package |smartref| is loaded and a |\sref| occurs after the
-%    |\appendix| declaration which resets |\thechapter| to |\@Alph\c at chapter|.
-% \changes{1.3}{2013/03/22}{Removed \cs{@alph} and \cs{@Alph}}
-%
 %    \begin{macrocode}
 %\def\@alph#1{{\fontencoding{\latinencoding}\selectfont
 %  \ifcase#1\or
@@ -1547,48 +1425,46 @@
 %    Cyrillic letters.
 %
 %  \Describe\Asbuk{}
-%    We begin by defining |\Asbuk| which works like |\Alph|, but produces
-%    (uppercase) Cyrillic letters instead of Latin ones. The letters YO,
-%    ISHRT, HRDSN, ERY, and SFTSN are skipped, as usual for such
-%    enumeration.
+%     Macro |\Asbuk| which works like |\Alph|, but produces
+%    (uppercase) Cyrillic letters instead of Latin ones. The letters Ґ, Є, З, І, Ї, Й, О, Ч, Ь,  
+%    are skipped for such enumeration (see\href{http://www.uintei.kiev.ua/readarticle.php?article_id=151}{ДСТУ 3008:2015}).
 %
 %    \begin{macrocode}
 \def\Asbuk#1{\expandafter\ukrainian at Alph\csname c@#1\endcsname}
 \if at ukr@uni at ode
   \def\ukrainian at 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}
+    А\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\ukrainian at Alph#1{\ifcase#1\or
-    \CYRA\or\CYRB\or\CYRV\or\CYRG\or\CYRD\or\CYRE\or\CYRYE\or\CYRZH\or
-    \CYRZ\or\CYRI\or\CYRII\or\CYRYI\or\CYRK\or\CYRL\or\CYRM\or\CYRN\or\CYRO\or
-    \CYRP\or\CYRR\or\CYRS\or\CYRT\or\CYRU\or\CYRF\or\CYRH\or
-    \CYRC\or\CYRCH\or\CYRSH\or\CYRSHCH\or\CYRYU\or
-    \CYRYA\else\@ctrerr\fi}
+    \CYRA\or\CYRB\or\CYRV\or\CYRG\or\CYRD\or\CYRE\or\CYRZH\or
+    \CYRI\or\CYRK\or\CYRL\or\CYRM\or\CYRN\or\CYRP\or\CYRR\or
+    \CYRS\or\CYRT\or\CYRU\or\CYRF\or\CYRH\or\CYRC\or\CYRSH\or
+    \CYRSHCH\or\CYRYU\or\CYRYA\else\@ctrerr\fi}
 \fi
 %    \end{macrocode}
 %
 %  \Describe\asbuk{}
 %    The macro |\asbuk| is similar to |\alph|; it produces lowercase
-%    Ukrainian letters.
+%    Cyrillic letters. The lowercase letters ґ, є, з, і, ї, й, о, ч, ь,  
+%    are also skipped such enumeration (see \href{http://www.uintei.kiev.ua/readarticle.php?article_id=151}{ДСТУ 3008:2015}).
 %
 %    \begin{macrocode}
 \def\asbuk#1{\expandafter\ukrainian at alph\csname c@#1\endcsname}
 \if at ukr@uni at ode
   \def\ukrainian at 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}
+    а\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\ukrainian at alph#1{\ifcase#1\or
-    \cyra\or\cyrb\or\cyrv\or\cyrg\or\cyrd\or\cyre\or\cyrye\or\cyrzh\or
-    \cyrz\or\cyri\or\cyrii\or\cyryi\or\cyrk\or\cyrl\or\cyrm\or\cyrn\or\cyro\or
-    \cyrp\or\cyrr\or\cyrs\or\cyrt\or\cyru\or\cyrf\or\cyrh\or
-    \cyrc\or\cyrch\or\cyrsh\or\cyrshch\or\cyryu\or
-    \cyrya\else\@ctrerr\fi}
+    \cyra\or\cyrb\or\cyrv\or\cyrg\or\cyrd\or\cyre\or\cyrzh\or
+    \cyri\or\cyrk\or\cyrl\or\cyrm\or\cyrn\or\cyrp\or\cyrr\or
+    \cyrs\or\cyrt\or\cyru\or\cyrf\or\cyrh\or\cyrc\or\cyrsh\or
+    \cyrshch\or\cyryu\or\cyrya\else\@ctrerr\fi}
 \fi
 %    \end{macrocode}
 %
@@ -1604,19 +1480,12 @@
  \let\dateukrainian=\dateukrainian at ancient
 }
 %    \end{macrocode}
-%    We don't want for long internal macros to waste memory. So we declare
-%    them to be usable within the preamble only.
-%    \begin{macrocode}
-\@onlypreamble\captionsukrainian at ancient
-\@onlypreamble\dateukrainian at ancient
-%    \end{macrocode}
 %
 %    \subsection{Cyrillic math}
 %
 %    For compatibility with older Ukrainian packages we could define the |\No|
 %    macro. However the Ukrainian number sign is now superseded with |\textnumero|.
-%    Moreover, it can be found on the keyboard. Therefore we discard |\No|
-%    since v.1.2.
+%    Moreover, it can be found on the keyboard. Therefore we discard |\No|.
 %    \begin{macrocode}
 %\DeclareRobustCommand{\No}{%
 %   \ifmmode{\nfss at text{\textnumero}}\else\textnumero\fi}
@@ -1623,7 +1492,7 @@
 %    \end{macrocode}
 %
 %
-%    As of version 1.2 the macros |\cyrmath..| are not supported any more. They
+%    The macros |\cyrmath..| are not supported any more. They
 %    requires package \pkg{textmath} which is not available now. Instead of
 %    |\cyrmath..| it is advised to use corresponding |\text..| commands; they
 %    do work in math mode.
@@ -1684,31 +1553,6 @@
 \def\cth{\mathop{\operator at font cth}\nolimits}
 \def\cosec{\mathop{\operator at font cosec}\nolimits}
 %    \end{macrocode}
-%    \Describe\Prob{}%
-%    \DescribeOther\Variance{}%
-%    \DescribeOther\nsd{}%
-%    \DescribeOther\nsk{}%
-%    \DescribeOther\NSD{}%
-%    \DescribeOther\NSK{}%
-%    \DescribeOther\Proj{}%
-%    Finally, we define some rare Ukrainian mathematical symbols:
-%    \begin{macrocode}
-\def\Prob{\mathop{\kern\z@\mathsf{P}}\nolimits}
-\def\Variance{\mathop{\kern\z@\mathsf{D}}\nolimits}
-\if at ukr@uni at ode
-  \def\nsd{\mathop{\mathrm{н.с.д.}}\nolimits}
-  \def\nsk{\mathop{\mathrm{н.с.к.}}\nolimits}
-  \def\NSD{\mathop{\mathrm{НСД}}\nolimits}
-  \def\NSK{\mathop{\mathrm{НСК}}\nolimits}
-  \def\Proj{\mathop{\mathrm{Пр}}\nolimits}
-\else
-  \def\nsd{\mathop{\textrm{\textup{\cyrn.\cyrs.\cyrd.}}}\nolimits}
-  \def\nsk{\mathop{\textrm{\textup{\cyrn.\cyrs.\cyrk.}}}\nolimits}
-  \def\NSD{\mathop{\textrm{\textup{\CYRN\CYRS\CYRD}}}\nolimits}
-  \def\NSK{\mathop{\textrm{\textup{\CYRN\CYRS\CYRK}}}\nolimits}
-  \def\Proj{\mathop{\textrm{\textup{\CYRP\cyrr}}}\nolimits}
-\fi
-%    \end{macrocode}
 %
 %    \subsection{Final settings}
 %
@@ -1725,5 +1569,5 @@
 %\iffalse
 %</code>
 %\fi
-% \CheckSum{1519}
+% \CheckSum{1377}
 %\Finale

Modified: trunk/Master/texmf-dist/tex/generic/babel-ukrainian/ukraineb.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel-ukrainian/ukraineb.ldf	2017-06-08 20:42:30 UTC (rev 44526)
+++ trunk/Master/texmf-dist/tex/generic/babel-ukrainian/ukraineb.ldf	2017-06-08 21:22:51 UTC (rev 44527)
@@ -12,7 +12,7 @@
 %% See http://www.latex-project.org/lppl.txt
 %% ----------------------------------------------------------------
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesLanguage{ukraineb}[2017/06/06 1.3h Ukrainian support for the Babel system]
+\ProvidesLanguage{ukraineb}[2017/06/08 1.3i Ukrainian support for the Babel system]
 \LdfInit{ukrainian}{captionsukrainian}
 \ifdefined\if at ukr@uni at ode
   \PackageError{babel}{if at ukr@uni at ode already defined.\MessageBreak
@@ -77,12 +77,6 @@
   \expandafter\set at hyphenmins\ukrainianhyphenmins
   \language\l at ukrainian}%
 \let\cyr\cyrillictext
-%%\DeclareRobustCommand{\English}{%
-%%  \fontencoding\latinencoding\selectfont
-%%  \let\encodingdefault\latinencoding
-%%  \expandafter\set at hyphenmins\englishhyphenmins
-%%  \language\l at english}%
-%%\let\Eng\English
 \expandafter\ifx\csname T at X2\endcsname\relax\else
   \DeclareTextSymbolDefault{\AA}{OT1}
   \DeclareTextSymbolDefault{\aa}{OT1}
@@ -314,32 +308,30 @@
 \def\Asbuk#1{\expandafter\ukrainian at Alph\csname c@#1\endcsname}
 \if at ukr@uni at ode
   \def\ukrainian at 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}
+    А\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\ukrainian at Alph#1{\ifcase#1\or
-    \CYRA\or\CYRB\or\CYRV\or\CYRG\or\CYRD\or\CYRE\or\CYRYE\or\CYRZH\or
-    \CYRZ\or\CYRI\or\CYRII\or\CYRYI\or\CYRK\or\CYRL\or\CYRM\or\CYRN\or\CYRO\or
-    \CYRP\or\CYRR\or\CYRS\or\CYRT\or\CYRU\or\CYRF\or\CYRH\or
-    \CYRC\or\CYRCH\or\CYRSH\or\CYRSHCH\or\CYRYU\or
-    \CYRYA\else\@ctrerr\fi}
+    \CYRA\or\CYRB\or\CYRV\or\CYRG\or\CYRD\or\CYRE\or\CYRZH\or
+    \CYRI\or\CYRK\or\CYRL\or\CYRM\or\CYRN\or\CYRP\or\CYRR\or
+    \CYRS\or\CYRT\or\CYRU\or\CYRF\or\CYRH\or\CYRC\or\CYRSH\or
+    \CYRSHCH\or\CYRYU\or\CYRYA\else\@ctrerr\fi}
 \fi
 \def\asbuk#1{\expandafter\ukrainian at alph\csname c@#1\endcsname}
 \if at ukr@uni at ode
   \def\ukrainian at 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}
+    а\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\ukrainian at alph#1{\ifcase#1\or
-    \cyra\or\cyrb\or\cyrv\or\cyrg\or\cyrd\or\cyre\or\cyrye\or\cyrzh\or
-    \cyrz\or\cyri\or\cyrii\or\cyryi\or\cyrk\or\cyrl\or\cyrm\or\cyrn\or\cyro\or
-    \cyrp\or\cyrr\or\cyrs\or\cyrt\or\cyru\or\cyrf\or\cyrh\or
-    \cyrc\or\cyrch\or\cyrsh\or\cyrshch\or\cyryu\or
-    \cyrya\else\@ctrerr\fi}
+    \cyra\or\cyrb\or\cyrv\or\cyrg\or\cyrd\or\cyre\or\cyrzh\or
+    \cyri\or\cyrk\or\cyrl\or\cyrm\or\cyrn\or\cyrp\or\cyrr\or
+    \cyrs\or\cyrt\or\cyru\or\cyrf\or\cyrh\or\cyrc\or\cyrsh\or
+    \cyrshch\or\cyryu\or\cyrya\else\@ctrerr\fi}
 \fi
 \bbl at declare@ttribute{ukrainian}{ancient}{%
  \PackageInfo{babel}{ukrainian attribute set to ancient}%
@@ -346,8 +338,6 @@
  \let\captionsukrainian=\captionsukrainian at ancient
  \let\dateukrainian=\dateukrainian at ancient
 }
-\@onlypreamble\captionsukrainian at ancient
-\@onlypreamble\dateukrainian at ancient
 \def\sh{\mathop{\operator at font sh}\nolimits}
 \def\ch{\mathop{\operator at font ch}\nolimits}
 \def\tg{\mathop{\operator at font tg}\nolimits}
@@ -362,21 +352,6 @@
   }
 \def\cth{\mathop{\operator at font cth}\nolimits}
 \def\cosec{\mathop{\operator at font cosec}\nolimits}
-\def\Prob{\mathop{\kern\z@\mathsf{P}}\nolimits}
-\def\Variance{\mathop{\kern\z@\mathsf{D}}\nolimits}
-\if at ukr@uni at ode
-  \def\nsd{\mathop{\mathrm{н.с.д.}}\nolimits}
-  \def\nsk{\mathop{\mathrm{н.с.к.}}\nolimits}
-  \def\NSD{\mathop{\mathrm{НСД}}\nolimits}
-  \def\NSK{\mathop{\mathrm{НСК}}\nolimits}
-  \def\Proj{\mathop{\mathrm{Пр}}\nolimits}
-\else
-  \def\nsd{\mathop{\textrm{\textup{\cyrn.\cyrs.\cyrd.}}}\nolimits}
-  \def\nsk{\mathop{\textrm{\textup{\cyrn.\cyrs.\cyrk.}}}\nolimits}
-  \def\NSD{\mathop{\textrm{\textup{\CYRN\CYRS\CYRD}}}\nolimits}
-  \def\NSK{\mathop{\textrm{\textup{\CYRN\CYRS\CYRK}}}\nolimits}
-  \def\Proj{\mathop{\textrm{\textup{\CYRP\cyrr}}}\nolimits}
-\fi
 \ldf at finish{ukrainian}
 %% ----------------------------------------------------------------
 %% Copyright 2017 Sergiy М. Ponomarenko



More information about the tex-live-commits mailing list