When I compile the following file:
\documentclass{article}
\begin{document}
$2-1$
\end{document}
with the command
htlatex test.tex "xhtml,docbook-mml" " -cunihtf" "-cdocbk"
then the result is
<?xml version="1.0"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V5.0//EN"
"http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd" >
<!--translated from test.tex, on 2015-06-21 22:48:00,
by TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/) xhtml,docbook-mml,html,refcaption -->
<?xtpipes file="docbook.4xt" ?>
<article
xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"><title
></title>
<!--l. 4
--><para><inlineequation role="inline"><!--l. 4
--><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>2</mn> <mo class="MathClass-bin"/> <mn>1</mn></math> </inlineequation></para></article>
Obviously, the minus sign vanishes into an empty tag. How can I solve that problem?
-cunihtfwith-cmozhtf– michal.h21 Jun 21 '15 at 21:57