Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 08-06-2007, 09:29 AM   #1
buster
Member
buster began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2007
Device: sony reader
how do you fix broken senteces in BD?

When I convert from doc or rtf in book designer it all comes out with forced sentence endings which doesn't format correctly on the sony reader. There are too many to correct manually is there a way to do it automatically. the element browser detects them but won't do any thing to correct them.
buster is offline   Reply With Quote
Old 08-06-2007, 10:08 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,858
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Buster, it depends on how the DOC or RTF files are formatted. If you want to PM me a link to one of the problem files, I can take a look.
JSWolf is offline   Reply With Quote
Advert
Old 08-06-2007, 10:37 AM   #3
buster
Member
buster began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2007
Device: sony reader
Thanks..

The file is large, and I am not sure what you mean by "PM a link". I am going on holiday soon so I can't spend any time on this now. I will try reformatting in Word before importing into BD. I just thought that if the element browser detected the broken sentences then it could simply delete the line breaks but if it's a more difficult than it seems I don't have time.To fix it manually I delete the spaces between the broken sentences then add a single space, I thought there might be a way to automate this (the same way as a macro in Word).
Thanks for the fast reply.
buster is offline   Reply With Quote
Old 08-06-2007, 11:00 AM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,858
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
BD cannot tell when a sentence is broken or not. If there are hard returns in the middle of a sentence, then BD won't know they are not supposed to be there. You'll need to preformat and make sure the ends of the lines are correct.

Quote:
BD cannot tell when
a sentence is broken or not. If there are hard
returns in the middle of a sentence, then BD won't know
they are not supposed to be there.
You'll need to preformat and
make sure the ends of the lines are correct.
The above is broken and BD cannot know how to fix it.
JSWolf is offline   Reply With Quote
Old 08-06-2007, 11:34 AM   #5
Steven Lyle Jordan
Grand Sorcerer
Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.
 
Steven Lyle Jordan's Avatar
 
Posts: 8,478
Karma: 5171130
Join Date: Jan 2006
Device: none
This often happens when a file isn't properly formatted in the first place, or has been converted from one format to another not-so-compatible one. In many cases, working from the original file removes many of these kinds of problems.

When the original file isn't available, using find-and-replace can work, if you know how it should be formatted... but depending on the app (like Word), find-and-replace don't always work as they should, because Word obscures its formatting codes (even, apparently, to itself). I've occasionally found myself manually fixing entire books this way.

You might try converting the original file to other formats, some of which might make find-and-replace easier. Try converting it to a straight textfile, for instance, to strip out a lot of the extraneous code. If there's not a lot of stuff to put back, i.e., italics, bolds, etc, this can be easiest. Then import that into BD and use its find-and-replace to fix things.

If you know HTML, I've found it easy to import the HTML generated by BD into Dreamweaver (its find-and-replace tools are superior to BD's, IMO), fix the HTML there, then paste it back into BD.
Steven Lyle Jordan is offline   Reply With Quote
Advert
Old 08-06-2007, 11:57 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,858
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
You can reveal the formatting in Word to see what it is. But, I do have to say that Wordperfect is better at that.
JSWolf is offline   Reply With Quote
Old 08-06-2007, 12:18 PM   #7
Steven Lyle Jordan
Grand Sorcerer
Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.Steven Lyle Jordan ought to be getting tired of karma fortunes by now.
 
Steven Lyle Jordan's Avatar
 
Posts: 8,478
Karma: 5171130
Join Date: Jan 2006
Device: none
Quote:
Originally Posted by JSWolf View Post
You can reveal the formatting in Word to see what it is. But, I do have to say that Wordperfect is better at that.
True... but on occasion, the codes revealed by Word don't represent all of the codes in a particular line (or line break), resulting in find-and-replace that skips codes for no visible reason. (I love Word... )
Steven Lyle Jordan is offline   Reply With Quote
Old 08-06-2007, 07:09 PM   #8
LaughingVulcan
Technophile
LaughingVulcan will become famous soon enoughLaughingVulcan will become famous soon enoughLaughingVulcan will become famous soon enoughLaughingVulcan will become famous soon enoughLaughingVulcan will become famous soon enoughLaughingVulcan will become famous soon enough
 
LaughingVulcan's Avatar
 
Posts: 204
Karma: 617
Join Date: Mar 2007
Location: Land of Lincoln
Device: PRS-650 Sony, Nook Simpletouch, more legacy gear than I can remember
To start with, though, you can:

* Open the document in Word
* Hit the Paragraph symbol button (Word's equivalent of Reveal Codes)
* See if there is an easy pattern
* If so, do search-and-replaces (using the "More" and "Special" tabs in the S&R window.)

If, for example, you have two hard returns in between every paragraph, and every line ends in one hard return, the following will work well:

* Replace for every instance of two hard returns (in Word this is called a "paragraph mark" - when using the "Special" button it will appear as "^p" - so the Search box looks like "^p^p".) Replace it with something made up like "=-*-=" is what I do.
* Now that all the paragraphs are "=-*-=", replace all remaining Paragraph marks with a space or a null. (Depends on the file format. Usually I'll replace the para mark with a space.)
* Now replace all instances of "=-*-=" with a paragraph mark plus a tab character.

* If the quotation marks and apostrophes in the text are all straight " and not curly quotes, I'll do an S&R simply replacing quote mark with quote mark (Search:",Replace:") and the same for apostrophes. Word will automatically change them to curly quotes and BD will recognize them.

It's worked for me before, but as above, you have to have some idea of what the format is by using reveal codes (or whatever Word calls that now.) Sometimes there is a Tab character you can lock onto as the search term to differentiate paragraphs. And yep, there are some files where you just have to go in and manually add "paragraphination" since there's no easy way to batch S&R it.
LaughingVulcan is offline   Reply With Quote
Old 08-06-2007, 07:15 PM   #9
vvv
Zealot
vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.
 
Posts: 137
Karma: 1936
Join Date: Aug 2006
Device: iLiad, Librie, REB1100, GEB2150, GEB1150, etc
Quote:
Originally Posted by buster View Post
When I convert from doc or rtf in book designer it all comes out with forced sentence endings which doesn't format correctly on the sony reader. There are too many to correct manually is there a way to do it automatically. the element browser detects them but won't do any thing to correct them.
Try BD -> Settings
re-format completely: checked
keep pictures: checked
keep bookmarks and links: checked
keep styles: checked

Under the above settings BD will try to restore broken sentences.
vvv is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What may I do to fix my broken screen? physics@war iRex 26 07-13-2010 10:08 AM
PRS-505 Broken top panel. How to fix it? BeTePoK Sony Reader 7 04-16-2010 12:01 PM
Sony refused to fix my broken reader martye8 Sony Reader 19 04-12-2010 01:52 PM
Broken PRS-505; any place to buy chrome bottom piece? Or anyone with broken 505? erikk Sony Reader 1 12-09-2009 06:51 PM
Broken Ipod works Fine! except that its broken Andybaby Lounge 1 06-04-2009 02:03 AM


All times are GMT -4. The time now is 06:59 PM.


MobileRead.com is a privately owned, operated and funded community.