From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: odt export to google-docs problem Date: Thu, 17 Nov 2011 15:05:54 +0530 Message-ID: <8139dnm6px.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQyOJ-0007Bd-BJ for emacs-orgmode@gnu.org; Thu, 17 Nov 2011 04:36:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RQyOH-0002bH-U1 for emacs-orgmode@gnu.org; Thu, 17 Nov 2011 04:36:19 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:46097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQyOH-0002az-O0 for emacs-orgmode@gnu.org; Thu, 17 Nov 2011 04:36:17 -0500 Received: by iaek3 with SMTP id k3so2250068iae.0 for ; Thu, 17 Nov 2011 01:36:16 -0800 (PST) In-Reply-To: (Rustom Mody's message of "Thu, 17 Nov 2011 14:43:21 +0530") 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: Rustom Mody Cc: emacs-orgmode Rustom Can you send me this odt file either on or off the list? Please make sure that the document is not resaved from Libreoffice - this is because LibreOffice rewrites XML if resaved. So send the file as soon as it is exported out of org-odt. What is the org-version? Are you exporting with a minimal emacs? Just to be sure it has nothing to do with your local configuration. You may want to check for corruption using the instructions here. (I think the ODF validator has moved elsewhere lately) ,---- | LibreOffice reports corrupt documents when the XML emitted by the | exporter is not well-formed according to OpenDocument schema. To | identify the root cause of corruption use one of the following | methods: | 1. Use an Online validator | Pass the exported document through the [[http://tools.services.open= office.org/odfvalidator/][ODF Validator]] and note | down the errors. |=20 | 2. Use Emacs' in-built validator. Immediately after exporting | 1) C-x b test.odt | 2) Open the `content.xml' file by hitting RET on it | 3) Do M-x rng-first-error | 4) Note the error message, the XML markup at the point of error | and the surrounding context. `---- Jambunathan K. Rustom Mody writes: > Here is a small file for org mode > ---------------- > #+OPTIONS: toc:nil > #+TITLE: Report > * Tue 8th > =C2=A0 - http://www.haskell.org/ > * hello > ---------------- > If I export to odt and then upload the odt to google docs, > google-docs says the file is corrupt. > > It seems to make a difference whether the EOF is immediately at the > end of "hello" or after a newline -- though not sure. > > As far as I can see files made directly by/in libreoffice upload to > google-docs without any problem > > org: 7.7 > emacs 23.3.1 > > [And in case line-endings have anything to do with it: OS: Debian/ > testing] > > --=20