OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Auto-generating an index


Tom
I generally have a whole lot of files in a hierarchy under a root 
directory (Xinclude) and do a global edit on the root directory (I use 
BBedit, but other editors can do this).  Of course Perl can do the same, 
I'd be interested in your Perl script as and when.
Ron

On 2/4/11 6:53 AM, Tom Browder wrote:
> On Fri, Feb 4, 2011 at 06:20, Ron Catterall<ron@catterall.net>  wrote:
>> Tom
>>
>> This is probably too late if the text already exists, but I find using
>> entities is a useful first approximation to generating an index during the
>> writing phase.
>> For example, when writing use&ana; and expand the entitiy:
>>
>> <!ENTITY  ana        '<indexterm><primary>Ana Canas de
>> Urofol</primary></indexterm>Ana Canas de Urofol'>
>>
>> If the text  already exists you could of course do a global search and
>> replace on your text:
>
> Thanks, Ron.  That's the point: the text already exists, and the
> original bulk of it (not my responsibility then) I converted from html
> to DB, so no index markup.  I have to go through it and add DB index
> markup.  I'm doing what you suggest but more auto via a Perl script--a
> rough cut to be sure but it should save some effort.
>
> Best,
>
> -Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>

-- 
Ron Catterall Ph.D. D.Sc.
ron@catterall.net
http://catterall.net

S/MIME Cryptographic Signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]