# [tex4ht] Bug - the \limits macro texlive

Michal Hoftich michal.h21 at gmail.com
Mon Oct 17 15:59:09 CEST 2016

Dear Hans Georg,

this is indeed strange case. The main issue is that the contents of
\sum command are missing tagging:

<munderover accentunder="false" accent="false"><mrow
>  </mrow><mrow
>i=1</mrow><mrow
>n</mrow></munderover
>

It should be

<munderover accentunder="false" accent="false"><mrow
><mo mathsize="big"
>∑</mo>
</mrow><mrow
><mi
>i</mi><mo
class="MathClass-rel">=</mo><mn>1</mn></mrow><mrow
><mi
>n</mi></mrow></munderover
>

I think that issue is that it is contained in \mathop command. It
seems to turn off the font processing. We should definitely take a
look at this.

The other issue is that Firefox renders the resulting document wrongly
when I've added the missing markup by hand. It was fixed when I loaded
MathJax for MathML rendering.

Best regards,
Michal

On Wed, Oct 12, 2016 at 1:50 PM, Hans Georg Schaathun
<georg+tex at schaathun.net> wrote:
> Dear all,
>
> I have found an annoying bug with the \limits macro.
> The minimal example attached says it all, I think.
>
> This is mainly FYI.  I decided to rephrase the mathematics,
> rather than researching for a fix, at least for now.
>
> FWIW, MathJax handles similar TeX code correctly.
> (For an example of this, see
> http://kerckhoffs.schaathun.net/matematikk1/talks/integration/simpson/#/5
> )
>
> --
> :-- Hans Georg