Quote:
Originally Posted by ksimpson1986
but when i go to "generate TOC", there's nothing there. just a blank window. i'm not sure why it's linked...but it's not linked? i have no clue. this is the one thing with Sigil that's blowing my mind. i feel so limited with this.
|
As theducks mentioned, Sigil's "
Tools - Table of Contents - Generate Table of Contents" is helpful + works when you have a document that is properly marked up using the <h1-h6> tags. Like this:
It won't be able to automatically generate a TOC for you if you have code using <p>s and <div>s like this (I ripped this out of one of the latest InDesign EPUBs I worked on):
Quote:
Originally Posted by ksimpson1986
I'm having an odd issue with this though, if i can figure out how to attach an image with this i'll show you, but i have about 1000 TOC entries that are linked and work correctly.
|
Ok, from your images I can tell that this is some really rotten code that InDesign created (both for the HTML TOC + the TOC.NCX).
We might be able to salvage something meaningful and better using Regex + digging into the nitty gritty.
Mind sharing this EPUB on the board? Or if it is copyrighted, would you mind putting the EPUB on a filesharing site (Google Drive, etc. etc.) and sending me a link via PM?
Side Note: I also can't see much of a reason WHY this specific book would need a TOC nested four deep (Month -> Month Day# -> Title -> Bible).
Are there multiple sermons per day, or multiple Bibles under each day?
I think it would be better organized by condensing the Month Day# + Title... and maybe the Bible in there too.
Original:
- January
-- January 1
--- Say Goodbye to the Past and Hello to the Future!
---- —Philippians 3:13
Potential #1:
- January
-- January 1: Say Goodbye to the Past and Hello to the Future!
--- —Philippians 3:13
Potential #2:
- January
-- January 1: Say Goodbye to the Past and Hello to the Future! (Philippians 3:13)