nrao nrao
next up previous contents index home.gif
Next: 6 html.sty: hypertext extensions to LaTeX Up: LaTeX2HTML Authors' Guide Previous: 4.5 NRAO-specific modifications to LaTeX2HTML


5 General Practice

After customizing .latex2html-init as needed, LATEX2HTML can be run on filename.tex with the commands:

latex2html filename

or

latex2html -html_version n filename

where n specifies the HTML standard level of the .html output.

By default, LATEX2HTML writes the .html and .gif output to a directory called filename one level below the source .tex file, and the title HTML page is named filename.html. The output can be redirected to another directory using the -dir command at the command line.

It is important to run LaTeX2e, makeindex (if indexing the document), and LaTeX2e again on the .tex file immediately before running LATEX2HTML. Successful execution of LaTeX2e ensures that LATEX2HTML finds an appropriate .aux file without warning messages about referencing, etc. This guards against missing or obsolete internal references, whose corresponding hypertext links can be hard to find and debug once they are embedded in the .html output.


next up previous contents index home.gif
Next: 6 html.sty: hypertext extensions to LaTeX Up: LaTeX2HTML Authors' Guide Previous: 4.5 NRAO-specific modifications to LaTeX2HTML


Home | Contact Us | Directories | Site Map | Help | Search


2001-06-08