Dear all,<br>I&#39;ve been having a problem using the memoir class withing XeLaTeX. <br>When I set the up the headers (using the pagestyle-related commands) to use some font option (bold, sc, etc.), I only get the default roman.<br>

For example:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><span style="font-family: courier new,monospace;">\makepagestyle{mypages}</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">. . .</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\makeevenhead{mypages}{\thepage}{\scshape\leftmark}{}</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">\makeoddhead{mypages}{}{\itshape\rightmark}{\thepage}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\pagestyle{mypages}</span><br>

</blockquote><br><br>If I compile it in XeLaTeX, I get only roman normal type for my headers (instead of sc and italics). I get no errors or warnings during compilation.<br>But if I compile the same subcode in PDFLaTeX (using any CM or any of the postscript fonts) I get what I was looking.<br>

This same problem occurs with default pagestyles of the memoir class that use font options with the headers (e.g., ruled, Ruled, companion).<br><br>Can someone advice me on this?<br><br>(I&#39;m using an updated version of TeXLive 2008 in Windows Vista x64.)<br>

<br>Thanks in advance!<br><br>Cheers,<br><br clear="all">Nicolas Vaughan<br><br>**************************<br>Minimal example:<br><br><span style="font-family: courier new,monospace;">\usepackage[latin]{polyglossia}</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\setromanfont[Mapping=tex-text]{Adobe Garamond Pro}</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">\usepackage{lipsum}</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\makeatletter</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">\makepagestyle{mypages}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\makeevenfoot{mypages}{}{}{}</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">\makeoddfoot{mypages}{}{}{}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\makeheadrule{mypages}{\textwidth}{\normalrulethickness}</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">\newcommand{\@mypagesmarks}{%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  \def\chaptermark##1{\markboth{##1}}</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">  \def\sectionmark##1{\markboth{##1}}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">}</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">\renewcommand*{\@mypagesmarks}{%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  \nouppercaseheads</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">  \createmark{chapter}{left}{nonumber}{}{ \space}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  \createmark{section}{right}{nonumber}{}{ \space}}</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">\makepsmarks{mypages}{\@mypagesmarks}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\makeevenhead{mypages}{\thepage}{\scshape\leftmark}{}</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">\makeoddhead{mypages}{}{\itshape\rightmark}{\thepage}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\makeatother</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\pagestyle{mypages}</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">\begin{document}</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">\chapter{Lorem ipsum}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\section{A first section}</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">\lipsum[1-40]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\end{document}</span><br>