From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: ODT export with #+NAME'd equation is failing Date: Mon, 10 Sep 2018 12:08:03 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008a89e40575818acb" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzJAE-0002ku-Jw for emacs-orgmode@gnu.org; Mon, 10 Sep 2018 06:11:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzJ7Y-0000XS-GN for emacs-orgmode@gnu.org; Mon, 10 Sep 2018 06:08:41 -0400 Received: from mail-qt0-x232.google.com ([2607:f8b0:400d:c0d::232]:47059) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzJ7Y-0000X5-A9 for emacs-orgmode@gnu.org; Mon, 10 Sep 2018 06:08:40 -0400 Received: by mail-qt0-x232.google.com with SMTP id d4-v6so23374207qtn.13 for ; Mon, 10 Sep 2018 03:08:39 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org-mode --0000000000008a89e40575818acb Content-Type: text/plain; charset="UTF-8" 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)))))) --0000000000008a89e40575818acb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi List,

I'm trying to export a document t= o 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 'lo= ad-path "~/.emacs.d/elpa/org-20180910")

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

= See [[eq:foo]].

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

4) Export with C-e o o

5) Contents of *Messages* buffer is:

<= div>
For information about GNU Emacs and the GNU system, type C-h C-a.<= /div>
LaTeX to MathML converter not available.
Formatting LaT= eX using verbatim
OpenDocument export failed: FIXME: Unable to re= solve (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 :con= tents-end 69 :post-blank 0 :post-affiliated 53 :parent #2) #("See &quo= t; 0 4 (:parent #3)) (link (:type "fuzzy" :path "eq:foo"= ; :format bracket :raw-link "eq:foo" :application nil :search-opt= ion nil :begin 57 :end 67 :contents-begin nil :contents-end nil :post-blank= 0 :parent #3)) #(".
" 0 2 (:parent #3))))))

--0000000000008a89e40575818acb--