[kwlug-disc] Converting a document
john at netdirect.ca
john at netdirect.ca
Tue May 19 07:05:31 EDT 2009
Aren't tables of contents and indecies auto generated by tools like latex and Ooo?
In ooo you would remove the static toc and insert one choosing the appropriate settings to control the levels.
John Van Ostrand CTO, co-CEO
Net Direct Inc
564 Weber St. N. Unit 12
Waterloo, ON N2L 5C6
Ph: 519-883-1172 x5102
Ph: 866-883-1172 x5102
----- Original Message -----
From: Gary Walsh [gwalsh at notw.ca]
Sent: 05/19/2009 01:12 AM AST
To: KWLUG discussion <kwlug-disc at kwlug.org>
Subject: Re: [kwlug-disc] Converting a document
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.
kwlug-disc_kwlug.org mailing list
kwlug-disc_kwlug.org at kwlug.org
More information about the kwlug-disc