From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Bug in odt export of org files with footnotes Date: Wed, 29 Feb 2012 14:51:21 +0530 Message-ID: <814nuam1v2.fsf@gmail.com> References: <1330500236.1950.13.camel@quino> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2fja-00070O-6A for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 04:22:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2fjC-0006Nm-T6 for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 04:22:05 -0500 Received: from mail-pz0-f41.google.com ([209.85.210.41]:59853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2fjC-0006MW-KR for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 04:21:42 -0500 Received: by dadv6 with SMTP id v6so7762979dad.0 for ; Wed, 29 Feb 2012 01:21:39 -0800 (PST) In-Reply-To: <1330500236.1950.13.camel@quino> ("Martin \=\?utf-8\?Q\?G\=C3\=BCrt\?\= \=\?utf-8\?Q\?ler\=22's\?\= message of "Wed, 29 Feb 2012 08:23:56 +0100") 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: Martin =?utf-8?Q?G=C3=BCrtler?= Cc: emacs-orgmode@gnu.org Martin G=C3=BCrtler writes: > Hi, > > I started using the new odt export feature of org mode, and it turns out > to be very useful, and I am very pleased with the results. I am using > the latest version available with the package manager of emacs-snapshot > in debian (20120216). I am not sure what version of Orgmode this corresponds to...What does M-x org-version RET say. If Debian picks from Emacs-24.1 bzr repo then the Orgmode there is atleast 2 months old. If they are picking up from GNU ELPA, http://elpa.gnu.org/packages/ then it is likely to be fairly recent. > There, the export of documents with footnotes seems to be broken.=20 Footnote export in ODT was known to be broken[1] with the following is true: ,---- | (setq org-footnote-section nil) `---- May I know what value do you use one your end? [1] http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00124.html > A minimal document is provided at end. It exports without problems .=20 > As soon as I add a footnote (say, at the end of "The software > system...numbers:", the exported document breaks. It can still be > opened in libreoffice, but a complete section is missing.=20 Could you please try out the earlier suggestions? Providing a complete Org file (with footnotes) is necessary so that there is no confusion on what we are looking at. With a footnotes added, I was able to export just fine with the version of Org in the git repo. > In a more complex document, libreoffice crashed when trying to open > the document, and I recognised missing closing xml tags in > content.xml. To debug such issues see FAQ and Org manual. - http://orgmode.org/worg/org-faq.html#debugging-org-odt - (info "(org) Validating OpenDocument XML") You most likely need OpenDocument schema files available for validation to proceed. This you can confirm by checking the value of: C-h v org-export-odt-schema-dir or visiting the directory C-h v org-odt-data-dir ODF schema files are available from the git repo. See link below. Make sure you download the files in raw form. http://orgmode.org/w/?p=3Dorg-mode.git;a=3Dtree;f=3Dcontrib/odt/etc/schema;= hb=3DHEAD Let me know how things go. --=20