next up previous contents
Next: Converting to RTF Up: Output Formats Previous: Output Formats   Contents

Putting Your Documents on the Web

These days, putting documents on the web is a common task. For example, imagine keeping notes in LaTeX and generating HTML so you can view them from anywhere. The best way to accomplish this is to install latex2html by Nikos Drakos (available from Fink). Once you have it installed, all you need to do is type the following command to generate a HTML version of your document.

% latex2html latex-file

The latex2html Perl script processes the specified LaTeX file, converts it to a set of HTML pages, and places the HTML files into a new directory, titled with the name of the file. There are lots of options for this script. One useful option is split (-split [n]). If n = -1, latex2html generates one large HTML file. If n == some number then that many pages are generated.

Here is an example of the HTML pages [Insert link to mac_osx_latex directory] generated from this article.

Kevin O'Malley 2004-03-05