From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: [bug] problem with odt export with latex \ref Date: Tue, 22 Nov 2011 17:06:17 +0000 Message-ID: <87d3ckf5o6.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSwiz-00074O-BG for emacs-orgmode@gnu.org; Tue, 22 Nov 2011 15:13:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSwiy-0008Lh-4Z for emacs-orgmode@gnu.org; Tue, 22 Nov 2011 15:13:49 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:36795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSwix-0008LX-Sq for emacs-orgmode@gnu.org; Tue, 22 Nov 2011 15:13:48 -0500 Received: from [85.210.131.102] (helo=localhost) by vscane-b.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1RSwis-0000FX-R7 for emacs-orgmode@gnu.org; Tue, 22 Nov 2011 20:13:42 +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 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. >, using the /Strawberry --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)