Electronic Publishing Tools
To use
latex2html
(l2h), you need to be on one of the department's Unix machines, e.g.
calvin, thorin, kamin ... Then perform the command
source /home/linnell/ravik
This will set up your paths correctly. Then if your tex file is
myfile.tex
latex2html myfile
will produce a directory in your current directory called myfile.
Then you can view what l2h has produced by clicking netscape on
myfile/myfile.html. However to get the best features of latex2html
(in particular fewer gif's), perform the command
latex2html -no_math -html_version 3.2,math myfile
Notes
-
l2h only works well with LaTeX commands; it is not good with plain
TeX commands. One should write in a strict LaTeX style: use braces
more liberally than normal. Thus
$\mathbf v \mathbb Q$
will not work. Write instead
$\mathbf {v} \mathbb {Q}$
Also it is best to use LaTeX2e as opposed to
old LaTeX, so your source file should start out as \documentclass.
- Documentation for l2h:
html,
pdf (746K)
Related commands
- To use postscript Computer Modern instead of the regular bitmapped
Computer Modern fonts on our Unix systems, perform the command
(assuming you have the file myfile.dvi)
dvips -Ppdf myfile
This will produce the file myfile.ps, and will give better pdf
documents after Acrobat Distiller has been used than using the
regular bitmapped fonts. Also you may want to use the
-G0
switch especially if you are using Times Roman and mathptm
fonts; thus
dvips -Ppdf -G0 myfile
- To check your HTML documents, use the command weblint myfile.html
- To find out more about weblint, use the command man weblint
Return to
Revision Date:
Thu Jan 3 21:32:31 EST 2002