From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/22313 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Paul M." Newsgroups: gmane.text.pandoc Subject: Math environments: docx vs latex output? Date: Mon, 18 Mar 2019 15:44:07 -0400 Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000442a950584639d2e" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="260789"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDJ37C5KUAHBBFHKX7SAKGQEUALWWMA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Mar 18 20:44:21 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-lj1-f189.google.com ([209.85.208.189]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1h5yBJ-0015i7-1V for gtp-pandoc-discuss@m.gmane.org; Mon, 18 Mar 2019 20:44:21 +0100 Original-Received: by mail-lj1-f189.google.com with SMTP id v17sf4759738ljg.4 for ; Mon, 18 Mar 2019 12:44:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1552938260; cv=pass; d=google.com; s=arc-20160816; b=zg3Pvo4vLZWPlg98dFUJCg+Gj0ZAxafBKmrgeB7smVDlDZs+GacCiIiLPKF3CsHn6f rMVLgeEr7YRxh4G9M9spyjWugVNFfTV1RR8tigDo+wK3nUnvZgFVmgE+GfmaZmK90SBR MyIQl1wmLNsTlF2a3ZNIhLyJlgUr4xPPQVWo86vtIo/XMoEY8LzHGAsoLi9Kpln8SY0+ Us6OOwPBjCGTC8y6VxXbUlEa/LAU3IfF0NK6fyyX2KClQCOD+v2FrFPrdj68fGP2lx1n IRcGfgcj6FBznsS/FFtp7t1L9WUJv+5QPbfkwTipHUNUUmqB3HpUtAGr+TAPUBXP0Imq bF2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:mime-version:sender:dkim-signature:dkim-signature; bh=2dFXy8DZjWr5DCnHpktOlsVlyUlYaE9c3UQwRuxr1TM=; b=YvTNduTg4QaEnO50g5lu/VutGp2My5itR1hRfVYdPvTvSyuvlyfI5T6e3V5zNAAhf7 rPV3HHLpM9mJr+anaKg59Zu3zOaNcxNnbMRh+i/ufHpGK/zG/Hka6wQGpbDLSfG3U0/m my2LJFnaz+EkhUsXOvIpznrz1hAv45Y035XKQ+okBgWXZduV1PTLD7taW1Tg6fWLQ26f IQA4qNqtyuSeJfv0RPtZFk+OTpUFj+bi2tHkOs8mq0dequsnFK8o5LlOv76zF9SwWu6+ aR7iQPozHW4DV088YzpwPAIBSWzWbbh/FukPi01K+sWfvfbgx7ESTZyN1a+VjfnLiG6x gODg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="rTcCsLy/"; spf=pass (google.com: domain of pmmagic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::236 as permitted sender) smtp.mailfrom=pmmagic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=2dFXy8DZjWr5DCnHpktOlsVlyUlYaE9c3UQwRuxr1TM=; b=q9mZaNyzBhiakgonRaVt1kx9tATzdPuo7hzm+zahd5u/flNl3fwi7QicwXdo0Q+/yx frjt0jEP5lUb8EPO9Tk1XwDHsPFbye8uqPdSz8/RXSlcF8Ck7F0fnd6sYWjkA2JmpZwe Al8ilL+YOFqsNsOBavbfad2jX+OyPXhFSq6yujfFg3fGqWX4nOcW1gqJctdus5s1Hfca pmk0yh+LFizvhD2a5i+VCvtFQ5P03HYIHLbQbqiDZ9IUfBkdOqmQ5cNebjL0WEy2Uob/ NHgDNgmIFrGpus9UfFmMTPvdqN9D2asK7ZR4Hf4R3jU+Fnk95p872IYh0bubbDFWyZG9 bv+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=2dFXy8DZjWr5DCnHpktOlsVlyUlYaE9c3UQwRuxr1TM=; b=bzj924aDY01W94W92ul6bVWe54HmkaW0lfSi01TREHzlnFgKAhmeKtwlyz/mxVk4+7 jU574nqrlG5pS+nhiCOhyuMlGTrPHJ+DkFz1cmpzbGHdUEXuNOhB6F84DPt0hshlwsam FZAxryzlNK0ud7SZkukUwUUlec6Ua3UD4+gNAXuxnqdQ0PNsnDZpjkg/L7rBOhBuNqZF G76EU0mKDliU340JEerHMSEBjy39UHxc1GZpqQzrOgwxyyvOrrCrPT1l6QQb5IKN8UII McbWHyTx/OhNpV6K4gQ3blp1RQZ62bDQUwtHcpCcfRv8CfyFYIqIG/xDfjRlAcdC4+zU b1mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:date:message-id:subject :to:x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=2dFXy8DZjWr5DCnHpktOlsVlyUlYaE9c3UQwRuxr1TM=; b=iazRhEutM1YklDR+gLjmKGn4+vUxyeTXUkoFPeSI4FgTuSKCDZsG4mWI3rp04bk09P v2Dt8yijagB0qf+dILllR4v6d7eWVBSHB3HVEptgmTVaVgxYUZR/XSeblwkDl9gq4uA6 B+h4U+5xtNKkveAAuFamnurlEoYJyMdv8/VM4M2VCnX+m0L8+9apXREkY97s7+EG4x1k ULITH2FH5q3vJ+Rk7gevpkqBgMbe+Jqr4tWgAsYOLSpmg7QhdQqbaHsogfSYpIdzi6N6 OH/hbSA7vYh2+FPh0OU4m9MJDqSrGp6vnxriFnFAYigQo7ZicE1osCS1r58uhh7GjDU0 U5QA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAUx13NzoDr1l95Uilz+vGBgVvdaFaRqAF4AKqXR+ryz7NnKBz/1 U6ViyW51xlvedYYk/Tcc/14= X-Google-Smtp-Source: APXvYqwDdzohDh1qEbPxzriR6nBfxr5IBtEs5xW97c49D4xjLa9DQ8HsYQhYzAO6VOzrlULdbb/PXw== X-Received: by 2002:a2e:8216:: with SMTP id w22mr11657543ljg.162.1552938260695; Mon, 18 Mar 2019 12:44:20 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a19:551a:: with SMTP id n26ls1609932lfe.12.gmail; Mon, 18 Mar 2019 12:44:19 -0700 (PDT) X-Received: by 2002:a19:9503:: with SMTP id x3mr991463lfd.11.1552938259151; Mon, 18 Mar 2019 12:44:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552938259; cv=none; d=google.com; s=arc-20160816; b=WJauVMnI+QfCBAbDYM0RZmwwBKj+uVlh7hbHTXqLJ5JoLxfSZg56imLycLcG7ba4+4 eK3r1N7zwwy/T49jcVmzwY7mQW7zXKlABuAizBU1DX0r7tq8mPQNrkup3iC7D0jdPCmJ PxBiCNJzKaVX+U2yJLZUcEeZa2HEa1BjBaEHa794En5i8AqEapMAJ5DnulY7mDewun2r tuahy1k3QrLR54TF+6DQ8pg/mXGQi700ec+0ceNIIrQYhziE+7AYcgWUjgJ+Y0/5oHzb 5B7H4IxRTfToFgTBwsMmSHP3QOtvBVXLx1/fAyYc9ChWxdBrqlAMHIKMzaETYMqU7LWo SzaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=7IW/as2SZ5KD8rmbzOi2CVkyqX1S9w3GS/MaHmie3vg=; b=jatV/fRa6jZoOxkwpuf9yzO9IxKgqCrJOMB/6rO7NBXmi81DaUPx7NE5QY4RoMLKIz dh/AredSctRYjVOn05mn27cCYe/r1ljyVnp6bPGPEq8xvkKGrJBT0aK00TmYtlW17bik Gqlvt8uMQeCBe0UhGb0r1Hr7YTTl5oDPMmsrmmJ3rv/wZxZ5iywxjzX7mhm/2JuUUWZ/ yYAAEvCkAxsVoo+ZmQn512cRoiBZ+2eK/Jnezgp4MbruF839MPY4q/GgVV3wZIFwyHxZ 0WE0Rvx9n0F7G3NcirRznWB/geZLs+e1x6lliZU3JBsCnLtL3EYaufqHEYGtALGaS8ly ywgw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="rTcCsLy/"; spf=pass (google.com: domain of pmmagic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::236 as permitted sender) smtp.mailfrom=pmmagic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com. [2a00:1450:4864:20::236]) by gmr-mx.google.com with ESMTPS id z15si108124lfe.5.2019.03.18.12.44.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Mar 2019 12:44:19 -0700 (PDT) Received-SPF: pass (google.com: domain of pmmagic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::236 as permitted sender) client-ip=2a00:1450:4864:20::236; Original-Received: by mail-lj1-x236.google.com with SMTP id z25so15203097ljk.8 for ; Mon, 18 Mar 2019 12:44:19 -0700 (PDT) X-Received: by 2002:a2e:2ce:: with SMTP id y75mr11416329lje.126.1552938258670; Mon, 18 Mar 2019 12:44:18 -0700 (PDT) X-Original-Sender: pmmagic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="rTcCsLy/"; spf=pass (google.com: domain of pmmagic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::236 as permitted sender) smtp.mailfrom=pmmagic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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.org gmane.text.pandoc:22313 Archived-At: --000000000000442a950584639d2e Content-Type: text/plain; charset="UTF-8" The following code produces an expected array of equations in LaTeX output, but doesn't do so for docx output: ``` --- title: A Document ... ## Math Equations An array of equations: \begin{eqnarray} \nabla \cdot \vec{B} &=& 0 \nonumber \\ \nabla \times \vec{E} &=& - \frac{\partial B}{\partial t} \nonumber \\ \end{eqnarray} ``` If we surround the `eqnarray` environment with double dollar signs we get the expected docx output, but specifying latex as output yields a `! Missing \endgroup inserted` error. ``` --- title: A Document ... ## Math Equations An array of equations: $$ \begin{eqnarray} \nabla \cdot \vec{B} &=& 0 \nonumber \\ \nabla \times \vec{E} &=& - \frac{\partial B}{\partial t} \nonumber \\ \end{eqnarray} $$ ``` Is this expected behavior? Perhaps relating to this issue: https://github.com/jgm/pandoc/issues/4104 Cheers, Paul -- 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 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/CABoaWcW3mEFs8nZ63TzZN63fQXA0hnqAv%3DSz%3DfDQXpXxxjLpng%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --000000000000442a950584639d2e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The following code produces an expected arr= ay of equations in LaTeX output, but doesn't do so for docx output:

