From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23577 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Logan Newsgroups: gmane.text.pandoc Subject: Pandoc Markdown, LaTeX Math and DOCX: tag{xx} not working in DOCX Date: Sun, 13 Oct 2019 17:53:51 -0700 (PDT) Message-ID: <20d5da9c-a51b-49a0-903d-8638dd3c560d@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3770_944721456.1571014431363" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="185680"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDYMFHUR7EJRBIEOR7WQKGQE5AEPYMY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Oct 14 02:53:56 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f60.google.com ([209.85.210.60]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iJocV-000m9M-7U for gtp-pandoc-discuss@m.gmane.org; Mon, 14 Oct 2019 02:53:55 +0200 Original-Received: by mail-ot1-f60.google.com with SMTP id h13sf7006668otk.20 for ; Sun, 13 Oct 2019 17:53:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=BL5aO3Z7ZFcWlZF2v+yTbZHzLaxWF3vx9/s9yqRJIX8=; b=SlKIev40F0ZYJrT2h60HI82y2ZyDnP5V+5gow4sno1V8f6A9018GUgATCK5pZzlHqi JlzkTZ/jLnij+CHT5Jy4KZQ98WBp6AcThKo/rFyvaQkoCD0BGfJ37HP9XabIKYodNel6 G3I5qx6pxZtAwDU5eeVDzOizHBZdNhrHezKFk2zh8/i09NARB1whl4hKbhlrK8XeJmPq zMORC1sx9/H37O/gXSHovPd6D1J3j6FRFd5jC14ZUTpp+gV4tWYhiLDPV4jeK0rREFhA h1d4qEwKrdDDxvnWFoKghd6AcFOCmy55CIL89t41d8xS5dVj/bI5Yf3TVVQKO4msiKKV /cug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=BL5aO3Z7ZFcWlZF2v+yTbZHzLaxWF3vx9/s9yqRJIX8=; b=ak8P99qDW1cmC9Ox560tUW1YLs72h3Os/awJOPXOI0O75rSInKSvDqggqUeUGvarfE aldWZLQVLNBOMe2V5ZyDg+69wxozpm2pupiGpIHzlpe803EYTnaHHVoDxUhZe1k3uSwK 4b6cQzuMaWkHU7ftRujcVufaH1lBgckmm4wzzHPPHT7NjVV20y/mxKIELTE7Z7nomGs1 xz6glUU5WMx+XeSgC+jFHvexXoHFNNjyx1wE1QN3aik7kIBqQNVUccaFHo7LD3JZgVh9 RWWTM/DlUBHr4iCErRczeatLcfj7QpITDqyasTx8gIwYi8F+gLaRfdKGKdeCtOyUiKcQ pzsw== 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: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=BL5aO3Z7ZFcWlZF2v+yTbZHzLaxWF3vx9/s9yqRJIX8=; b=fXYAGVJM1Wcdga149R3OuudImiTCCKxkV8H/FXAMIx9TMmJJoAeBEs4l2ykvnEvGqI cSGPZE4Td+qmEYaNiUrYBeXw2mx7xuDwAtA8VeeNApEAabw2jJUCtkgMz7Fbp5Qbd6nk Bz7Wm+J4V81mxIs4OUOcmOXg05g+38aJ/mOygkc3B0wwLcqL3RRi1LglkVgBq8Kb789T a+ZZFFxbT3FQpiRbxfRzqOptAFLCNwZ8xfC8ITrGYWvwZizOL5sh0uwFcWqCeQCnnYME heZg3fb+/k2ss/2ov1JKpHd1FF0xHITZjHGQz8XPPhYo9j2tBvbzZxNd8PNqRfWZYPWI qvlg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAVQsHCvZeRGmTfntG2ul4EEaHf7cEFqoXkj8pUlCS8zKefPj3z4 3TA+oktaQLAMxspj/tRc8Z4= X-Google-Smtp-Source: APXvYqyS1BNzpoI40DwS/kNyZAQQagXYnjmrfTuQZvMZBJGqzSMURxSPDQQQYqTPN0Z2SuDVX0bciw== X-Received: by 2002:a05:6830:1f09:: with SMTP id u9mr23417593otg.310.1571014433650; Sun, 13 Oct 2019 17:53:53 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:d6e:: with SMTP id 101ls2374557oti.12.gmail; Sun, 13 Oct 2019 17:53:52 -0700 (PDT) X-Received: by 2002:a9d:2781:: with SMTP id c1mr22818658otb.104.1571014431847; Sun, 13 Oct 2019 17:53:51 -0700 (PDT) X-Original-Sender: logaandm-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.org gmane.text.pandoc:23577 Archived-At: ------=_Part_3770_944721456.1571014431363 Content-Type: multipart/alternative; boundary="----=_Part_3771_1329789910.1571014431363" ------=_Part_3771_1329789910.1571014431363 Content-Type: text/plain; charset="UTF-8" I am using VS Code, Markdown and Pandoc to produce cross-platform documents with math. For an equation, it is useful to use the Latex \tag{} command to number equations. For example $$ e^{i\pi} +1 = 0 \tag{99} $$ will produce a TEX file, a PDF, and HTML files all of which will properly number the equation as (99) justified to the far right. The DOCX file will fail to work properly with the \tag{99} command and the equation will not even be converted but the raw Latex command are not converted or the DOCX file may even fail to load. I have one work around of using $$ e^{i\pi} +1 = 0 \quad \quad \quad (99) $$ Which is not right-justified. I think I can use HTML tags but this degrades the usefulness of the document in LaTeX and I am trying to stay with Markdown and Math-Latex. I've thought about using LaTeX alignment tags, but this becomes very complicated and error prone with more complex equations such as matrices or multiple equations and in any case, it doesn't solve the right justification issue. Is there a better solution for numbering equations which works in all document types? Or is this a bug in Pandoc that can be fixed? I understand if it is difficult or impossible to make a proper DOCX reference, but at a minimum it would be nice to ignore the \tag{} or change to plain text. It is rather frustrating because the HTML and PDF look just about perfect when using the \tag{} command. Thanks for any help, my apologies if I didn't find the answer in the documentation or made a noobee error. -- 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/20d5da9c-a51b-49a0-903d-8638dd3c560d%40googlegroups.com. ------=_Part_3771_1329789910.1571014431363 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am using VS Code, Markdown and Pandoc to produce cr= oss-platform documents with math. For an equation, it is useful to use the = Latex \tag{} command to number equations.

