:%s/<H1>/\\subsection{/
:%s/<\/H1>/}/
:%s/<H2>/\\subsection{/
:%s/<\/H2>/}/
:%s/<h2>/\\subsection{/
:%s/<\/h2>/}/
:%s/<P>//
:%s/<p>//
:%s/<hr>//
:%s/<STRONG>/{\\bf /g
:%s/<\/STRONG>/}/g
:%s/<VAR>/{\\it /g
:%s/<\/VAR>/}/g
:%s/<strong>/{\\bf /g
:%s/<\/strong>/}/g
:%s/<var>/{\\it /g
:%s/<\/var>/}/g
:%s/<code>/{\\tt /g
:%s/<\/code>/}/g
:%s/<CODE>/{\\tt /g
:%s/<\/CODE>/}/g
:%s/<LI>/\\item /
:%s/<li>/\\item /
:%s/<UL>/\\begin{itemize}/
:%s/<\/UL>/\\end{itemize}/
:%s/<dt>/\\item[/
:%s/<dd>//
:%s/<dl>/\\begin{description}/
:%s/<\/dl>/\\end{description}/
:%s/_/\\_/g
