<div dir="ltr">I find the reason for the problem that I asked in my previous question (it is funny that I am answering my own questions)<br><br>It is because bidi.sty&nbsp; copies definitions of raggedright and raggedleft from arabicore.sty and again arabicore.sty blindly copies those definitions from rldb which are not really what we want:<br>
<br>so after deleting the part of raggedright and raggedleft definitions in bidi.sty and having the blow code instead, things work perfectly:<br><br>%%%%%%%%%%%%%%%%%%%%%%%%<br>\def\raggedright{%<br>&nbsp; \let\\\@centercr<br>
&nbsp; \rightskip\z@skip\rightskip\@flushglue<br>&nbsp; \parindent\z@\parfillskip\z@skip}<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%<br clear="all"><br>-- <br>``Life is not empty,<br>There is kindness, there is apple and there is faith<br><br>
One day will come,<br>and to a mendicant I will endow a jasmine&#39;&#39;<br><br>-- Sohrab Sepehri<br>
</div>