[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] pagebreak
From: |
Uwe Brauer |
Subject: |
Re: [O] pagebreak |
Date: |
Tue, 26 Jul 2016 19:20:41 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> Uwe Brauer <address@hidden> writes:
> Did you add the PageBreak style (mentioned in the hint on the above
> page) to your styles.xml? Check the value of org-odt-styles-dir for
> where that file is read from.
Hm, I was not sure about that part, so first did it without a modified
styles.xml, but then I tried it with that option. It did not work
neither. Here are the steps I did.
- first create a dummy.org file with just one line,
- export it to dummy.odt
- unzip the odt which results in various xml, one of them is the
file styles.xml,
- take it as a template.
- add to the file page.org the following line
#+ODT_STYLES_FILE: "/home/oub/test/styles.xml"
- add to the file styles.xml the lines
<style:style style:name="PageBreak" style:family="paragraph"
style:parent-style-name="Text_20_body">
<style:paragraph-properties fo:break-before="page"/>
</style:style>
- export page.org again. The resulting odt has *no* pagebreak. I
attach, page.org, page.odt and styles.xml.
Uwe Brauer
page.odt
Description: application/vnd.oasis.opendocument.text
page.org
Description: Text Data
styles.xml
Description: application/xml
- [O] pagebreak, Uwe Brauer, 2016/07/25
- Re: [O] pagebreak, Robert Klein, 2016/07/25
- Re: [O] pagebreak, Uwe Brauer, 2016/07/25
- Re: [O] pagebreak, Nick Dokos, 2016/07/25
- Re: [O] pagebreak,
Uwe Brauer <=
- Re: [O] pagebreak, Nick Dokos, 2016/07/26
- Re: [O] pagebreak, Uwe Brauer, 2016/07/26
- Re: [O] pagebreak, Leslie Watter, 2016/07/27
- Re: [O] pagebreak, Nick Dokos, 2016/07/27
- [O] Gmane problems [was: Re: pagebreak], Nick Dokos, 2016/07/28
- Re: [O] pagebreak, Uwe Brauer, 2016/07/26