From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28691 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Rached A." Newsgroups: gmane.text.pandoc Subject: Equation numbers and newlines not rendering as I expect in docx generated from LaTeX Date: Sat, 26 Jun 2021 12:25:01 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_54_2013083576.1624735501533" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="965"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCU4LEV43EKRBDX63WDAMGQEWWNRG3Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jun 26 21:25:05 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f55.google.com ([209.85.161.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lxDvM-000AaX-JV for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 26 Jun 2021 21:25:04 +0200 Original-Received: by mail-oo1-f55.google.com with SMTP id d12-20020a4aeb8c0000b029023bbaaddcbbsf8698283ooj.13 for ; Sat, 26 Jun 2021 12:25:04 -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=uXomnJyCp8n9TxIULqIH7Kx630yIn5jNBCKSuitAtJU=; b=KgskQRQhYg6tcZ5s7tLFRzLCt0oBk3AWT/wZfkd41zPqhnGeBKbAQ2pts/u0YgPeyq iFQVsGnlmPu+HyAKxHi3wSnfNQQMTxON8RVU7RpQ5YTyQSfm2z/jyFONWOGHK2mDyqIF Bwu0Hn2IxnA/FWziqIE5Ebe1dPAH5JOTr6H3FRlg98UNggyNvdlFmzExAnV8WMIHJw/e rkCATSQEDL1wOR1icKfcjCn5+/Z9A6WcxxDTT+xrH9yrriUqUwHlKa+izz6A7VMj/qeD y9JGljDzmKoIoQAOX7/TYULAnh4kUVbnyclnaM5S2/s2yfqAllpaevLPEZU0K3MJavz9 k10w== 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=uXomnJyCp8n9TxIULqIH7Kx630yIn5jNBCKSuitAtJU=; b=PY31gY3cB6P2WdGw6DcOOGoVO1Pv0Q6X3HAeRlk05DLAF3V3wfMPF7LKEB6cE+s5yd YNrfaoIiYvrv1NWT92tCM1d3hiBdTs+aoaNOlq0kzZEjwkedjmOi15na4EGPBNwdgNJd xZZY5c1EPIXi/St4wZbKLryfOmnrlDgzbtsFvXq7PRsx8PNShoWH4p8F0IzSfYGIBkKm nvze6KEhd1MCfoaZ67THED07cwDGmK7SKT5nune56Rr/ql2AoeY85mSzRoeNUtAyRjkr VoAfZIDnIolUP10q5UOmTlnx558/R4YRTCUB4VzkB8+IoWCfxV/cQbOvAoHfBxmBkV7S mQhA== 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=uXomnJyCp8n9TxIULqIH7Kx630yIn5jNBCKSuitAtJU=; b=f7wUH2mjODdSqps6Y1eIFrG2y3Gn3nnYT/sSt4IfFLzwOFyKa3ifrGP2nmyFMbIX59 KIubmweOZiZqTvUGPbmuq6BPgCqO78uhRktEK+i6haHHBN2GevlTr6xWDGNQjAv6aJk6 x6Tvp1I1LC3zFx4nsOgqxU4Jeeb7+wa7zjlCml4Ac8vxs5+GTy5QuTkQHnnXn68Mk+64 FQP0W9YOE+paKz6/zcWuLel6fC9MsPX/WrNA9fZse4iGM8T/TuW4CXcXtTMocKISRbCy sgjv5gJrMg/CkBq1734ci0gF0/CvvjJH0gPpp1J4ed7BYd8B139EAyMGNxxRsy4xwRkA 3K4A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532JHLhSPuiqzHVpYSGBfvIlRluOBmIFT4upR+4Xrf2xDXRQKA1t I4I3FIk1pjtiG9geXdwS2j0= X-Google-Smtp-Source: ABdhPJy5NWU/kOkzfIcILaOPI0CnjZy3+D/Zq76uett/dlxWgJi1Xi1tcVXBYL8KWZ6njKbWeBtx/g== X-Received: by 2002:a4a:c190:: with SMTP id w16mr14028028oop.92.1624735503584; Sat, 26 Jun 2021 12:25:03 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:2397:: with SMTP id l23ls2143795ots.5.gmail; Sat, 26 Jun 2021 12:25:02 -0700 (PDT) X-Received: by 2002:a9d:748b:: with SMTP id t11mr15547753otk.35.1624735502158; Sat, 26 Jun 2021 12:25:02 -0700 (PDT) X-Original-Sender: rached.aL-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.io gmane.text.pandoc:28691 Archived-At: ------=_Part_54_2013083576.1624735501533 Content-Type: multipart/alternative; boundary="----=_Part_55_2087523939.1624735501533" ------=_Part_55_2087523939.1624735501533 Content-Type: text/plain; charset="UTF-8" Dear community, The following latex markup renders as expected in in overleaf: Here is equation \ref{eq:test} \begin{equation} \label{eq:test} \begin{split} a & = b \\ & = c \end{split} \end{equation} Roughly looking like this in the complied pdf: Here is equation 9 a = b (9) = c When I try converting the .tex file to .docx using pandoc as shown below, three problems arise: 1. The equation is not referenced properly in the paragraph. It looks like this in the docx: Here is equation [eq:test] 2-3. The equation itself is not labelled with a number AND there is no newline in the equation. It looks like this in the docx: a = b = c This is the command I ran to perform the conversion: pandoc main.tex --filter /usr/local/bin/pandoc-crossref -C --csl ./springer-basic-brackets --bibliography=mybib.bib -N --wrap=preserve -o mydoc.docx pandoc 2.14.0.2 pandoc-crossref 0.3.12.0 Could someone kindly point me in the right direction to resolve this issue? -- 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/d9a2ff0a-7f05-4ee6-b5c4-cb650fcc66a5n%40googlegroups.com. ------=_Part_55_2087523939.1624735501533 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear community,

Th= e following latex markup renders as expected in in overleaf:

Here is equation \ref{eq:test}
\begin{= equation} \label{eq:test}
    \begin{split}
 &nbs= p;      a & =3D b \\
   &nbs= p;    & =3D c
    \end{split}
\end{= equation}

Roughly looking like = this in the complied pdf:

H= ere is equation 9
 =             &nb= sp;          (9)
  =3D c
=

When I try converting the .tex file to .doc= x using pandoc as shown below, three problems arise:

1. The equation= is not referenced properly in the paragraph. It looks like this in the doc= x:
He= re is equation [eq:test]

2-3. The equation itself is n= ot labelled with a number AND there is no newline in the equation. I= t looks like this in the docx:
a =3D b =3D c

This is the command I ran to perform the conversion:
pandoc main.tex --filter = /usr/local/bin/pandoc-crossref -C --csl ./springer-basic-brackets --bibliog= raphy=3Dmybib.bib -N --wrap=3Dpreserve -o mydoc.docx
<= span style=3D"font-family: Verdana;">
pandoc 2.14.0.2
pandoc-crossref= 0.3.12.0

Could someone kindly point me in the right = direction to resolve this issue?

--
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/d9a2ff0a-7f05-4ee6-b5c4-cb650fcc66a5n%40googlegroups.= com.
------=_Part_55_2087523939.1624735501533-- ------=_Part_54_2013083576.1624735501533--