View Single Post
Old 03-28-2009, 04:08 AM   #173
mros
Junior Member
mros began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2009
Device: none
paragraph detection

I tried to convert a txt file to mobi.
The converted file removed most paragraphs. It seems that it detects a paragraph only when a double CR is found.
I looked into the txt file with an editor and I found that each paragraph correcltly ends with "0D 0A" bytes (LF CR).
Sometimes there's a double sequence (LF CR LF CR). Only this one is detected.

Mobipocket Creator, the tool provided by Mobipocket, has a "suppress single carriage returns" option.
It's useful with some txt files, having a CR at the end of every line and a double CR at the end of every paragraph. (Maybe as a result of a hard page scanning).

It seems that Calibre always suppress single CR.
I tried to convert to other formats, but I always get the same results.
Is it possible to tell it not to suppress single CR ?

BTW, Thanks for your great job !
mros is offline   Reply With Quote