public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <fiddlosopher@gmail.com>
To: pandoc-discuss@googlegroups.com
Subject: Re: different $\sqrt$ behaviour in pptx and docx
Date: Wed, 13 Sep 2023 20:45:29 -0700	[thread overview]
Message-ID: <9393F236-6BEE-4E77-BE2B-FDBAB41AF5A1@gmail.com> (raw)
In-Reply-To: <BA7CC41A-45CF-41B1-80BF-C2FCE0E13772@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 <fiddlosopher@gmail.com> =
wrote:
>=20
> You're right, I'd gotten myself confused.
>=20
>> On Sep 13, 2023, at 5:07 PM, Yibotg <yibotg@gmail.com> 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<John MacFarlane> =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 <yib...@gmail.com> 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<Yibotg> =E5=86=99=E9=81=93=EF=BC=9A
>>> Sorry John, the first post is right.
>>> <m:degHide m:val=3D"on" /> leads the correct root sign=20
>>> and=20
>>> <m:degHide m:val=3D"1" /> leads a blank square on the left of root =
sign.
>>> however in docx=EF=BC=8C<m:degHide m:val=3D"1" />  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<John MacFarlane> =E5=86=99=E9=81=93=EF=BC=9A
>>>=20
>>>> On Sep 11, 2023, at 5:26 AM, Yibotg <yib...@gmail.com> wrote:
>>>>=20
>>>> Sorry , I made a mistake.
>>>> <m:degHide m:val=3D"1" /> leads the correct root sign
>>>> and
>>>> <m:degHide m:val=3D"on" /> 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

  reply	other threads:[~2023-09-14  3:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-01  8:42 Yibotg
     [not found] ` <dc1b8259-8026-4a7a-b72b-6027677dbb55n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-07-01  8:55   ` Sukil Etxenike arizaleta
     [not found]     ` <b202bc9b-2f18-bebc-5d96-51f824ed4971-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-07-01 10:15       ` John MacFarlane
     [not found]         ` <m235flw34p.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2023-09-11 12:22           ` Yibotg
     [not found]             ` <39bf17a2-1b3d-4947-83be-14286fa1b959n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-09-11 12:26               ` Yibotg
     [not found]                 ` <1bbbfac2-790c-4358-bf8f-b1618d56ab2fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-09-11 18:37                   ` John MacFarlane
     [not found]                     ` <01D280C5-04D9-49E2-B581-F525362CF976-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-09-12  1:51                       ` Yibotg
     [not found]                         ` <daa7d3f7-6c8d-4b0c-9750-d5a37a726412n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-09-12 14:34                           ` Yibotg
     [not found]                             ` <1e4f9e6f-838d-44c4-a61d-aefb020d1409n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-09-13 19:38                               ` John MacFarlane
     [not found]                                 ` <DBB6F836-C10C-4C64-A183-8DA64D1EC99F-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-09-14  0:07                                   ` Yibotg
     [not found]                                     ` <b8208e7d-2d06-4e3a-b399-e2342bac191cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-09-14  1:56                                       ` John MacFarlane
2023-09-14  3:45                                         ` John MacFarlane [this message]
2023-09-14  4:39                                       ` John MacFarlane
     [not found]                                         ` <C37E1B6E-821A-4BD8-8511-1D73FE3F96FB-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
2023-09-14 10:21                                           ` Yibotg
     [not found]                                             ` <73ed8442-daab-470e-b39a-2163aee231e1n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-09-14 17:23                                               ` John MacFarlane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9393F236-6BEE-4E77-BE2B-FDBAB41AF5A1@gmail.com \
    --to=fiddlosopher@gmail.com \
    --cc=pandoc-discuss@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).