https://bugs.documentfoundation.org/show_bug.cgi?id=136187
--- Comment #4 from Alexander Polkhovskiy <[email protected]> --- (In reply to BogdanB from comment #3) > I think is NOT about TOC. > I have simplified the document. And this simple document it is showing in > the bottom Page 1 of 3 (Page 1 of 2 to print). Somewhere there is a page 3. > I think this is the problem and not the TOC. > > Or maybe the problem is that the Page break is inserted with Page Position > "Before". After you have wrote it, I noticed, that "somewhere there is a page" 2, not 3. And it is the page after 1 and before 3 - even page 2, that isn't visible. If you change Page break's start Page number to any even number, everything works fine. And there is a bug about even virtual page automatically added and counted by "Show page number" variable if you break an odd page. But this time "Page" field and TOC count pages differently - and this happens only in particular case. -- You are receiving this mail because: You are the assignee for the bug.
