[tex4ht] tex4ht and RTL

Vafa Khalighi vafaklg at gmail.com
Wed Nov 2 16:34:26 CET 2011


Ok, after creating bidi.4ht (attached), the previous error is gone but now
there is nothing in html output. I get:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Searching `lm-rep-cmrm.htf' for `cmr10.htf'
(/usr/local/texlive/2011/texmf-dist/tex4ht/ht-fonts/unicode/lm/lm-rep-cmrm.htf)
[1 file test.html
 file test.css
 file test.tmp
]
Execute script `test.lg'
----------------------------
t4ht.c (2010-12-16-08:47 kpathsea)
t4ht -.xdv
  -f/test
(/usr/local/texlive/2011/texmf-dist/tex4ht/base/unix/tex4ht.env)
Entering test.lg
System call: dvips -E -Ppdf -mode ibmvga -D 110 -f test.idv -pp 2  >
zztest.ps
This is dvips(k) 5.991 Copyright 2011 Radical Eye Software (
www.radicaleye.com)
dvips: ! Bad DVI file: id byte not 2
--- Warning --- System return: 256
Entering test.css
Entering test.tmp
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

It is obviously using dvips with htxelatex which I believe it should not be
doing.


On Thu, Nov 3, 2011 at 2:10 AM, Vafa Khalighi <vafaklg at gmail.com> wrote:

> 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:
>
> \documentclass{article}
> \usepackage{xepersian}
> \begin{document}
> این یک آزمایش است.
> \end{document}
>
> after running  xtxelatex on this, I get:
>
> No file test.aux.
> (/usr/local/texlive/2011/texmf-dist/tex/latex/tipa/t3cmr.fd)
> ! You can't use `\relax' after \the.
> \NoHtmlEnv ....0pt\ht:everypar {\the \ht:everypar
>                                                   }
> l.3 \begin{document}
>
> ?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex4ht/attachments/20111103/1b544ef4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bidi.4ht
Type: application/octet-stream
Size: 129 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20111103/1b544ef4/attachment.obj>


More information about the tex4ht mailing list