Thanks for your work,In  online demo,It works well.Waiting for the change in pandoc.

在2023年9月14日星期四 UTC+8 12:39:18<John MacFarlane> 写道:
I have released a new version of texmath that fixes this issue.

> On Sep 13, 2023, at 5:07 PM, Yibotg <yib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> I have updated pandoc to version 3.1.8, and there is still a square to the right of the root symbol.In slides.xml, the value of m:val="1".If I change "1" to "on",the display becomes correct.
> I tested the online texmath(texmath demo (johnmacfarlane.net)), the $\sqrt{x}$ is converted to m:val="1",which causes display errors(a square to the right of the root symbol) in PowerPoint.
> m:val="1" m:val="on"
> PowerPoint Wrong Correct
> Word Correct Correct
>
> 在2023年9月14日星期四 UTC+8 03:39:13<John MacFarlane> 写道:
> I've lost track of what you think is wrong in pandoc.
>
> I had understood you to be using pandoc to produce a docx. In that case, there should be no problem, because recent versions of pandoc will generate m:val="on", not m:val="1".
>
> If you're instead reading docx, then maybe your point is different, that pandoc should accept both "1" and "on" as on values?
>
>
>> On Sep 12, 2023, at 7:34 AM, Yibotg <yib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>
>> I think the opposite of 'm:val="on" ' is 'm:val="off" ', Powerpoint read 'm:val="1"' not as 'm:val="on"' but as 'not on' . Howerver Word Can read 'm:val="1"' as 'm:val="on"'.
>>
>> 在2023年9月12日星期二 UTC+8 09:51:19<Yibotg> 写道:
>> Sorry John, the first post is right.
>> <m:degHide m:val="on" /> leads the correct root sign
>> and
>> <m:degHide m:val="1" /> leads a blank square on the left of root sign.
>> however in docx,<m:degHide m:val="1" /> leads the correct root sign.
>>
>> I am sorry for my mistake.
>> 在2023年9月12日星期二 UTC+8 02:38:16<John MacFarlane> 写道:
>>
>>> On Sep 11, 2023, at 5:26 AM, Yibotg <yib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>>
>>> Sorry , I made a mistake.
>>> <m:degHide m:val="1" /> leads the correct root sign
>>> and
>>> <m:degHide m:val="on" /> leads a blank square on the left of root sign.
>>
>> Well that's good, because pandoc produces m:val="1".
>> Perhaps you have an old version?
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1e4f9e6f-838d-44c4-a61d-aefb020d1409n%40googlegroups.com.
>
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b8208e7d-2d06-4e3a-b399-e2342bac191cn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/73ed8442-daab-470e-b39a-2163aee231e1n%40googlegroups.com.