Hello I've some problems with left and right, fancyhdr and polyglossia;
If I'm writing a page in a LTR language, the "\fancyfoot[R]{\LR{right side?}" work fine. But when a switch to a RTL language, the "right side?" message appears on the left side of the page...
I did a small test with bidi instead of polyglossia, and the problem didn't appear (see attached files).
I'm using TeXLive 2009 on WinXP SP3, with: XeTeX, Version 3.1415926-2.2-0.9995.2, polyglossia v1.1.1 and bidi v1.1.2
Thanks
\documentclass[12pt, a4paper]{article}
\usepackage{fancyhdr}
\usepackage{bidi}
\fancyhf{}
\fancyfoot[R]{\LR{right side?}}
\fancyfoot[L]{\LR{left side?}}
\pagestyle{fancy}
\begin{document}
\setRL
bd
\newpage
\begin{LTR}
az
\vspace{18cm}
az
az
az
az
az
az
az
\end{LTR}
\end{document}
\documentclass[12pt, a4paper]{article}
\usepackage{fancyhdr}
\usepackage[no-math]{fontspec}
\usepackage[quiet]{polyglossia}
\usepackage{bidi}
\setdefaultlanguage[calendar=gregorian,hijricorrection=1,locale=mashriq,numerals=maghrib]{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfont[Script=Arabic]{Simplified Arabic}
\fancyhf{}
\fancyfoot[R]{\LR{right side?}}
\fancyfoot[L]{\LR{left side?}}
\pagestyle{fancy}
\begin{document}
bd
\newpage
\begin{english}
az
\vspace{18cm}
az
az
az
az
az
az
az
\end{english}
\end{document}
bidi.pdf
Description: Adobe PDF document
poly.pdf
Description: Adobe PDF document
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
