public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: different $\sqrt$ behaviour in pptx and docx
Date: Wed, 13 Sep 2023 21:39:10 -0700	[thread overview]
Message-ID: <C37E1B6E-821A-4BD8-8511-1D73FE3F96FB@berkeley.edu> (raw)
In-Reply-To: <b8208e7d-2d06-4e3a-b399-e2342bac191cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

I have released a new version of texmath that fixes this issue.

> On Sep 13, 2023, at 5:07 PM, Yibotg <yibotg-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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/C37E1B6E-821A-4BD8-8511-1D73FE3F96FB%40berkeley.edu.


  parent reply	other threads:[~2023-09-14  4:39 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
2023-09-14  4:39                                       ` John MacFarlane [this message]
     [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=C37E1B6E-821A-4BD8-8511-1D73FE3F96FB@berkeley.edu \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /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).