On Mon, Jul 07, 2003 at 06:09:23PM +0300, Beni Cherniavsky wrote:
> - Define and implement a preprocessor from implicit to explicit bidi
> for LaTeX and/or HTML (HTML already does most of it, you just need
> to derive dir attributes; LaTeX is non-trivial).
Actually, the basic algorithm is pretty clear. A simple unicode text -> Hebrew
latex convertor should be doable. And I'm sure there are options for
optimizations. The idea is to ask fribidi to give the embedding levels
of the string, and then insert \L{} -s and \R{}-s where appropriate.
This is indeed quite within the scope of such a project.
The other direction is basically done by replacing \L{} with LRE ... PDF
but it will require some analisys of the html. It is probably possible
as simple addition extention to latex2html because there you can basically
"reimplement" those macros.
--
Tzafrir Cohen +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED] +---------------------------+
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]