From: Cesar Romani <cesar.romani-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Equations numbering aren't shown when converting asciidoc to docx or odt
Date: Tue, 7 Sep 2021 10:42:37 -0500 [thread overview]
Message-ID: <sh819e$7q7$1@ciao.gmane.io> (raw)
I'm using pandoc 2.14.2 on Windows 10 Home.
If I convert the following asciidoc file, say foo.adoc, to docx or odt,
I don't see the equations numbering:
= Test
:stem: latexmath
:eqnums:
.First equation
[latexmath#eq-1,reftext=Equation 1]
++++
\begin{equation}
\sum_{i=1}^n i^3 = \left(\frac{n(n+1)}{2}\right)^2
\end{equation}
++++
.Second equation
[latexmath]
++++
y^2 \mod p = (x^3 + 7) \mod p
++++
.Third equation
[latexmath#eq-3,reftext=Equation 3]
++++
\begin{equation}
C = \alpha + \beta Y^{\gamma} + \epsilon
\end{equation}
++++
See <<eq-1>> and <<eq-3>>
I'm using the command:
pandoc --from docbook --to docx --output foo.docx foo.xml
Notice that the corresponding html, which is obtained using:
asciidoctor foo.adoc
does show the equations numbering.
Many thanks in advance,
--
Cesar
reply other threads:[~2021-09-07 15:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='sh819e$7q7$1@ciao.gmane.io' \
--to=cesar.romani-re5jqeeqqe8avxtiumwx3w@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).