View Single Post
Old 11-09-2009, 04:43 AM   #92
orwell2k
Addict
orwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheese
 
orwell2k's Avatar
 
Posts: 357
Karma: 1112
Join Date: Oct 2008
Location: Euroland
Device: PocketBook 360°, BeBook (Hanlin V3), iRex DR1000S, iPad
Quote:
Originally Posted by BobC View Post
Beware of doing a replace all on (2) above (I think the description means it should read -
(2) Find "amp;" / Replace with "&" (i.e. no leading space) if it is to catch "R&R")

Consider what would happen to the following :
"They arrived at the camp; set up their tent ...."

BobC
No, (2) should read as is, with leading spaces! The instructions I gave are what I use on all books and are correct:

Quote:
(1) Find " amp; " (without quotes, of course) / Replace with " & "
(2) Find " amp;" / Replace with "&"
That's why it works, because it will not pick up words like "camp;" and change them to "c&" - the & error is because the string " amp;" (with leading space) is used for & when BD generates the FB2, instead of "&".

If you do the changes in the order I have given, with leading spaces as indicated, it will work correctly. If you do it wothout leading spaces you get the big problem you described.

Cheers!
orwell2k is offline   Reply With Quote