07-19-2011, 03:55 PM | #1 |
Addict
Posts: 254
Karma: 59872
Join Date: Dec 2009
Location: New York, USA
Device: Kindle 3 (wifi) + nokia n900 tablet phone
|
Heuristics missing a dash in chapter names
I'm using the heuristic processing to detect unmarked chapter headings in specific books. It's working like a charm except it missing chapter names with a dash in them.
ex: Chapter Twenty-two It will find chapter twenty and chapter thirty in the same book, just not twenty-one to twenty-nine. Converting from lit and rtf to epub and mobi. |
07-19-2011, 10:45 PM | #2 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
I seem to recall seeing that, but thought that had been fixed - I'll try to address it for the next release or the one following, I've been thinking about some ways to re-work the logic for chapter markup.
|
07-19-2011, 11:18 PM | #3 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
<h3 style="chapno">Chapter 5 - Meanwhile... <br /> Back in the Jungle</h3> |
|
07-20-2011, 12:35 AM | #4 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
What does it look like before and after when the <br /> gets stripped? Heuristics shouldn't touch anything already in an h3 tag, and it wouldn't write an h3 that looks like that...
To be honest I can't think of any logic in heuristics that would strip that... |
07-20-2011, 09:54 AM | #5 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I just wanted to be clear that there are uses that should not be stripped |
|
07-20-2011, 12:49 PM | #6 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Ah - that was in a different thread, hence the confusion. Anyway anything I do in that regard wouldn't touch content already in heading tags.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Chapter Marks missing! | TheStoepsel | Kindle Formats | 1 | 06-25-2011 08:41 AM |
Converting EPUB to MOBI - missing chapter markers | peartree | Amazon Kindle | 10 | 04-01-2011 06:02 PM |
Missing Chapter 3 of Emma From Preloaded Books | haitu | Kobo Reader | 9 | 05-25-2010 10:13 PM |
ADE and long chapter names in ToC | frabjous | Reading and Management | 3 | 08-14-2009 11:16 AM |
K2 v K1: Chapter-to-chapter missing from some books? | Starhawk | Amazon Kindle | 4 | 03-10-2009 06:27 PM |