Quote:
Originally Posted by Rand Brittain
But I'd also want to replace ‘ with “, replace “ with ‘ (this actually requires four steps where I first switch them both to different unused symbols before switching them to each other), replace ” with some symbol, then start replacing all the instances of ’ that don't need to remain as they are with ”. Once you're done, replace that last symbol with ’.
Even when this is done, you'll still have a few errors left, such as when somebody is transliteratin’ some sort o’ accent, which won't be right, so you'll need to manually check over the whole book—there's no avoiding it!
But being able to do those first ten steps or so with just a few clicks would make the process a lot faster.
|
A plugin interface might make it easier to do this, but I always wondered about having Sigil extend the history list of find/replaces into something like named replaces/macros. I don't know if this has already been discussed or not. This way if you wanted to remove all the paragraph breaks following lowercase words you could just click on or select the macro labelled Unsplit Sentences or whatever. Many of the find/replace commands need to be modified for specific texts (replacing page headers, etc) so they still need to be editable.
And it might be useful to be able to preview the results before confirming each change (sort of before/after on the left/right, or an easy undo) though if you needed to do a hundred of these you probably wouldn't do more than a few before confirming the rest. This is probably doable in the current Sigil - though at the moment its difficult to tell as the cursor jumps around the book/code view a bit confusingly - something I think that'll be fixed for the next version. Of course I haven't used Sigil extensively yet and only for some light cleanup so I still have a bit to learn about how to use it best.