When compiling an ePub, a table of contents is generated automatically using the Binder folder names as chapter titles.
This is great, however I would like to use for the TOC the simpler chapter names – chapter + Number (Chapter One, Chapter Two…) – I have generated to appear in the manuscript through the Compile > Formatting > Section Layout > Title Prefix command. Is there any way to generate these simpler Chapter + Number names for the ePub Table of Contents?
Sure I could do this by renaming the Binder folders, but for editing I find it most useful for the Binder folder names to actually describe the scenes in the chapter rather than a simple number.
This should already be happening as a matter of fact. If I set up folders to export a title prefix of “Chapter <$t>” and leave the Title checkbox off, then the compiled ePub file has both the HTML and XML ToC set to display “Chapter One”, “Chapter Two” and so on. Are you perhaps creating a custom HTML ToC or something?
By “leave the Title checkbox off” I assume you mean in Compile > Formatting - the title check boxes that relate to “Section Type” (Folder/File level 1 +, level 2 +, etc.).
I have done as you describe in your post - “set up folders to export a title prefix of “Chapter <$t>” and leave the Title checkbox off” - and this produces correct chapter titles in the body of the ePub book (Chapter One, Chapter Two). However the ePub TOC continues to use the folder names as they appear in the Binder.
I’m not sure how I might have inadvertently created “a custom HTML ToC or something,” but don’t think I did anything out of the ordinary as described in the compiling section of the Scrivener manual.
Yes, it sounds like you have the correct switches toggled.
This probably doesn’t matter, but what are you using to read the e-book files? What might matter is: does the software have a library feature, and are you perhaps viewing the same old compile over and over instead of the new ones? Try making sure all instances of the book are deleted from the software’s library, restart it the software, and then import a freshly compiled .epub file.
Also are you up to date with Scrivener? I don’t recall specifically, but perhaps at some point in the past things worked differently here.