[l2h] renewcommand suppresses math expansion

Julius Smith jos@w3k.org
Mon, 20 Aug 2001 14:15:05 -0700


The example below illustrates how the \renewcommand can foul up math in the 
redefined macro body.  Is this a know behavior, and is there something good 
to be done about it?  Thanks --- jos

\documentclass{article}

\newcommand{\myFigure}[2]{Figure #1 goes here: #2}

% The following line causes the math to appear as ``tex2html_wrap_inline$H_0$''
% Commenting it out causes the math to appear as intended:
\renewcommand{\myFigure}[2]{Figure #1 goes here: #2}

\begin{document}

\myFigure{HankelSVs}{Singular values of $H_0$.}

\end{document}