Contents | Start | End | Previous: KB0126: How can I optimise Jutoh performance? | Next: KB0128: How do I convert an ODT file to a Microsoft Word file?


KB0127: Why does my page style stop working after the first chapter in ODT?

See also:
Creating OpenDocument files for print and PDF in the Jutoh manual
How do I use Jutoh with print on demand services?

When using different headers and footers for the same page style in order to achieve a different first page for a chapter, there is a restriction that a page style for one section must have a different name from the page style for the previous section, or the word processor will only consider there to be one 'first page' in the whole sequence of chapters, not for each chapter. So the second chapter onwards may get an unwanted header or footer on the first page.

To work around that, create two styles: one for the first page in the chapter, and another for the other pages in the chapter. In your first-page style, set the Next style field to the name of the other style. Now select the first-page style as the Style name in the section properties Page tab. You can check Repeat page for subsequent sections to avoid having to set the style for all chapters.

You will need to do this anyway if you are using OpenOffice, because OpenOffice doesn't have the concept of different first-page content except by using two styles.


Contents | Start | End | Previous: KB0126: How can I optimise Jutoh performance? | Next: KB0128: How do I convert an ODT file to a Microsoft Word file?