summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-04-05 21:12:21 +0000
committerKarl Berry <karl@freefriends.org>2019-04-05 21:12:21 +0000
commit972b985364ffd1dc9bb359d076879a270ca3575c (patch)
treef4ce21bc194670cfecbf15cc8718b39c0116d4dc /Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf
parent1380632dabfaef1d93e599a7066e094d9dff89a6 (diff)
polyglossia (5apr19)
git-svn-id: svn://tug.org/texlive/trunk@50787 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf')
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf
index d2c86a33406..5d207ff056e 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf
@@ -170,7 +170,8 @@
% The following is based on some ideas from ruscor.sty
\def\russian@capsformat{%
\ifdef{\KOMAScript}{%
- \renewcommand{\chapterformat}{\prechapter\thechapter\postchapter}%
+ \ifdef{\chapterformat}{%
+ \renewcommand{\chapterformat}{\prechapter\thechapter\postchapter}}{}%
\renewcommand{\sectionformat}{\presection\thesection\postsection}%
\renewcommand{\subsectionformat}{\presubsection\thesubsection\postsubsection}%
\renewcommand{\subsubsectionformat}{\presubsubsection\thesubsubsection\postsubsubsection}%
@@ -224,7 +225,8 @@
\def\noextras@russian{%
\ifdef{\KOMAScript}{%
- \renewcommand{\chapterformat}{\thechapter\autodot\enskip}%
+ \ifdef{\chapterformat}{%
+ \renewcommand{\chapterformat}{\thechapter\autodot\enskip}}{}%
\renewcommand{\sectionformat}{\thesection\autodot\enskip}%
\renewcommand{\subsectionformat}{\thesubsection\autodot\enskip}%
\renewcommand{\subsubsectionformat}{\thesubsubsection\autodot\enskip}%