emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: [bug] problem with odt export with latex \ref
Date: Tue, 22 Nov 2011 17:06:17 +0000	[thread overview]
Message-ID: <87d3ckf5o6.fsf@ucl.ac.uk> (raw)

Hello all,

Herbert's recent posting of a link to a video showing off the ODT
exporter, I decided it was time I finally tried this out.  I can export
a document with no errors but when I try to open the document in
libreoffice, I get a dialog box with an error message:

,----
| Read error.
| Format error discovered in the file in sub-document content.xml at
| 302,64(row,col).
`----

The lines (in a test org file) in question are these:

--8<---------------cut here---------------start------------->8---
  We have solved the optimisation problem,
  eq. \ref{eq:optimisation-problem}, using the /Strawberry/
--8<---------------cut here---------------end--------------->8---
 
and the generated xml (lines 301-302) is:

--8<---------------cut here---------------start------------->8---
  We have solved the optimisation problem,
  eq. <text:sequence-ref text:ref-name="eq:optimisation-problem"<text:span text:style-name="Emphasis">>, using the /Strawberry</text:span>
--8<---------------cut here---------------end--------------->8---

The problem appears to be with the latex \ref{eq:optimisation-problem}
entity.  I am happy if these are not properly translated but it would be
great if an error did not preclude loading the resulting ODT file.

Many thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1
: using Org-mode version 7.7 (release_7.7.583.gedef1)

             reply	other threads:[~2011-11-22 20:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22 17:06 Eric S Fraga [this message]
2011-11-23  0:36 ` [bug] problem with odt export with latex \ref Jambunathan K
2011-11-23 18:04   ` Eric S Fraga

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=87d3ckf5o6.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --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).