[kwlug-disc] Converting a document
gwalsh at notw.ca
Tue May 19 01:12:26 EDT 2009
I know how to search and replace. I don't think that search and replace
can differentiate between the L1 that is in the Table of Contents and
the L1 that is actually the body of the text. This is a book with a
structure. I was hoping that there was an existing script or macro that
understands the structure rather than me having to tediously search and
replace and then have to format the Table of Contents, the notes, the
index, etc. That is why I made an enquiry on this list after fruitless
googling rather than going ahead with search and replace. Linux has
lots sophisticated stuff like tex and lyx and perl scripts, etc., so I
thought that someone may have come across a more sophisticated solution
than simple search and replace.
On Mon, 2009-05-18 at 20:29 -0700, Raul Suarez wrote:
> I should have included an example
> For example, to replace all
> <whatever> In bold
> After selecting to search for regular expressions
> In the "Search" text enter
> In the replace with field enter
> While in the replace with field, select the "Format" button and select the format for your replaced text.
> That's it!! Start searching and replacing.
> Raul Suarez
> Technology consultant
> Software, Hardware and Practices
> An eclectic collection of random thoughts
> --- On Mon, 5/18/09, Raul Suarez <rarsa at yahoo.com> wrote:
> > From: Raul Suarez <rarsa at yahoo.com>
> > Subject: Re: [kwlug-disc] Converting a document
> > To: "KWLUG discussion" <kwlug-disc at kwlug.org>
> > Received: Monday, May 18, 2009, 11:06 PM
> > Open office has that native functionality in the "Find and
> > Replace"
> > 1. From the menu select "Find and replace"
> > 2. Click on the "More options" button
> > 3. Click on the "Regular expressions" checkbox
> > 4. Enter the regular expression to search for
> > 5. Position your cursor on the "replace"
> > Now you can specify the text and format for the replace.
More information about the kwlug-disc