HTML2LATEX Documentation Description The Perl 5 script html2latex converts an HTML file (which may contain WebEQ applets) into a LaTeX2e file. Any WebEQ applet tags that contain WebTeX commands will be replaced with the equivalent LaTeX commands. html2latex can also put images from the HTML file into the LaTeX file if you have an image conversion program such as ImageMagick's convert. --------------------------------------------------------------- Usage UNIX: html2latex [options] [infile] [outfile] Windows/DOS: html2lat [options] [infile] [outfile] This uses the batch file html2lat.bat. The HTML input file infile and the LaTeX output file outfile are dealt with in the following way: infile is the name of the HTML file to parse (or "-" for standard input) If infile is missing, it defaults to "-". outfile is the name of the file to write (or "-" for standard out). If outfile is missing, it defaults to the input file name with its extension replaced by ".tex" (or possibly some other string specified in the .tag file), or to "-" if infile is "-". [options] include one or more of -images Process images into PostScript form -noimages Don't process images (the default) -ps Same as -images -nops Same as -noimages -home dirname Specifies the directory where the image files reside. (The default is the current directory.) -texcomments Reads in special comments which allow the addition of LaTeX commands. There are two things that are done when this option is used: Extra LaTeX commands may be added by placing them in an HTML comment that looks like this: A block of HTML commands which you do not want to be placed in the LaTeX output file can be removed by surrounding them with the pair of comments ... HTML code here will be ignored ... -teximages If the ALT parameter of images contains LaTeX code, the image is replaced with the LaTeX (The other images are still processed if you use -images.) The first four characters of the ALT parameter should be \TeX followed by a space. The remaining characters in the parameter will be placed verbatim in the output LaTeX file. An example is \TeX $\begin{array}{cc}a&b\\c&d\end{array}$ Last modified: Tue May 5 19:05:16 1998