From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/19318 Path: news.gmane.org!.POSTED!not-for-mail From: Emma Cliffe Newsgroups: gmane.text.pandoc Subject: Re: Conversion of underbrace (to and from Word) Date: Mon, 22 Jan 2018 10:08:10 -0800 (PST) Message-ID: <150196ab-c7ac-428b-b989-583e8e91db64@googlegroups.com> References: <20171003205227.GA14633@protagoras> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4405_193497077.1516644490166" X-Trace: blaine.gmane.org 1516644378 15698 195.159.176.226 (22 Jan 2018 18:06:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 22 Jan 2018 18:06:18 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDS3FLUB7EPBBC6RTDJQKGQEVJGJNDY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jan 22 19:06:13 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot0-f185.google.com ([74.125.82.185]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1edgTv-0003XC-Gm for gtp-pandoc-discuss@m.gmane.org; Mon, 22 Jan 2018 19:06:07 +0100 Original-Received: by mail-ot0-f185.google.com with SMTP id 9sf6673711otu.17 for ; Mon, 22 Jan 2018 10:08:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=U7Sx78AM9sc7URkMRLEd7UiwEf/2iyxy1QBzL+QoRxc=; b=Bxxgs22rLiqp5HAnR+ddeT1yGK+fyuYmT2atKLDXsr54ehSdfO9+IMeq89p7p6ZFrm Ci4PXpqxjEv+9UlFghYJJtaFjUb/wO8OsqIPpUuoBDzpsdNaf8LYl9SOdJl8DLUXUYTp 3YbWrNLd9KfybIACAZH/kDF+vzKoAwNNeZSRhmbF/u1JzADJ1uK+MhDcjq3vex2LNYqQ qy6DqE6cVPTnhTQC3xG9dD+3U2lNpL7GqHN1o3q8KH5fzjVZ74fbttIxU5m2ox1K4IUy iquNcIH/8RdN/HlKkm2U4z9/65Pcq4QddyTnyFVtDbpHccQhD4s0jJwHhkadmC9Xg9Kr qIXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=U7Sx78AM9sc7URkMRLEd7UiwEf/2iyxy1QBzL+QoRxc=; b=fHfY4gPoqxSC912PgAZUF0PNWO46iWlNqhIiJ1wnkdgA7Z5jFjFCOMS5fC87wt06+6 GXw1lbfnl/aIhGGfDu+xPdo4r3AA1s3dX8CW5q94VJD3IsFotCesMOgBLU1N/zcMahec EP2GdFZ6TBETujmaRjVZGhuerSy9irosOXI/6kSLvzCVSzbt3Xf2/fLpq41//tkvQgZ2 pmS/sUNtosx8kbUW6Sn5edMAujvT9SdT/QLDg0DNH0CdQoaPmpcb5UPTO8EpxXH+flGf o4rNY3Tds9DP7JSgg+O+wbac/nGg/5aVrE7YHtyBuEABKcYFc2zH5f3iQA9PAOLtSd4O EgPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=U7Sx78AM9sc7URkMRLEd7UiwEf/2iyxy1QBzL+QoRxc=; b=ABs2bEr9s035KoxquZwpE3KwNPZI7C8A7/r/x+Z5oJbAaavKGBrg2JrcsPDMgBzOTR LUHBLhiUKxM1Kb6MJxwek4AYURccONq5dz/eFlcw85Y9Olq+UqXNgAnKIfoz/Pi9TsVy hN0nj0czQ4YXShO84q7Fa6p/8idV7lgQ8M8XSMt3OkjBMIiGYoa0I4tTOED5DbWdc44t +ridPRKb/vfOrWYOQvVxhSGl8B2lkktIjye5VhG21vrFLHlE5tgurF9KpC243zaNcwN/ krP7G23bQNtuyYxV+jWhg3ihR2ShhoTX4Zc1Jscr7slaYahooSP5xJWdHD2LIVrawbqf YyAA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AKwxytfKdfkiKEop9rfc2w0XVCtaXaEiiZpijzsyCGzVJE7iGGnnCuW7 RlH1tWnqrr83FFfyCEyyilA= X-Google-Smtp-Source: AH8x227BaDwFJTssvJAnDBEqGs2ylDlLDV6UqhZzsPqANfClAaYf5osbAG/oObWtNXEoUchZqjtF6Q== X-Received: by 10.157.14.142 with SMTP id 14mr369453otj.2.1516644491857; Mon, 22 Jan 2018 10:08:11 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.202.169.7 with SMTP id s7ls2506826oie.23.gmail; Mon, 22 Jan 2018 10:08:11 -0800 (PST) X-Received: by 10.157.44.232 with SMTP id e37mr366046otd.11.1516644490784; Mon, 22 Jan 2018 10:08:10 -0800 (PST) In-Reply-To: <20171003205227.GA14633@protagoras> X-Original-Sender: E.H.Cliffe-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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:19318 Archived-At: ------=_Part_4405_193497077.1516644490166 Content-Type: multipart/alternative; boundary="----=_Part_4406_820888021.1516644490166" ------=_Part_4406_820888021.1516644490166 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear John, Thanks for the information below. For some reason I didn't see your=20 response when you posted it. I have just now tried the latest version of=20 pandoc from the downloads page (pandoc 2.1.1 Compiled with pandoc-types=20 1.17.3, texmath 0.10.1, skylighting 0.6) and I am getting the same problem.= =20 The output in linear format of Word is ((xxx=E2=80=A6xx)=E2=94=AC(} ))=E2= =94=ACn which does not=20 render correctly. This seems to be about the same as what I was getting=20 before: ((xxx=E2=80=A6xx)=E2=94=AC=E2=8F=9F)=E2=94=ACn and not what I would= expect to get: =E2=8F=9F(xxx=E2=80=A6xx)=E2=94=ACn >From what I can tell the binary is using a version of texmath that contains= =20 the below mentioned fix? Thanks for any help you can give us.=20 Emma On Tuesday, 3 October 2017 21:52:27 UTC+1, John MacFarlane wrote: > > This bug got fixed in texmath in February 2016.=20 > > If you compile your pandoc against the most recent version=20 > of texmath, it should work.=20 > > Anyway, this will be fixed in the pandoc 2.0 binary=20 > packages. Or you can try (at your own risk) a binary=20 > from pandoc-nightlies.=20 > > > +++ Emma Cliffe [Oct 03 17 02:36 ]:=20 > > Morning,=20 > > I am having trouble getting pandoc to convert underbrace either into= =20 > > Word or out of Word. I wondered if there is either something I am=20 > doing=20 > > wrong, whether this is a known problem (I can't find a report) or if= =20 > > there is a work round for converting into Word.=20 > > If I try to convert:=20 > > \[=20 > > \underbrace{xxx\ldots xx}_n=20 > > \]=20 > > for instance then what I get in Word (linear format) is:=20 > > ((xxx=E2=80=A6xx)=E2=94=AC=E2=8F=9F)=E2=94=ACn=20 > > which does not render as a stretched underbrace.=20 > > I would expect to get:=20 > > =E2=8F=9F(xxx=E2=80=A6xx)=E2=94=ACn=20 > > which is typed directly into Word as \underbrace(xxx\ldots xx)_n (the= n=20 > > space to trigger). You get the same linear interpretation if you use= =20 > > the mouse to create the structure.=20 > > The above is the direction I am interested in. I am actually=20 > converting=20 > > from MathML and see the same behaviour as in the cut down test of md= =20 > or=20 > > tex to docx I have explained above.=20 > > For completeness I tried to convert in the other direction. Starting= =20 > > from the above structure in Word I end up with:=20 > > \[\underset{n}{}\]=20 > > which has not only lost the xxx...xx but underbrace has become=20 > underset=20 > > which is not the same thing.=20 > > Does anyone know anything more about this?=20 > > Many thanks,=20 > > Emma=20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google=20 > > Groups "pandoc-discuss" group.=20 > > To unsubscribe from this group and stop receiving emails from it, sen= d=20 > > an email to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To post to this group, send email to=20 > > [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To view this discussion on the web visit=20 > > [3] > https://groups.google.com/d/msgid/pandoc-discuss/f240aa27-3e64-430c-=20 > > 82b0-55e095a5b175%40googlegroups.com.=20 > > For more options, visit [4]https://groups.google.com/d/optout.=20 > >=20 > >References=20 > >=20 > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org = =20 > > 2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org =20 > > 3.=20 > https://groups.google.com/d/msgid/pandoc-discuss/f240aa27-3e64-430c-82b0-= 55e095a5b175-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3Demail&utm_source=3Dfooter=20 > > 4. https://groups.google.com/d/optout=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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/150196ab-c7ac-428b-b989-583e8e91db64%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_4406_820888021.1516644490166 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Dear John,

