texlive[56663] Master/texmf-dist: babel-russian (14oct20)
commits+karl at tug.org
commits+karl at tug.org
Wed Oct 14 23:45:25 CEST 2020
Revision: 56663
http://tug.org/svn/texlive?view=revision&revision=56663
Author: karl
Date: 2020-10-14 23:45:25 +0200 (Wed, 14 Oct 2020)
Log Message:
-----------
babel-russian (14oct20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/generic/babel-russian/README
trunk/Master/texmf-dist/doc/generic/babel-russian/russianb.pdf
trunk/Master/texmf-dist/source/generic/babel-russian/russianb.dtx
trunk/Master/texmf-dist/tex/generic/babel-russian/russianb.ldf
Modified: trunk/Master/texmf-dist/doc/generic/babel-russian/README
===================================================================
--- trunk/Master/texmf-dist/doc/generic/babel-russian/README 2020-10-14 21:45:03 UTC (rev 56662)
+++ trunk/Master/texmf-dist/doc/generic/babel-russian/README 2020-10-14 21:45:25 UTC (rev 56663)
@@ -1,6 +1,6 @@
----------------------------------------------------------------
-Russian language module for Babel, v1.3k
+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
@@ -108,6 +108,11 @@
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).
Modified: trunk/Master/texmf-dist/doc/generic/babel-russian/russianb.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/generic/babel-russian/russianb.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/babel-russian/russianb.dtx 2020-10-14 21:45:03 UTC (rev 56662)
+++ trunk/Master/texmf-dist/source/generic/babel-russian/russianb.dtx 2020-10-14 21:45:25 UTC (rev 56663)
@@ -7,7 +7,7 @@
%<*readme>
----------------------------------------------------------------
-Russian language module for Babel, v1.3k
+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
@@ -119,6 +119,11 @@
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).
@@ -267,7 +272,7 @@
%</internal>
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{russianb.ldf}[2020/09/09 1.3k Russian support for the Babel system]
+\ProvidesFile{russianb.ldf}[2020/10/16 1.3l Russian support for the Babel system]
%</code>
%<*driver>
\documentclass[a4paper]{ltxdoc}
@@ -281,16 +286,10 @@
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi>0
\usepackage{fontspec}
\defaultfontfeatures{Ligatures={TeX}}
- \setmainfont{CMU Serif}
- %\setmainfont{STIX Two}[
- % UprightFont={* Math},
- % %UprightFont={* Text},
- % ItalicFont={* Text Italic},
- % BoldFont={* Text Bold},
- % BoldItalicFont={* Text Bold Italic},
- %]
- %\setsansfont{CMU Sans Serif}
- %\setmonofont{CMU Typewriter Text}
+ \setmainfont{cmunrm.otf}%{CMU Serif}
+ %\setmainfont{STIX Two Text}
+ \setsansfont{cmunss.otf}%{CMU Sans Serif}
+ \setmonofont{cmuntt.otf}%{CMU Typewriter Text}
%%\setmonofont[Scale=MatchLowercase]{Courier New}
%%\setmonofont[Scale=MatchUppercase]{Courier New}
%%\setmonofont{Courier New}
@@ -909,7 +908,8 @@
%
% \section{Implementation}
%
-% \changes{1.3k}{2020/09/06}{bug in definition of \cs{Russian} fixed}
+% \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}
% \changes{1.3h}{2016/02/18}{Bugs fixed in captions for revtex4 and revtex4-1}
% \changes{1.3g}{2015/05/01}{Added support for revtex4 and revtex4-1 classes}
@@ -1363,12 +1363,16 @@
% which indicates explicitly breakpoint for hyphenation in a word. Meaning
% of these shorthands is explained in table~\ref{tab:russian-quote}.
%
+% Some of this definitions need a alternative definitions for the booksmarks.
+% \changes{1.3l}{2020/10/16}{Modified shorthands}
% \begin{macrocode}
+\providecommand\texorpdfstring[2]{#1}
\declare at shorthand{russian}{""}{\hskip\z at skip}
-\declare at shorthand{russian}{"~}{\textormath{\leavevmode\hbox{-}}{-}}
+\declare at shorthand{russian}{"~}{\texorpdfstring{\textormath{\leavevmode\hbox{-}}{-}}{-}}
\declare at shorthand{russian}{"=}{\nobreak-\hskip\z at skip}
\declare at shorthand{russian}{"|}{%
- \textormath{\nobreak\discretionary{-}{}{\kern.03em}\allowhyphens}{}}
+ \texorpdfstring{%
+ \textormath{\nobreak\discretionary{-}{}{\kern.03em}\allowhyphens}{}}{}}
% \end{macrocode}
%
% \subsubsection{Emdash, endash and hyphenation sign}
@@ -1378,12 +1382,13 @@
% If it is, we output an emdash, otherwise a hyphen sign. Therefor
% \TeX\ looks for the next token after the first `|-|', writes
% its meaning to |\russian at sh@next| and finally call for |\russian at sh@tmp|.
+% \changes{1.3l}{2020/10/16}{Modified shorthands}
% \begin{macrocode}
\declare at shorthand{russian}{"-}{%
- \def\russian at sh@tmp{%
+ \texorpdfstring{\def\russian at sh@tmp{%
\if\russian at sh@next-\expandafter\russian at sh@emdash
\else\expandafter\russian at sh@hyphen\fi}%
- \futurelet\russian at sh@next\russian at sh@tmp}
+ \futurelet\russian at sh@next\russian at sh@tmp}{-}}
% \end{macrocode}
% Two macros |\russian at sh@hyphen| and |\russian at sh@emdash| called by
% |\russian at sh@tmp| are defined below. The second of
@@ -1406,7 +1411,7 @@
\errmessage{Wrong usage of cdash}\fi\fi\fi}
% \end{macrocode}
%
-% All these 3 internal macros call for |\cyrdash|, which type Cyrillic
+% All these 3 internal macros call for |\cyrdash|, which types Cyrillic
% emdash, but put different spaces around the dash.
%
% |\@Acdash| is invoked by |"---|. It types Cyrillic emdash to be used
@@ -2179,7 +2184,7 @@
%\iffalse
%</code>
%\fi
-%\CheckSum{2353}
+%\CheckSum{2358}
%\Finale
%
%%
Modified: trunk/Master/texmf-dist/tex/generic/babel-russian/russianb.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel-russian/russianb.ldf 2020-10-14 21:45:03 UTC (rev 56662)
+++ trunk/Master/texmf-dist/tex/generic/babel-russian/russianb.ldf 2020-10-14 21:45:25 UTC (rev 56663)
@@ -12,7 +12,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{russianb.ldf}[2020/09/09 1.3k Russian support for the Babel system]
+\ProvidesFile{russianb.ldf}[2020/10/16 1.3l Russian support for the Babel system]
\ProvidesLanguage{russian}
[2020/09/09 1.3k Russian support for the Babel system]
\LdfInit{russian}{captionsrussian}
@@ -129,16 +129,18 @@
\declare at shorthand{russian}{"'}{\textquotedblleft}
\declare at shorthand{russian}{"<}{\guillemotleft}
\declare at shorthand{russian}{">}{\guillemotright}
+\providecommand\texorpdfstring[2]{#1}
\declare at shorthand{russian}{""}{\hskip\z at skip}
-\declare at shorthand{russian}{"~}{\textormath{\leavevmode\hbox{-}}{-}}
+\declare at shorthand{russian}{"~}{\texorpdfstring{\textormath{\leavevmode\hbox{-}}{-}}{-}}
\declare at shorthand{russian}{"=}{\nobreak-\hskip\z at skip}
\declare at shorthand{russian}{"|}{%
- \textormath{\nobreak\discretionary{-}{}{\kern.03em}\allowhyphens}{}}
+ \texorpdfstring{%
+ \textormath{\nobreak\discretionary{-}{}{\kern.03em}\allowhyphens}{}}{}}
\declare at shorthand{russian}{"-}{%
- \def\russian at sh@tmp{%
+ \texorpdfstring{\def\russian at sh@tmp{%
\if\russian at sh@next-\expandafter\russian at sh@emdash
\else\expandafter\russian at sh@hyphen\fi}%
- \futurelet\russian at sh@next\russian at sh@tmp}
+ \futurelet\russian at sh@next\russian at sh@tmp}{-}}
\def\russian at sh@hyphen{\nobreak\-\bbl at allowhyphens}
\def\russian at sh@emdash#1#2{\cdash-#1#2}
\def\cdash#1#2#3{\def\tempx@{#3}%
More information about the tex-live-commits
mailing list.