To generate a HTML version of a TeX document:
- First ensure that all metadata files are up-to-date (e.g. if you have references in the tex file, run latex; bibtex; latex; latex to ensure that the .bbl file is ok).
- Run latex2html -split +1 -show_section_numbers -no_footnode myfile.tex. This will create a directory myfile containing myfile.html (among other things).
- -split +1 causes all subsections within a section to be in a single page (-split 0 will cause the whole document to be in a single page)
- -no_footnode causes footnotes to be included in the same page where they are referenced.
- See man latex2html for more options.
No comments:
Post a Comment