emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [bug] problem with odt export with latex \ref
Date: Wed, 23 Nov 2011 06:06:07 +0530	[thread overview]
Message-ID: <81hb1vn094.fsf@gmail.com> (raw)
In-Reply-To: <87d3ckf5o6.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Tue, 22 Nov 2011 17:06:17 +0000")


This should be fixed now.

The problem was triggered because of inter-mixing label references and
the italics style in the same line.

> 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:
>
>   We have solved the optimisation problem,
>   eq. \ref{eq:optimisation-problem}, using the /Strawberry/
>  
> and the generated xml (lines 301-302) is:
>
>   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>
>
> 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

-- 

  reply	other threads:[~2011-11-23  0:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22 17:06 [bug] problem with odt export with latex \ref Eric S Fraga
2011-11-23  0:36 ` Jambunathan K [this message]
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=81hb1vn094.fsf@gmail.com \
    --to=kjambunathan@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).