From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Re: question about ODT export behavior Date: Thu, 14 Jul 2011 08:50:59 +0200 Message-ID: <4E1E91D3.70800@diplan.de> References: <817h7mce7q.fsf@gmail.com> <81oc0yaqes.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhFlK-00070c-3D for emacs-orgmode@gnu.org; Thu, 14 Jul 2011 02:51:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhFlG-0007NR-12 for emacs-orgmode@gnu.org; Thu, 14 Jul 2011 02:51:06 -0400 Received: from ns.diplan.de ([212.34.188.4]:59548 helo=mail.diplan.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhFlF-0007NC-RZ for emacs-orgmode@gnu.org; Thu, 14 Jul 2011 02:51:01 -0400 In-Reply-To: <81oc0yaqes.fsf@gmail.com> 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: Jambunathan K Cc: emacs-orgmode@gnu.org Am 13.07.2011 22:15, schrieb Jambunathan K: > Jambunathan K writes: > >> 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? > Looking at the code, I believe these options may not be relevant (for > the odt exporter) > > Your org file doesn't use an explicit line break or timestamps. So the > only scenario under which line breaks can occur is precisely when you > have actually requested them. > > Check this variable or the corresponding OPTIONS directive. > > > ,----[ C-h v org-export-preserve-breaks RET ] > | org-export-preserve-breaks is a variable defined in `org-exp.el'. > | Its value is nil > | > | Documentation: > | Non-nil means preserve all line breaks when exporting. > | Normally, in HTML output paragraphs will be reformatted. In ASCII > | export, line breaks will always be preserved, regardless of this variable. > | > | This option can also be set with the +OPTIONS line, e.g. "\n:t". > | > | You can customize this variable. > | > | [back] > `---- > > Yes. That was it. After changing org-export-preserve-breaks to nil the breaks are gone. Sorry, I did not know how the exporter works. I did therefore not check the export options. Again, thank you for your excellent work! Bastien, thanks for helping! Can you give me a hint where I can find some documentation about changing the styles.xml? - Rainer