Hi Thomas, Your post brought back bad memories of when I was setting up a TOC for a book. I found the whole subject of levels difficult to manipulate but I also did not want or need a mini-toc at the start of each chapter.
I've just revisited the subject and it looks like what you need is to make the chapter toc start at level 2 but there seems to be no way to eliminate level 1. I did find that I could stop level 1 being displayed though. First I created the toc selecting Insert > Table of Contents. Then on the Type tag : leave the Title box empty, select For=Chapter. Then on the Entries Tab : select Level1 and work on the displayed Structure. I clicked the cursor in each element (LS, N, E, T, #, LE) and hit the Delete key on the keyboard. Then clicked the OK button. When all those elements were deleted, the toc displayed at the beginning of the chapter with only h2 and below. It does leave a blank paragraph where the level 1 should have been displayed. This can be manually deleted if you deselect the 'protect against manual changes' on the Type tag. Otherwise you can play with the margins in your chapter heading style to get an acceptable spacing. Maybe this will help? Philip On 04/10/2024 09:52, Thomas Blasejewicz wrote:
Good afternoon I am sorry to bother the list, but I am writing a book and have been toiling literally for weeks now, but still cannot manage to make the "Table of Contents" function work. At least not properly. Here is what I did. Windows 10, LO 7.6 and 24.8 I am trying to put a TOC that shows ONLY the chapter names at the beginning of the book, somehow managed to do that now, and then separate TOCs showing the sections in that particular chapter. Defined (1) chapter heading to indicate the chapter breaks (2) different style for a subheading given the name of the chapter - so to prevent it appear in the main TOC twice (that always happened in the beginning) (3) heading for individual sections within each chapter (4) heading for subsections in each chapter These styles use too big font and/or spacing, so I created separate styles to represent the above styles in the TOC. Have registered the four styles under Tools -> Heading numbering. In my attempts at setting up the TOC for individual chapters I selected the styles that should appear in the TOC both under "Type" and "Styles" For 1-2 chapters I think I succeeded, but in other chapters I get: chapter title followed by the TOC, but at the top of the TOC there is again the chapter name = redundant. As I said, for 1-2 chapter TOCs I managed to get something WITHOUT the chapter name (in a funny style), but trying to apply the exact same setting for other chapters gives me the choice 1) TOC with redundant chapter name or 2) TOC showing ONLY the redundant chapter name. I tried just about every conceivable setting / combination of these styles, but just cannot get rid of those redundant chapter names. Printed the documentation, underlining things probably important, but probably I am just too stupid. If anybody could point me to this ONE trick, I would be eternally grateful. Thank you Thomas
-- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ <https://le-theron.com> author of "The Circle of Fifths" for improvising musicians Get it here https://www.books2read.com/u/bWnRM4 auteur : "Le Cycle des Quintes" pour musiciens improvisateurs disponibilité : https://www.books2read.com/u/bw8rv9 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -- To unsubscribe e-mail to: [email protected] 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
