I’m looking for suggestions or templates for formatting multi-part books in Writer. I also plan to use the option to export to EPUB when I’m done. It’s pretty straightforward to write books with regular chapters by formatting the chapters as “Heading 1”, but if the book parts use that first heading instead, then the EPUB export puts all of its chapters (formatted as “Heading 2” in the same continuous section and chapters reset as 2.1, 2.2, etc. I just want single pages to mark the major parts of the book without affecting the chapter numbering and sectioning in EPUBs.
I’m pretty new to using styles in Writer, but after a few hours of reading and tinkering, I think I know how to format everything the way that I want. The only problem now is organizing it in a way that ToC generation and EPUB export work as expected.
@ajlittoz:
To clarify: I’m trying to assign the right type of headings/styles so that everything indexes properly and gets split up into sections properly when exporting to EPUB. Consider the following layout:
- Title (title page using Title)
- Prologue (Heading 2)
- Part I (Heading 1)
- Chapters 1 - 7 (Heading 2)
- Part II (Heading 1)
- Chapters 8-12 (Heading 2)
- Part III (Heading 1)
- Chapters 13-18 (Heading 2)
If this gets exported to EPUB, it gets split into sections as follows:
- section001: Title page, Prologue
- section002: Part I, Chapters 2-7
- section003: Part 2, Chapters 8-12
- section004: Part 3, Chapters 13-18
I’d rather have each part (intro page) and chapter have it’s own section file. Also, the reason I set Prologue as “Heading 2” instead of “Heading 1” was because they look similar to the chapters and because they are followed by regular text. The “Part” pages are just single pages introducing the major divisions in the book. Even if the Prologue is changed to “Heading 1”, the chapters are still grouped under their respective parts as one continuous file.