[XeTeX] problem with flashcards, polyglossia and RTL-languages
Fabian Rieger
cjkv at freenet.de
Wed Jul 28 22:22:48 CEST 2010
Hi,
using flashcards class in combination with polyglossia and RTL languages
I met a problem that wasn't there 6 months ago or so:
As soon as I add just a line of
\setotherlanguage{arabic-or-farsi-or-hebrew-or-syriac}
(no arabic etc. text is required for this effect), the text on both
sides jumps to the top of the resulting cards.
This happens with MiKTeX 2.8, updated today and MSWindows 2000;
in flashcards.cls the line
\RequirePackage{geometry}
is replaced with
\RequirePackage[paper=a4paper]{geometry}
and
twosideshift=\oddevenshift,
is commented out.
A minimal example:
%\TeXXeTstate=1
\documentclass[avery5371,frame,grid]{flashcards}
\usepackage{polyglossia}
\usepackage{xltxtra}
\setmainlanguage{english}
\setotherlanguage{german}
\setotherlanguage{arabic}
\usepackage{fontspec,xunicode}
\begin{document}
\begin{flashcard}{texttexttext}
texttexttext
\end{flashcard}
\end{document}
Without "\setotherlanguage{arabic}" all text on the cards is centered as
it was last year.
Is there any solution ?
Many thanks
Fabian Rieger
More information about the XeTeX
mailing list