<div dir="ltr">If you have a plain document as follow:<br><br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;">\pagedir TRT \bodydir TRT \pardir TRT \textdir TRT</p>
<p style="margin: 0px; text-indent: 0px;">in az rast be chap ast</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">{\pardir TLT \textdir TLT</p>
<p style="margin: 0px; text-indent: 0px;">This is a paragraph written from left to right.}</p>
<p style="margin: 0px; text-indent: 0px;">\end</p><p style="margin: 0px; text-indent: 0px;">%%%%%%%%%%%%%%%%%%%%%%%%%%%</p><p style="margin: 0px; text-indent: 0px;"> </p><p style="margin: 0px; text-indent: 0px;"><br></p>
<p style="margin: 0px; text-indent: 0px;">in dvi mode there is no problem but in pdf mode the sentence &quot;This is a paragraph written from left to right&quot; will not be shown in the PDF output.</p><p style="margin: 0px; text-indent: 0px;">
<br></p><p style="margin: 0px; text-indent: 0px;">This is tested with the latest version of luatex (v0.37)<br></p><br></div>