<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Le 10 avr. 09 à 08:11, وفا خلیقی a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">With RTL and LuaTeX there are vital issues that is ignored currently:<br><br>- It is not true that everything that was LTR in RTL mode should be the other way<br><br>e.g: if you have \pagedir TRT \bodydr TRT \pardir TRT \textdir TRT, then everything will be RTL but there are issues:<br> <br>1- In persian we read numbers from left to right (thirteen=13) but imagine in the table of contents, if the direction of the document is RTL, then instead 13 we get 31 which is read 'thirty one' in Persian. </div></blockquote><div><br></div><div>that's the case in all RTL languages (Arabic, Hebrew, Syriac, etc.). In Omega we were processing numbers using OTPs.</div><div><br></div><blockquote type="cite"><div dir="ltr">2- There are things both in LTR and Persian (perhaps in RTL as well) that luatex's direction change does not make any sense, for example \leftline, \rightline, \raggedleft, \raggedright and etc. In both directions we want for example \leftline put some text at the left and \rightline put some text at the right hand side because that is what it should be but in LuaTeX in RTL, \leftline stands for \rightline and \rightline stands for \leftline which is nonesense. </div></blockquote><br></div><div>and there is a third issue: images. Often you will use different images whether you are in RTL or LTR mode (imagine an arrow or a pointing hand, it will have to point in the opposite direction). For that you may need a test \ifRTL\includegraphics{...}\else\includegraphics{...}\fi</div><div><br></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 10px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" face="Monaco" size="2">--</font></div><div><font class="Apple-style-span" face="Monaco" size="2">+-----------------------------------------------------------------------+</font></div><div><font class="Apple-style-span" face="Monaco" size="2">| Yannis Haralambous, Ph.D. <a href="mailto:yannis.haralambous@telecom-bretagne.eu">yannis.haralambous@telecom-bretagne.eu</a> |</font></div><div><font class="Apple-style-span" face="Monaco" size="2">| Directeur d'Études <a href="http://omega.enstb.org/yannis">http://omega.enstb.org/yannis</a> |</font></div><div><font class="Apple-style-span" face="Monaco" size="2">| Tel. +33 (0)2.29.00.14.27 |</font></div><div><font class="Apple-style-span" face="Monaco" size="2">| Fax +33 (0)2.29.00.12.82 |</font></div><div><font class="Apple-style-span" face="Monaco" size="2">| Département Informatique |</font></div><div><font class="Apple-style-span" face="Monaco" size="2">| Télécom Bretagne |</font></div><div><font class="Apple-style-span" face="Monaco" size="2">| Technopôle de Brest Iroise, CS 83818, 29238 Brest Cedex 3, France |</font></div><div><font class="Apple-style-span" face="Monaco" size="2">| Coordonnées Google-Earth : 48°21'31.57"N 4°34'16.76"W |</font></div><div><font class="Apple-style-span" face="Monaco" size="2">+-----------------------------------------------------------------------+</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> ...pour distinguer l'extérieur d'un aquarium,</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> mieux vaut n'être pas poisson</font></div><div><font class="Apple-style-span" face="Monaco" size="2"><br style="font-family: Monaco; font-size: 10px; "></font></div><div><font class="Apple-style-span" face="Monaco" size="2"> ...the ball I threw while playing in the park</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> has not yet reached the ground</font></div><div><font class="Apple-style-span" face="Monaco" size="2"><br class="khtml-block-placeholder"></font></div><div><font class="Apple-style-span" face="Monaco" size="2"> Es gab eine Zeit, wo ich nur ungern über Schubert sprechen,</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> nur Nächtens den Bäumen und Sternen von ihm vorerzählen mögen.<span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "></span></font></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "></span><br class="Apple-interchange-newline"><span></span><span></span></font></div></div></div></span></div></span></span></span></div></body></html>