[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: right to left converter fot text
MF>> I sthere a program for linux that will take text with hebrew writen left
MF>> to right and convert it to right to left, in order to use it for html?
MF>> Is it posible under hebrew vim to write right to left instead of left to
MF>> right?
<self-plug>
Using Perl module Lingua::IW::Logical, written by (wonder!) me, you can do
it. The module renders logical hebrew strings into visual representation.
</self-plug>
You can install this using perl -MCPAN -eshell, then "install
Lingua::IW::Logical", then use code from examples (note - current CPAN
version might have wrong docs, it should read "use Lingua::IW::Logical",
not "use Hebrew".
The module implements closest match to Unicode book I could manage.
Converts Word-derived texts with 90% success. It doesn't emulate some
Windows BiDi bugs, though.
There should be also C libraries and programs to do this, but I don't
remember them. Search list archives - there should be pointers.
--
frodo@sharat.co.il \/ There shall be counsels taken
Stanislav Malyshev /\ Stronger than Morgul-spells
phone +972-3-9316425 /\ JRRT LotR.
http://sharat.co.il/frodo/ whois:!SM8333
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il