Thanks for the information below. Fo= r some reason I didn't see your response when you posted it. I have jus= t now tried the latest version of pandoc from the downloads page (pandoc 2.= 1.1 Compiled with pandoc-types 1.17.3, texmath 0.10.1, skylighting 0.6) and= I am getting the same problem. The output in linear format of Word is ((xx= x=E2=80=A6xx)=E2=94=AC(} ))=E2=94=ACn which does not render correctly. This= seems to be about the same as what I was getting before: ((xxx=E2=80=A6xx)= =E2=94=AC=E2=8F=9F)=E2=94=ACn and not what I would expect to get: =E2=8F=9F= (xxx=E2=80=A6xx)=E2=94=ACn

From what I can tell the binary is using = a version of texmath that contains the below mentioned fix?

Thanks f= or any help you can give us.
Emma

On Tuesday, 3 October 2017 21:= 52:27 UTC+1, John MacFarlane wrote:
This bug got fixed in texmath in February 2016.

If you compile your pandoc against the most recent version
of texmath, it should work.

Anyway, this will be fixed in the pandoc 2.0 binary
packages. =C2=A0Or you can try (at your own risk) a binary
from pandoc-nightlies.


+++ Emma Cliffe [Oct 03 17 02:36 ]:
> =C2=A0 Morning,
> =C2=A0 I am having trouble getting pandoc to convert underbrace ei= ther into
> =C2=A0 Word or out of Word. I wondered if there is either somethin= g I am doing
> =C2=A0 wrong, whether this is a known problem (I can't find a = report) or if
> =C2=A0 there is a work round for converting into Word.
> =C2=A0 If I try to convert:
> =C2=A0 \[
> =C2=A0 \underbrace{xxx\ldots xx}_n
> =C2=A0 \]
> =C2=A0 for instance then what I get in Word (linear format) is:
> =C2=A0 ((xxx=E2=80=A6xx)=E2=94=AC=E2=8F=9F)=E2=94=ACn
> =C2=A0 which does not render as a stretched underbrace.
> =C2=A0 I would expect to get:
> =C2=A0 =E2=8F=9F(xxx=E2=80=A6xx)=E2=94=ACn
> =C2=A0 which is typed directly into Word as \underbrace(xxx\ldots = xx)_n (then
> =C2=A0 space to trigger). You get the same linear interpretation i= f you use
> =C2=A0 the mouse to create the structure.
> =C2=A0 The above is the direction I am interested in. I am actuall= y converting
> =C2=A0 from MathML and see the same behaviour as in the cut down t= est of md or
> =C2=A0 tex to docx I have explained above.
> =C2=A0 For completeness I tried to convert in the other direction.= Starting
> =C2=A0 from the above structure in Word I end up with:
> =C2=A0 \[\underset{n}{}\]
> =C2=A0 which has not only lost the xxx...xx but underbrace has bec= ome underset
> =C2=A0 which is not the same thing.
> =C2=A0 Does anyone know anything more about this?
> =C2=A0 Many thanks,
> =C2=A0 Emma
>
> =C2=A0 --
> =C2=A0 You received this message because you are subscribed to the= Google
> =C2=A0 Groups "pandoc-discuss" group.
> =C2=A0 To unsubscribe from this group and stop receiving emails fr= om it, send
> =C2=A0 an email to [1]pandoc-discus...@googlegroups.com.
> =C2=A0 To post to this group, send email to
> =C2=A0 [2]pandoc-...@googlegroups.com.
> =C2=A0 To view this discussion on the web visit
> =C2=A0 [3]http= s://groups.google.com/d/msgid/pandoc-discuss/f240aa27-3e64-430c-<= /a>
> =C2=A0 82b0-55e095a5b175%
40googlegroups.com.
> =C2=A0 For more options, visit [4]https:= //groups.google.com/d/optout.
>
>References
>
> =C2=A0 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> =C2=A0 2. mailto:pandoc-...@googlegroups.com
> =C2=A0 3. https://groups.google.com/d/msgid/pandoc-discuss/f240aa27-3= e64-430c-82b0-55e095a5b175@googlegroups.com?utm_medium=3Demail&am= p;utm_source=3Dfooter
> =C2=A0 4. https://groups.google.com/d/optout

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/150196ab-c7ac-428b-b989-583e8e91db64%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_4406_820888021.1516644490166-- ------=_Part_4405_193497077.1516644490166--