From 5187d8af76756cc8c101de4a50c9ccfb9acd0c9a Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 11 Jan 2021 03:01:24 +0000 Subject: CTAN sync 202101110301 --- macros/latex/contrib/babel-contrib/russian/README | 278 -------- .../latex/contrib/babel-contrib/russian/README.md | 292 +++++++++ .../contrib/babel-contrib/russian/russianb.dtx | 248 +++++--- .../contrib/babel-contrib/russian/russianb.ins | 20 +- .../contrib/babel-contrib/russian/russianb.ldf | 702 +++++++++++++++++++++ .../contrib/babel-contrib/russian/russianb.pdf | Bin 127486 -> 135771 bytes macros/latex/contrib/curve2e/README.txt | 2 +- macros/latex/contrib/curve2e/curve2e.dtx | 40 +- macros/latex/contrib/curve2e/curve2e.pdf | Bin 654227 -> 647981 bytes 9 files changed, 1206 insertions(+), 376 deletions(-) delete mode 100644 macros/latex/contrib/babel-contrib/russian/README create mode 100644 macros/latex/contrib/babel-contrib/russian/README.md create mode 100644 macros/latex/contrib/babel-contrib/russian/russianb.ldf (limited to 'macros/latex') diff --git a/macros/latex/contrib/babel-contrib/russian/README b/macros/latex/contrib/babel-contrib/russian/README deleted file mode 100644 index fb47e71ebd..0000000000 --- a/macros/latex/contrib/babel-contrib/russian/README +++ /dev/null @@ -1,278 +0,0 @@ ----------------------------------------------------------------- - -Russian language module for Babel, v1.3l - -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 Russian -(in both traditional and ancient forms). The support is adapted for use both -under legacy TEX engines, and under X∃TEX and LuaTEX. - -The Current Maintainer is Igor A. Kotelnikov . - -1. INSTALLATION - -- Unpack babel-russian.zip. -- Run "xelatex.exe russianb.dtx" (recommended) - or "pdflatex.exe russianb.dtx"; - alternatively run "tex.exe russianb.dtx" - or "tex.exe russianb.ins", if you don't need documentation -- Move "russianb.ldf" to /tex/latex/babel-russian -- Move "russianb.pdf" and README to /doc/latex/russian-babel/ -- Update filename base (see documentation for your TeX system) - -2. USAGE - -Russian 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 -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 -Unicode engines in a compatibility 8-bit mode. - -In the examples below, it is assumed that a source file to be compile -has utf8 input encoding. - -2.1. 8-bit mode - -2.1.1 PDFLATeX, LaTeX - - \usepackage[T1,T2A]{fontenc} - \usepackage[utf8]{inputenc} - \usepackage[english,russian]{babel} - -2.1.2 LuaLaTeX - - \usepackage[T1,T2A]{fontenc} - \usepackage[lutf8]{luainputenc} - \usepackage[english,russian]{babel} - -2.1.3 XeLaTeX - - \XeTeXinputencoding "bytes" - \usepackage[utf8]{inputenc} - \usepackage[T2A]{fontenc} - \usepackage[english,russian]{babel} - -2.2 Unicode mode, LuaLaTeX or XeLaTeX - - \usepackage{fontspec} - \defaultfontfeatures{Ligatures={TeX}} - \setmainfont{CMU Serif} - \setsansfont{CMU Sans Serif} - \setmonofont{CMU Typewriter Text} - \usepackage[english,russian]{babel} - -Instead of the Computer Modern Unicode (CMU) fonts loaded in this example, -you may try any True Type or Open Type fonts installed on your computer provided -that those fonts came with Russian letters. - -2.3 Typesetting ancient book - - \usepackage[english,russian]{babel} - \languageattribute{russian}{ancient} -or - \usepackage[english,russian.ancient]{babel} - -Using Unicode mode is strongly recommended for typesetting ancient texts. -Be sure to take X2 or OT2 font encodings when running 8-bit engine such -as latex or pdflatex. - -3. DOCUMENTATION - -See russianb.pdf for more information. - -4. 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. - -T2* font encodings do not have legacy Cyrillic letters `yat', which is -hard-coded in ancient caption names. Be sure to use an Unicode engine -or borrow `\cyryat` and `\CYRYAT` commands from X2 font encoding when setting -the language attribute to "ancient", for example: - - \usepackage[X2,T2A]{fontenc} - \usepackage[utf8]{inputenc} - \DeclareUnicodeCharacter{0462}{\CYRYAT} - \DeclareTextSymbolDefault{\CYRYAT}{X2} - \DeclareUnicodeCharacter{0463}{\cyryat} - \DeclareTextSymbolDefault{\cyryat}{X2} - \usepackage[english,russian.ancient]{babel} - -Consult your font documentation for other ancient glyphs which -might be absent. - -5. CHANGES - -2020-10-16 version 1.3l - - * Patches for Russian language from hyperref package to babel-russian module - (thanks to Ulrike Fischer). - -2020-09-06 version 1.3k - - * Bug fixed in definition of \Russian command (thanks to Javier Bezos). - -2017-08-08 version 1.3j - - * TU encoding is set as default for X∃TeX and LuaTeX. - - * \cyrdash now always prints dash 20 percents shorter than emdash. - -2017-01-12 version 1.3i - - * Bug fixed in \NOD, \NOK and similar log-functions (thanks to V. Vlasov). - -2016-02-18 version 1.3h - - * Bugs fixed in captions for revtex4 and revtex4-1 classes. - - * \cyrdash is now faked using \ProvideTextCommandDefault rather - than \def. - -2015-05-01 version 1.3g - - * Added support for revtex4 and revtex4-1 classes. - -2014-10-21 version 1.3f - - * A documentation file russianb.pdf can now be generated by - running pdflatex.exe over russianb.dtx although xelatex.exe - is still recommended. - - * russianb.ins was missed in version 1.3e. - -2014-10-14 version 1.3e - - * Generating all stuff from single dtx file. - -2014-10-02 version 1.3d - - * Bug fix in \Proj. - -2014-06-02 version 1.3c - - * Bug fix in \daterussian. - -2013-04-06 version 1.3b - - * Added support for the packages \pkg{listing}, \pkg{nomencl}, and - \pkg{nomentbl}. - -2013-04-18 version 1.3a - - * Added the language attribute 'ancient' for typesetting old - Slavonic and Church books. - -2013-04-08 version 1.3 - - * Updated for babel 3.9. - * \Alph and \alph commands are not redefined any more by russianb.ldf. - -2012-06-02 version 1.2a - - * russian/russianb.dtx, v1.2a : Indentation of 1st paragraph removed; - use the indentfirst package to automatically indent first paragraph - after sectioning commands. - -2011-10-20 version 1.2 Igor A. Kotelnikov - - * Added support for LuaTeX and XeTeX; - added translation for Glossary; removed \Rus, \English, - \Eng, \cyrmath.., \latinencoding, \latintext; - \Russian is now an alias for \selectlanguage{russian}. - -Original source: russianb.dtx, - 2008/03/21 v1.1r Russian support from the babel system. - ----------------------------------------------------------------- -%% -%% \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 \~} -%% - -%% Nonunicode Cyrillic Letters -%% \CYRA=А -%% \CYRB=Б -%% \CYRV=В -%% \CYRG=Г -%% \CYRGUP=Ґ -%% \CYRD=Д -%% \CYRE=Е -%% \CYRIE=Є -%% \CYRZH=Ж -%% \CYRZ=З -%% \CYRI=И -%% \CYRII=I -%% \CYRYI=Ї -%% \CYRISHRT=Й -%% \CYRK=К -%% \CYRL=Л -%% \CYRM=М -%% \CYRN=Н -%% \CYRO=О -%% \CYRP=П -%% \CYRR=Р -%% \CYRS=С -%% \CYRT=Т -%% \CYRU=У -%% \CYRF=Ф -%% \CYRH=Х -%% \CYRC=Ц -%% \CYRCH=Ч -%% \CYRSH=Ш -%% \CYRSHCH=Щ -%% \CYRYU=Ю -%% \CYRYA=Я -%% \CYRSFTSN=Ь -%% -%% \cyra=а -%% \cyrb=б -%% \cyrv=в -%% \cyrg=г -%% \cyrgup=ґ -%% \cyrd=д -%% \cyre=е -%% \cyrie=є -%% \cyrzh=ж -%% \cyrz=з -%% \cyri=и -%% \cyrii=i -%% \cyryi=ї -%% \cyrishrt=й -%% \cyrk=к -%% \cyrl=л -%% \cyrm=м -%% \cyrn=н -%% \cyro=о -%% \cyrp=п -%% \cyrr=р -%% \cyrs=с -%% \cyrt=т -%% \cyru=у -%% \cyrf=ф -%% \cyrh=х -%% \cyrc=ц -%% \cyrch=ч -%% \cyrsh=ш -%% \cyrshch=щ -%% \cyryu=ю -%% \cyrya=я -%% \cyrsftsn=ь diff --git a/macros/latex/contrib/babel-contrib/russian/README.md b/macros/latex/contrib/babel-contrib/russian/README.md new file mode 100644 index 0000000000..3d5a23445b --- /dev/null +++ b/macros/latex/contrib/babel-contrib/russian/README.md @@ -0,0 +1,292 @@ +---------------------------------------------------------------- + +# Russian language module for Babel + +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 Russian +(in both traditional and ancient forms). The support is adapted for use both +under legacy TEX engines, and under X∃TEX and LuaTEX. + +Current version 1.3m dated by 2021-01-10 + +Current Maintainer is Igor A. Kotelnikov. +Submit feature request to https://github.com/kia999/babel-russian + +## 1. INSTALLATION + +- Unpack babel-russian.zip. +- Run "xelatex.exe russianb.dtx" (recommended) + or "pdflatex.exe russianb.dtx"; + alternatively run "tex.exe russianb.dtx" + or "tex.exe russianb.ins", if you don't need documentation +- Move "russianb.ldf" to /tex/latex/babel-russian +- Move "russianb.pdf" and README to /doc/latex/russian-babel/ +- Update filename base (see documentation for your TeX system) + +## 2. USAGE + +Russian 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 +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 +Unicode engines in a compatibility 8-bit mode. + +In the examples below, it is assumed that a source file to be compile +has utf8 input encoding. + +### 2.1. 8-bit mode + +#### 2.1.1 PDFLATeX, LaTeX + + \usepackage[T1,T2A]{fontenc} + \usepackage[utf8]{inputenc} + \usepackage[english,russian]{babel} + +#### 2.1.2 LuaLaTeX + + \usepackage[T1,T2A]{fontenc} + \usepackage[lutf8]{luainputenc} + \usepackage[english,russian]{babel} + +#### 2.1.3 XeLaTeX + + \XeTeXinputencoding "bytes" + \usepackage[utf8]{inputenc} + \usepackage[T2A]{fontenc} + \usepackage[english,russian]{babel} + +### 2.2 Unicode mode, LuaLaTeX or XeLaTeX + + \usepackage{fontspec} + \defaultfontfeatures{Ligatures={TeX}} + \setmainfont{CMU Serif} + \setsansfont{CMU Sans Serif} + \setmonofont{CMU Typewriter Text} + \usepackage[english,russian]{babel} + +Instead of the Computer Modern Unicode (CMU) fonts loaded in this example, +you may try any True Type or Open Type fonts installed on your computer provided +that those fonts came with Russian letters. + +### 2.3 Typesetting ancient book + + \usepackage[english,russian]{babel} + \languageattribute{russian}{ancient} +or + \usepackage[english,russian.ancient]{babel} + +Using Unicode mode is strongly recommended for typesetting ancient texts. +Be sure to take X2 or OT2 font encodings when running 8-bit engine such +as latex or pdflatex. + +## 3. DOCUMENTATION + +See russianb.pdf for more information. + +## 4. 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. + +T2* font encodings do not have legacy Cyrillic letters `yat', which is +hard-coded in ancient caption names. Be sure to use an Unicode engine +or borrow `\cyryat` and `\CYRYAT` commands from X2 font encoding when setting +the language attribute to "ancient", for example: + + \usepackage[X2,T2A]{fontenc} + \usepackage[utf8]{inputenc} + \DeclareUnicodeCharacter{0462}{\CYRYAT} + \DeclareTextSymbolDefault{\CYRYAT}{X2} + \DeclareUnicodeCharacter{0463}{\cyryat} + \DeclareTextSymbolDefault{\cyryat}{X2} + \usepackage[english,russian.ancient]{babel} + +Consult your font documentation for other ancient glyphs which +might be absent. + +## 5. CHANGES + +2021-01-10 version 1.3m + + * The macro `\cyrdash` that prints Cyrillic dash has been changed. + Now it is alias of `\textemdash` in all encodings. + + * New Customisation section is added to the module documentation. It + describes how to modify the `\cyrdash` macro and shorthand `"--~"` that + is intended to print Cyrillic dash in compound names of physical + laws, mathematical equations, company titles, e.t.c. such as the + Ostrogradsky-Gauss theorem (thanks to Olga Lapko). + +2020-10-16 version 1.3l + + * Patches for Russian language from hyperref package to babel-russian module + (thanks to Ulrike Fischer). + +2020-09-06 version 1.3k + + * Bug fixed in definition of \Russian command (thanks to Javier Bezos). + +2017-08-08 version 1.3j + + * TU encoding is set as default for X∃TeX and LuaTeX. + + * \cyrdash now always prints dash 20 percents shorter than emdash. + +2017-01-12 version 1.3i + + * Bug fixed in \NOD, \NOK and similar log-functions (thanks to V. Vlasov). + +2016-02-18 version 1.3h + + * Bugs fixed in captions for revtex4 and revtex4-1 classes. + + * \cyrdash is now faked using \ProvideTextCommandDefault rather + than \def. + +2015-05-01 version 1.3g + + * Added support for revtex4 and revtex4-1 classes. + +2014-10-21 version 1.3f + + * A documentation file russianb.pdf can now be generated by + running pdflatex.exe over russianb.dtx although xelatex.exe + is still recommended. + + * russianb.ins was missed in version 1.3e. + +2014-10-14 version 1.3e + + * Generating all stuff from single dtx file. + +2014-10-02 version 1.3d + + * Bug fix in \Proj. + +2014-06-02 version 1.3c + + * Bug fix in \daterussian. + +2013-04-06 version 1.3b + + * Added support for the packages \pkg{listing}, \pkg{nomencl}, and + \pkg{nomentbl}. + +2013-04-18 version 1.3a + + * Added the language attribute 'ancient' for typesetting old + Slavonic and Church books. + +2013-04-08 version 1.3 + + * Updated for babel 3.9. + * \Alph and \alph commands are not redefined any more by russianb.ldf. + +2012-06-02 version 1.2a + + * russian/russianb.dtx, v1.2a : Indentation of 1st paragraph removed; + use the indentfirst package to automatically indent first paragraph + after sectioning commands. + +2011-10-20 version 1.2 Igor A. Kotelnikov + + * Added support for LuaTeX and XeTeX; + added translation for Glossary; removed \Rus, \English, + \Eng, \cyrmath.., \latinencoding, \latintext; + \Russian is now an alias for \selectlanguage{russian}. + +Original source: russianb.dtx, + 2008/03/21 v1.1r Russian support from the babel system. + +---------------------------------------------------------------- +%% +%% \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 \~} +%% + +%% Nonunicode Cyrillic Letters +%% \CYRA=А +%% \CYRB=Б +%% \CYRV=В +%% \CYRG=Г +%% \CYRGUP=Ґ +%% \CYRD=Д +%% \CYRE=Е +%% \CYRIE=Є +%% \CYRZH=Ж +%% \CYRZ=З +%% \CYRI=И +%% \CYRII=I +%% \CYRYI=Ї +%% \CYRISHRT=Й +%% \CYRK=К +%% \CYRL=Л +%% \CYRM=М +%% \CYRN=Н +%% \CYRO=О +%% \CYRP=П +%% \CYRR=Р +%% \CYRS=С +%% \CYRT=Т +%% \CYRU=У +%% \CYRF=Ф +%% \CYRH=Х +%% \CYRC=Ц +%% \CYRCH=Ч +%% \CYRSH=Ш +%% \CYRSHCH=Щ +%% \CYRYU=Ю +%% \CYRYA=Я +%% \CYRSFTSN=Ь +%% +%% \cyra=а +%% \cyrb=б +%% \cyrv=в +%% \cyrg=г +%% \cyrgup=ґ +%% \cyrd=д +%% \cyre=е +%% \cyrie=є +%% \cyrzh=ж +%% \cyrz=з +%% \cyri=и +%% \cyrii=i +%% \cyryi=ї +%% \cyrishrt=й +%% \cyrk=к +%% \cyrl=л +%% \cyrm=м +%% \cyrn=н +%% \cyro=о +%% \cyrp=п +%% \cyrr=р +%% \cyrs=с +%% \cyrt=т +%% \cyru=у +%% \cyrf=ф +%% \cyrh=х +%% \cyrc=ц +%% \cyrch=ч +%% \cyrsh=ш +%% \cyrshch=щ +%% \cyryu=ю +%% \cyrya=я +%% \cyrsftsn=ь diff --git a/macros/latex/contrib/babel-contrib/russian/russianb.dtx b/macros/latex/contrib/babel-contrib/russian/russianb.dtx index 33c24a06f5..69f8ba04da 100644 --- a/macros/latex/contrib/babel-contrib/russian/russianb.dtx +++ b/macros/latex/contrib/babel-contrib/russian/russianb.dtx @@ -7,7 +7,7 @@ %<*readme> ---------------------------------------------------------------- -Russian language module for Babel, v1.3l +# Russian language module for Babel Released under the LaTeX Project Public License v1.3c or later. See http://www.latex-project.org/lppl.txt @@ -16,10 +16,13 @@ The package provides support for use of Babel in documents written in Russian (in both traditional and ancient forms). The support is adapted for use both under legacy TEX engines, and under X∃TEX and LuaTEX. -The Current Maintainer is Igor A. Kotelnikov . +Current version 1.3m dated by 2021-01-10 +Current Maintainer is Igor A. Kotelnikov. +Submit feature request to https://github.com/kia999/babel-russian -1. INSTALLATION + +## 1. INSTALLATION - Unpack babel-russian.zip. - Run "xelatex.exe russianb.dtx" (recommended) @@ -30,7 +33,7 @@ The Current Maintainer is Igor A. Kotelnikov . - Move "russianb.pdf" and README to /doc/latex/russian-babel/ - Update filename base (see documentation for your TeX system) -2. USAGE +## 2. USAGE Russian 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,28 +46,28 @@ Unicode engines in a compatibility 8-bit mode. In the examples below, it is assumed that a source file to be compile has utf8 input encoding. -2.1. 8-bit mode +### 2.1. 8-bit mode -2.1.1 PDFLATeX, LaTeX +#### 2.1.1 PDFLATeX, LaTeX \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,russian]{babel} -2.1.2 LuaLaTeX +#### 2.1.2 LuaLaTeX \usepackage[T1,T2A]{fontenc} \usepackage[lutf8]{luainputenc} \usepackage[english,russian]{babel} -2.1.3 XeLaTeX +#### 2.1.3 XeLaTeX \XeTeXinputencoding "bytes" \usepackage[utf8]{inputenc} \usepackage[T2A]{fontenc} \usepackage[english,russian]{babel} -2.2 Unicode mode, LuaLaTeX or XeLaTeX +### 2.2 Unicode mode, LuaLaTeX or XeLaTeX \usepackage{fontspec} \defaultfontfeatures{Ligatures={TeX}} @@ -77,7 +80,7 @@ Instead of the Computer Modern Unicode (CMU) fonts loaded in this example, you may try any True Type or Open Type fonts installed on your computer provided that those fonts came with Russian letters. -2.3 Typesetting ancient book +### 2.3 Typesetting ancient book \usepackage[english,russian]{babel} \languageattribute{russian}{ancient} @@ -89,12 +92,12 @@ Be sure to take X2 or OT2 font encodings when running 8-bit engine such as latex or pdflatex. -3. DOCUMENTATION +## 3. DOCUMENTATION See russianb.pdf for more information. -4. KNOWN PROBLEMS +## 4. 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 @@ -117,7 +120,18 @@ Consult your font documentation for other ancient glyphs which might be absent. -5. CHANGES +## 5. CHANGES + +2021-01-10 version 1.3m + + * The macro `\cyrdash` that prints Cyrillic dash has been changed. + Now it is alias of `\textemdash` in all encodings. + + * New Customisation section is added to the module documentation. It + describes how to modify the `\cyrdash` macro and shorthand `"--~"` that + is intended to print Cyrillic dash in compound names of physical + laws, mathematical equations, company titles, e.t.c. such as the + Ostrogradsky-Gauss theorem (thanks to Olga Lapko). 2020-10-16 version 1.3l @@ -218,15 +232,19 @@ Original source: russianb.dtx, \preamble ---------------------------------------------------------------- Russian Language Support for the Babel package -E-mail: kia999@mail.ru + Released under the LaTeX Project Public License v1.3c or later See http://www.latex-project.org/lppl.txt + +Current version 1.3m dated by 2021-01-10 + +Submit feature request at https://github.com/kia999/babel-russian ---------------------------------------------------------------- \endpreamble \postamble ---------------------------------------------------------------- -Copyright 2011-2020 Igor A. Kotelnikov. -Copyright 1995-2008 Olga Lapko. +Copyright 2011-2021 Igor A. Kotelnikov. +Copyright 1995-2008 Olga G. Lapko. Copyright 1989-2012 Johannes L. Braams. This file is a part of the Russian-Babel package. @@ -262,7 +280,7 @@ and the derived files russianb.ins, \nopreamble\nopostamble \usedir{doc/latex/babel-russian} \generate{ - \file{README.}{\from{\jobname.dtx}{readme}} + \file{README.md}{\from{\jobname.dtx}{readme}} } \ifx\fmtname\nameofplainTeX \expandafter\endbatchfile @@ -272,7 +290,7 @@ and the derived files russianb.ins, % %<*code> \NeedsTeXFormat{LaTeX2e} -\ProvidesFile{russianb.ldf}[2020/10/16 1.3l Russian support for the Babel system] +\ProvidesFile{russianb.ldf}[2021/01/10 1.3m Russian support for the Babel system] % %<*driver> \documentclass[a4paper]{ltxdoc} @@ -360,15 +378,18 @@ and the derived files russianb.ins, ,\languageshorthands,\useshorthands,\defineshorthand ,\AddBabelHook,\SetStringLoop,\SetCase,\AfterBabelLanguage ,\defaultfontfeatures,\setmainfont,\setsansfont,\setmonofont - ,\Russian,\cyrdash,\cdash + ,\Russian,\cyrdash,\cdash, \textemdash, \textemdash ,\cyr,\cyrillictext,\textcyrillic,\cyrillicencoding ,\addto,\captionsrussian,\daterussian,\noextrasrussian,\extrasrussian ,\languageattribute ,\glqq,\grqq,\guillemotleft,\guillemotright ,\Asbuk,\asbuk,\ch,\sh,\tg,\ctg,\arctg,\arcctg\,\th,\cth,\cosec - ,\nod3,\nok,\prog,\NOF\,\NOK,\Prog + ,\nod,\nok,\prog,\NOF\,\NOK,\Prog ,\dq,\Proj,\nod,\NOD,\nok,\NOK,\Prob,\Variance ,\XeTeXinputencoding + ,xetex,luatex,tex, pdftex + ,xelatex,lualatex,latex, pdflatex + ,en,em,ex } ,keywordstyle=[0]\color{thered} ,keywords=[1]{main,russian,english,german,frenchb @@ -376,9 +397,9 @@ and the derived files russianb.ins, ,stringprocess,afterextras ,soft,empty,nobreak,hard ,Renderer,Ligatures - ,modern,ancient + ,modern,ancient,standard ,T1,T2A,lutf8,utf8 - ,fontspec,babel,inputenc,fontenc + ,fontspec,babel,inputenc,fontenc,graphicx }, keywordstyle=[1]\color{thegreen}, comment=[l]\%, @@ -661,7 +682,7 @@ and the derived files russianb.ins, % as package option – neither global options nor the main key accept them). % % -%\section{User's commands} +% \section{User's commands} % % In a multilingual document, some typographic rules are language % dependent and should apply to the whole document. @@ -821,41 +842,97 @@ and the derived files russianb.ins, % print some rare Russian mathematical symbols. % % -% \section{\TeX{}nical details} -% -% The packages \pkg{inputenc} and \pkg{luainputenc} -% make Cyrillic letters active so that a compiler converts them into -% corresponding |\cyr...| macro at compilation time. -% For example, Russian letter `a' matches -% macro |\cyra|, and capital Russian letter `A' matches |\CYRA|. The -% package \pkg{fontenc} then matches every macro |\cyr...| to corresponding -% glyph in a font file depending on a declared font encoding. -% -% Nowadays, Unicode makes |\cyr...| macros outdated since both source -% file and font file are encoded consistently. These macros -% should therefore be removed because mixing them with Unicode characters -% breaks sorting mechanism of such utilities as \file{bibtex} and -% \file{makeindex}. For the sake of backward compatibility, |\cyr...| are -% 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 -% |\Russian|, |\Englsih| and their aliases |\Rus|, |\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} +% \section{Customisation} % -% 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. -% -% T2* font encodings do not have old Slavonic letter `yat' (Ѣ, ѣ), which is +% Starting with the version 1.3m, the definition of the |\cyrdash| command has +% been changed. Recall that |\cyrdash| prints the Cyrillic dash and is called +% by the shorthands listed above in the table. Now |\cyrdash| is defined as +% an alias of the |\textemdash| vommand, which is available in all font +% encodings. If you agree with some modern tendencies that the length of +% the |\textemdash| dash is too long, change the |\cyrdash| command at your +% choice. Recommended method is shown in the example below: +%\begin{verbatim} +%\usepackage{graphicx} +%\usepackage[english,russian]{babel} +%\renewcommand{\cyrdash}{\scalebox{0.75}[1]{\textemdash}} +%\end{verbatim} +% Note that such a definition assumes that the package |graphicx| is also +% loaded. The shown above definition partially mimics the state of arts +% which has been existed for many years for 8-bit engines but it ensure +% that the Cyrillic dash is 25\% shorter than the em-dash for any family +% of fonts, not only CM fonts especially designed for legacy \LaTeX. +% +% As explaned in the Implementation section, the |\@Bcdash| command invoked +% ny the shorthand |"--~| prints the Cyrillic dash in compound names +% of theorems, laws, equations, companies, e.t.c. composed of the names of +% two or more people. By default, |\@Bcdash| adds no spaces around the dash. +% Some publishers recommend to add |2pt| spaces on both sides of the dash in +% compound names. If you wish to follow such an advice, redefine the +% |\@Bcdash| command as shown below: +%\begin{verbatim} +%\usepackage[english,russian]{babel} +%\makeatletter +%\def\@Bcdash{\leavevmode\ifdim\lastskip>\z@\unskip\fi +% \nobreak\kern2\p@\cyrdash\penalty\exhyphenpenalty\hskip2\p@\ignorespaces}% +%\makeatother +%\end{verbatim} +% Note that there is no consensus on what should be the spaces around the +% dash in compound names. Although |2pt| spaces are recommended by many +% publishers, they make the dash in compound names hardly distinguishable +% from regular dash is other parts of the text. As a palliative solution, you +% can limit yourself to |1pt| spaces: +%\begin{verbatim} +%\usepackage[english,russian]{babel} +%\makeatletter +%\def\@Bcdash{\leavevmode\ifdim\lastskip>\z@\unskip\fi +% \nobreak\kern\p@\cyrdash\penalty\exhyphenpenalty\hskip\p@\ignorespaces}% +%\makeatother +%\end{verbatim} +% Compound names composed of names of two or more people should be +% distinguished from double names of single person such as +% Jean-Jacques Rousseau or Nemirovich-Danchenko, which instead of a dash +% should be written with a hyphen without spaces around it. +% +% See discussion at \href{https://ru.wikipedia.org/wiki/Обсуждение:Тире#Тире_между_фамилиями_людей} +% {Тире между фамилиями людей}. +% +% +% \section{\TeX{}nical details} +% +% The packages \pkg{inputenc} and \pkg{luainputenc} +% make Cyrillic letters active so that a compiler converts them into +% corresponding |\cyr...| macro at compilation time. +% For example, Russian letter `a' matches +% macro |\cyra|, and capital Russian letter `A' matches |\CYRA|. The +% package \pkg{fontenc} then matches every macro |\cyr...| to corresponding +% glyph in a font file depending on a declared font encoding. +% +% Nowadays, Unicode makes |\cyr...| macros outdated since both source +% file and font file are encoded consistently. These macros +% should therefore be removed because mixing them with Unicode characters +% breaks sorting mechanism of such utilities as \file{bibtex} and +% \file{makeindex}. For the sake of backward compatibility, |\cyr...| are +% 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 +% |\Russian|, |\Englsih| and their aliases |\Rus|, |\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 (|latex|, |pdflatex|) to an +% Unicode engine (|xelatex|, |lualstex|) and vise versa delete all |.aux|, +% |.toc|, |.lot|, |.lof| files as they might have stored incompatible +% internal encodings. +% +% |T2*| font encodings do not have old Slavonic letter `yat' (Ѣ, ѣ), which is % hard-coded in ancient caption names. Be sure to use an Unicode engine % or borrow |\cyryat| and |\CYRYAT| commands from X2 font encoding when setting % the language attribute to ``ancient'', for example: @@ -908,6 +985,7 @@ and the derived files russianb.ins, % % \section{Implementation} % +% \changes{1.3m}{2021/01/10}{\cs{cyrdash} is now alias to \cs{textemdash}} % \changes{1.3l}{2020/10/16}{Added support to hyperref package} % \changes{1.3k}{2020/09/06}{Bug in definition of \cs{Russian} fixed} % \changes{1.3h}{2016/02/18}{\cs{cyrdash} is redefined} @@ -1424,15 +1502,25 @@ and the derived files russianb.ins, % \end{macrocode} % % |\@Bcdash| is invoked by |"--~|. It types Cyrillic emdash in compound -% names (like Mendeleev--Klapeiron); requires no space characters around and -% adds extra space after the dash. +% terms (like law of Mendeleev---Klapeiron). Compound names composed +% of names of two or more people should be distinguished from double names of +% single person (Jean-Jacques Rousseau, Nemirovich-Danchenko), in which +% words are separated by a hyphen. There is no consensus on how the dashes +% should be used in compound names. Some editors advise that no spaces should +% be inserted around the dash. However, most editors require you to insert +% |2pt|-spaces on both sides of the dash. The first option is implemented in +% this package since the very old versions. The second option can be +% implemented as described in the Customisation section. % \begin{macrocode} \def\@Bcdash{\leavevmode\ifdim\lastskip>\z@\unskip\fi \nobreak\cyrdash\penalty\exhyphenpenalty\hskip\z@skip\ignorespaces}% +%\def\@Bcdash{\leavevmode\ifdim\lastskip>\z@\unskip\fi +% \nobreak\kern2\p@\cyrdash\penalty\exhyphenpenalty\hskip2\p@\ignorespaces}% % \end{macrocode} % % |\@Ccdash| is invoked by |"--*|. It denotes direct speech and adds small % space after the dash. +% \changes{1.3m}{2021/01/10}{\cs{@Bcdash} redefined to add 1pt space on both sides} % \begin{macrocode} \def\@Ccdash{\leavevmode \nobreak\cyrdash\nobreak\hskip.35em\ignorespaces}% @@ -1460,23 +1548,41 @@ and the derived files russianb.ins, % typed by the ligature |---| or its variations mentioned in Table % \ref{tab:russian-quote} might change its length after |\selectlanguage|. % -% The |\cyrdash| macro is not available in Latin encodings such as T1. Therefor -% an explicit or implicit call for |\cyrdash| when current language is English -% causes an error. For such a case, we provide a fake default. A standard check -% such as |\ifx\cyrdash\undefined ...\fi| fails to detect absent definitions -% for Latin encodings since the |\cyrdash| macro is in fact defined. Therefor -% we use the |\ProvideTextCommandDefault| method: +% The |\cyrdash| macro is not available in Latin encodings, such as |T1|, or +% in the Unicode |TU| encoding intended for the |xelatex| and |lualatex| +% engines. Therefore, an explicit or implicit call to the command |\cyrdash| +% in a situation when the current language differs from Russian, causes an +% error. For such cases, we provide a fake default using the +% |\ProvideTextCommandDefault| method. +% +% Prior to version 1.3l inclusive, the fake for |\cyrdash| was defined as +% a compound character |{\hbox to.8em {--\hss--}}| in the case when the +% current language is Russian; in other cases, |\cyrdash| is equated to +% |\textemdash|. Thus, for the Russian language, the command |\cyrdash| +% prints a dash |0.8em| wide. With the variety of fonts that the |xelatex| +% and |lualatex| compilers allow, the usual dash that the |\textemdash| command +% prints can have a width of either more than |1em| or less than |1em|. +% Consequently, the statement that the Cyrillic dash is 20 percent shorter +% than the Latin one loses its meaning. In addition, this statement does not +% find convincing confirmation in the specialized literature for editors +% of publishing houses. In this regard, it was decided to equate |\cyrdash| +% with |\textemdash|. % \changes{1.3j}{2017/08/08}{Default for \cs{cyrdash} is provided} +% \changes{1.3m}{2021/01/10}{\cs{cyrdash} defaults to \cs{textemdash}} % \begin{macrocode} \PackageInfo{babel}{Default for \string\cyrdash\space is provided} %%\ProvideTextCommandDefault{\cyrdash}{\iflanguage{russian}% %% {\hbox to.8em{--\hss--}}{\textemdash}} -\ProvideTextCommandDefault{\cyrdash}{\hbox to.8em{--\hss--}} +\ProvideTextCommandDefault{\cyrdash}{\textemdash} % \end{macrocode}% -% -% The |\cyrdash| macro is not defined in the Unicode encoding TU. The fake -% definition given above cope with this case. -% +% With this definition of |\cyrdash|, the dash width is entirely determined +% by the selected font. However, it is believed that the dash length in many +% fonts is too large. Those who adhere to such a bud of vision can change +% the definition of the |\cyrdash| command by placing the declaration +% |\renewcommand{\cyrdash}| |{\scalebox{0.75}[1]{\textemdash}}| +% somewhere after the call to the |babel| package. Unfortunately, such a +% definition of the |\cyirdash| command cannot be used inside current +% package, since the command |\scalebox| is defined in the |graphicx| package. % % \subsection{Switching to/from Russian} % @@ -2184,7 +2290,7 @@ and the derived files russianb.ins, %\iffalse % %\fi -%\CheckSum{2358} +%\CheckSum{2374} %\Finale % %% diff --git a/macros/latex/contrib/babel-contrib/russian/russianb.ins b/macros/latex/contrib/babel-contrib/russian/russianb.ins index 0f1d245f79..5a01901eaf 100644 --- a/macros/latex/contrib/babel-contrib/russian/russianb.ins +++ b/macros/latex/contrib/babel-contrib/russian/russianb.ins @@ -7,9 +7,13 @@ %% russianb.dtx (with options: `install') %% ---------------------------------------------------------------- %% Russian Language Support for the Babel package -%% E-mail: kia999@mail.ru +%% %% Released under the LaTeX Project Public License v1.3c or later %% See http://www.latex-project.org/lppl.txt +%% +%% Current version 1.3m dated by 2021-01-10 +%% +%% Submit feature request at https://github.com/kia999/babel-russian %% ---------------------------------------------------------------- \input docstrip.tex \keepsilent @@ -17,15 +21,19 @@ \preamble ---------------------------------------------------------------- Russian Language Support for the Babel package -E-mail: kia999@mail.ru + Released under the LaTeX Project Public License v1.3c or later See http://www.latex-project.org/lppl.txt + +Current version 1.3m dated by 2021-01-10 + +Submit feature request at https://github.com/kia999/babel-russian ---------------------------------------------------------------- \endpreamble \postamble ---------------------------------------------------------------- -Copyright 2011-2020 Igor A. Kotelnikov. -Copyright 1995-2008 Olga Lapko. +Copyright 2011-2021 Igor A. Kotelnikov. +Copyright 1995-2008 Olga G. Lapko. Copyright 1989-2012 Johannes L. Braams. This file is a part of the Russian-Babel package. @@ -139,8 +147,8 @@ and the derived files russianb.ins, %% \cyrya=я %% \cyrsftsn=ь %% ---------------------------------------------------------------- -%% Copyright 2011-2020 Igor A. Kotelnikov. -%% Copyright 1995-2008 Olga Lapko. +%% Copyright 2011-2021 Igor A. Kotelnikov. +%% Copyright 1995-2008 Olga G. Lapko. %% Copyright 1989-2012 Johannes L. Braams. %% %% This file is a part of the Russian-Babel package. diff --git a/macros/latex/contrib/babel-contrib/russian/russianb.ldf b/macros/latex/contrib/babel-contrib/russian/russianb.ldf new file mode 100644 index 0000000000..1204ddd1fa --- /dev/null +++ b/macros/latex/contrib/babel-contrib/russian/russianb.ldf @@ -0,0 +1,702 @@ +%% +%% This is file `russianb.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% russianb.dtx (with options: `code') +%% ---------------------------------------------------------------- +%% Russian Language Support for the Babel package +%% +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% +%% Current version 1.3m dated by 2021-01-10 +%% +%% Submit feature request at https://github.com/kia999/babel-russian +%% ---------------------------------------------------------------- +\NeedsTeXFormat{LaTeX2e} +\ProvidesFile{russianb.ldf}[2021/01/10 1.3m Russian support for the Babel system] +\ProvidesLanguage{russian} + [2020/09/09 1.3k Russian support for the Babel system] +\LdfInit{russian}{captionsrussian} +\ifdefined\if@uni@ode + \PackageError{babel}{if@uni@ode already defined.\MessageBreak + Please contact author of russianb.ldf} + \relax +\fi +\newif\if@uni@ode +\ifdefined\luatexversion \@uni@odetrue \else +\ifdefined\XeTeXrevision \@uni@odetrue \fi\fi +\ifx\l@russian\@undefined + \@nopatterns{Russian} + \adddialect\l@russian0 +\fi +\def\@setcyrillicencoding{% + \def\sce@a##1##2{% + \edef\sce@b{##1}% + \edef\sce@c{##2}% + \ifx\sce@b\sce@c + \let\cyrillicencoding\sce@c + \fi}% + \def\cdp@elt##1##2##3##4{% + \sce@a{##1}{OT2}% + \sce@a{##1}{LCY}% + \sce@a{##1}{X2}% + \sce@a{##1}{T2C}% + \sce@a{##1}{T2B}% + \sce@a{##1}{T2A}% + \if@uni@ode + %\sce@a{##1}{EU1}% + %\sce@a{##1}{EU2}% + \sce@a{##1}{TU}% + \fi}% + \cdp@list +} +\ifx\cyrillicencoding\undefined + \@setcyrillicencoding +\fi +\@onlypreamble\@setcyrillicencoding +\@onlypreamble\sce@a +\@onlypreamble\sce@b +\@onlypreamble\sce@c +\ifx\cyrillicencoding\undefined + \if@uni@ode + %\ifdefined\XeTeXrevision + % \edef\cyrillicencoding{EU1} + %\else\ifdefined\luatexversion + % \edef\cyrillicencoding{EU2} + %\fi\fi + \edef\cyrillicencoding{TU} + \else + \edef\cyrillicencoding{T2A} + \fi + \PackageWarning{babel}% + {No Cyrillic font encoding has been loaded so far.\MessageBreak + A font encoding should be declared before babel.\MessageBreak + Default `\cyrillicencoding' encoding will be loaded + }% + \lowercase\expandafter{\expandafter\input\cyrillicencoding enc.def\relax}% + \AtBeginDocument{\@setcyrillicencoding} +\fi +\DeclareRobustCommand{\Russian}{\selectlanguage{russian}} +\DeclareRobustCommand{\cyrillictext}{% + \fontencoding\cyrillicencoding\selectfont + \let\encodingdefault\cyrillicencoding + \expandafter\set@hyphenmins\russianhyphenmins + \language\l@russian}% +\let\cyr\cyrillictext +%%\DeclareRobustCommand{\English}{% +%% \fontencoding\latinencoding\selectfont +%% \let\encodingdefault\latinencoding +%% \expandafter\set@hyphenmins\englishhyphenmins +%% \language\l@english}% +%%\let\Eng\English +%%\DeclareRobustCommand{\latintext}{% +%% \fontencoding{\latinencoding}\selectfont +%% \def\encodingdefault{\latinencoding}} +%%\let\lat\latintext +\DeclareTextFontCommand{\textcyrillic}{\cyrillictext} +%%\expandafter\ifx\csname T@X2\endcsname\relax\else +%% \DeclareTextSymbolDefault{\AA}{OT1} +%% \DeclareTextSymbolDefault{\aa}{OT1} +%% \DeclareTextCommand{\aa}{OT1}{\r a} +%% \DeclareTextCommand{\AA}{OT1}{\r A} +%%\fi +%%\@ifpackageloaded{inputenc}{% +%%% \if@uni@ode +%%% \PackageWarning{babel}{inputenc should not be used with LuaTeX or XeTeX} +%%% \fi +%% \ifdefined\luatexversion +%% \PackageWarning{babel}{inputenc should not be used with LuaTeX} +%% \fi}{% +%% %\def\reserved@a{LWN}% +%% %\ifx\reserved@a\cyrillicencoding\else +%% \def\reserved@a{OT2}% +%% \ifx\reserved@a\cyrillicencoding\else +%% \def\reserved@a{TU}% +%% \ifx\reserved@a\cyrillicencoding\else +%% \PackageWarning{babel}% +%% {No input encoding specified for Russian language} +%% \fi\fi +%% %\fi +%%} +\initiate@active@char{"} +%%\def\mdqon{\bbl@activate{"}} +%%\def\mdqoff{\bbl@deactivate{"}} +\begingroup \catcode`\"12 +\def\reserved@a{\endgroup + \def\@SS{\mathchar"7019 } + \def\dq{"}} +\reserved@a +\declare@shorthand{russian}{"`}{\quotedblbase} +\declare@shorthand{russian}{"'}{\textquotedblleft} +\declare@shorthand{russian}{"<}{\guillemotleft} +\declare@shorthand{russian}{">}{\guillemotright} +\providecommand\texorpdfstring[2]{#1} +\declare@shorthand{russian}{""}{\hskip\z@skip} +\declare@shorthand{russian}{"~}{\texorpdfstring{\textormath{\leavevmode\hbox{-}}{-}}{-}} +\declare@shorthand{russian}{"=}{\nobreak-\hskip\z@skip} +\declare@shorthand{russian}{"|}{% + \texorpdfstring{% + \textormath{\nobreak\discretionary{-}{}{\kern.03em}\allowhyphens}{}}{}} +\declare@shorthand{russian}{"-}{% + \texorpdfstring{\def\russian@sh@tmp{% + \if\russian@sh@next-\expandafter\russian@sh@emdash + \else\expandafter\russian@sh@hyphen\fi}% + \futurelet\russian@sh@next\russian@sh@tmp}{-}} +\def\russian@sh@hyphen{\nobreak\-\bbl@allowhyphens} +\def\russian@sh@emdash#1#2{\cdash-#1#2} +\def\cdash#1#2#3{\def\tempx@{#3}% +\def\tempa@{-}\def\tempb@{~}\def\tempc@{*}% + \ifx\tempx@\tempa@\@Acdash\else + \ifx\tempx@\tempb@\@Bcdash\else + \ifx\tempx@\tempc@\@Ccdash\else + \errmessage{Wrong usage of cdash}\fi\fi\fi} +\def\@Acdash{\ifdim\lastskip>\z@\unskip\nobreak\hskip.2em\fi + \cyrdash\hskip.2em\ignorespaces}% +\def\@Bcdash{\leavevmode\ifdim\lastskip>\z@\unskip\fi + \nobreak\cyrdash\penalty\exhyphenpenalty\hskip\z@skip\ignorespaces}% +\def\@Ccdash{\leavevmode + \nobreak\cyrdash\nobreak\hskip.35em\ignorespaces}% +\declare@shorthand{russian}{",}{\nobreak\hskip.2em\ignorespaces} +\PackageInfo{babel}{Default for \string\cyrdash\space is provided} +%%\ProvideTextCommandDefault{\cyrdash}{\iflanguage{russian}% +%% {\hbox to.8em{--\hss--}}{\textemdash}} +\ProvideTextCommandDefault{\cyrdash}{\textemdash} +\if@uni@ode + %\captionsrussian@modern + \addto\captionsrussian{% + \def\prefacename{Предисловие}% [babel] + \def\refname{Список литературы}% [only article] + \def\abstractname{Аннотация}% [only article, report] + \def\bibname{Литература}% [only book, report] + \def\chaptername{Глава}% [only book, report] + \def\appendixname{Приложение}% + \@ifundefined{thechapter} + {\def\contentsname{Содержание}}% + {\def\contentsname{Оглавление}}% + \let\tocname=\contentsname + \def\listfigurename{Список иллюстраций}% + \def\listtablename{Список таблиц}% + \def\indexname{Предметный указатель}% + \def\authorname{Именной указатель}% + \def\figurename{Рис.}% + \def\tablename{Таблица}% + \def\partname{Часть}% + \def\enclname{вкл.}% + \def\ccname{исх.}% + \def\headtoname{вх.}% + \def\pagename{с.}% [letter] + \def\seename{см.}% + \def\alsoname{см.\ также}% + \def\proofname{Доказательство}% [amsthm] + \def\glossaryname{Словарь терминов}% + \def\acronymname{Аббревиатуры}% [glossaries] {Acronyms} + \def\lstlistingname{Листинг}% [listings] (the environment) {Listing} + \def\lstlistlistingname{Листинги}% [listings] (the "List of") {Listings} + \def\notesname{Заметки}% [endnotes] {Notes} + }% + %% ========================================= + %% nomencl + \ifdefined\nomname + \addto\captionsrussian{% + \def\nomname{Обозначения}% + \def\eqdeclaration#1{, см.\nobreakspace(#1)}% + \def\pagedeclaration#1{, стр.\nobreakspace#1}% + }% + \fi + %% ========================================= + %% RevTeX4 & RevTeX4-1 + %%\@ifclassloaded{revtex4-1} + %%{} + %%{}% + %\@ifclassloaded{revtex4-1} + %{% + \ifnum\@ifclassloaded{revtex4}{1}{\@ifclassloaded{revtex4-1}{1}{0}}>0 + \addto\captionsrussian{% + \def\lofname{\listfigurename} + \def\lotname{\listtablename} + \def\figuresname{Рисунки}%{Figures}% + \def\tablesname{Таблицы}%{Tables}% + \def\appendixesname{Приложения}%{Appendixes}% + \def\acknowledgmentsname{Благодарности}%{Acknowledgments} + \def\andname{и}%{and} + \def\@pacs@name{PACS коды: }%{PACS numbers: }% + \def\@keys@name{Ключевые слова: }%{Keywords: }% + \def\Dated@name{Дата: }%{Dated: }% + \def\Received@name{Получено }%{Received }% + \def\Revised@name{Исправленная версия }%{Revised }% + \def\Accepted@name{Принято }%{Accepted }% + \def\Published@name{Опубликовано }%{Published }% + }% + %}{}% + \fi + \addto\captionsrussian@ancient{% + \def\prefacename{Предисловіе}% + \def\refname{Примѣчанія}% + \def\abstractname{Аннотація}% + \def\bibname{Библіографія}% + \def\chaptername{Глава}% + \def\appendixname{Приложеніе}% + \@ifundefined{thechapter} + {\def\contentsname{Содержаніе}}% + {\def\contentsname{Оглавленіе}}% + \let\tocname=\contentsname + \def\listfigurename{Списокъ иллюстрацій}% + \def\listtablename{Списокъ таблицъ}% + \def\indexname{Предмѣтный указатель}% + \def\authorname{Именной указатель}% + \def\figurename{Рис.}% + \def\tablename{Таблица}% + \def\partname{Часть}% + \def\enclname{вкл.}% + \def\ccname{исх.}% + \def\headtoname{вх.}% + \def\pagename{с.}% + \def\seename{см.}% + \def\alsoname{см.~также}% + \def\proofname{Доказательство}% + \def\glossaryname{Словарь терминов}% + \def\acronymname{Аббревиатуры}% + \def\lstlistingname{Листинг}% + \def\lstlistlistingname{Листинги}% + %\ifdefined\nomname + % see http://old_russian.academic.ru/8433/%D0%BE%D0%B1%D1%8A%CB%AB%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%A5 + \def\nomname{Обозначенія}%{Объавлениѥ}% <-- #0465 + %\fi + \def\notesname{Заметки}% + } + %% ========================================= + %% RevTeX4 & RevTeX4-1 + %\@ifclassloaded{revtex4-1} + %{% + \ifnum\@ifclassloaded{revtex4}{1}{\@ifclassloaded{revtex4-1}{1}{0}}>0 + \addto\captionsrussian@ancient{% + \def\lofname{\listfigurename} + \def\lotname{\listtablename} + \def\figuresname{Рисунки}%{Figures}% + \def\tablesname{Таблицы}%{Tables}% + \def\appendixesname{Приложения}%{Appendixes}% + \def\acknowledgmentsname{Благодарности}%{Acknowledgments} + \def\andname{и}%{and} + \def\@pacs@name{PACS коды: }%{PACS numbers: }% + \def\@keys@name{Ключевые слова: }%{Keywords: }% + \def\Dated@name{Дата: }%{Dated: }% + \def\Received@name{Получено }%{Received }% + \def\Revised@name{Исправленная версия }%{Revised }% + \def\Accepted@name{Принято }%{Accepted }% + \def\Published@name{Опубликовано }%{Published }% + }% + %}{}% + \fi + %% ========================================= +\else + %\def\captionsrussian@modern{% + \addto\captionsrussian{% + \def\prefacename{% + {\cyr\CYRP\cyrr\cyre\cyrd\cyri\cyrs\cyrl\cyro\cyrv\cyri\cyre}}% + \def\refname{% + {\cyr\CYRS\cyrp\cyri\cyrs\cyro\cyrk\ + \cyrl\cyri\cyrt\cyre\cyrr\cyra\cyrt\cyru\cyrr\cyrery}}% + \def\abstractname{% + {\cyr\CYRA\cyrn\cyrn\cyro\cyrt\cyra\cyrc\cyri\cyrya}}% + \def\bibname{% + {\cyr\CYRL\cyri\cyrt\cyre\cyrr\cyra\cyrt\cyru\cyrr\cyra}}% + \def\chaptername{{\cyr\CYRG\cyrl\cyra\cyrv\cyra}}% + \def\appendixname{% + {\cyr\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre}}% + \@ifundefined{thechapter}% + {\def\contentsname{% + {\cyr\CYRS\cyro\cyrd\cyre\cyrr\cyrzh\cyra\cyrn\cyri\cyre}}}% + {\def\contentsname{% + {\cyr\CYRO\cyrg\cyrl\cyra\cyrv\cyrl\cyre\cyrn\cyri\cyre}}}% + \let\tocname=\contentsname + \def\listfigurename{% + {\cyr\CYRS\cyrp\cyri\cyrs\cyro\cyrk + \ \cyri\cyrl\cyrl\cyryu\cyrs\cyrt\cyrr\cyra\cyrc\cyri\cyrishrt}}% + \def\listtablename{% + {\cyr\CYRS\cyrp\cyri\cyrs\cyro\cyrk + \ \cyrt\cyra\cyrb\cyrl\cyri\cyrc}}% + \def\indexname{% + {\cyr\CYRP\cyrr\cyre\cyrd\cyrm\cyre\cyrt\cyrn\cyrery\cyrishrt + \ \cyru\cyrk\cyra\cyrz\cyra\cyrt\cyre\cyrl\cyrsftsn}}% + \def\authorname{% + {\cyr\CYRI\cyrm\cyre\cyrn\cyrn\cyro\cyrishrt + \ \cyru\cyrk\cyra\cyrz\cyra\cyrt\cyre\cyrl\cyrsftsn}}% + \def\figurename{{\cyr\CYRR\cyri\cyrs.}}% + \def\tablename{{\cyr\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyra}}% + \def\partname{{\cyr\CYRCH\cyra\cyrs\cyrt\cyrsftsn}}% + \def\enclname{{\cyr\cyrv\cyrk\cyrl.}}% + \def\ccname{{\cyr\cyri\cyrs\cyrh.}}% + \def\headtoname{{\cyr\cyrv\cyrh.}}% + \def\pagename{{\cyr\cyrs.}}% + \def\seename{{\cyr\cyrs\cyrm.}}% + \def\alsoname{{\cyr\cyrs\cyrm.\ \cyrt\cyra\cyrk\cyrzh\cyre}}% + \def\proofname{{\cyr\CYRD\cyro\cyrk\cyra\cyrz\cyra\cyrt + \cyre\cyrl\cyrsftsn\cyrs\cyrt\cyrv\cyro}}% + \def\glossaryname{{\cyr\CYRS\cyrl\cyro\cyrv\cyra\cyrr\cyrsftsn\ + \cyrt\cyre\cyrr\cyrm\cyri\cyrn\cyro\cyrv}}% + \def\acronymname{\CYRA\cyrb\cyrb\cyrr\cyre\cyrv\cyri\cyra\cyrt\cyru\cyrr\cyrery}% + \def\lstlistingname{\CYRL\cyri\cyrs\cyrt\cyri\cyrn\cyrg}% + \def\lstlistlistingname{\CYRL\cyri\cyrs\cyrt\cyri\cyrn\cyrg\cyri}% + \def\nomname{\CYRO\cyrb\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyri\cyrya}% + \def\notesname{\CYRZ\cyra\cyrm\cyre\cyrt\cyrk\cyri}% + }% + %% ========================================= + %% RevTeX4 & RevTeX4-1 + \ifnum \@ifclassloaded{revtex4}{1}{\@ifclassloaded{revtex4-1}{1}{0}}>0 + \addto\captionsrussian{% + \def\lofname{\listfigurename} + \def\lotname{\listtablename} + \def\figuresname{\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%{Figures}% + \def\tablesname{\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%{Tables}% + \def\appendixesname{\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%{Appendixes}% + \def\acknowledgmentsname{\CYRB\cyrl\cyra\cyrg\cyro\cyrd\cyra\cyrr\cyrn\cyro\cyrs\cyrt\cyri}%{Acknowledgments} + \def\andname{\cyri}%{and} + \def\@pacs@name{PACS \cyrk\cyro\cyrd\cyrery: }%{PACS numbers: }% + \def\@keys@name{\CYRK\cyrl\cyryu\cyrch\cyre\cyrv\cyrery\cyre \cyrs\cyrl\cyro\cyrv\cyra: }%{Keywords: }% + \def\Dated@name{\CYRD\cyra\cyrt\cyra: }%{Dated: }% + \def\Received@name{\CYRP\cyro\cyrl\cyru\cyrch\cyre\cyrn\cyro }%{Received }% + \def\Revised@name{\CYRI\cyrs\cyrp\cyrr\cyra\cyrv\cyrl\cyre\cyrn\cyrn\cyra\cyrya \cyrv\cyre\cyrr\cyrs\cyri\cyrya }%{Revised }% + \def\Accepted@name{\CYRP\cyrr\cyri\cyrn\cyrya\cyrt\cyro }%{Accepted }% + \def\Published@name{\CYRO\cyrp\cyru\cyrb\cyrl\cyri\cyrk\cyro\cyrv\cyra\cyrn\cyro }%{Published }% + }% + \fi + %% ========================================= + \addto\captionsrussian@ancient{% + \def\prefacename{% + {\cyr\CYRP\cyrr\cyre\cyrd\cyri\cyrs\cyrl\cyro\cyrv\cyrii\cyre}}% + \def\refname{% + {\cyr\CYRP\cyrr\cyri\cyrm\cyryat\cyrch\cyra\cyrn\cyrii\cyrya}}% <-- Примѣчанія, нет \cyryat в кодировке T2* + \def\abstractname{% + {\cyr\CYRA\cyrn\cyrn\cyro\cyrt\cyra\cyrc\cyrii\cyrya}}% + \def\bibname{% + {\cyr\CYRB\cyri\cyrb\cyrl\cyrii\cyro\cyrg\cyrr\cyra\cyrf\cyrii\cyrya}}% <-- Библіографія + \def\chaptername{{\cyr\CYRG\cyrl\cyra\cyrv\cyra}}% + \def\appendixname{% + {\cyr\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyrii\cyre}}% + \@ifundefined{thechapter}% + {\def\contentsname{% + {\cyr\CYRS\cyro\cyrd\cyre\cyrr\cyrzh\cyra\cyrn\cyrii\cyre}}}% + {\def\contentsname{% + {\cyr\CYRO\cyrg\cyrl\cyra\cyrv\cyrl\cyre\cyrn\cyrii\cyre}}}% + \let\tocname=\contentsname + % Списокъ иллюстрацій + \def\listfigurename{% + {\cyr\CYRS\cyrp\cyri\cyrs\cyro\cyrk\cyrhrdsn\ + \cyri\cyrl\cyrl\cyryu\cyrs\cyrt\cyrr\cyra\cyrc\cyrii\cyrishrt}} + % Списокъ таблицъ + \def\listtablename{% + {\cyr\CYRS\cyrp\cyri\cyrs\cyro\cyrk\cyrhrdsn\ + \cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyrhrdsn}}% + % Предмѣтный указатель, ѣ (\cyryat) in X2 encoding only + \def\indexname{% + {\cyr\CYRP\cyrr\cyre\cyrd\cyrm\cyryat\cyrt\cyrn\cyrery\cyrishrt\space + \cyru\cyrk\cyra\cyrz\cyra\cyrt\cyre\cyrl\cyrsftsn}}% + \def\authorname{% + {\cyr\CYRI\cyrm\cyre\cyrn\cyrn\cyro\cyrishrt\ + \cyru\cyrk\cyra\cyrz\cyra\cyrt\cyre\cyrl\cyrsftsn}}% + \def\figurename{{\cyr\CYRR\cyri\cyrs.}}% + \def\tablename{{\cyr\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyra}}% + \def\partname{{\cyr\CYRCH\cyra\cyrs\cyrt\cyrsftsn}}% + \def\enclname{{\cyr\cyrv\cyrk\cyrl.}}% + \def\ccname{{\cyr\cyri\cyrs\cyrh.}}% + \def\headtoname{{\cyr\cyrv\cyrh.}}% + \def\pagename{{\cyr\cyrs.}}% + \def\seename{{\cyr\cyrs\cyrm.}}% + \def\alsoname{{\cyr\cyrs\cyrm.\ \cyrt\cyra\cyrk\cyrzh\cyre}}% + \def\proofname{{\cyr\CYRD\cyro\cyrk\cyra\cyrz\cyra\cyrt + \cyre\cyrl\cyrsftsn\cyrs\cyrt\cyrv\cyro}}% + \def\glossaryname{{\cyr\CYRS\cyrl\cyro\cyrv\cyra\cyrr\cyrsftsn\ + \cyrt\cyre\cyrr\cyrm\cyri\cyrn\cyro\cyrv}}% <-- Needs translation + \def\acronymname{\CYRA\cyrb\cyrb\cyrr\cyre\cyrv\cyri\cyra\cyrt\cyru\cyrr\cyrery}% + \def\lstlistingname{\CYRL\cyri\cyrs\cyrt\cyri\cyrn\cyrg}% + \def\lstlistlistingname{\CYRL\cyri\cyrs\cyrt\cyri\cyrn\cyrg\cyri}% + \def\nomname{\CYRO\cyrb\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrii\cyrya}% + \def\notesname{\CYRZ\cyra\cyrm\cyre\cyrt\cyrk\cyri}% + }% + %% ========================================= + %% RevTeX4 & RevTeX4-1 + \ifnum \@ifclassloaded{revtex4}{1}{\@ifclassloaded{revtex4-1}{1}{0}}>0 + \addto\captionsrussian@ancient{% + \def\lofname{\listfigurename} + \def\lotname{\listtablename} + \def\figuresname{\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%{Figures}% + \def\tablesname{\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%{Tables}% + \def\appendixesname{\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%{Appendixes}% + \def\acknowledgmentsname{\CYRB\cyrl\cyra\cyrg\cyro\cyrd\cyra\cyrr\cyrn\cyro\cyrs\cyrt\cyri}%{Acknowledgments} + \def\andname{\cyri}%{and} + \def\@pacs@name{PACS \cyrk\cyro\cyrd\cyrery: }%{PACS numbers: }% + \def\@keys@name{\CYRK\cyrl\cyryu\cyrch\cyre\cyrv\cyrery\cyre \cyrs\cyrl\cyro\cyrv\cyra: }%{Keywords: }% + \def\Dated@name{\CYRD\cyra\cyrt\cyra: }%{Dated: }% + \def\Received@name{\CYRP\cyro\cyrl\cyru\cyrch\cyre\cyrn\cyro }%{Received }% + \def\Revised@name{\CYRI\cyrs\cyrp\cyrr\cyra\cyrv\cyrl\cyre\cyrn\cyrn\cyra\cyrya \cyrv\cyre\cyrr\cyrs\cyri\cyrya }%{Revised }% + \def\Accepted@name{\CYRP\cyrr\cyri\cyrn\cyrya\cyrt\cyro }%{Accepted }% + \def\Published@name{\CYRO\cyrp\cyru\cyrb\cyrl\cyri\cyrk\cyro\cyrv\cyra\cyrn\cyro }%{Published }% + }% + \fi + %% ========================================= +\fi +\if@uni@ode + \addto\daterussian{% + \def\today{\number\day~\ifcase\month\or + января\or + февраля\or + марта\or + апреля\or + мая\or + июня\or + июля\or + августа\or + сентября\or + октября\or + ноября\or + декабря\fi + \space \number\year~г.}} + \def\daterussian@ancient{% + \def\today{\number\day~\ifcase\month\or% + января\or + февраля\or + марта\or + апреля\or + мая\or + іюня\or + іюля\or + августа\or + сентября\or + октября\or + ноября\or + декабря\fi% + \space \number\year~г.}} +\else + \def\daterussian{% + \def\today{\number\day~\ifcase\month\or + \cyrya\cyrn\cyrv\cyra\cyrr\cyrya\or + \cyrf\cyre\cyrv\cyrr\cyra\cyrl\cyrya\or + \cyrm\cyra\cyrr\cyrt\cyra\or + \cyra\cyrp\cyrr\cyre\cyrl\cyrya\or + \cyrm\cyra\cyrya\or + \cyri\cyryu\cyrn\cyrya\or + \cyri\cyryu\cyrl\cyrya\or + \cyra\cyrv\cyrg\cyru\cyrs\cyrt\cyra\or + \cyrs\cyre\cyrn\cyrt\cyrya\cyrb\cyrr\cyrya\or + \cyro\cyrk\cyrt\cyrya\cyrb\cyrr\cyrya\or + \cyrn\cyro\cyrya\cyrb\cyrr\cyrya\or + \cyrd\cyre\cyrk\cyra\cyrb\cyrr\cyrya\fi + \space \number\year~\cyrg.}} + \def\daterussian@ancient{% + \def\today{\number\day~\ifcase\month\or + \cyrya\cyrn\cyrv\cyra\cyrr\cyrya\or + \cyrf\cyre\cyrv\cyrr\cyra\cyrl\cyrya\or + \cyrm\cyra\cyrr\cyrt\cyra\or + \cyra\cyrp\cyrr\cyre\cyrl\cyrya\or + \cyrm\cyra\cyrya\or + \cyrii\cyryu\cyrn\cyrya\or + \cyrii\cyryu\cyrl\cyrya\or + \cyra\cyrv\cyrg\cyru\cyrs\cyrt\cyra\or + \cyrs\cyre\cyrn\cyrt\cyrya\cyrb\cyrr\cyrya\or + \cyro\cyrk\cyrt\cyrya\cyrb\cyrr\cyrya\or + \cyrn\cyro\cyrya\cyrb\cyrr\cyrya\or + \cyrd\cyre\cyrk\cyra\cyrb\cyrr\cyrya\fi + \space \number\year~\cyrg.}} +\fi +\providehyphenmins{\CurrentOption}{\tw@\tw@} +\providehyphenmins{russian}{\tw@\tw@} +\addto\extrasrussian{\cyrillictext} +\addto\noextrasrussian{\latintext} +\addto\extrasrussian{\languageshorthands{russian}} +\addto\extrasrussian{\bbl@activate{"}} +\addto\noextrasrussian{\bbl@deactivate{"}} +\addto\extrasrussian{\bbl@frenchspacing} +\addto\noextrasrussian{\bbl@nonfrenchspacing} +\def\Asbuk#1{\expandafter\russian@Alph\csname c@#1\endcsname} +\if@uni@ode + \def\russian@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 Я\else\@ctrerr\fi} +\else + \def\russian@Alph#1{\ifcase#1\or + \CYRA\or\CYRB\or\CYRV\or\CYRG\or\CYRD\or\CYRE\or\CYRZH\or + \CYRZ\or\CYRI\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\CYREREV\or\CYRYU\or + \CYRYA\else\@ctrerr\fi} +\fi +\def\asbuk#1{\expandafter\russian@alph\csname c@#1\endcsname} +\if@uni@ode + \def\russian@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 я\else\@ctrerr\fi} +\else + \def\russian@alph#1{\ifcase#1\or + \cyra\or\cyrb\or\cyrv\or\cyrg\or\cyrd\or\cyre\or\cyrzh\or + \cyrz\or\cyri\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\cyrerev\or\cyryu\or + \cyrya\else\@ctrerr\fi} +\fi +\bbl@declare@ttribute{russian}{ancient}{% + \PackageInfo{babel}{Russian attribute set to ancient}% + \let\captionsrussian=\captionsrussian@ancient + \let\daterussian=\daterussian@ancient +} +\@onlypreamble\captionsrussian@ancient +\@onlypreamble\daterussian@ancient +\AtBeginDocument{% + \@ifpackageloaded{amsopn} + {% + \DeclareMathOperator{\sh}{sh}%\MakeRobust\sh + \DeclareMathOperator{\ch}{ch}%\MakeRobust\ch + \DeclareMathOperator{\tg}{tg}%\MakeRobust\tg + \DeclareMathOperator{\ctg}{ctg}%\MakeRobust\ctg + \DeclareMathOperator{\arctg}{arctg}%\MakeRobust\arctg% + \DeclareMathOperator{\arcctg}{arcctg}%\MakeRobust\arcctg% + \DeclareMathOperator{\cth}{cth}%\MakeRobust\cth% + \DeclareMathOperator{\cosec}{cosec}%\MakeRobust\cosec% + \DeclareMathOperator{\math@th}{th}% + }{% + \DeclareRobustCommand\sh{\mathop{\operator@font sh}\nolimits}%\MakeRobust\sh% + \DeclareRobustCommand\ch{\mathop{\operator@font ch}\nolimits}%\MakeRobust\ch% + \DeclareRobustCommand\tg{\mathop{\operator@font tg}\nolimits}%\MakeRobust\tg% + \DeclareRobustCommand\ctg{\mathop{\operator@font ctg}\nolimits}%\MakeRobust\ctg% + \DeclareRobustCommand{\arctg}{\mathop{\operator@font arctg}\nolimits}% + \DeclareRobustCommand\arcctg{\mathop{\operator@font arcctg}\nolimits}%\MakeRobust\arcctg% + \DeclareRobustCommand\cth{\mathop{\operator@font cth}\nolimits}%\MakeRobust\cth% + \DeclareRobustCommand\cosec{\mathop{\operator@font cosec}\nolimits}%\MakeRobust\cosec% + \DeclareRobustCommand{\math@th}{\mathop{\operator@font arctg}\nolimits}% + }% + \let\text@th\th + \DeclareRobustCommand{\th}{\TextOrMath{\text@th}{\math@th}} +} +\def\Prob{\mathop{\kern\z@\mathsf{P}}\nolimits} +\def\Variance{\mathop{\kern\z@\mathsf{D}}\nolimits} +\if@uni@ode + \def\nod{\mathop{\mathrm{н.о.д.}}\nolimits} + \def\nok{\mathop{\mathrm{н.о.к.}}\nolimits} + \def\NOD{\mathop{\mathrm{НОД}}\nolimits} + \def\NOK{\mathop{\mathrm{НОК}}\nolimits} + \def\Proj{\mathop{\mathrm{Пр}}\nolimits} +\else + \def\nod{\mathop{\textnormal{\cyrn.\cyro.\cyrd.}}\nolimits} + \def\nok{\mathop{\textnormal{\cyrn.\cyro.\cyrk.}}\nolimits} + \def\NOD{\mathop{\textnormal{\CYRN\CYRO\CYRD}}\nolimits} + \def\NOK{\mathop{\textnormal{\CYRN\CYRO\CYRK}}\nolimits} + \def\Proj{\mathop{\textnormal{\CYRP\cyrr}}\nolimits} +\fi +\ldf@finish{russian} +%% +%% \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 \~} +%% + +%% Nonunicode Cyrillic Letters +%% \CYRA=А +%% \CYRB=Б +%% \CYRV=В +%% \CYRG=Г +%% \CYRGUP=Ґ +%% \CYRD=Д +%% \CYRE=Е +%% \CYRIE=Є +%% \CYRZH=Ж +%% \CYRZ=З +%% \CYRI=И +%% \CYRII=I +%% \CYRYI=Ї +%% \CYRISHRT=Й +%% \CYRK=К +%% \CYRL=Л +%% \CYRM=М +%% \CYRN=Н +%% \CYRO=О +%% \CYRP=П +%% \CYRR=Р +%% \CYRS=С +%% \CYRT=Т +%% \CYRU=У +%% \CYRF=Ф +%% \CYRH=Х +%% \CYRC=Ц +%% \CYRCH=Ч +%% \CYRSH=Ш +%% \CYRSHCH=Щ +%% \CYRYU=Ю +%% \CYRYA=Я +%% \CYRSFTSN=Ь +%% +%% \cyra=а +%% \cyrb=б +%% \cyrv=в +%% \cyrg=г +%% \cyrgup=ґ +%% \cyrd=д +%% \cyre=е +%% \cyrie=є +%% \cyrzh=ж +%% \cyrz=з +%% \cyri=и +%% \cyrii=i +%% \cyryi=ї +%% \cyrishrt=й +%% \cyrk=к +%% \cyrl=л +%% \cyrm=м +%% \cyrn=н +%% \cyro=о +%% \cyrp=п +%% \cyrr=р +%% \cyrs=с +%% \cyrt=т +%% \cyru=у +%% \cyrf=ф +%% \cyrh=х +%% \cyrc=ц +%% \cyrch=ч +%% \cyrsh=ш +%% \cyrshch=щ +%% \cyryu=ю +%% \cyrya=я +%% \cyrsftsn=ь +%% ---------------------------------------------------------------- +%% Copyright 2011-2021 Igor A. Kotelnikov. +%% Copyright 1995-2008 Olga G. Lapko. +%% Copyright 1989-2012 Johannes L. Braams. +%% +%% This file is a part of the Russian-Babel package. +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% 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 +%% Igor A. Kotelnikov. +%% +%% The package consists of the file russianb.dtx +%% and the derived files russianb.ins, +%% russianb.ldf, +%% russianb.pdf, +%% README. +%% ---------------------------------------------------------------- +%% +%% End of file `russianb.ldf'. diff --git a/macros/latex/contrib/babel-contrib/russian/russianb.pdf b/macros/latex/contrib/babel-contrib/russian/russianb.pdf index 791989648b..6d39345b13 100644 Binary files a/macros/latex/contrib/babel-contrib/russian/russianb.pdf and b/macros/latex/contrib/babel-contrib/russian/russianb.pdf differ diff --git a/macros/latex/contrib/curve2e/README.txt b/macros/latex/contrib/curve2e/README.txt index 94b76a5f68..32a6f31005 100644 --- a/macros/latex/contrib/curve2e/README.txt +++ b/macros/latex/contrib/curve2e/README.txt @@ -5,7 +5,7 @@ %% License information appended %% File README.txt for package curve2e - [2020-12-20 v.2.2.13 Extension package for pict2e] + [2021-01-10 v.2.2.14 Extension package for pict2e] The package bundle curve2e is composed of the following files curve2e.dtx diff --git a/macros/latex/contrib/curve2e/curve2e.dtx b/macros/latex/contrib/curve2e/curve2e.dtx index e9de1ccc69..1062faf737 100644 --- a/macros/latex/contrib/curve2e/curve2e.dtx +++ b/macros/latex/contrib/curve2e/curve2e.dtx @@ -46,7 +46,7 @@ README.txt and curve2e-v161.sty. %<+package>\ProvidesPackage{curve2e}% %<+readme>File README.txt for package curve2e %<*package|readme> - [2020-12-20 v.2.2.13 Extension package for pict2e] + [2021-01-10 v.2.2.14 Extension package for pict2e] % %<*driver> \documentclass{ltxdoc}\errorcontextlines=9 @@ -54,7 +54,7 @@ README.txt and curve2e-v161.sty. \usepackage[utf8]{inputenc} \usepackage{lmodern,textcomp} \usepackage{mflogo} -\usepackage{multicol,amsmath,fancyvrb,graphics,verbatim,trace} +\usepackage{multicol,amsmath,fancyvrb,graphicx,verbatim,trace} \usepackage{xcolor,curve2e} \GetFileInfo{curve2e.dtx} \title{The extension package \textsf{curve2e}} @@ -507,10 +507,10 @@ README.txt and curve2e-v161.sty. % \subsection{Some preliminary extensions to the \texttt{pict2e} package} %^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The necessary preliminary code has already been introduced. Here we -% require the \texttt{color} package and the \texttt{pict2e} one; for the -% latter one we make sure that a sufficiently recent version is used. -% If you want to use package \texttt{xcolor}, load it \emph{after} -% \texttt{curve2e}. +% require the \texttt{color} and \texttt{graphicx} packages plus +% the \texttt{pict2e} one; for the latter we make sure that a +% sufficiently recent version is used. If you want to use package +% \texttt{xcolor}, load it \emph{after} \texttt{curve2e}. % % Here we load also the |xparse| and |xfp| packages because we use their % functionalities; but we do load them only if they are not already @@ -527,24 +527,24 @@ README.txt and curve2e-v161.sty. %\fi % \begin{macrocode} \IfFileExists{xfp.sty}{% - \RequirePackage{color} + \RequirePackage{graphicx,color} \RequirePackageWithOptions{pict2e}[2014/01/01] \@ifl@aded{sty}{xparse}{}{\RequirePackage{xparse}} \@ifl@aded{sty}{xfp}{}{\RequirePackage{xfp}}% }{% - \RequirePackage{curve2e-v161}% - \PackageWarningNoLine{curve2e}{% - Package xfp is required, but apparently\MessageBreak% - such package cannot be found in this \MessageBreak% - TeX system installation\MessageBreak% - Either your installation is not complete \MessageBreak% - or it is older than 2018-10-17.\MessageBreak% - \MessageBreak% - ***************************************\MessageBreak% - Version 1.61 of curve2e has been loaded\MessageBreak% - instead of the current version\MessageBreak% - ***************************************\MessageBreak}% - \endinput + \RequirePackage{curve2e-v161}% + \PackageWarningNoLine{curve2e}{% + Package xfp is required, but apparently\MessageBreak% + such package cannot be found in this \MessageBreak% + TeX system installation\MessageBreak% + Either your installation is not complete \MessageBreak% + or it is older than 2018-10-17.\MessageBreak% + \MessageBreak% + ***************************************\MessageBreak% + Version 1.61 of curve2e has been loaded\MessageBreak% + instead of the current version\MessageBreak% + ***************************************\MessageBreak}% + \endinput } % \end{macrocode} % Since we already loaded package|xfp| or at least we explicitly load it diff --git a/macros/latex/contrib/curve2e/curve2e.pdf b/macros/latex/contrib/curve2e/curve2e.pdf index 6b89208d52..708b73d581 100644 Binary files a/macros/latex/contrib/curve2e/curve2e.pdf and b/macros/latex/contrib/curve2e/curve2e.pdf differ -- cgit v1.2.3