Thread: LRF output
View Single Post
Old 08-17-2008, 07:48 AM   #730
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
Quote:
Originally Posted by pepak View Post
So maybe my TOC-creating issues are actually not a result of one specific header not getting detected but a result of NO header getting detected and instead creating TOC from the links.
Indeed. When I disabled table generation from links (--no-links-in-toc), no items appeared in LRF-TOC. The problem is that I just can't seem to generate ANY LRF-TOC when --no-links-in-toc is used.
Code:
<h2 id="chapter-2">Something or another</h2>
Code:
any2lrf.exe --force-page-break-before-tag=h2 demo.htm
I guess this is not worthy of a ticket - it's probably not a bug, just my misunderstanding of how chapter detection works. I would appreciate some pointers.

I have generated a demo HTML file for the rest of the issues and will create a new ticket shortly.
pepak is offline   Reply With Quote