<div dir="ltr">> Display math is converted to pictures by default, without need to use<br>> pic-{something}. For example the following example converts to picture<br>> with make4ht without any options:<br>><br>> \documentclass{article}<br>> \begin{document}<span class="gmail-im" style="color:rgb(80,0,80)"><br>> \[ \sum\displaylimits_{i=1}^{3} \sum\displaylimits_{j =1}^{3} p\left(F_{i} , E_{j}\right) = 1 \]<br></span>> \end{document}<br>><br>> It is possible that you use some package that changes the default<br>> behavior. Could you please post a full MWE?<br><br>Strange. My MWE was almost identical to yours except mine used the awsmath package, because I'm working with anĀ author who uses the align and align* environments heavily.<br><br>When I strip out \usepackage{awsmath}, the equation renders as one image. When using amsmath, only the part in parentheses is converted to an image.<br><br>Thanks for your help. The amsmath package must be the problem here.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 5, 2021 at 10:16 AM Michal Hoftich <<a href="mailto:michal.h21@gmail.com">michal.h21@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Benjamin,<br>
<br>
<br>
>I'm trying to make an ePub (v2) out of a LaTeX manuscript, so I've been<br>
>using make4ht to convert to HTML and save all math as images. (MathML<br>
>doesn't work in ePub v2.)<br>
><br>
<br>
You can also try tex4ebook. It converts to ePub directly. It is based on <br>
make4ht, but it also saves some metadata and TOC.<br>
<br>
>I found the pic-* options for creating images at <a href="http://cvr.cc/?p=504" rel="noreferrer" target="_blank">http://cvr.cc/?p=504</a> but I<br>
>can't find one that works for all displaymath. make4ht only converts some<br>
>of the math to images and leaves some as text.<br>
><br>
>Sample equation:<br>
><br>
>\[ \sum\displaylimits_{i=1}^{3} \sum\displaylimits_{j =1}^{3} p\left(F_{i}<br>
>, E_{j}\right) = 1 \] For this equation, make4ht only converts the parts<br>
>inside the parentheses into images, and the rest remains as text. But if I<br>
>put the same equation in an align* and use make4ht "pic-align" then the<br>
>entire equation is rendered as one image. I've tried every pic- option<br>
>listed at <a href="http://cvr.cc/?p=504" rel="noreferrer" target="_blank">http://cvr.cc/?p=504</a> but none of them will render the entire<br>
>bracketed equation as one image. Am I missing something? Do I just need to<br>
>redo the equations to use a different math environment?<br>
<br>
Display math is converted to pictures by default, without need to use <br>
pic-{something}. For example the following example converts to picture <br>
with make4ht without any options:<br>
<br>
<br>
\documentclass{article}<br>
\begin{document}<br>
\[ \sum\displaylimits_{i=1}^{3} \sum\displaylimits_{j =1}^{3} p\left(F_{i} , E_{j}\right) = 1 \]<br>
\end{document}<br>
<br>
It is possible that you use some package that changes the default <br>
behavior. Could you please post a full MWE?<br>
<br>
Best regards,<br>
Michal<br>
</blockquote></div>