Quote:
Originally Posted by KevinH
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
...