[XeTeX] bidi problem?

Atsuhito Kohda kohda at pm.tokushima-u.ac.jp
Fri Feb 26 02:05:45 CET 2010


Hi Vafa, thanks for your reply.

On Thu, 25 Feb 2010 20:50:44 +1100, Vafa Khalighi wrote:

>> If one uses \setRTL in minipage environment, it seems
>> to work but if one adds option [t] to minipage like
>> \begin{minipage}[t]{.5\textwidth}\setRTL ...
>> then it seems not to work and seems to follow ouster
>> environment.
>>
> 
> This works for me. See atached file.

But please see an attatched file (test1.tex).  
It will generate a wrong output but if you comment out 
the line
\begin{minipage}[t]{.5\textwidth}\setLTR
and uncomment the line
%\begin{minipage}{.5\textwidth}\setLTR
then it will generate a correct output.

Background: this is useful for a file which contains 
both horozontal and vertical typesettings in a same page,
especially for Japanese.
Thanks again.  

Best regards,			2010-2-26(Fri)

-- 
 Debian Developer - much more I18N of Debian
 Atsuhito Kohda <kohda AT debian.org>
 Department of Math., Univ. of Tokushima
-------------- next part --------------
\documentclass{article}
\usepackage{bidi}
\begin{document}
\setRTL
\begin{minipage}[t]{.5\textwidth}\setLTR
%\begin{minipage}{.5\textwidth}\setLTR
This is a test This is a test  This is a test  This is a test  This is a test 
\end{minipage}
\end{document}


More information about the XeTeX mailing list