[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libreoffice-users] Problem with chapter numbering and TOC.


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+unsubscribe@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

References:
[libreoffice-users] Problem with chapter numbering and TOC.Dave Barton <daveb@libreoffice.org>
Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.