Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-23-2007, 10:18 AM   #1
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Minor Book Designer bug (?)

Hi vvv,

There is a minor issue - I hesitate to call it a bug - in Book Designer, which I was wondering if it would be possible for you to fix.

The English "titles" of "Mr." and "Mrs." are commonly spelled with a "." after them. When you load a text file into BD, the code that "cleans up" the book thinks that the "." marks the end of a sentence, and very often starts a new paragraph at that point, resulting in text like this.

......., said Mr.
Jones, .........

I've been "working around" this problem by editing the text file before I load it into BD, and replacing "Mr." by "Mr" and "Mrs." by "Mrs", then, once the file is in BD, doing a "search and replace" to put them back the way that they were.

Would there be any way to stop BD from starting a new paragraph after "Mr." and "Mrs."? It would save a lot of time if this could be fixed.

Thanks!
HarryT is offline   Reply With Quote
Old 04-24-2007, 03:36 PM   #2
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 HarryT
Would there be any way to stop BD from starting a new paragraph after "Mr." and "Mrs."?
Make a list of words for which the points have to be not considered as beginning of new paragraph's, then prepare two scripts for BookCleaner.

An example (for the words "Mr." and "Mrs.", if you want more words - create more rows in 1.bcf scrpt).

1. Script -> new
find what: Mr.
replace by: Mruni(182). Note: #182 (¶) can be replaced by any symbol (##161-255, do not use #173) not-used in a book. A list of symbols can be seen, for example, here (Latin-1 Supplement).
http://www.alanwood.net/demos/wgl4.html
2. Table -> add row
find what: Mrs.
replace by: Mrsuni(182)
3. Save a script (say, as 1.bcf) then choose 1.bcf in "input file: before formatting".

4. Script -> new
find what: uni(182)
replace by:.
5. Save a script (say, as 2.bcf) then choose 2.bcf in "input file: after formatting".

6. Load your book.

Last edited by vvv; 04-24-2007 at 03:41 PM.
vvv is offline   Reply With Quote
Advert
Old 04-25-2007, 04:51 AM   #3
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Thank you - that's great!
HarryT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Minor bug: tab order on bulk edit dialog in 0.7.23 kiwidude Calibre 1 10-11-2010 12:45 PM
minor bug report - html conversion cybmole Calibre 18 09-30-2010 12:26 PM
DR800 2.0 Beta - Minor bug with panning icon display leexp82 iRex 1 04-21-2010 05:23 AM
Minor Bug: Sony PRS-600 shows 'Connected PRS700' gatapia Calibre 1 11-09-2009 11:32 AM
Attn vvv - Minor bug in BD HarryT Sony Reader 33 07-11-2007 02:37 AM


All times are GMT -4. The time now is 04:39 AM.


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