next up previous
Next: Latex for presentations Up: Creating various file formats Previous: Creating good PDF files

latex2html: creating html from Latex

I've had good experience with creating html from Latex files with this tool. In particular you can create tree structures such as the structure you're viewing right now. All of the Latex sections/subsections/subsubsections/paragraphs become a separate node in the tree. The only downside to this is that if you change the tree structure, the individual numbered html files get renamed and Google needs time to correct the links (almost two weeks in my experience).

You can create links to within your own document and to general URLs.

If you're including ps graphics in the file, you may want to have \usepackage{graphics} in your preamble rather than \usepackage{psfig} (I read this somewhere but don't remember the reason).

Also, you will probably want to compile the Latex file with the -local_icons option, so that the icons are actually saved within the html; otherwise, I've found that the navigation icons are missing from the html when viewed through a browser: >latex2html file.tex -local_icons

Finally, in moving to a new Linux system (Redhat 9), when I use LYX to create the Latex file and export to Latex from within LYX, I have had to change the \providecommand{\tabularnewline}{\\} inserted automatically in the preamble by LYX to be \newcommand{\tabularnewline}{\\}, before running latex2html.


next up previous
Next: Latex for presentations Up: Creating various file formats Previous: Creating good PDF files
Chris Paciorek 2004-02-19