From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [bug] problem with odt export with latex \ref Date: Wed, 23 Nov 2011 06:06:07 +0530 Message-ID: <81hb1vn094.fsf@gmail.com> References: <87d3ckf5o6.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RT0p8-0001u9-Jj for emacs-orgmode@gnu.org; Tue, 22 Nov 2011 19:36:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RT0p7-0006w7-1M for emacs-orgmode@gnu.org; Tue, 22 Nov 2011 19:36:26 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:48979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RT0p6-0006vX-TK for emacs-orgmode@gnu.org; Tue, 22 Nov 2011 19:36:24 -0500 Received: by iaek3 with SMTP id k3so1250024iae.0 for ; Tue, 22 Nov 2011 16:36:24 -0800 (PST) In-Reply-To: <87d3ckf5o6.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Tue, 22 Nov 2011 17:06:17 +0000") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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. >, using the /Strawberry > > 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 --