On Tuesday 15 February 2011, Vafa Khalighi wrote: > minimal example? Attached.
\documentclass{memoir}
\usepackage{bidi}
\usepackage{xltxtra}
\newfontfamily{\farsi}[Script=Arabic]{IranNastaliq}
\begin{document}
Bidi \bidiversion . To demonstrate how in RTL mode the verse environment disrespects the indented space of displayed material, I place some random text here. Also note the placement of punctuation signs in RTL mode when using Latin script. The first three sections use the verse environment:
\begin{verse}
This is a test case with some words. No meaning here. This is a test case with some words. No meaning here. This is a test case with some words. No meaning here.
\setRTL{This is a test case with some words. No meaning here. This is a test case with some words. No meaning here. This is a test case with some words. No meaning here.}
\setRTL{{\farsi و نیک این تو ذات و ذات تو نیک اوی از دیگر ذات ایزدان و یزن دهم ای هورمزد و یعنی اندر دنیای اوی کویم و یعنی ذات این تو نیکتر هست }}
\end{verse}
\begin{quote}
Quote: This is a test case with some words. No meaning here. This is a test case with some words. No meaning here. This is a test case with some words. No meaning here.
\setRTL{Quote RTL: This is a test case with some words. No meaning here. This is a test case with some words. No meaning here. This is a test case with some words. No meaning here.}
\end{quote}
\noindent The random text outside the environments continues here; again, just to show the paragraph boundaries and some environments' behaviour in RTL mode.
\end{document}
bidi_verse_test.pdf
Description: Adobe PDF document
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
