html2latex, a perl script that converts an HTML file into a LaTeX file, is now available on the RCS UNIX platforms. Written at the University of Minnesota's Geometry Center, html2latex includes the ability to put images from the HTML file into the LaTeX file by using the "convert" program from ImageMagick.
To change an HTML file to LaTeX, issue the following command at a UNIX prompt; myfile.html refers to your existing HTML file, and myfile.tex refers to the resulting TeX file:
html2latex myfile.html myfile.tex
If your myfile.html HTML file contains images that you would like inserted in the output, use the -images option with the command, as shown below:
html2latex -images myfile.html myfile.tex
The -images option converts the GIF and JPEG images into PostScript files that LaTeX calls when it processes the output.tex file, and which are included in the final PostScript output when you run dvips.
For more information, please refer to the man page by entering the command man html2latex from a UNIX prompt.
If you have further questions about using html2latex, please contact the consultants at the ACS Help Desk locations, or direct electronic mail to consult@rpi.edu.