[XeTeX] gloss-russian.ldf bug
Ulrike Fischer
news3 at nililand.de
Wed May 26 10:43:42 CEST 2010
Am Wed, 26 May 2010 13:56:33 +0900 schrieb Vladimir Lomov:
> ** Vadim Radionov [2010-05-26 02:24:19 +0400]:
>
>> Dear all,
>
>> After upgrade to version [2010/03/23 v1.1.1] of polyglossia, i cannot switch
>> the family of what comes to running head: compare this and the same without
>> \setdefaultlanguage{russian}
>
>> \documentclass{book}
>> \usepackage{polyglossia}
>> \setdefaultlanguage{russian}
>> \setmainfont{CharterITC}
>> \makeatletter
>> \def\@oddhead{\em!! \rightmark\hfil\thepage}
>> \makeatother
>
>> \begin{document}
>> \markboth{even}{odd}
>> This is a test.
>> \end{document}
>
> (to clarify: 'odd' is not emphasized in header)
>
> This is common problem for all 'gloss-*.ldf' files which have
> '\normalfontlatin' in they definitions (for example: greek, bulgarian,
> ukrainian, serbian, coptic). If you comment '\normalfontlatin' in
> 'gloss-russian.ldf' you get desired result.
>
> This problem doesn't appear if you use 'fancyhdr' package (it should be
> loaded after polyglossia of course).
>
> System: TeX Live 2009 with latest updates.
You can use
\usepackage[nolocalmarks]{polyglossia}. Then polyglossia will not
localize the header.
You can also define \russianfont to something sensible. Then the
default definition with \normalfontlatin will not be used. E.g.
\def\russianfont{}
\setdefaultlanguage{russian}
--
Ulrike Fischer
More information about the XeTeX
mailing list