<div dir="ltr"><div><div><div>Hi All,<br><br></div>In my document, there are ~5000 equations are there, first time compilation all the equations are converted into Image format and took more time to convert. After completed conversion, I've found some errors in text part, so I need to convert again, again all the equations are converted into image which took more time. Is this possible that to control the same, i.e., not to convert the equations into image when we do a conversion again.<br><br></div>Regards,<br></div>MadYuv...<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 16, 2017 at 7:13 PM, Michal Hoftich <span dir="ltr"><<a href="mailto:michal.h21@gmail.com" target="_blank">michal.h21@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi MadYuv,<br>
<span class=""><br>
> In my document, I need all math (both inline and display) as in HTML format,<br>
> for this, I used the below commands for conversion:<br>
><br>
> htlatex filename "xhtml" " -cunihft" "-cvalidate"<br>
><br>
> Everything works fine, but when the fraction commands comes with some arabic<br>
> numbers then the tool converts arabic numbers separately and kept the<br>
> fraction separtely, e.g.,<br>
><br>
> $92 \frac{1}{2}$ converted as 92<img src="test6x.png" alt="12" class="frac"<br>
> align="middle" /><br>
><br>
> but my requirement is 92 also should be the math.<br>
<br>
<br>
</span>contents of inline math are converted to HTML elements by default,<br>
only when you use something what's not easily convertible to HTML,<br>
such as fractions or square roots, it is converted to picture. You can<br>
request conversion of the whole inline math to picture using `pic-m`<br>
or `pic-m+` options. Similar options exists also for equations and<br>
similar environments. See <a href="http://cvr.cc/?p=504" rel="noreferrer" target="_blank">http://cvr.cc/?p=504</a> for the list of<br>
possible options. In particular those which start with `pic-`.<br>
<br>
Btw, if you want to get Unicode html, you should use<br>
<br>
htlatex filename "xhtml,charset=utf-8,pic-m" " -utf8 -cunihft"<br>
"-cvalidate"<br>
<br>
alternatively, you can use<br>
<br>
make4ht -u filename "pic-m" "" " -cvalidate"<br>
<br>
which is equal to the former method.<br>
<br>
Best regards,<br>
Michal<br>
</blockquote></div><br></div>