emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manfred Lotz <manfred.lotz@arcor.de>
To: emacs-orgmode@gnu.org
Subject: Re: export to odt
Date: Mon, 10 Jun 2013 17:42:06 +0200	[thread overview]
Message-ID: <20130610174206.4b6d910d@hogwart.bsdlocal.net> (raw)
In-Reply-To: <m2a9n17j88.fsf@uio.no>

Hi Christian,

Thanks for your reply. You pointed me in the right direction.

On Fri, 07 Jun 2013 22:35:03 +0200
Christian Moe <mail@christianmoe.com> 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

  reply	other threads:[~2013-06-10 15:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-07 14:19 export to odt Manfred Lotz
2013-06-07 20:35 ` Christian Moe
2013-06-10 15:42   ` Manfred Lotz [this message]
2013-06-11 10:33     ` Eric S Fraga
2013-06-11 19:52       ` Manfred Lotz
2013-06-12  7:33         ` Eric S Fraga
2013-06-12 17:39           ` Manfred Lotz
2013-06-13  7:37             ` Eric S Fraga
2013-06-13 10:34               ` Manfred Lotz
2013-06-14  7:07                 ` Christian Moe
2013-06-14  7:57                   ` Manfred Lotz
2013-06-14 14:51                     ` Eric S Fraga
2013-06-12  2:58       ` Manfred Lotz
  -- strict thread matches above, loose matches on Subject: below --
2011-07-06 22:26 export to ODT Henri-Paul Indiogine
2011-07-06 22:47 ` Nick Dokos
2011-07-06 23:38   ` Henri-Paul Indiogine
2011-07-07  8:19     ` Jambunathan K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130610174206.4b6d910d@hogwart.bsdlocal.net \
    --to=manfred.lotz@arcor.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).