For exam= ple

=C2=A0 =C2=A0 $$
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 e^{i\pi} +1 =3D 0 \tag{99}
=C2=A0 =C2=A0 $$
=
will produce a TEX file, a PDF, and HTML files all of which = will properly number the equation as (99) justified to the far right. The D= OCX file will fail to work properly with the \tag{99} command and the equat= ion will not even be converted but the raw Latex command are not converted = or the DOCX file may even fail to load.

I have one= work around of using

= =C2=A0 =C2=A0 $$
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 e^{i\pi} +1 =3D 0 \quad \quad \quad (99)

Which is not right-justified. I think I can use HTML tags but = this degrades the usefulness of the document in LaTeX and I am trying to st= ay with Markdown and Math-Latex. I've thought about using LaTeX alignme= nt tags, but this becomes very complicated and error prone with more comple= x equations such as matrices or multiple equations and in any case, it does= n't solve the right justification issue.
Is there a better solution for numbe= ring equations which works in all document types? Or is this a bug in Pando= c that can be fixed? I understand if it is difficult or impossible to make = a proper DOCX reference, but at a minimum it would be nice to ignore the \t= ag{} or change to plain text. It is rather frustrating because the HTML and= PDF look just about perfect when using the \tag{} command.


Thanks for any help, my apologies if I didn't find the= answer in the documentation or made a noobee error.


--
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/20d5da9c-a51b-49a0-903d-8638dd3c560d%40googlegroups.co= m.
------=_Part_3771_1329789910.1571014431363-- ------=_Part_3770_944721456.1571014431363--