emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] problem with odt export with latex \ref
@ 2011-11-22 17:06 Eric S Fraga
  2011-11-23  0:36 ` Jambunathan K
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2011-11-22 17:06 UTC (permalink / raw)
  To: emacs-orgmode

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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bug] problem with odt export with latex \ref
  2011-11-22 17:06 [bug] problem with odt export with latex \ref Eric S Fraga
@ 2011-11-23  0:36 ` Jambunathan K
  2011-11-23 18:04   ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Jambunathan K @ 2011-11-23  0:36 UTC (permalink / raw)
  To: emacs-orgmode


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

-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bug] problem with odt export with latex \ref
  2011-11-23  0:36 ` Jambunathan K
@ 2011-11-23 18:04   ` Eric S Fraga
  0 siblings, 0 replies; 3+ messages in thread
From: Eric S Fraga @ 2011-11-23 18:04 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs-orgmode

Jambunathan K <kjambunathan@gmail.com> writes:

> This should be fixed now.
>
> The problem was triggered because of inter-mixing label references and
> the italics style in the same line.

Brilliant, thanks!  Works now.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-23 19:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-22 17:06 [bug] problem with odt export with latex \ref Eric S Fraga
2011-11-23  0:36 ` Jambunathan K
2011-11-23 18:04   ` Eric S Fraga

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).