Hello,
I’ve done a few searches, but can’t seem to find a topic addressing my question. I’m compiling to Kindle format, and don’t see any difference between having the “use flat list for navigable table of contents” option clicked on or off. Both give me a long flat list of every single document along with the folder names lost within that same long list.
What I’d like is for the documents within the folders to be indented so that it’s easier to orient oneself within the long ToC. Is this possible with the available settings with the compile feature? Or will I need to investigate multimarkdown to see if I can add some sort of numbering system to the titles as an alternative?
That option refers to the “navigable” table of contents only, not to the linked ToC at the start of the book. The navigable table of contents is the one you see in the sidebar in Digital Editions, or on the main screen on the Sony Reader, or in the “NCX View” in the Kindle Previewer - although I’m not sure how it’s actually accessed on the Kindle itself, if it is at all.
You can add numbering easily enough without going into MMD. If you want to number all the titles in the table of contents as well as in each section, you can set up the formatting pane in compile to add a numbered prefix to your documents by clicking the “Title Settings” button. <$hn> will use hierarchical numbering, so something indented like this
A
a
b
B
ab
would get numbered 1 A, 1.1 a, 1.2 b, 2 B, 2.1 ab. Make sure you set the prefix for all the appropriate document types and levels.
You can get it to indent by making one yourself, instead of using the auto-generated one, and using a list style. In your project, create a new document near the top called “Table of Contents” (or whatever you like, really), then in the binder or outliner select all your documents that you want to appear in the ToC. Choose Edit>Copy Special>Copy Documents as Scrivener Links and paste that into the Table of Contents document. Format it with a list style as you like. In the compile E-Book Options, for the “HTML table of contents title” enter the title of your document (“Table of Contents” in the example) and when the compile runs, it will use your custom document for the ToC.
Hi MM,
Thanks so much for the instructions on numbering and using a binder doc for the ToC. I’ve now successfully done the second, and am very pleased with the results. I’ll play around with the numbering, too.
I am new to Scrivener and am using it, for now, to generate Mobi files for documents I already had on my Mac.
A question about hierarchical TOC: I followed the above advice, but the resulting TOC was not hierarchical and each entry was followed by a “?”. Suggestions?