summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-08-25 20:56:42 +0000
committerKarl Berry <karl@freefriends.org>2018-08-25 20:56:42 +0000
commitf27ed7b89bf0d6a819103d456c011972a55f39d4 (patch)
treee8a072dc8b22d27db109db5f67363c858832d8e9
parent21a58c30431c4e45b1b0bc9f94f4e696bab9a217 (diff)
belarusian (25aug18)
git-svn-id: svn://tug.org/texlive/trunk@48484 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/babel-belarusian/README.md (renamed from Master/texmf-dist/doc/generic/babel-belarusian/README)76
-rw-r--r--Master/texmf-dist/doc/generic/babel-belarusian/belarusian.pdfbin0 -> 152076 bytes
-rw-r--r--Master/texmf-dist/doc/generic/babel-belarusian/belarusianb.pdfbin150113 -> 0 bytes
-rw-r--r--Master/texmf-dist/source/generic/babel-belarusian/belarusian.dtx (renamed from Master/texmf-dist/source/generic/babel-belarusian/belarusianb.dtx)161
-rw-r--r--Master/texmf-dist/source/generic/babel-belarusian/belarusian.ins (renamed from Master/texmf-dist/source/generic/babel-belarusian/belarusianb.ins)34
-rw-r--r--Master/texmf-dist/tex/generic/babel-belarusian/belarusian.ldf (renamed from Master/texmf-dist/tex/generic/babel-belarusian/belarusianb.ldf)48
6 files changed, 178 insertions, 141 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-belarusian/README b/Master/texmf-dist/doc/generic/babel-belarusian/README.md
index 5db220e2630..fd22d09330b 100644
--- a/Master/texmf-dist/doc/generic/babel-belarusian/README
+++ b/Master/texmf-dist/doc/generic/babel-belarusian/README.md
@@ -1,35 +1,36 @@
-----------------------------------------------------------------
-
-Belarusian language module for Babel, v1.3h
+Belarusian language module for Babel, v1.4
+==========================================
Released under the LaTeX Project Public License v1.3c or later.
See http://www.latex-project.org/lppl.txt
The package provides support for use of Babel in documents written in Belarusian
-(in both official and "classic" forms). The support is adapted for use both
+(in both official and ‘classic’ forms). The support is adapted for use both
under legacy TEX engines, and under X∃TEX and LuaTEX.
Based on Russian language module v1.3h by Igor A. Kotelnikov <kia999 at mail dot ru>
and Belarusian language module v1.1l by Aleksey Novodvorsky <aen@logic.ru>.
-The Current Maintainer is Andrew Shadura <andrew@shadura.me>.
+The current maintainer is Andrej Shadura <andrew@shadura.me>.
-1. INSTALLATION
+INSTALLATION
+------------
- unpack babel-belarusian.zip
-- run "xelatex.exe belarusianb.dtx" (recommended)
- or "pdflatex.exe belarusianb.dtx";
- run "tex.exe belarusianb.dtx"
- or "tex.exe belarusianb.ins", if you don't need documentation
-- move "belarusianb.ldf" to <textmf>/tex/generic/babel/contrib/
-- move "belarusianb.pdf" and README to <textmf>/doc/latex/belarusian-babel/
+- run `xelatex belarusian.dtx` (recommended)
+ or `pdflatex belarusian.dtx`;
+ run `tex belarusian.dtx`
+ or `tex belarusian.ins`, if you don’t need documentation
+- move "belarusian.ldf" to ${texmf}/tex/generic/babel/contrib/
+- move "belarusian.pdf" and README to ${texmf}/doc/latex/belarusian-babel/
- update filename base (see documentation for your TeX system)
-2. USAGE
+USAGE
+-----
Belarusian 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
-lualatex.exe). The Unicode engines can be ran either in Unicode mode or 8-bit
+(such as latex or pdflatex) and Unicode compilers (xelatex or lualatex).
+The Unicode engines can be ran either in Unicode mode or 8-bit
compatibility mode, which emulates the legacy engines. The two modes differ by
a set of packages loaded in the preamble of a source TeX file. It is important
to keep recommended order of the packages loaded, especially when running
@@ -37,28 +38,28 @@ Unicode engines in a compatibility 8-bit mode.
In the examples below, it is assumed that a source file has utf8 input encoding.
-2.1. 8-bit mode
+### 8-bit mode
-2.1.1 PDFLATeX, LaTeX
+#### PDFLATeX, LaTeX
\usepackage[T1,T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,belarusian]{babel}
-2.1.2 LuaLaTeX
+#### LuaLaTeX
\usepackage[T1,T2A]{fontenc}
\usepackage[lutf8]{luainputenc}
\usepackage[english,belarusian]{babel}
-2.1.3 XeLaTeX
+#### XeLaTeX
\XeTeXinputencoding "bytes"
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
\usepackage[english,belarusian]{babel}
-2.2 Unicode mode, LuaLaTeX or XeLaTeX
+### Unicode mode, LuaLaTeX or XeLaTeX
\usepackage{fontspec}
\defaultfontfeatures{Ligatures={TeX}}
@@ -70,35 +71,52 @@ In the examples below, it is assumed that a source file has utf8 input encoding.
Instead of the Computer Modern Unicode (CMU) fonts loaded in this example,
you may use any True Type or Open Type fonts installed on your computer.
-2.3 Using "classic" (Taraškievič) spelling
+### Using "classic" (Taraškievič) spelling
\usepackage[english,belarusian]{babel}
\languageattribute{belarusian}{classic}
+
or
+
\usepackage[english,belarusian.classic]{babel}
+
or
+
\usepackage[english,belarusian]{babel}
\languageattribute{belarusian}{tarask}
+
or
+
\usepackage[english,belarusian.tarask]{babel}
-3. DOCUMENTATION
+DOCUMENTATION
+-------------
-See belarusianb.pdf for more information.
+See belarusian.pdf for more information.
-4. KNOWN PROBLEMS
+KNOWN PROBLEMS
+--------------
Before switching from a legacy 8-bit engine (tex, pdftex) to an Unicode
engine (xetex, luatex) and vise versa delete all .aux, .toc, .lot, .lof
files as they might have stored incompatible internal encodings.
-5. CHANGES
+CHANGES
+-------
+
+2018-08-25 version 1.4
+
+ * Rename belarusianb.dtx to belarusian.dtx since the patch to Babel
+ has been never submitted.
+ * Use textcomp package in the documentation.
+ * Formatting fixes.
+ * Convert the README to Markdown.
+ * Rename the Unicode detection macro to fix conflicts with babel-russian.
2016-04-07 version 1.3h
- * Initial version
+ * Initial version
-Original source: russianb.dtx,
- 2016-02-18 v1.3h Russian support from the babel system.
+Original source: russianb.dtx
-----------------------------------------------------------------
+2016-02-18 v1.3h Russian support from the babel system.
diff --git a/Master/texmf-dist/doc/generic/babel-belarusian/belarusian.pdf b/Master/texmf-dist/doc/generic/babel-belarusian/belarusian.pdf
new file mode 100644
index 00000000000..f76fe958b26
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/babel-belarusian/belarusian.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/babel-belarusian/belarusianb.pdf b/Master/texmf-dist/doc/generic/babel-belarusian/belarusianb.pdf
deleted file mode 100644
index 88bfa1c4cb1..00000000000
--- a/Master/texmf-dist/doc/generic/babel-belarusian/belarusianb.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/source/generic/babel-belarusian/belarusianb.dtx b/Master/texmf-dist/source/generic/babel-belarusian/belarusian.dtx
index f1d2df0fc50..583d63cc00a 100644
--- a/Master/texmf-dist/source/generic/babel-belarusian/belarusianb.dtx
+++ b/Master/texmf-dist/source/generic/babel-belarusian/belarusian.dtx
@@ -5,40 +5,41 @@
\iffalse
%</internal>
%<*readme>
-----------------------------------------------------------------
-
-Belarusian language module for Babel, v1.3h
+Belarusian language module for Babel, v1.4
+==========================================
Released under the LaTeX Project Public License v1.3c or later.
See http://www.latex-project.org/lppl.txt
The package provides support for use of Babel in documents written in Belarusian
-(in both official and "classic" forms). The support is adapted for use both
+(in both official and ‘classic’ forms). The support is adapted for use both
under legacy TEX engines, and under X∃TEX and LuaTEX.
Based on Russian language module v1.3h by Igor A. Kotelnikov <kia999 at mail dot ru>
and Belarusian language module v1.1l by Aleksey Novodvorsky <aen@logic.ru>.
-The Current Maintainer is Andrew Shadura <andrew@shadura.me>.
+The current maintainer is Andrej Shadura <andrew@shadura.me>.
-1. INSTALLATION
+INSTALLATION
+------------
- unpack babel-belarusian.zip
-- run "xelatex.exe belarusianb.dtx" (recommended)
- or "pdflatex.exe belarusianb.dtx";
- run "tex.exe belarusianb.dtx"
- or "tex.exe belarusianb.ins", if you don't need documentation
-- move "belarusianb.ldf" to <textmf>/tex/generic/babel/contrib/
-- move "belarusianb.pdf" and README to <textmf>/doc/latex/belarusian-babel/
+- run `xelatex belarusian.dtx` (recommended)
+ or `pdflatex belarusian.dtx`;
+ run `tex belarusian.dtx`
+ or `tex belarusian.ins`, if you don’t need documentation
+- move "belarusian.ldf" to ${texmf}/tex/generic/babel/contrib/
+- move "belarusian.pdf" and README to ${texmf}/doc/latex/belarusian-babel/
- update filename base (see documentation for your TeX system)
-2. USAGE
+USAGE
+-----
Belarusian 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
-lualatex.exe). The Unicode engines can be ran either in Unicode mode or 8-bit
+(such as latex or pdflatex) and Unicode compilers (xelatex or lualatex).
+The Unicode engines can be ran either in Unicode mode or 8-bit
compatibility mode, which emulates the legacy engines. The two modes differ by
a set of packages loaded in the preamble of a source TeX file. It is important
to keep recommended order of the packages loaded, especially when running
@@ -46,28 +47,28 @@ Unicode engines in a compatibility 8-bit mode.
In the examples below, it is assumed that a source file has utf8 input encoding.
-2.1. 8-bit mode
+### 8-bit mode
-2.1.1 PDFLATeX, LaTeX
+#### PDFLATeX, LaTeX
\usepackage[T1,T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,belarusian]{babel}
-2.1.2 LuaLaTeX
+#### LuaLaTeX
\usepackage[T1,T2A]{fontenc}
\usepackage[lutf8]{luainputenc}
\usepackage[english,belarusian]{babel}
-2.1.3 XeLaTeX
+#### XeLaTeX
\XeTeXinputencoding "bytes"
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
\usepackage[english,belarusian]{babel}
-2.2 Unicode mode, LuaLaTeX or XeLaTeX
+### Unicode mode, LuaLaTeX or XeLaTeX
\usepackage{fontspec}
\defaultfontfeatures{Ligatures={TeX}}
@@ -79,40 +80,57 @@ In the examples below, it is assumed that a source file has utf8 input encoding.
Instead of the Computer Modern Unicode (CMU) fonts loaded in this example,
you may use any True Type or Open Type fonts installed on your computer.
-2.3 Using "classic" (Taraškievič) spelling
+### Using "classic" (Taraškievič) spelling
\usepackage[english,belarusian]{babel}
\languageattribute{belarusian}{classic}
+
or
+
\usepackage[english,belarusian.classic]{babel}
+
or
+
\usepackage[english,belarusian]{babel}
\languageattribute{belarusian}{tarask}
+
or
+
\usepackage[english,belarusian.tarask]{babel}
-3. DOCUMENTATION
+DOCUMENTATION
+-------------
-See belarusianb.pdf for more information.
+See belarusian.pdf for more information.
-4. KNOWN PROBLEMS
+KNOWN PROBLEMS
+--------------
Before switching from a legacy 8-bit engine (tex, pdftex) to an Unicode
engine (xetex, luatex) and vise versa delete all .aux, .toc, .lot, .lof
files as they might have stored incompatible internal encodings.
-5. CHANGES
+CHANGES
+-------
+
+2018-08-25 version 1.4
+
+ * Rename belarusianb.dtx to belarusian.dtx since the patch to Babel
+ has been never submitted.
+ * Use textcomp package in the documentation.
+ * Formatting fixes.
+ * Convert the README to Markdown.
+ * Rename the Unicode detection macro to fix conflicts with babel-russian.
2016-04-07 version 1.3h
- * Initial version
+ * Initial version
-Original source: russianb.dtx,
- 2016-02-18 v1.3h Russian support from the babel system.
+Original source: russianb.dtx
-----------------------------------------------------------------
+2016-02-18 v1.3h Russian support from the babel system.
%</readme>
%<*internal>
\fi
@@ -135,7 +153,7 @@ See http://www.latex-project.org/lppl.txt
\endpreamble
\postamble
----------------------------------------------------------------
-Copyright 2016 Andrew Shadura
+Copyright 2016, 2018 Andrej Shadura
Copyright 2011-2016 Igor A. Kotelnikov.
Copyright 2000 Aleksey Novodvorsky
Copyright 1995-2008 Olga Lapko.
@@ -151,13 +169,13 @@ version. The latest version of this license is in the file:
http://www.latex-project.org/lppl.txt
The package is "maintained" (as per LPPL maintenance status) by
-Andrew Shadura.
+Andrej Shadura.
-The package consists of the file belarusianb.dtx
-and the derived files belarusianb.ins,
- belarusianb.ldf,
- belarusianb.pdf,
- README.
+The package consists of the file belarusian.dtx
+and the derived files belarusian.ins,
+ belarusian.ldf,
+ belarusian.pdf,
+ README.md
----------------------------------------------------------------
\endpostamble
\usedir{tex/generic/babel/contrib}
@@ -174,7 +192,7 @@ and the derived files belarusianb.ins,
\nopreamble\nopostamble
\usedir{doc/latex/babel-belarusian}
\generate{
- \file{README.}{\from{\jobname.dtx}{readme}}
+ \file{README.md}{\from{\jobname.dtx}{readme}}
}
\ifx\fmtname\nameofplainTeX
\expandafter\endbatchfile
@@ -184,8 +202,8 @@ and the derived files belarusianb.ins,
%</internal>
%<*code>
\NeedsTeXFormat{LaTeX2e}
-%\ProvidesFile{belarusianb.ldf}[2016/04/07 1.3h Belarusian support for the Babel system]
-\ProvidesLanguage{belarusianb}[2016/04/07 1.3h Belarusian support for the Babel system]
+%\ProvidesFile{belarusian.ldf}[2018/08/25 1.4 Belarusian support for the Babel system]
+\ProvidesLanguage{belarusian}[2018/08/25 1.4 Belarusian support for the Babel system]
%</code>
%<*driver>
\documentclass[a4paper]{ltxdoc}
@@ -209,6 +227,7 @@ and the derived files belarusianb.ins,
\usepackage[X2,T2A]{fontenc}
\usepackage[utf8]{inputenc}
\fi
+\usepackage{textcomp}
\usepackage[belarusian.classic,main=english]{babel}
%\languageattribute{belarusian}{classic}
\usepackage[dvipsnames,usenames]{xcolor}
@@ -319,8 +338,8 @@ and the derived files belarusianb.ins,
%</driver>
% \fi
%
-%\GetFileInfo{belarusianb.dtx}
-%\GetFileInfo{belarusianb.ldf}
+%\GetFileInfo{belarusian.dtx}
+%\GetFileInfo{belarusian.ldf}
%
%\title{^^A
% \textsf{Belarusian} --- description text\thanks{^^A
@@ -334,7 +353,7 @@ and the derived files belarusianb.ins,
% in the \babel\ system\\[0.5em]
% \large Version \fileversion}
%
-% \author{Andrew Shadura\footnote{E-mail: \href{mailto:andrew@shadura.me}{andrew@shadura.me}.}}
+% \author{Andrej Shadura\footnote{E-mail: \href{mailto:andrew@shadura.me}{andrew@shadura.me}.}}
%
% \date{Released \filedate}
%
@@ -348,7 +367,7 @@ and the derived files belarusianb.ins,
% The file \file{\filename}\footnote{The file described in this document
% has the version number \fileversion\ and was last revised on \filedate.}
% is the source file for the Belarusian Language Definition file
-% \file{belarusianb.ldf} to be loaded by the \babel\ package with
+% \file{belarusian.ldf} to be loaded by the \babel\ package with
% the option \Lopt{belarusian}. It's based on the Russian language definition
% file derived by Igor A. Kotelnikov from the original version of \file{\filename}, first
% released by Olga Lapko and Johannes Braams and then
@@ -357,7 +376,7 @@ and the derived files belarusianb.ins,
% file written by Aleksey Novodvorsky based on even older version of the Russian
% language definition file.
%
-% Just like \file{russianb.ldf}, \file{belarusianb.ldf} is designed to work both with
+% Just like \file{russianb.ldf}, \file{belarusian.ldf} is designed to work both with
% legacy non-unicode (8-bit) and new Unicode encodings of the source document
% files (input encodings) and of the font files (font encodings). This is
% achieved by excluding (bypassing) the |\cyr...| macros, which map every letter
@@ -369,7 +388,7 @@ and the derived files belarusianb.ins,
% release of version 1.2 of \file{russianb.ldf}.
%
% Similarly to \file{russianb.ldf}'s support for typesetting ancient and
-% Church Slavonic books, \file{belarusianb.ldf} supports two versions of Belarusian
+% Church Slavonic books, \file{belarusian.ldf} supports two versions of Belarusian
% orthography, the official one (\Lopt{official}) and the ‘classic’ (Taraškievič)
% orthography.
%
@@ -404,7 +423,7 @@ and the derived files belarusianb.ins,
%
% \subsection{\LaTeX}
%
-% When user's document is compiled with \file{latex.exe} or \file{pdflatex.exe},
+% When user's document is compiled with \file{latex} or \file{pdflatex},
% recommended set of packages includes the \pkg{inputenc} and \pkg{fontenc}
% packages. They should be loaded before \pkg{babel}, for example,
% \begin{verbatim}
@@ -553,12 +572,12 @@ and the derived files belarusianb.ins,
% In a multilingual document, some typographic rules are language
% dependent and should apply to the whole document.
%
-%^^AAs of version~1.2, \file{belarusianb.ldf} behaves differently
+%^^AAs of version~1.2, \file{belarusian.ldf} behaves differently
%^^Aaccording to \babel's \emph{main language} defined as the \emph{last}
%^^Aoption. When Belarusian is
%^^A|babel|'s main language, it adjusts global layout of the document
%^^Aaccording to typographical conventions of Belarusian language. Namely,
-%^^A\file{belarusianb.ldf} makes the following changes to global layout even
+%^^A\file{belarusian.ldf} makes the following changes to global layout even
%^^Ain the parts where Belarusian is not current language:
%^^A\begin{enumerate}
%^^A\item
@@ -588,7 +607,7 @@ and the derived files belarusianb.ins,
% attribute to \Lopt{classic} in the document preamble as discussed in
% Sec.~\ref{ssec:spelling}.
%
-% Since Belarusian has its own numbering system, \file{belarusianb.ldf} adds macros
+% Since Belarusian has its own numbering system, \file{belarusian.ldf} adds macros
% |\asbuk|\marg{counter} and |\Asbuk|\marg{counter} for formatting numbers appropriately the alphabetic
% sequence in the Belarusian alphabet. Additional commands are provided
% to typeset quotes:
@@ -602,7 +621,7 @@ and the derived files belarusianb.ins,
%
% The macro |\Belarusian| is now defined as an alias for
% |\selectlanguage{belarusian}|, and its ``opponent'' |\English|, existed
-% in \file{belarusianb.ldf} prior to version 1.2 has been removed since the Belarusian
+% in \file{belarusian.ldf} prior to version 1.2 has been removed since the Belarusian
% language definition file is wrong place for definition of macros which
% switch to a distinct other language.
%
@@ -622,7 +641,7 @@ and the derived files belarusianb.ins,
%
% \begin{table}[ht]\centering
% \caption{Extra definitions made
-% by \file{belarusianb.ldf}}\label{tab:belarusian-quote}
+% by \file{belarusian.ldf}}\label{tab:belarusian-quote}
% \medskip
% \begin{tabular}{llp{7cm}}
% \hline\hline\\[-0.5em]
@@ -693,7 +712,7 @@ and the derived files belarusianb.ins,
% 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{belarusianb.ldf} starting from version 1.3 in favour of
+% has been removed from \file{belarusian.ldf} starting from version 1.3 in favour of
% the macros |\shorthandon| and |\shorthandoff| provided in the \pkg{babel} core.
%
%
@@ -766,7 +785,7 @@ and the derived files belarusianb.ins,
% \changes{1.3e}{2014/10/14}{Update documentation}
% \changes{1.3d}{2014/10/02}{Fix bug in \cs{Proj}}
% \changes{1.3c}{2014/06/02}{Fix bug in \cs{datebelarusian}}
-% \changes{1.3b}{2013/04/06}{Renamed to belarusianb to work with babel 3.9}
+% \changes{1.3b}{2013/04/06}{Renamed to belarusian to work with babel 3.9}
% \changes{1.2b}{2013/01/08}{Renamed to belarusianu to work with babel-beta 3.9}
% \changes{1.2a}{2012/06/06}{Indentation of 1st paragraph removed}
% \changes{1.1c}{1996/07/11}{Replaced \cs{undefined} with
@@ -798,7 +817,7 @@ and the derived files belarusianb.ins,
% \end{macrocode}
%
% First, we check if Lua\LaTeX\ or Xe\LaTeX\ is running. If so, we set
-% boolean key |\if@uni@ode| to true. It will be used to eliminate |\cyr...|
+% boolean key |\if@uni@ode@be| to true. It will be used to eliminate |\cyr...|
% commands, which were introduced in \LaTeX2e\ to handle various
% Cyrillic input encoding. With the advent of Unicode \LaTeX\ is
% moving to universal input encoding, so we consider these |\cyr...|
@@ -812,14 +831,14 @@ and the derived files belarusianb.ins,
%
% \changes{1.2}{2011/10/20}{Check for LuaTeX}
% \begin{macrocode}
-\ifdefined\if@uni@ode
+\ifdefined\if@uni@ode@be
\PackageError{babel}{if@uni@ode already defined.\MessageBreak
- Please contact author of belarusianb.ldf}
+ Please contact author of belarusian.ldf}
\relax
\fi
-\newif\if@uni@ode
-\ifdefined\luatexversion \@uni@odetrue \else
-\ifdefined\XeTeXrevision \@uni@odetrue \fi\fi
+\newif\if@uni@ode@be
+\ifdefined\luatexversion \@uni@ode@betrue \else
+\ifdefined\XeTeXrevision \@uni@ode@betrue \fi\fi
% \end{macrocode}
%
% Check if hyphenation patterns for the Belarusian language have been
@@ -843,7 +862,7 @@ and the derived files belarusianb.ins,
% package in case of \LaTeX\ and by \pkg{fontspec} package in case of
% Lua\LaTeX. It matters weather these packages are loaded before of after
% \pkg{babel}. In the latter case or if these packages are not loaded at all,
-% \file{belarusianb.ldf} ignores their effect and tries to provide some
+% \file{belarusian.ldf} ignores their effect and tries to provide some
% reasonable settings. In particular, \texttt{T2A} will be selected for
% Belarusian language if \LaTeX\ is running but \texttt{EU1} in case of
% Xe\LaTeX\ and \texttt{EU2} in case of Lua\LaTeX.
@@ -856,7 +875,7 @@ and the derived files belarusianb.ins,
% 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{belarusianb.ldf} since it is overruled in \file{babel.def}.
+% \file{belarusian.ldf} since it is overruled in \file{babel.def}.
% For example, after
%\begin{verbatim}
%\usepackage[T1,T2A]{fontenc}
@@ -935,7 +954,7 @@ and the derived files belarusianb.ins,
\sce@a{##1}{T2C}%
\sce@a{##1}{T2B}%
\sce@a{##1}{T2A}%
- \if@uni@ode
+ \if@uni@ode@be
\sce@a{##1}{EU1}%
\sce@a{##1}{EU2}%
\fi}%
@@ -961,7 +980,7 @@ and the derived files belarusianb.ins,
% \begin{macrocode}
\ifdefined\cyrillicencoding
\else
- \if@uni@ode
+ \if@uni@ode@be
\ifdefined\XeTeXrevision
\edef\cyrillicencoding{EU1}
\else\ifdefined\luatexversion
@@ -1032,7 +1051,7 @@ and the derived files belarusianb.ins,
% 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{belarusianb.ldf}'s counterpart in the package \pkg{polyglossia},
+% in \file{belarusian.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}
@@ -1120,7 +1139,7 @@ and the derived files belarusianb.ins,
% \changes{1.2}{2011/10/11}{Removed LWN encoding}
% \begin{macrocode}
\@ifpackageloaded{inputenc}{%
- \if@uni@ode
+ \if@uni@ode@be
\PackageWarning{babel}{inputenc should not be used with LuaTeX or XeTeX}
\fi
}{%
@@ -1345,7 +1364,7 @@ and the derived files belarusianb.ins,
%
% \changes{1.2}{2011/10/20}{Unicode code-points added for LuaLaTeX}
% \begin{macrocode}
-\if@uni@ode
+\if@uni@ode@be
%\captionsbelarusian@official
\addto\captionsbelarusian{%
\def\prefacename{Прадмова}% [babel]
@@ -1590,7 +1609,7 @@ and the derived files belarusianb.ins,
%
% \changes{1.2}{2011/10/20}{Unicode code-points added for LuaLaTeX}
% \begin{macrocode}
-\if@uni@ode
+\if@uni@ode@be
\addto\datebelarusian{%
\def\today{\number\day~\ifcase\month\or
студзеня\or
@@ -1663,7 +1682,7 @@ and the derived files belarusianb.ins,
% |\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{belarusianb.ldf}.
+% not deal of \file{belarusian.ldf}.
%
% \changes{1.1a}{1995/07/04}{use \cs{belarusianhyphenmins} to
% store the correct values}
@@ -1774,7 +1793,7 @@ and the derived files belarusianb.ins,
%
% \begin{macrocode}
\def\Asbuk#1{\expandafter\belarusian@Alph\csname c@#1\endcsname}
-\if@uni@ode
+\if@uni@ode@be
\def\belarusian@Alph#1{\ifcase#1\or
А\or Б\or В\or Г\or Д\or Е\or Ж\or
З\or І\or К\or Л\or М\or Н\or О\or
@@ -1796,7 +1815,7 @@ and the derived files belarusianb.ins,
%
% \begin{macrocode}
\def\asbuk#1{\expandafter\belarusian@alph\csname c@#1\endcsname}
-\if@uni@ode
+\if@uni@ode@be
\def\belarusian@alph#1{\ifcase#1\or
а\or б\or в\or г\or д\or е\or ж\or
з\or і\or к\or л\or м\or н\or о\or
@@ -1922,7 +1941,7 @@ and the derived files belarusianb.ins,
% \begin{macrocode}
\def\Prob{\mathop{\kern\z@\mathsf{P}}\nolimits}
\def\Variance{\mathop{\kern\z@\mathsf{D}}\nolimits}
-\if@uni@ode
+\if@uni@ode@be
\def\nod{\mathop{\mathrm{н.а.д.}}\nolimits}
\def\nok{\mathop{\mathrm{н.а.к.}}\nolimits}
\def\NOD{\mathop{\mathrm{НАД}}\nolimits}
diff --git a/Master/texmf-dist/source/generic/babel-belarusian/belarusianb.ins b/Master/texmf-dist/source/generic/babel-belarusian/belarusian.ins
index 3bd07471056..bd34f3a497d 100644
--- a/Master/texmf-dist/source/generic/babel-belarusian/belarusianb.ins
+++ b/Master/texmf-dist/source/generic/babel-belarusian/belarusian.ins
@@ -1,10 +1,10 @@
%%
-%% This is file `belarusianb.ins',
+%% This is file `belarusian.ins',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
-%% belarusianb.dtx (with options: `install')
+%% belarusian.dtx (with options: `install')
%% ----------------------------------------------------------------
%% Belarusian Language Support for the Babel package
%% E-mail: andrew@shadura.me
@@ -24,7 +24,7 @@ See http://www.latex-project.org/lppl.txt
\endpreamble
\postamble
----------------------------------------------------------------
-Copyright 2016 Andrew Shadura
+Copyright 2016, 2018 Andrej Shadura
Copyright 2011-2016 Igor A. Kotelnikov.
Copyright 2000 Aleksey Novodvorsky
Copyright 1995-2008 Olga Lapko.
@@ -40,13 +40,13 @@ version. The latest version of this license is in the file:
http://www.latex-project.org/lppl.txt
The package is "maintained" (as per LPPL maintenance status) by
-Andrew Shadura.
+Andrej Shadura.
-The package consists of the file belarusianb.dtx
-and the derived files belarusianb.ins,
- belarusianb.ldf,
- belarusianb.pdf,
- README.
+The package consists of the file belarusian.dtx
+and the derived files belarusian.ins,
+ belarusian.ldf,
+ belarusian.pdf,
+ README.md
----------------------------------------------------------------
\endpostamble
\usedir{tex/generic/babel/contrib}
@@ -55,7 +55,7 @@ and the derived files belarusianb.ins,
}
\endbatchfile
%% ----------------------------------------------------------------
-%% Copyright 2016 Andrew Shadura
+%% Copyright 2016, 2018 Andrej Shadura
%% Copyright 2011-2016 Igor A. Kotelnikov.
%% Copyright 2000 Aleksey Novodvorsky
%% Copyright 1995-2008 Olga Lapko.
@@ -71,13 +71,13 @@ and the derived files belarusianb.ins,
%% http://www.latex-project.org/lppl.txt
%%
%% The package is "maintained" (as per LPPL maintenance status) by
-%% Andrew Shadura.
+%% Andrej Shadura.
%%
-%% The package consists of the file belarusianb.dtx
-%% and the derived files belarusianb.ins,
-%% belarusianb.ldf,
-%% belarusianb.pdf,
-%% README.
+%% The package consists of the file belarusian.dtx
+%% and the derived files belarusian.ins,
+%% belarusian.ldf,
+%% belarusian.pdf,
+%% README.md
%% ----------------------------------------------------------------
%%
-%% End of file `belarusianb.ins'.
+%% End of file `belarusian.ins'.
diff --git a/Master/texmf-dist/tex/generic/babel-belarusian/belarusianb.ldf b/Master/texmf-dist/tex/generic/babel-belarusian/belarusian.ldf
index 50ced11f04d..883d37d64b0 100644
--- a/Master/texmf-dist/tex/generic/babel-belarusian/belarusianb.ldf
+++ b/Master/texmf-dist/tex/generic/babel-belarusian/belarusian.ldf
@@ -1,10 +1,10 @@
%%
-%% This is file `belarusianb.ldf',
+%% This is file `belarusian.ldf',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
-%% belarusianb.dtx (with options: `code')
+%% belarusian.dtx (with options: `code')
%% ----------------------------------------------------------------
%% Belarusian Language Support for the Babel package
%% E-mail: andrew@shadura.me
@@ -12,16 +12,16 @@
%% See http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesLanguage{belarusianb}[2016/04/07 1.3h Belarusian support for the Babel system]
+\ProvidesLanguage{belarusian}[2018/08/25 1.4 Belarusian support for the Babel system]
\LdfInit{belarusian}{captionsbelarusian}
-\ifdefined\if@uni@ode
+\ifdefined\if@uni@ode@be
\PackageError{babel}{if@uni@ode already defined.\MessageBreak
- Please contact author of belarusianb.ldf}
+ Please contact author of belarusian.ldf}
\relax
\fi
-\newif\if@uni@ode
-\ifdefined\luatexversion \@uni@odetrue \else
-\ifdefined\XeTeXrevision \@uni@odetrue \fi\fi
+\newif\if@uni@ode@be
+\ifdefined\luatexversion \@uni@ode@betrue \else
+\ifdefined\XeTeXrevision \@uni@ode@betrue \fi\fi
\ifx\l@belarusian\@undefined
\@nopatterns{Belarusian}
\adddialect\l@belarusian0
@@ -40,7 +40,7 @@
\sce@a{##1}{T2C}%
\sce@a{##1}{T2B}%
\sce@a{##1}{T2A}%
- \if@uni@ode
+ \if@uni@ode@be
\sce@a{##1}{EU1}%
\sce@a{##1}{EU2}%
\fi}%
@@ -53,7 +53,7 @@
\@onlypreamble\sce@c
\ifdefined\cyrillicencoding
\else
- \if@uni@ode
+ \if@uni@ode@be
\ifdefined\XeTeXrevision
\edef\cyrillicencoding{EU1}
\else\ifdefined\luatexversion
@@ -91,7 +91,7 @@
\fi
\DeclareTextFontCommand{\textcyrillic}{\cyrillictext}
\@ifpackageloaded{inputenc}{%
- \if@uni@ode
+ \if@uni@ode@be
\PackageWarning{babel}{inputenc should not be used with LuaTeX or XeTeX}
\fi
}{%
@@ -145,7 +145,7 @@
\ProvideTextCommandDefault{\cyrdash}{\iflanguage{belarusian}%
{\hbox to.8em{--\hss--}}{\textemdash}}
\declare@shorthand{belarusian}{",}{\nobreak\hskip.2em\ignorespaces}
-\if@uni@ode
+\if@uni@ode@be
%\captionsbelarusian@official
\addto\captionsbelarusian{%
\def\prefacename{Прадмова}% [babel]
@@ -370,7 +370,7 @@
\fi
%% =========================================
\fi
-\if@uni@ode
+\if@uni@ode@be
\addto\datebelarusian{%
\def\today{\number\day~\ifcase\month\or
студзеня\or
@@ -443,7 +443,7 @@
\addto\extrasbelarusian{\bbl@frenchspacing}
\addto\noextrasbelarusian{\bbl@nonfrenchspacing}
\def\Asbuk#1{\expandafter\belarusian@Alph\csname c@#1\endcsname}
-\if@uni@ode
+\if@uni@ode@be
\def\belarusian@Alph#1{\ifcase#1\or
А\or Б\or В\or Г\or Д\or Е\or Ж\or
З\or І\or К\or Л\or М\or Н\or О\or
@@ -458,7 +458,7 @@
\CYRYA\else\@ctrerr\fi}
\fi
\def\asbuk#1{\expandafter\belarusian@alph\csname c@#1\endcsname}
-\if@uni@ode
+\if@uni@ode@be
\def\belarusian@alph#1{\ifcase#1\or
а\or б\or в\or г\or д\or е\or ж\or
з\or і\or к\or л\or м\or н\or о\or
@@ -500,7 +500,7 @@
\def\cosec{\mathop{\operator@font cosec}\nolimits}
\def\Prob{\mathop{\kern\z@\mathsf{P}}\nolimits}
\def\Variance{\mathop{\kern\z@\mathsf{D}}\nolimits}
-\if@uni@ode
+\if@uni@ode@be
\def\nod{\mathop{\mathrm{н.а.д.}}\nolimits}
\def\nok{\mathop{\mathrm{н.а.к.}}\nolimits}
\def\NOD{\mathop{\mathrm{НАД}}\nolimits}
@@ -523,7 +523,7 @@
\fi
\ldf@finish{belarusian}
%% ----------------------------------------------------------------
-%% Copyright 2016 Andrew Shadura
+%% Copyright 2016, 2018 Andrej Shadura
%% Copyright 2011-2016 Igor A. Kotelnikov.
%% Copyright 2000 Aleksey Novodvorsky
%% Copyright 1995-2008 Olga Lapko.
@@ -539,13 +539,13 @@
%% http://www.latex-project.org/lppl.txt
%%
%% The package is "maintained" (as per LPPL maintenance status) by
-%% Andrew Shadura.
+%% Andrej Shadura.
%%
-%% The package consists of the file belarusianb.dtx
-%% and the derived files belarusianb.ins,
-%% belarusianb.ldf,
-%% belarusianb.pdf,
-%% README.
+%% The package consists of the file belarusian.dtx
+%% and the derived files belarusian.ins,
+%% belarusian.ldf,
+%% belarusian.pdf,
+%% README.md
%% ----------------------------------------------------------------
%%
-%% End of file `belarusianb.ldf'.
+%% End of file `belarusian.ldf'.