incubator-ooo-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony <>
Subject Re: Is there a way to do this...
Date Sun, 27 May 2012 11:07:56 GMT
I often typeset books, but prefer to save them as pure text and open them
in Vim <>+Solarized<>before
I bring them into OpenOffice or InDesign or whatever.

Vim is the most powerful text editor on the planet, and lets me get rid of
your type of problems with ease. It can be a bit tricky at first though,
but learning it is well worth it - and even if you're dumb like me (I'm not
saying you are though) - it will quickly become second nature. Like for
your problem I'd just type:

:%s/,"/, "/g

and press enter. Good luck!


On Thu, May 24, 2012 at 5:50 PM, Ima Afrotrap <> wrote:

> I often copy and paste from e-book formats into odt simply because odt is
> always
> such a nice smaller file size and I have all the control in the world over
> what
> kind of font I want to use, etc.
> One problem I often have is something like this...
> For instance, in the following sentence:
> -----
> He had just said wearily,"There's no timber down there to build cabins."
> -----
> There's no 'space' between the apostrophe and the beginning quotation
> marks. In
> this particular e-book, there is a *LOT* of this and I'll not be able to
> enjoy
> reading the book if I have to stop every 5 seconds to click on the spot
> and hit
> the spacebar all the time.
> I looked at the find/replace, but when I tried that it didn't work very
> well and
> then I had to *delete* a space when it put it *between an apostrophe and
> an end
> quotation mark.
> I don't understand well enough how to use the regular expressions and would
> really like to be able to use the find/replace so it can do the 1000+
> corrrections for me and I can get back to the occassional manual fix, heh.
> Does anyone have any idea how I can do this to make it easier on myself
> and get
> ahead with actual reading? (hopefully I described the problem well enough
> for
> someone to actually be able to help me).
>  JB
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message