* Can not convert a formula that contains the eqno command.
@ 2017-12-27 3:14 Rex Frank
[not found] ` <73c181fb-fd2f-4280-8d0a-f8870322cec9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Rex Frank @ 2017-12-27 3:14 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1841 bytes --]
Pandoc version: 2.0.5-4(from Archlinux source)
Operating system:Archlinux x86_64 Linux 4.14.8-1-ARCH
Test tex file is:
% Example LaTeX document for GP111 - note % sign indicates a comment
\documentstyle[11pt]{article}
% Default margins are too wide all the way around. I reset them here
\setlength{\topmargin}{-.5in}
\setlength{\textheight}{9in}
\setlength{\oddsidemargin}{.125in}
\setlength{\textwidth}{6.25in}
\begin{document}
\title{LaTeX Typesetting By Example}
\author{Phil Farrell\\
Stanford University School of Earth Sciences}
\renewcommand{\today}{November 2, 1994}
\maketitle
$$y = f(\sum_{i=1}^{n}w_ix_i - \theta) \eqno{(3)}$$
This article demonstrates a basic set of LaTeX formatting commands.
Compare the typeset output side-by-side with the input document.
\end{document}
When I use:
pandoc test.tex -o test.docx --mathjax -w docx --latex-engine xelatex
Will show this error:
[pandoc warning] Cannot convert the following TeX math, skipping:
y = f(\sum_{i=1}^{n}w_ix_i - \theta) \eqno{(3)}
x_i - \theta) \eqno{(3)}
^
unexpected "{"
expecting "%", "\\label", "\\nonumber" or whitespace
How to fix this error?
Thanks!
--
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/73c181fb-fd2f-4280-8d0a-f8870322cec9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 103138 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-27 7:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-27 3:14 Can not convert a formula that contains the eqno command Rex Frank
[not found] ` <73c181fb-fd2f-4280-8d0a-f8870322cec9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-12-27 7:25 ` John MacFarlane
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).