![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2007
Device: sony reader 505
|
Proj Gut Books to sony formatting
Hi there, i am new and i am sure this has been addressed before. But when i try to put a .txt file of a book (richardson's Pamela in this case) The reader formats it, but there are returns after every line, so the text is all broken up like this...
I have great trouble, and some comfort, to acquaint you with. The trouble is, that my good lady died of the illness I mentioned to you, and left us all much grieved for the loss of her; for she was a dear good lady, and kind to all us her servants. Much I feared, that as I was taken by her ladyship to wait upon her person, I should be quite Is there an easy fix to this problem? I tried to download the html version and put it into pages (oh yeah, i am mac only) and manually format, but this was tedious and did not work well. thanks for any replies |
![]() |
![]() |
![]() |
#2 |
Gizmologist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
|
Stingo's word macro is a good place to start.
![]() Also, if the texts you're after are available as RTF or HTML those formats might be a better starting place for you as they tend to have less of that sort of problem. ![]() And of course, if the books you're after have been uploaded here, then you're golden. ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 153
Karma: 799
Join Date: Dec 2007
Device: sony prs505
|
This has been an issue in form or another since the dawn of word processing. And as such there has been a fairly good and easy solution since shortly thereafter. Assuming you have Word or some other reasonably competent word processing program all you need do is:
1) Open the file in the word processor. 2) Using the search and replace feature in the program search for each occurrence of "double return" "^p^P" (the end of a paragraph) and replace it with a character not used in the text (I find that the tilde "~" or the accente "`" two useful characters) also the search string for a return, at least in Word is "^p" no quotes of course. 3) Now do a search and replace of all remaining "single return" "^p" and replace them with a space. 4) Do a search for two spaces and replace them with single spaces. 5) Finally do a search for the special character used in step two and replace them with two returns. 6) Save the file |
![]() |
![]() |
![]() |
#4 | |
Banned
![]() Posts: 17
Karma: 10
Join Date: Aug 2007
Device: sony reader prs-500
|
book designer idiot!
Quote:
Edited to remove offensive language. Last edited by Patricia; 12-18-2007 at 06:47 PM. Reason: Profanity removed. |
|
![]() |
![]() |
![]() |
#5 | |
Banned
![]() Posts: 17
Karma: 10
Join Date: Aug 2007
Device: sony reader prs-500
|
book designer idiot!
Quote:
Edited to remove unnecessary bad language. Last edited by Patricia; 12-18-2007 at 06:46 PM. Reason: Profanity removed. |
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[KOBO] Strip existing formatting to apply my own default formatting to all books | digital_steve | Calibre | 2 | 08-10-2010 06:34 PM |
Books losing their formatting... | Shiren | Sony Reader | 38 | 05-24-2010 12:42 PM |
Programming / Technical Books Formatting | acetech | Calibre | 0 | 11-22-2009 01:19 AM |
Formatting Books | PieOPah | Sony Reader | 20 | 11-15-2008 12:10 PM |
Sony Ebookstore: US only books, and books with formatting problems | FligMupple | Sony Reader | 6 | 09-26-2008 05:34 PM |