I’m having trouble with the Heading numbers not working properly in one of my chapters in LibreOffice 7.4.2.3.
I have a master document and several separate chapters that are included into the master document. Each chapter document has the form: (pretend the leading “x” is not there, otherwise this site’s markdown wants to renumber.)
x 1. Heading1
chapter n text
x 1.1 Heading2 (optional)
…
The master document, after updating everything, shows:
x 1. Chapter 1 title
x 2. Chapter 2 title
x 1.1 Chapter 2 heading 2 title
x 1.2 chapter 2 heading 2 title
…
x 3. Chapter 3 title
x 3.1 Chapter 3 heading 2 title
…
All the other chapters, starting with #3, are numbered correctly. BTW, Chapter 1 happens to have no level 2 headers. (It’s an intro chapter.)
I have copied the Styles and Chapter Numbering from one of the chapters into the chapter 2 document (as well as all the chapters), but that doesn’t change the Heading2 numbers for chapter 2.
I set the chapter numbers via Tools->Chapter Numbers in all my chapters and my master document to use the hierarchical, numeric numbering scheme (1, 1.1, 1.1.1, etc.)
Update: If I move chapter 3 in front of chapter 2, I get the following numbering:
x 1 Heading 1 title
x 1 Heading 1 title from ch 2 (this should be numbered 2)
x 1.1 Heading 2 title (this should be numbered 2.1)
x 1.2 Heading 2 title (this should be numbered 2.2)
x …
x 1.9 Heading 2 from ch 3 (this should be numbered 2.9)
x 2 Heading 1 from old chapter 2 (this should be numbered 3)
x 1.9 Heading 2 title (this should be numbered 3.1)
x 1.10 Heading 2 title (this should be numbered 3.2)
…
x 2 Heading 1 from ch 4 (this should be numbered 4)
x 2.1 Heading 2 from ch 4 (this should be numbered 4.1)
So, my guess is that something in Ch1 is not setting the chapter numbering correctly, because either file as ch 2 gets numbered 1.
Also, something in my old ch 2 is not resetting the Heading 2 numbers!
Any idea what’s wrong?
Looking at another bug, somebody was messing with the Outline numbering, but I haven’t touched that.