This snippet says it all:
\documentclass{report}
\usepackage{html}
\renewcommand{\vec}[1]
{\mbox{$\stackrel{^{\mathstrut}\smash{\longrightarrow}}{#1}$}}
% Processing this file with
%
% latex2html -no_math -html_version 3.2,math
%
% using latex2html v98.2beta2 gives this error:
%
% *** wrap_cmd_vec not defined, cannot wrap \vec
%
% unless the following line, which inputs a file containing
% nothing, is commented out. It also fails if the file contains
% valid latex commands.
\input{nullfile}
% The generated HTML seems to be correct.
\begin{document}
A w vector: $\vec{w}$
\end{document}
-Mike
+----------------------------------------------------------------------+
| Dr. Michael L. Hall <[EMAIL PROTECTED]>, 505-665-4312 |
| Los Alamos National Laboratory Research: radiation transport, |
| P.O. Box 1663, MS-D409 fluid dynamics, numerical modeling, |
| Los Alamos, NM 87545 magnetohydrodynamics |
+----------------------------------------------------------------------+