From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33105 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yibotg Newsgroups: gmane.text.pandoc Subject: Re: different $\sqrt$ behaviour in pptx and docx Date: Mon, 11 Sep 2023 05:22:08 -0700 (PDT) Message-ID: <39bf17a2-1b3d-4947-83be-14286fa1b959n@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_18272_1669255702.1694434928371" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36605"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCE6FJMPZIGRB4MM7STQMGQELQKDSUQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 11 14:22:17 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f56.google.com ([209.85.210.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qffvi-0006Ie-7j for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 11 Sep 2023 14:22:14 +0200 Original-Received: by mail-ot1-f56.google.com with SMTP id 46e09a7af769-6bb31a92b44sf4904096a34.0 for ; Mon, 11 Sep 2023 05:22:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1694434932; x=1695039732; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=tT/E6Hkl5ALnfdGBsTJE6pknk32/CD1biicdPi5bgjA=; b=PGmr4fd5FmOHnQ5E7wKdlPHntNrEyU7goozZfr2NEhwyv4FBOZlQIot3PqCUdiCkGu UH99NaPUKvG8XNA0kF6u0hS95/QRW7zN21xcDKSZ0cc2ZfAXrBgl5F/xg7fJoHethviG 5CrMbs4+2p25nr/dy0eXBT/hid3eDyxwN+s/93oOscKyPqzsb543kpPltswdkWrgHyyO 8ukQS86wSDoqjUN3MNdcswK059PQtG3cVlce9Bx5wPV0VfC1fmx6P6IWpdnkOqLNuTbO sMLZqYBrIzWkqTXeAftj5LfpCDHIhO6SsRNugkoiCh+PoL6HAVwNqG5e04gzEuetMifM BbuQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694434932; x=1695039732; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=tT/E6Hkl5ALnfdGBsTJE6pknk32/CD1biicdPi5bgjA=; b=JBovazL3Q2L1HjuFjbXn9GWC1EULOkPeEVI12S1G9SZWDxgPBwJ0kqBdWkYDt2oBw/ tOgwoQYoxiaDmZlLih8LdKd6+50eQrKQKNaiHQfhZ1gLQpxrDs7CTDZTNOJTr6NkilJy Vy0oyg5OuUVRFSLUAc4AkOgs/LW5w7JHSTJCvp0Wb7YCGRAmHM32zmUN1TdHee30Qrlk 7qmXujgcovxMdEfCQ7gASgSW9QrOEqgFJYZZranY3WK0cxVJ02sxHMIdNA3CjR1v7y9s WVunHCY6VQ18XdOLjOj5E+SWyZla1HkAjw9RqZhgsyUfUpxz6kXk9CWvXOFXfb1z4BiH AHIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694434932; x=1695039732; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=tT/E6Hkl5ALnfdGBsTJE6pknk32/CD1biicdPi5bgjA=; b=uTWimJPYnkUyGx2wA9Txhqsta/5zYzLPWdnPkB9QDe3Mvp5zJNGQFwxs7C792BlDSb TpcJeBAwWtS06i/4jGgefV4xRWxqAaBQbAb/kcRaT8i4zoLVf6DSxAQAqssaIbgk1b1p kInj30GnqibtclHyNtGaCuogEmDxlQ5bUTgKlxDhfHnFlgWC+D0ihdrnOyPcPEetZS8r 9+tblng6jMb31m5+pS1XVMLtXJIPL1hemnTecah1QRbGquCuyKt5IPPhOITyQXSBj35H nS7l1/O+R1wN9mup0fKrxcaM2z1/b3rKQyITs7/9Q6ksLul+za Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YzV/h+VQSAmL+cy58useaFqq4sUUTu5LJSPwUV/yMEH2oz2SjeI SezlHdGhU4dj+c5UaQZsUT4= X-Google-Smtp-Source: AGHT+IFYKVxgFZfOZ2lzb0qJ/3gMQFNFdeId/5+pgJI8M1dKYoLyVXz9xB2dN/y263y1eP7dSeLBBA== X-Received: by 2002:a9d:7b57:0:b0:6b9:6aee:32b2 with SMTP id f23-20020a9d7b57000000b006b96aee32b2mr9975136oto.6.1694434932398; Mon, 11 Sep 2023 05:22:12 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:3757:0:b0:571:14d9:27da with SMTP id r84-20020a4a3757000000b0057114d927dals684308oor.2.-pod-prod-03-us; Mon, 11 Sep 2023 05:22:09 -0700 (PDT) X-Received: by 2002:a05:6830:168b:b0:6bb:102d:1ff6 with SMTP id k11-20020a056830168b00b006bb102d1ff6mr259774otr.1.1694434929059; Mon, 11 Sep 2023 05:22:09 -0700 (PDT) In-Reply-To: X-Original-Sender: YiboTG-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:33105 ------=_Part_18272_1669255702.1694434928371 Content-Type: multipart/alternative; boundary="----=_Part_18273_1309791104.1694434928371" ------=_Part_18273_1309791104.1694434928371 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, John. I opened the slides/slide1.xml in example.pptx to see what is= =20 the difference between \sqrt{x} and \sqrt[\square]{x}. There is the=20 diffence: ** ** x the red one leads "a blank square on the left of root sign"=EF=BC=8Cthe blu= e one=20 leads the correct root sign. I think the val 1 not =3D val on in the pptx. however the xml in sample.docx converted by pandoc is the blue one .=20 =E5=9C=A82022=E5=B9=B47=E6=9C=881=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=94 UTC+8= 18:15:09 =E5=86=99=E9=81=93=EF=BC=9A > > Looks like the pptx writer tries to render math in native > Word format, using texmath to convert just like the docx > writer. I'm not really sure why there would be a difference > in how the same equation appears. > > Sukil Etxenike arizaleta writes: > > > Hi, > > > > I don't know. It may not be rendering math the same way, although both= =20 > > are Office products. A note, also, the docs don't say how math is=20 > > rendered in Power Point. They say that it's rendered in all formats, bu= t=20 > > powerpoint is missing from that list. I've consulted the release notes= =20 > > too, and there doesn't appear any mention of Math in Powerpoint apart= =20 > > from the fact that it is passed verbatim now in speaker notes. > > > > Thanks, > > > > Sukil > > > > > > El 01/07/2022 a las 10:42, Yibotg escribi=C3=B3: > >> Hi, I used pandoc 2.18 to convert markdown to docx and pptx. > >> > >> $\sqrt{x}$ in md was convert two different equations in docx and pptx: > >> > >> the docx was OK,but the pptx had a blank square on the left of root=20 > sign. > >> > >> How can I get the docx equation in pptx? > >> --=20 > >> You received this message because you are subscribed to the Google=20 > >> Groups "pandoc-discuss" group. > >> To unsubscribe from this group and stop receiving emails from it, send= =20 > >> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> To view this discussion on the web visit=20 > >>=20 > https://groups.google.com/d/msgid/pandoc-discuss/dc1b8259-8026-4a7a-b72b-= 6027677dbb55n%40googlegroups.com=20 > >> < > https://groups.google.com/d/msgid/pandoc-discuss/dc1b8259-8026-4a7a-b72b-= 6027677dbb55n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > >. > > > > --=20 > > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/b202bc9b-2f18-bebc-5d96-= 51f824ed4971%40gmail.com > . > --=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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/39bf17a2-1b3d-4947-83be-14286fa1b959n%40googlegroups.com. ------=_Part_18273_1309791104.1694434928371 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, John. I opened the slides/slide1.xml in example.pptx to see what is = the difference between \sqrt{x} and \sqrt[\square]{x}. There is the diffenc= e:
<m:oMath xmlns:m=3D"http://schemas.openxmlformats.org/officeDocum= ent/2006/math">
<m:rad= >
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <m:radPr>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 <m:degHide m:val=3D"1" />
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0=C2=A0<m:degHide m:v= al=3D"on" />
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 </m:radPr>
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <m:deg />
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <m:e>
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 <m:r>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <m:t&= gt;x</m:t>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &l= t;/m:r>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <= ;/m:e>
=C2=A0 =C2=A0 =C2=A0 </m:rad>
</m:oMath>
the red one leads "a blank squ= are on the left of root sign"=EF=BC=8Cthe blue one leads the correct root s= ign.
I think the val 1 not =3D val on in the pptx.
howe= ver the xml in sample.docx converted by pandoc is the blue one .=C2=A0
=E5=9C= =A82022=E5=B9=B47=E6=9C=881=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=94 UTC+8 18:15= :09<John MacFarlane> =E5=86=99=E9=81=93=EF=BC=9A

Looks like the pptx writer tries to render math in native
Word format, using texmath to convert just like the docx
writer. I'm not really sure why there would be a difference
in how the same equation appears.

Sukil Etxenike arizaleta <suki...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hi,
>
> I don't know. It may not be rendering math the same way, altho= ugh both=20
> are Office products. A note, also, the docs don't say how math= is=20
> rendered in Power Point. They say that it's rendered in all fo= rmats, but=20
> powerpoint is missing from that list. I've consulted the relea= se notes=20
> too, and there doesn't appear any mention of Math in Powerpoin= t apart=20
> from the fact that it is passed verbatim now in speaker notes.
>
> Thanks,
>
> Sukil
>
>
> El 01/07/2022 a las 10:42, Yibotg escribi=C3=B3:
>> Hi, I used pandoc 2.18 to convert markdown to docx and pptx.
>>
>> $\sqrt{x}$ in md was convert two different equations in docx a= nd pptx:
>>
>> the docx was OK,but the pptx had a blank square on the left of= root sign.
>>
>> How can I get the docx equation in pptx?
>> --=20
>> You received this message because you are subscribed to the Go= ogle=20
>> Groups "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from = it, send=20
>> an email to pandoc-= discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> To view this discussion on the web visit=20
>> https://groups.googl= e.com/d/msgid/pandoc-discuss/dc1b8259-8026-4a7a-b72b-6027677dbb55n%40google= groups.com=20
>> <https:/= /groups.google.com/d/msgid/pandoc-discuss/dc1b8259-8026-4a7a-b72b-6027677db= b55n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>.
>
> --=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/b202bc9b-2f18-bebc-5d96-5= 1f824ed4971%40gmail.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/39bf17a2-1b3d-4947-83be-14286fa1b959n%40googlegroups.= com.
------=_Part_18273_1309791104.1694434928371-- ------=_Part_18272_1669255702.1694434928371--