View Single Post
Old 03-21-2007, 10:09 AM   #3
Plowman
Member
Plowman began at the beginning.
 
Posts: 17
Karma: 24
Join Date: Mar 2007
Device: PRS-500
When I end up with an ebook where the formatting is totally cheesed, I usually end up converting it to text, and then writing a quick PERL or PHP script to re-format it for me. I had a book recently (Brother Odd I believe) which had the hard line-breaks, and page numbers and such throughout the text. Seven lines of scripting completely fixed the formatting including re-joining paragraphs which spanned page breaks, indenting paragraphs, fixing chapter marks, etc. Doing that sort of thing isn't too difficult once you get the hang of it. Since I run into that infrequently I typically just modify the script for the book instead of writing a full blown tool to handle a myriad of formatting issues.
Plowman is offline   Reply With Quote