From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: question about ODT export behavior Date: Wed, 13 Jul 2011 22:25:37 +0530 Message-ID: <817h7mce7q.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:32991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh2ic-0000Gn-I7 for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 12:55:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qh2iZ-0002uf-Ru for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 12:55:26 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:53046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh2iZ-0002uH-7k for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 12:55:23 -0400 Received: by pvc12 with SMTP id 12so5782788pvc.0 for ; Wed, 13 Jul 2011 09:55:21 -0700 (PDT) In-Reply-To: (Rainer Stengele's message of "Wed, 13 Jul 2011 15:20:07 +0200") 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: Rainer Stengele Cc: emacs-orgmode@gnu.org Rainer Stengele writes: > Hi, > > having this in an org file: > ---------------------------------- > * Test > ** header 2 > - item 1 > * subitem 11 > * subitem 12 > - item 2 > * subitem 21 > * subitem 22 > ---------------------------------- Could you please post your complete #+OPTIONS line - specifically the `H: ' and `toc: ' option? How exactly are you exporting - Are you exporting the file, a subtree, region etc etc? What interactive command are you using for export? > and exporting to ODT I get (I simply copied the Org doc contents via clipboard) I get this: > > ---------------------------------- > Test > Table of Contents > 1. header 2 > 1. header 2 > item 1 > > subitem 11 > > subitem 12 > > item 2 > > subitem 21 > > subitem 22 > ---------------------------------- > > Why do I get extra lines between the items and subitems? This is beacause there is an explicit line break at the end of the list items. If you open content.xml and remove the and save the buffer, does the altered odt file match your expectations. If you export the above outline with the same settings, does the HTML exporter also introduce
at the end of the list items? odt exporter is a derived from the html exporter and mimics the HTML exporter mindlessly. I believe the line breaks can be removed. Once I get the relevant details from you I can post a patch after a closer look. > Where or how can I adjust the behaviour of the exporter? > > I'll attach the org file. > > - Rainer > --