Thank you, Ulrike and Vladimir,<br><br>Setting \russianfont to nothing solves the problem.<br><br>But is there any reason to pass this assignment to the user?<br><br>Vadim<br><br><div class="gmail_quote">On Wed, May 26, 2010 at 12:43 PM, Ulrike Fischer <span dir="ltr"><<a href="mailto:news3@nililand.de">news3@nililand.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Am Wed, 26 May 2010 13:56:33 +0900 schrieb Vladimir Lomov:<br>
<div class="im"><br>
> ** Vadim Radionov [2010-05-26 02:24:19 +0400]:<br>
><br>
>> Dear all,<br>
><br>
>> After upgrade to version [2010/03/23 v1.1.1] of polyglossia, i cannot switch<br>
>> the family of what comes to running head: compare this and the same without<br>
>> \setdefaultlanguage{russian}<br>
><br>
>> \documentclass{book}<br>
>> \usepackage{polyglossia}<br>
>> \setdefaultlanguage{russian}<br>
>> \setmainfont{CharterITC}<br>
>> \makeatletter<br>
>> \def\@oddhead{\em!! \rightmark\hfil\thepage}<br>
>> \makeatother<br>
><br>
>> \begin{document}<br>
>> \markboth{even}{odd}<br>
>> This is a test.<br>
>> \end{document}<br>
><br>
> (to clarify: 'odd' is not emphasized in header)<br>
><br>
> This is common problem for all 'gloss-*.ldf' files which have<br>
> '\normalfontlatin' in they definitions (for example: greek, bulgarian,<br>
> ukrainian, serbian, coptic). If you comment '\normalfontlatin' in<br>
> 'gloss-russian.ldf' you get desired result.<br>
><br>
> This problem doesn't appear if you use 'fancyhdr' package (it should be<br>
> loaded after polyglossia of course).<br>
><br>
> System: TeX Live 2009 with latest updates.<br>
<br>
</div>You can use<br>
\usepackage[nolocalmarks]{polyglossia}. Then polyglossia will not<br>
localize the header.<br>
<br>
You can also define \russianfont to something sensible. Then the<br>
default definition with \normalfontlatin will not be used. E.g.<br>
\def\russianfont{}<br>
\setdefaultlanguage{russian}<br>
<br>
<br>
<br>
--<br>
<font color="#888888">Ulrike Fischer<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</div></div></blockquote></div><br>