[tex-live] texlive-latex-base: \today command prints wrong month for June in Russian

Ivan Tsybulin tsybulin at crec.mipt.ru
Mon Jun 2 15:33:42 CEST 2014


Hello.

The russianb.ldf file of the babel package has two sections related to
\today date definition. In unicode mode (i.e. when \if at uni@ode is true)
\today has "июня" for June for modern russian and "іюня" for ancient 
russian, which are correct values. But when \if at uni@ode is false the 
values are

\cyrii\cyryu\cyrn\cyrya (іюня)

for modern and

\cyri\cyryu\cyrn\cyrya (июня)

for ancient respectively.
Using \languageattribute{russian}{ancient} fixes the date, but breaks 
every other string like Table of Contents (Содержание becomes 
Содержаніе) and etc.

Fix is quite trivial. Just swap June and July lines for ancient and 
modern versions:

     \cyrii\cyryu\cyrn\cyrya\or
     \cyrii\cyryu\cyrl\cyrya\or

with

     \cyri\cyryu\cyrn\cyrya\or
     \cyri\cyryu\cyrl\cyrya\or

-- 
Sincerely,
Ivan Tsybulin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ancient_russian_june_and_july_fix.diff
Type: text/x-patch
Size: 883 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20140602/de552812/attachment-0001.bin>


More information about the tex-live mailing list