From mboxrd@z Thu Jan 1 00:00:00 1970 From: John MacFarlane Subject: Re: different $\sqrt$ behaviour in pptx and docx Date: Wed, 13 Sep 2023 20:45:29 -0700 To: pandoc-discuss@googlegroups.com In-Reply-To: Message-Id: <9393F236-6BEE-4E77-BE2B-FDBAB41AF5A1@gmail.com> I've just release a new version of texmath that fixes this problem. = Thanks for bringing it to my attention! > On Sep 13, 2023, at 6:56 PM, John MacFarlane = wrote: >=20 > You're right, I'd gotten myself confused. >=20 >> On Sep 13, 2023, at 5:07 PM, Yibotg wrote: >>=20 >> 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=3D"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=3D"1"=EF=BC=8Cwhich causes display = errors(a square to the right of the root symbol) in PowerPoint. >> m:val=3D"1" = m:val=3D"on" >> PowerPoint Wrong Correct >> Word Correct Correct >>=20 >> =E5=9C=A82023=E5=B9=B49=E6=9C=8814=E6=97=A5=E6=98=9F=E6=9C=9F=E5=9B=9B = UTC+8 03:39:13 =E5=86=99=E9=81=93=EF=BC=9A >> I've lost track of what you think is wrong in pandoc. >>=20 >> 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=3D"on", not m:val=3D"1". >>=20 >> If you're instead reading docx, then maybe your point is different, = that pandoc should accept both "1" and "on" as on values? >>=20 >>=20 >>> On Sep 12, 2023, at 7:34 AM, Yibotg wrote: >>>=20 >>> I think the opposite of 'm:val=3D"on" ' is 'm:val=3D"off" ', = Powerpoint read 'm:val=3D"1"' not as 'm:val=3D"on"' but as 'not on' . = Howerver Word Can read 'm:val=3D"1"' as 'm:val=3D"on"'. >>>=20 >>> =E5=9C=A82023=E5=B9=B49=E6=9C=8812=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=8C= UTC+8 09:51:19 =E5=86=99=E9=81=93=EF=BC=9A >>> Sorry John, the first post is right. >>> leads the correct root sign=20 >>> and=20 >>> leads a blank square on the left of root = sign. >>> however in docx=EF=BC=8C leads the correct = root sign. >>>=20 >>> I am sorry for my mistake. >>> =E5=9C=A82023=E5=B9=B49=E6=9C=8812=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=8C= UTC+8 02:38:16 =E5=86=99=E9=81=93=EF=BC=9A >>>=20 >>>> On Sep 11, 2023, at 5:26 AM, Yibotg wrote: >>>>=20 >>>> Sorry , I made a mistake. >>>> leads the correct root sign >>>> and >>>> leads a blank square on the left of root = sign. >>>=20 >>> Well that's good, because pandoc produces m:val=3D"1". >>> Perhaps you have an old version? >>>=20 >>>=20 >>>=20 >>> --=20 >>> 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/1e4f9e6f-838d-44c4-a61d-a= efb020d1409n%40googlegroups.com. >>=20 >>=20 >> --=20 >> 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@googlegroups.com. >> To view this discussion on the web visit = https://groups.google.com/d/msgid/pandoc-discuss/b8208e7d-2d06-4e3a-b399-e= 2342bac191cn%40googlegroups.com. >=20