Uwe Brauer <o...@mat.ucm.es> writes: >>>> "Robert" == Robert Klein <rokl...@roklein.de> writes: > > > Hi, > > On Mon, 25 Jul 2016 18:59:46 +0000 > > Uwe Brauer <o...@mat.ucm.es> wrote: > > >> Hi > >> > >> I would like to write an org document export it to odt, and break > >> pages manually. How can I achieve that? > >> > > > #+ODT: <text:p text:style-name="PageBreak"/> > > > See http://orgmode.org/manual/Creating-one_002doff-styles.html in the > > manual. > > Yeah, thanks, I found that solution too, but it does *not* work, here are two > example files. > > > * This is the header > > First page: > > #+ODT: <text:p text:style-name="PageBreak"/> > > * This is a header > > Second page >
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. -- Nick