Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : Minor Book Designer bug (?)


HarryT
04-23-2007, 08:18 AM
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!

vvv
04-24-2007, 01:36 PM
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.

HarryT
04-25-2007, 02:51 AM
Thank you - that's great!