[Tugindia] Typesetting Letters and Books
Kushal Kumaran
kushal.kumaran at gmail.com
Thu Aug 18 11:42:40 CEST 2005
On 8/17/05, Kingshuk <kingshuk.roypc at gmail.com> wrote:
>
> <snipped>
>
> Secondly, I am trying to typeset a book by George Orwell. In the
> manuscript (text file), all first person dialogues are put under
> " " marks. Can someone suggest me an regular expression to convert
> opennig " to `` and trailing ones to '' ?
> I am using XEmacs.
>
Try replacing "\([^"]*\)" with ``\1''. Try it first with
query-replace-regexp before you turn replace-regexp loose on your
file. Be careful of unmatched quotes.
--
Kushal "very regular" Kumaran
More information about the tugindia
mailing list