When i have using \rm and \bf command in LaTeX file, htlatex does not converted. My MWE is:
\documentclass{article}
\begin{document}
test $AA {\rm asdffda}_BB$ and $\it{italic}_a$ and $\bf{boldtext}_a$
$${\rm textrm}_a and {\it italic}_a and {\bf boldtext}_a$$
\end{document}
htlatex filename.tex "test.cfg,mathltx"
How do get this
\rm,\it,\bf-- as well as\tt,\sc,\sl, and\sf-- are all considered deprecated in LaTeX documents. Thus, write$AA \mathrm{asdffda}_{BB}$,$\mathit{italic}_a$, and$\mathbf{boldtext}_a$. – Mico May 03 '16 at 04:58$$...$$is deprecated too, use\[...\]instead – May 03 '16 at 08:16