emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ODT export with #+NAME'd equation is failing
@ 2018-09-10 10:08 Ken Mankoff
  0 siblings, 0 replies; only message in thread
From: Ken Mankoff @ 2018-09-10 10:08 UTC (permalink / raw)
  To: Org-mode

[-- Attachment #1: Type: text/plain, Size: 1424 bytes --]

Hi List,

I'm trying to export a document to ODT and it fails if the following two
lines included:

#+NAME: eq:foo
See Equation [[eq:foo]].

If I comment out one or the other it works.

I can re-create this using the latest Org and the following MWE:

1) Contents of DEBUG.el. are:
(add-to-list 'load-path "~/.emacs.d/elpa/org-20180910")

2) Contents of DEBUG.org are:
#+NAME: eq:foo
\begin{equation}
42
\end{equation}

See [[eq:foo]].

3) Run the following command:
/usr/bin/emacs -Q --load ~/.emacs.d/DEBUG/DEBUG.el
~/.emacs.d/DEBUG/DEBUG.org

4) Export with C-e o o

5) Contents of *Messages* buffer is:

For information about GNU Emacs and the GNU system, type C-h C-a.
LaTeX to MathML converter not available.
Formatting LaTeX using verbatim
OpenDocument export failed: FIXME: Unable to resolve (latex-environment
(:begin 2 :end 53 :value "\\begin{equation}
42
\\end{equation}
" :post-blank 1 :post-affiliated 17 :name "eq:foo" :parent (section (:begin
2 :end 69 :contents-begin 2 :contents-end 69 :post-blank 0 :post-affiliated
2 :parent (org-data nil #2)) #0 (paragraph (:begin 53 :end 69
:contents-begin 53 :contents-end 69 :post-blank 0 :post-affiliated 53
:parent #2) #("See " 0 4 (:parent #3)) (link (:type "fuzzy" :path "eq:foo"
:format bracket :raw-link "eq:foo" :application nil :search-option nil
:begin 57 :end 67 :contents-begin nil :contents-end nil :post-blank 0
:parent #3)) #(".
" 0 2 (:parent #3))))))

[-- Attachment #2: Type: text/html, Size: 2063 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-10 10:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-10 10:08 ODT export with #+NAME'd equation is failing Ken Mankoff

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).