On 14/11/2019 07:58, Dave Barton wrote:
I have set up chapter numbering as per the help page
https://tinyurl.com/vsq77lu and created a "New Chapter" page style.

After inserting a manual page break with the "New Chapter" page style I
set the first paragraph style to "Heading 1" and the correct chapter
name/number is displayed both on the page and in Navigator.

However, when I insert a TOC into the document no chapters appear in the
index.

Any thoughts or pointers would be welcome.

Thanks Dave
Hi Dave,

Looking at your original document, it is clear that in the chapters you have 
created, all that appears in the heading of each chapter is the 'Before' and 
'After' elements that you have specified in the dialog box of Tools > Chapter 
Numbering. As Regina states in her reply, you have not typed anything of your own 
invention.

Directly after Chapter 1, in the H1 heading above your text, type for example 
'The Start'. Then right click in the TOC and select 'Update Index' and watch 
'The Start' appear directly after Chapter 1 and before the long line of dots 
leading to the page number (3).

The instructions you repeated from the help pages do work. Your later specially 
created test doc has a problem between the TOC and the first line - don't know 
what it is but when I created a similar file, leaving lots of space between the 
TOC and the body, it works perfectly.

But you must, as Regina says, add some sort of title to your chapter heading, 
even a blank space.

hth
Philip

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to