On Fri, 22 Feb 2002, Arie Folger wrote:

> Hi all,
>
> I composed a Hebrew document with Lyx, and tried to use Latex2html to create
> html, and although the effort succeeded in a large part, some of the command
> line options where not honoured. I must add, before describing the problem,
> that latex2html will create Hebrew html, but without knowing it, so you'll
> end up with iso-8859-8-i encoded html, but with the appropriate meta tag
> containing charset=iso8859-8-i and the <dir=rtl> tags missing. In a Hebrew
> only document this is a small problem, as changing the charset from
> iso-8859-1 to iso8859-8-i and ading dir=rtl in the body tag will suffice. In
> Hebrew + other language documents this will be harder, but hey, that's what's
> around for now.
>
> Back to my problem. I wanted a separate web page for footnotes and one for
> each section., and instead I got one big file. The command was:
>       [afolger@localhost afolger]$ latex2html -lcase_tags -contents_in_navigation
>       -bottom_navigation -ascii_mode -iso_language HE -footnode
>       -numbered_footnotes -entities -html_version 4.0,table,i18n,math -no_subdir
>       -split 1 -show_section_numbers -title "Arie Folger's notes to the Talmud
>       tractate 'Hullin - chapter Hakol sho'hatim" some_filename.tex
>
> The only meaningful error message were:
> Warning: No implementation found for option: `english' for `article' package
> Warning: No implementation found for option: `hebrew' for `article' package
> Warning: No implementation found for option: `cp1255' for `inputenc' package
> %%%%%%%,,,,Arguments to csname are too complex ...
> It will not be processed unless used in another environment
> which is passed to LaTeX whole for processing.
> ,,Arguments to SF@gobble@twobracket are too complex ...
> It will not be processed unless used in another environment
> whichis passed to LaTeX whole for processing.
> ,,,,,,,+,{},{},{}
>  3 new environments replaced
>
> Why does latex2html not listen to my command? (sit latex2html, sit ;-))

A number of problems:

* You need to add support for the option 'hebrew' of babel. I once did
that, and sent my preliminary work to latex2html's maintainer . Sadly, I
got no followup, and I later lost my local copy.

* Even with that, I still haven't figured out how to modify the
character-set of the produced HTML. latex2html doesn't give an easy
control from the command-line over that, although maybe some changes in
the .latex2htmlinit (?) file may help.

The following may help if you don't change the above two:

* latex2html will consider \L as some polish version of the letter 'L',
and therefore any time your latex document will include '\L{some text}'
you get an image of that 'L' (or maybe latex fails to create this image,
because elatex interpers 'L' as the heblatex '\L' ?) .

* parathensys , braces and brackets in Hebrew will be problematic: latex
calles, e.g: '(' "left parathensys", wheres html calls it "opening
parathnsys". In HTML the same character will always be used for opening ,
no matter if it is the current direction is RTL (Right To Left, e.g.
Hebrew, in this case it will be right) or LTR (in this case it will be
left).

In heblatex the same character will always be "left", na matter if it is
in RTL or in LTR. The result is that whenever you get parthensys, brackets
or braces in RTL (e.g: in Hebrew text) the'll show up "reversed".
Last small latex -> html of an article I did I used latex2html, but also
needed much manual work (this was fairly recently)

What about latex2rtf ?

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=================================================================
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]

Reply via email to