Compiling for Kindle -Table of Contents

User avatar
Marc64
Posts: 92
Joined: Sun Dec 09, 2012 7:10 pm
Platform: Mac
Location: Bedfordshire UK

Tue Jun 23, 2020 7:31 am Post

I'm trying to compile for a Kindle ebook but I'm having issues regarding the table of contents, it 's including everything (folders & documents.

I know I can just remove the folders but the issue is that it's including the front matter. Does anyone know how to exclude specific documents from the ToC?

Thanks
Thanks in advance for your patience with this non- techie user

Scrivener 3.1.5
Mac OSX Catalina 10.15.6
Blog: https://marcfalber.co.uk/

User avatar
RobG
Posts: 149
Joined: Thu Jan 09, 2020 9:22 am
Platform: Mac

Tue Jun 23, 2020 9:00 am Post

Hi Marc,

Are you using version 2 or 3? I'll assume 3 for now.

Items get put in the ToC if the section layout they have assigned has a page break in, so if both folders and documents are bing inserted try assigning a different section type to documents and then assigning a different layout to that section type should work. For example folders are usually section type Heading and documents are type Section. Each then should have a different section layout assigned in Assign Section Layouts.

If you start reading from page 552 in the Scrivener manual (in the Help menu) it tells you how the ToC works, how to include/exclude parts of your book, and also has links to other sections of the manual which will also help.

Rob

User avatar
Marc64
Posts: 92
Joined: Sun Dec 09, 2012 7:10 pm
Platform: Mac
Location: Bedfordshire UK

Tue Jun 23, 2020 10:04 am Post

RobG wrote:Hi Marc,

Are you using version 2 or 3? I'll assume 3 for now.

Items get put in the ToC if the section layout they have assigned has a page break in, so if both folders and documents are bing inserted try assigning a different section type to documents and then assigning a different layout to that section type should work. For example folders are usually section type Heading and documents are type Section. Each then should have a different section layout assigned in Assign Section Layouts.

If you start reading from page 552 in the Scrivener manual (in the Help menu) it tells you how the ToC works, how to include/exclude parts of your book, and also has links to other sections of the manual which will also help.

Rob



Thanks Rob, that sorted me out but it appears to have led to an issue. When I compiled, it worked perfectly. I then tweaked so that it didn't generate an HTML ToC but decided to change it back but I now get the following error

Screenshot 2020-06-23 at 11.02.21.png
Screenshot 2020-06-23 at 11.02.21.png (52.53 KiB) Viewed 109 times


Screenshot 2020-06-23 at 10.57.05.png
Screenshot 2020-06-23 at 10.57.05.png (479.29 KiB) Viewed 109 times
Thanks in advance for your patience with this non- techie user

Scrivener 3.1.5
Mac OSX Catalina 10.15.6
Blog: https://marcfalber.co.uk/

User avatar
Marc64
Posts: 92
Joined: Sun Dec 09, 2012 7:10 pm
Platform: Mac
Location: Bedfordshire UK

Tue Jun 23, 2020 10:10 am Post

Scratch the above. It seems I borked it by putting 'CONTENTS' at the top of the ToC page.
Thanks in advance for your patience with this non- techie user

Scrivener 3.1.5
Mac OSX Catalina 10.15.6
Blog: https://marcfalber.co.uk/