Latex code in my tex file:
$\frac{\partial H}{\partial q_i}$ $=$ $\dot{P}_i$, $\frac{\partial H}{\partial P_i} =\dot{q}_i$
I have given the following command in terminal
pandoc -s science.tex -o science.epub
pandoc is not converting the certain math codes.
Please advise.