\label{Authoring_M_Tag}
Wrapping TeX with \index{m tag}\index{tag, } will put the
TeX through the TTH\index{TTH}(tex to html) converter when rendering a
resource to a web page.
If you want variables inside of this tag to be evaluated before the
tex gets converted, then use \index{eval=on}. For
example, \textbackslash{}[\$eqn\textbackslash{}],
will evaluate the variable \$eqn first and then run it through the
TTH\index{TTH} converter.
For example, put the following in a script in the resource:
\texttt{\$eq = ``\$a+\$b''; \$eq =~ s/\textbackslash{}+-/-/g;}
and in a text area, you can type:
\texttt{\$eq}
You will get the equation rendered with no +-, no matter what value
\$b may take on.