View Single Post
Old 08-06-2009, 03:17 PM   #64
wodin
Illiterate
wodin ought to be getting tired of karma fortunes by now.wodin ought to be getting tired of karma fortunes by now.wodin ought to be getting tired of karma fortunes by now.wodin ought to be getting tired of karma fortunes by now.wodin ought to be getting tired of karma fortunes by now.wodin ought to be getting tired of karma fortunes by now.wodin ought to be getting tired of karma fortunes by now.wodin ought to be getting tired of karma fortunes by now.wodin ought to be getting tired of karma fortunes by now.wodin ought to be getting tired of karma fortunes by now.wodin ought to be getting tired of karma fortunes by now.
 
wodin's Avatar
 
Posts: 10,279
Karma: 37848716
Join Date: Mar 2009
Location: The Sandwich Isles
Device: Samsung Galaxy S10+, Microsoft Surface Pro
Quote:
Originally Posted by alxab View Post
Looks like it. If my theory is correct a txt file needs to be prepared before loading by doubling-up every hard return. That will retain the text structure where a single break was supposed to be. If there is an empty line in the original text (2 breaks) this method will insert 4 breaks. We don't know how their algorithm treats 4 returns. We might end up with large gaps in place of empty lines. In this case simple doubling won't help. Some extra steps are needed to fix it.

Anyway, I don't want to convert every simple standard text file into something else. I would rather fool around with outdated Gutenberg files if I need them. Here is how:
1. Replace every double break with some placeholder (like "@@@");
2. Only single breaks are left at line ends. Replace each of them with a space.
3. Replace every "@@@" with a break. That will create line breaks where they are supposed to be.
4. Load into JetBook and enjoy.

Not perfect, but good enough. A simple Word macro will automate the whole procedure.

So, Ectaco, give us our text files back!
I'm not sure about Word 2007, but the old ones used to have a "Format All" command that would do that.
wodin is offline   Reply With Quote