<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi David</p>
<p><br>
</p>
<p>The current TeX--XeT model is limited but extending it is easy. To solve this issue, three primitives are implemented in parsitex system</p>
<p><br>
</p>
<p>1) \vboxjustification: This is just an integer value which sets the direction of \vbox. I can not remember all the details and I can not bother looking at the change file right now but if an integer bigger than 0 is given all \vbox are justified from right
 and if an integer less than 0 is given, all \vbox are justified from left. if it is 0, then the direction of \vbox is based on \currentvboxdirection (I can not remember the exact name of the primitive, again I have to look at the change file).</p>
<p><br>
</p>
<p>2) \cuurentvboxdirection this is again an integer which sets the direction of the current \vbox.</p>
<p><br>
</p>
<p>3) \leftvbox \vbox is justified from left</p>
<p><br>
</p>
<p>4) \rightvbox \vbox is justified from right</p>
<p><br>
</p>
<p><br>
</p>
<p>As you can see, I am not a fan of LuaTeX (Omega) model because it is just a hack on top of TeX but parsitex adds bidi support to TeX fundamentally and every single detail is considered. Unlike LuaTeX (Omega) model which is not even tested throughly and has
 so many bugs, the parsitex system has been used over 20 years and it is bug-free.</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span id="ms-rterangepaste-start"></span></p>
<div><br>
</div>
<div></div>
<span id="ms-rterangepaste-end"></span><br>
<p></p>
</div>
</div>
</div>
</body>
</html>