verbatim
Text is not expanding when using htlatex
. How to turned on?
My MWE is:
\documentclass{article}
\usepackage{amsmath}
\def\myverbtext#1{{\bfseries #1}}
\begin{document}
This is the sample paragraph.
\begin{verbatim}
This is the \myverbtext{verbatim} text.
\end{verbatim}
\begin{equation}
\alpha + \beta = \gamma
\end{equation}
\begin{verbatim}
\begin{equation}
\myverbtext{\rho} \alpha + \beta = \gamma
\end{equation}
\end{verbatim}
\end{document}
My tex4ht
command is:
htlatex file.tex
LaTeX
toDocX
Conversion for official usage. All theLaTeX
equations should be convert toMathType OLE Format
. So i have decided to usehtlatex
without LaTeX equations changing.mk4ht oolatex
and then convert it todocx
using LibreOffice or Pandoc, maybe.