Il giorno Fri, 1 Feb 2008 18:14:20 +0100 (CET) Andreas Tille <tillea@rki.de> ha scritto: > On Fri, 1 Feb 2008, David Paleino wrote: > > > But I've also tried latex2html (and pdftohtml), but they really output ugly > > HTML pages. I need to google more though (I've seen something about > > "mzlatex" on gentoo.org, but have to try myself) > > When I was seeking for "the best LaTeX to HTML converter" I settled > down with latex2html (Look at > http://svn.debian.org/wsvn/cdd/projects/med/trunk/papers/05_biomed_bio > especially the Makefile ) > But this was nearly 3 years ago ... Please take a look at: http://debian-med.alioth.debian.org/docs/policy.html It has been generated using 'hevea', which is unavailable on alioth unfortunately. I've already requested its installation at admin@alioth.d.o. There is just *one* drawback: dirtree.sty, which the LaTeX source uses for generating the SVN repository tree, is not a standard style, and hevea doesn't know about it. As you can see in the page linked above, the result is kinda weird. There are two possible solutions: a) write a macro for hevea, "refactoring" dirtree.sty b) use some environments provided by 'hevea.sty' (which comes with the package hevea itself): \begin{htmlonly} \begin{latexonly} Thus, with 'latexonly', we'd use dirtree.sty; with 'htmlonly' we'd use the 'pstricks trick' -- I believe hevea recognizes pstricks :). I'd choose option b), I think creating a new macro is just too complex (at least for me) Kindly, David P.S.: to generate the html: # apt-get install hevea $ hevea policy.tex $ svn commit policy.html -- . ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
Attachment:
signature.asc
Description: PGP signature