I have two pages of indexes, but I am unable to switch them to index style over from default page style. If I try, the First Page page style of the page before the index pages turns into an index instead. Please do help! Here’s a copy of the file in question.
In addition to @anon87010807’s explanation, here are some rules of thumbs.
Styles, whether paragraph or page, affect the range of text between two boundary points.
For paragraphs, the obvious boundaries are paragraph marks. Thus, we “simplify” by saying paragraph styles apply to a paragraph because paragraph marks are always present between paragraphs.
The case of page styles is a bit more complex (but not that much). You would object that page boundaries are also always present because Writer slices your text into pages. But there are three kinds of page boundaries:
- “flow-induced” page breaks, created by Writer when it allocates a page
- “ordinary” user page breaks (e.g.
Ctrl
+Enter
) - “forcing” page breaks
I call forcing a page break inserted withInsert
>More Breaks
>Manual Break
where you specify explicitly a page style after the break. The same happens when you designate a page style in theText Flow
tab of a paragraph style.
Only “forcing” page breaks define boundary points regarding page styles.
Consequently, if you need/want different page “geometries” in parts of your document, you must create, one way or other, page boundaries so that page styles affect only one part instead of the whole document.
PS: had a look at your document after answering.
Your various sections are useless: you don’t change any property of the current page style, therefore they are not needed. They even may impede document reliability. You already have Zotero with its companion plague.
I thought I’d removed the sections, that was from when I was trying to fix my table of contents from that previous series here.
I’ll try adding a manual break at the end, I need the contents pages to not have any page numbering.
Is it also possible to add interleaf pages using manual breaks without changing the page number of the other pages?
I need to add interleafs before each First Level Heading as per the format I was given, but I also need those to not interfere with my page numbering. As in, if there’s an interleaf between Keywords on Page 2, and Introduction; I still want Introduction on page 3.
You can add unnumbered interleaf pages wherever you want.
I suggest you create a dedicated paragraph style for that, even if your interleaf pages are blank (e.g. not even a title in the middle). The paragraph style will have the forcing page break “before” to the interleaf page style. Thus, your process is fully automated: you only assign the paragraph style to an empty paragraph and everything else comes “for free”.
Since your interleaf pages are always followed by a Heading 1 paragraph, you restore the “normal” page style through a forced break “before” to it in Heanding 1 Text Flow
tab.
Unfortunately, there is no way to “freeze” the page number. You can force it to restart after a page break but the value is absolute. This is commonly used to start a new part at 1, such as to number TOC and Indexes from 1 (generally Roman numbering to make a clear difference with the main part).
What you’d need here is the ability to request a relative number like -1 or -2 if your chapters are required to start on right pages. But this is not possible.
The only possibility is a manual one but I strongly discourage it because it brings more problems than a solution. In this manual procedure, the page breaks are no longer part of paragraph styles; they must all be done manually as Insert
>More Breaks
>Manual Break
where you specify both the new page style and page number.
You are then responsible for correctly numbering your pages. When you edit a chapter, if this changes the number of pages in the chapter, you man must review all subsequent page breaks to fix the number.
There may be another possibility but it will require a change in the TOC entry structure. Number your pages as <chap_no>-<page_no>, restarting page number at 1 at the beginning of every chapter.
The chapter number does not forward to the TOC captured page number but you can add it to level 1 entries (chapter level) as "E#
- #
" instead of simply #
. Don’t do that for other levels because E#
is the full number like 2.3.1. It is enough to repeat the chapter number in the Contents 1 line and only display the relative page number in other entries for the chapter.
You need also to modify the Alphabetical Index entry structure. Using "E#
- #
" here will show the full chapter numbering reference followed by the relative page number.
It is up to you to decide depending on your graphical charter and in-house conventions.
The body of my document is finalised, so I might be able to do the manual break. I cannot adjust my TOC numbering or my page numbering from how it is currently, even such a simple change as shifting it to the header instead of the footer was frowned upon. but honestly, I might be able to get away with just not bothering with the interleaf at all in the soft copy, and manually inserting them at the print shop. I’ll have to confirm that with my head.
In any case, I will experiment with inserting the interleafs manually. I should probably create a new page style specifically for interleafs, too.
Thank you!
You are doing fine. The Index page style is intended only for an alphabetical index, not for a table of contents, even if that’s also called an index.
That said, you need to be careful how you apply a page style. It’s very different from applying paragraph styles or character styles. A page styles is automatically applied to a range of pages, until the first point in the document where the page style is explicitly defined. Don’t use them if you don’t really need them. And you only need them if you want different content in headers or footers, page orientation, etc.
I do need different footers on my table of contents from my document body, the ToC mustn’t have page numbering