```
---
title: A Docume= nt
...

## Math Equations

<= /div>
An array of equations:

\begin{eqnarray}<= /div>
\nabla =C2=A0\cdot \vec{B} &=3D& 0 \nonumber \\
\nabla =C2=A0\times \vec{E} &=3D& - \frac{\partial B}{\partial t} = \nonumber \\
\end{eqnarray}
```
<= br>
If we surround the `eqnarray` environment with double dollar = signs we get the expected docx output, but specifying latex as output yield= s a `! Missing \endgroup inserted` error.

```=
---
title: A Document
...

## Math Equations

An array of equ= ations:

$$
\begin{eqnarray}
\n= abla =C2=A0\cdot \vec{B} &=3D& 0 \nonumber \\
\nabla =C2= =A0\times \vec{E} &=3D& - \frac{\partial B}{\partial t} \nonumber \= \
\end{eqnarray}
$$
```

Is this expected behavior? Perhaps relating to this i= ssue:=C2=A0https://gi= thub.com/jgm/pandoc/issues/4104

Cheers,
<= div>Paul


<= /div>

--
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://gro= ups.google.com/d/msgid/pandoc-discuss/CABoaWcW3mEFs8nZ63TzZN63fQXA0hnqAv%3D= Sz%3DfDQXpXxxjLpng%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--000000000000442a950584639d2e--