From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: pagebreak Date: Tue, 26 Jul 2016 16:30:52 -0400 Message-ID: <87h9bc5egz.fsf@alphaville.usersys.redhat.com> References: <87fuqxmtlp.fsf@mat.ucm.es> <20160725214525.713e41eb@x121e.fritz.box> <874m7dwj3w.fsf@mat.ucm.es> <87lh0pcsqc.fsf@alphaville.usersys.redhat.com> <87mvl48auu.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS90Y-00025Y-Az for emacs-orgmode@gnu.org; Tue, 26 Jul 2016 16:31:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bS90Q-0000E7-Q7 for emacs-orgmode@gnu.org; Tue, 26 Jul 2016 16:31:18 -0400 Received: from plane.gmane.org ([80.91.229.3]:46904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS90Q-0000Dm-5A for emacs-orgmode@gnu.org; Tue, 26 Jul 2016 16:31:10 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bS90O-0003qi-SF for emacs-orgmode@gnu.org; Tue, 26 Jul 2016 22:31:08 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jul 2016 22:31:08 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jul 2016 22:31:08 +0200 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" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Uwe Brauer writes: > > Uwe Brauer 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:parent-style-name="Text_20_body"> > > > > > > - export page.org again. The resulting odt has *no* pagebreak. I > attach, page.org, page.odt and styles.xml. > > Can you try the attached styles.xml? I just moved the style to another place and I get the page break (whereas I did not get it with your original styles.xml). But I really don't know the rules: somebody else might be able to offer some enlightenment (assuming that it even works). --=-=-= Content-Type: text/xml; charset=utf-8 Content-Disposition: attachment; filename=styles.xml Content-Transfer-Encoding: quoted-printable Content-Description: styles.xml / / =20 --=-=-= Content-Type: text/plain -- Nick --=-=-=--