[XeTeX] bidi or arabxetex problem with fancyhdr

Mehdi Omidali mehdioa at gmail.com
Sun Jul 13 19:06:55 CEST 2008

I compiled the following lines with xelatex (0.999.2 on both windows and linux)

\setromanfont[Mapping=tex-text,Scale=1]{Times New Roman}

% with this we ensure that the chapter and section
% headings are in lowercase.
\markright{\thesection\ #1}}
\fancyhf{} % delete current header and footer
\addtolength{\headheight}{0.5pt} % space for the rule
\fancyhead{} % get rid of headers on plain pages
\renewcommand{\headrulewidth}{0pt} % and the line






This code works without any problem but if you comment the second chapter, then
numbers of pages 5 and 6 will be printed on the top right of pages.
Any clue what is happening?

More information about the XeTeX mailing list