Generallatex => html problems with latex2html, tex4ht and hevea

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
sepeth
Posts: 3
Joined: Wed Jul 30, 2008 4:50 pm

latex => html problems with latex2html, tex4ht and hevea

Post by sepeth »

Hello!

I am trying to convert latex to html. I have chosen different tools to achieve it. But all of them has some problems for me.

I like the output of latex2html. It is almost what i want (sections are splitted, nice navigations bla bla) but the problem is encoding. When i convert with latex2html, turkish characters look weird. I am sure that my tex file is encoded by using utf8. And I tried these commands:

Code: Select all

$ latex2html -html_version 4.0,unicode mytexfile.tex
$ latex2html -html_version 4.0,utf8 mytexfile.tex
$ latex2html -html_version 4.0,latin5 mytexfile.tex
$ latex2html -html_version 4.0,latin1 mytexfile.tex
The first two are the worst ones. And the best result is the last one (but there are a lot weird characters). Is there anything else to try?

After googling and playing, I switched to tex4ht, but the output of tex4ht is one single html file, and I could not find any way to split this html. Is there any way to do this?

The last tool that I have tried is Hevea. Hevea's output also one single html. I can split this html file with hacha tool (which comes with hevea). But when i tell hacha to split subsection (using \renewcommand{\cuttingunit}{subsection}), it puts all the section to the index.html, and split only the subsections. Is there any way to create splitted htmls like latex2html do?

Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply