diff options
author | jfbu <jfbu@free.fr> | 2019-10-28 19:10:50 +0300 |
---|---|---|
committer | jfbu <jfbu@free.fr> | 2019-10-28 19:15:19 +0300 |
commit | 0c6ffa42a504bc3b4bd104360513e634464224bc (patch) | |
tree | d1e2986f99614a3e3ae75686d23bd7acb9d92837 /sphinx/texinputs | |
parent | 472de2e9aa90331e39d072979f203d486dd2e918 (diff) |
Fix #6776: 2019-10-01 LaTeX release breaks sphinxcyrillic.sty
Diffstat (limited to 'sphinx/texinputs')
-rw-r--r-- | sphinx/texinputs/sphinxcyrillic.sty | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sphinx/texinputs/sphinxcyrillic.sty b/sphinx/texinputs/sphinxcyrillic.sty index 1a14c7b24..482b4e3f7 100644 --- a/sphinx/texinputs/sphinxcyrillic.sty +++ b/sphinx/texinputs/sphinxcyrillic.sty @@ -11,7 +11,7 @@ \ProcessLocalKeyvalOptions* % ignore class options \ifspx@cyropt@Xtwo -% original code by tex.sx user egreg: +% original code by tex.sx user egreg (updated 2019/10/28): % https://tex.stackexchange.com/a/460325/ % 159 Cyrillic glyphs as available in X2 TeX 8bit font encoding % This assumes inputenc loaded with utf8 option, or LaTeX release @@ -27,7 +27,9 @@ {Ӎ}{ӎ}{Ӕ}{ӕ}{Ә}{ә}{Ӡ}{ӡ}{Ө}{ө}\do {% \begingroup\def\IeC{\protect\DeclareTextSymbolDefault}% - \protected@edef\@temp{\endgroup\next{X2}}\@temp + \protected@edef\@temp{\endgroup + \@ifl@t@r{\fmtversion}{2019/10/01}{\csname u8:\next\endcsname}{\next}}% + \@temp{X2}% }% \else \ifspx@cyropt@TtwoA |