From 46ce87aae8458913727a09fbda23f770e89d4c40 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 14 Oct 2020 21:45:25 +0000 Subject: babel-russian (14oct20) git-svn-id: svn://tug.org/texlive/trunk@56663 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/babel-russian/russianb.ldf | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex/generic') diff --git a/Master/texmf-dist/tex/generic/babel-russian/russianb.ldf b/Master/texmf-dist/tex/generic/babel-russian/russianb.ldf index 1a36dc2d248..14c4cef907c 100644 --- a/Master/texmf-dist/tex/generic/babel-russian/russianb.ldf +++ b/Master/texmf-dist/tex/generic/babel-russian/russianb.ldf @@ -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@shorthand{russian}{"'}{\textquotedblleft} \declare@shorthand{russian}{"<}{\guillemotleft} \declare@shorthand{russian}{">}{\guillemotright} +\providecommand\texorpdfstring[2]{#1} \declare@shorthand{russian}{""}{\hskip\z@skip} -\declare@shorthand{russian}{"~}{\textormath{\leavevmode\hbox{-}}{-}} +\declare@shorthand{russian}{"~}{\texorpdfstring{\textormath{\leavevmode\hbox{-}}{-}}{-}} \declare@shorthand{russian}{"=}{\nobreak-\hskip\z@skip} \declare@shorthand{russian}{"|}{% - \textormath{\nobreak\discretionary{-}{}{\kern.03em}\allowhyphens}{}} + \texorpdfstring{% + \textormath{\nobreak\discretionary{-}{}{\kern.03em}\allowhyphens}{}}{}} \declare@shorthand{russian}{"-}{% - \def\russian@sh@tmp{% + \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} + \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}% -- cgit v1.2.3