[XeTeX] problem with flashcards, polyglossia and RTL-languages
Fabian Rieger
cjkv at freenet.de
Wed Aug 11 12:58:25 CEST 2010
Am 29.07.2010 03:21, schrieb Vafa Khalighi:
> having
>
> \documentclass[avery5371,frame,grid]{flashcards}
> \begin{document}
> \begin{flashcard}{texttexttext}
> texttexttext
> \end{flashcard}
> \end{document}
>
> as my document and running either pdflatex or xelatex, I get this error:
>
> ! Package geometry Error: \paperwidth (0.0pt) too short.
> See the geometry package documentation for explanation.
> Type H <return> for immediate help.
> ...
> l.989 \Gm at process
>
> Sorry but your example should run smoothly so
> that I can understand what is wrong.
Version 1.0.1 of flashcards, now on CTAN, works fine with the actual
geometry package. Yet
%\TeXXeTstate=1
\documentclass[avery5371,frame,grid]{flashcards}
\usepackage{fontspec,xunicode}
\usepackage{xltxtra}
\usepackage{polyglossia}
\setmainlanguage{english}
\setotherlanguage{german}
\setotherlanguage{arabic}
\begin{document}
\begin{flashcard}{texttexttext}
texttexttext
\end{flashcard}
\end{document}
still doesn't put texttexttext in the center of the resulting cards, as
it does when the line "\setotherlanguage{arabic}" is removed.
Fabian Rieger
More information about the XeTeX
mailing list