View Single Post
Old 05-01-2011, 09:39 AM   #7
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Quote:
Originally Posted by tleon View Post
Hi,

I found the readme (the text is similar to the tutorial) but it is not quite clear to me.
Does it mean the stucture detection takes the files contained in the input folder as input and the files contained in the parsed folder are the output resulting from structure detection? Like this:

input folder files -- in --> structure detection -- out --> parsed folder files

If this is the case. The next question is, does structure detection work on the debug-raw file or on the other one that has a file name matching the converted book?

Concerning using only h2 it is something I did.
If I convert from pdf to mobi with only looking for h2 the second step (mobi->mobi, prelude include) still does not match prelude. So somehow somehing seems to tell the structure detection to leave an already available TOC unchanged.

Regards
Thomas
If you open a bug with the pdf I'll be happy to look at it and tweak heuristics, but aside from adding 'prelude' to the existing list of hard-coded words in heuristics there's not really much to be done without a test case.
ldolse is offline   Reply With Quote