View Single Post
Old 05-04-2009, 12:56 PM   #5
Elsi
Wizard
Elsi is a glorious beacon of lightElsi is a glorious beacon of lightElsi is a glorious beacon of lightElsi is a glorious beacon of lightElsi is a glorious beacon of lightElsi is a glorious beacon of lightElsi is a glorious beacon of lightElsi is a glorious beacon of lightElsi is a glorious beacon of lightElsi is a glorious beacon of lightElsi is a glorious beacon of light
 
Elsi's Avatar
 
Posts: 2,372
Karma: 12000
Join Date: Jan 2008
Location: Texas, USA
Device: Kindle; Sony PRS 505; Blackberry 8700C
Quote:
Originally Posted by yuki86 View Post
this doesn't solve my problem, i need books from:

pdb>txt>lrf (pdb2txt than calibre - txt to lrf)
I don't know what's in the .pdb file, so cannot comment on it. But in a plain text file, what do you look at (with your eyes when you browse the file) that tells you it's a new chapter? Are there a unique number of blank lines (i.e. consecutive "new line" characters) before the new chapter? Is it the word "Chapter"? I would think that you'd be able to set up a regular expression in Calibre that would catch one of those to indicate the beginning of a new chapter.

But, plain text files just do not lend themselves to an easy way to automatically detect a new chapter -- it's all text. A marked-up file in HTML is simply easier to deal with.
Elsi is offline   Reply With Quote