From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manfred Lotz Subject: Re: export to odt Date: Mon, 10 Jun 2013 17:42:06 +0200 Message-ID: <20130610174206.4b6d910d@hogwart.bsdlocal.net> References: <20130607161909.68429640@arcor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um4EZ-0007W0-LE for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 11:42:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Um4EU-0000gR-3k for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 11:42:15 -0400 Received: from mail-in-09.arcor-online.net ([151.189.21.49]:52591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um4ET-0000c1-QR for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 11:42:10 -0400 Received: from mail-in-12-z2.arcor-online.net (mail-in-12-z2.arcor-online.net [151.189.8.29]) by mx.arcor.de (Postfix) with ESMTP id BBC8E198AA1 for ; Mon, 10 Jun 2013 17:42:07 +0200 (CEST) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-12-z2.arcor-online.net (Postfix) with ESMTP id B92522E6051 for ; Mon, 10 Jun 2013 17:42:07 +0200 (CEST) Received: from hogwart (p4FFF07E5.dip0.t-ipconnect.de [79.255.7.229]) (Authenticated sender: manfred.lotz@arcor.de) by mail-in-01.arcor-online.net (Postfix) with ESMTPSA id AB5755AB68 for ; Mon, 10 Jun 2013 17:42:07 +0200 (CEST) Received: from hogwart.bsdlocal.net (localhost.localdomain [127.0.0.1]) by hogwart (Postfix) with ESMTP id 419CF2A0F for ; Mon, 10 Jun 2013 17:42:07 +0200 (CEST) In-Reply-To: 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 Hi Christian, Thanks for your reply. You pointed me in the right direction. On Fri, 07 Jun 2013 22:35:03 +0200 Christian Moe wrote: > > Hi, > > Manfred Lotz writes: > > My question: Is there an easy way to configure the odt export to do > > a page break before switching to a Heading 1 line? In the end I > > would like to view a Heading 1 like a chapter in a LaTeX book class. > > It's easier to use LibreOffice to modify the Heading 1 paragraph style > to always have a page break before. It's an option on the Text Flow > tab on the Edit Paragraph Style dialogue. You can save the style and > reuse it, cf. 12.9.4 "Applying custom styles" in the manual. > The following worked fine: I loaded the exported odt document, changed the Heading 1 style to do a page break before the heading and saved the template as my.ott (I copied it into the ~/org directory). Then I added #+ODT_STYLES_FILE: ("/home/manfred/org/my.ott" ("styles.xml")) First I though that specifyng styles.xml is required but I'm not quite sure about it as the resulting odt files looks the same without styles.xml in the statement above. -- Thanks again, Manfred