Thread: FB2 and TOC
View Single Post
Old 12-05-2009, 08:14 AM   #4
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
I've committed a change that will allow for TOC to be created. It still needs work but it's a start. The text is broken into sections based on h1 tags and the h1 tags themselves are turned into <title> for the section. From what I've found there is not actual TOC for FB2 it is generated dynamically based upon the presence of <section><title>text</title>. It's limited right now because the entire FB2 output code needs to be rewritten. Once that is complete this will work better.
user_none is offline   Reply With Quote