View Single Post
Old 08-29-2010, 03:28 PM   #1
Fmstrat
G:RSS-Web Creator
Fmstrat began at the beginning.
 
Posts: 94
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
To MOBI, Chapter detection fails? Works for EPUB

I'm running into an odd problem. I have a LIT document, with the following contained within it:

Quote:
<h3 id="_RWTOC-5">Chapter 1</h3><h4 id="_RWTOC-6">Title of this section</h4>
When I run a conversion to EPUB using all the default settings, chapter detection works fine. (Granted, this is surprising to me since the defaults only seem to check h1 and h2 tags, but it works.)

When I try to convert the same file to MOBI, I get a blank TOC. I've tried resetting chapter detection to:

Quote:
//*[((name()='h1' or name()='h2' or name()='h3') and re:test(., 'chapter|book|section|part\s+', 'i')) or @class = 'chapter']
Basically adding h3 tags. Still no luck. Anyone know why this wouldn't be working for me? I've tried converting the EPUB to MOBI as well, with the same results.

Thanks,
B.
Fmstrat is offline   Reply With Quote