emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Mankoff <mankoff@gmail.com>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: ODT export with #+NAME'd equation is failing
Date: Mon, 10 Sep 2018 12:08:03 +0200	[thread overview]
Message-ID: <CAFdBzEquG8XEDW-db4MgLN0M6Z=+co3mG=eYzD6aeKZtDdN_KA@mail.gmail.com> (raw)

[-- 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 --]

                 reply	other threads:[~2018-09-10 10:11 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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFdBzEquG8XEDW-db4MgLN0M6Z=+co3mG=eYzD6aeKZtDdN_KA@mail.gmail.com' \
    --to=mankoff@gmail.com \
    --cc=emacs-orgmode@gnu.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.
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).