<div dir="ltr">Can TeX4ht handle RTL LaTeX documents or if not, would you be willing to add support for RTL. My attempts so far have failed. Consider the following minimal example:<br><br>\documentclass{article}<br>\usepackage{xepersian}<br>
\begin{document}<br>این یک آزمایش است.<br>\end{document}<br><br>after running  xtxelatex on this, I get:<br><br>No file test.aux.<br>(/usr/local/texlive/2011/texmf-dist/tex/latex/tipa/t3cmr.fd)<br>! You can't use `\relax' after \the.<br>
\NoHtmlEnv ....0pt\ht:everypar {\the \ht:everypar <br>                                                  }<br>l.3 \begin{document}<br>                    <br>? <br><br></div>