View Single Post
Old 03-01-2021, 02:43 PM   #175
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
I have updated the file tutorial_generate_toc.html and attached the new version. I added a couple of notes that may not be obvious to a novice, but might be good information, i.e. excluding a heading is persistent, and HTML TOC needs to be generated after EPUB TOC.

Maybe that is overkill. You can leave them out if it looks too busy to you.

I also noticed another typo in table_of_contents.html. Just search for "stringly".

"If your chapter names do not use heading tags (h1, h2, etc.) as described above, then you will not be able to generate a TOC automatically. As heading tags are very important for Accessibility reasons you should stringly consider adding them."
Attached Files
File Type: zip tutorial_generate_toc.zip (1.1 KB, 98 views)
Banjo is offline   Reply With Quote