View Single Post
Old 09-28-2024, 02:55 PM   #543
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,784
Karma: 169712580
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by KevinH View Post
What is the whole point for the tool you requested? What are you trying to achieve and why? If this is for generating epubs, it seems strange to merge a nav into every html file?
Looking at the poster's previous messages, they appear to want a mini-ToC at the start of each chapter file with the sections/subsections within the file listed. I've seen a similar layout in a textbook but there I found popping up the ToC was easier to use since I didn't need to go back to the start of chapter to find the mini-ToC. Looking at the internals of the ebook, it appeared that they generated the full ToC and then copy/pasted the ToC code for each chapter into the start of the chapter.

Chapter 42
Section 01
Subsection 01-01
Subsection 01-02
...
Section 02
Subsection 02-01
Subsection 02-02
...
DNSB is offline   Reply With Quote