Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Announcing indexcrafter.pl, a tool to interactively ornon-interactively edit DocBook SGML or XML index files

Reply
Thread Tools

Announcing indexcrafter.pl, a tool to interactively ornon-interactively edit DocBook SGML or XML index files

 
 
terminus
Guest
Posts: n/a
 
      02-26-2008
indexcrafter.pl is intended for use on DocBook SGML or XML index files
that have been automatically or semi$B!>(Bautomatically generated, for
example using the SGML tool collateindex.pl. indexcrafter.pl modifies
such an index by allowing the addition, deletion, renaming, merging,
nesting and cross$B!>(Breferencing of index terms. The operations
performed on the index can be saved to a macro file to be repeated non$B!>(B
interactively on additional input files using the same index terms.

The first time indexcrafter.pl is run it will display a numbered list
of index terms. Use F and P to page through the list if it exceeds
one page. At any other prompt when asked to select an item by number,
entering letters instead will redisplay the entries that match that
substring.

Choose R, N or M respectively to rename a term, to nest one term
inside another, or to merge two terms together. S creates a "see"
reference in an empty index entry or a "see also" reference in a
populated one. Choose A to add a blank term (as a container for
nesting others) or D delete a term. Choose X to export the operations
that you have performed to a macro file, L to load an existing macro
file, and Q to quit.

Subsequent runs of indexcrafter.pl may add the name of the exported
macro file as an argument, in which case the operations recorded in
that file will be performed non$B!>(Binteractively on the index. This is
useful if the source document has been edited since the first index
was generated, which may have changed the locations of index terms in
the document.

Download indexcrafter.pl, which is licensed under the GNU GPL, from
http://www.malcolm.id.au/files/softw...ndexcrafter.pl.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sorting index-15, index-9, index-110 "the human way"? Tomasz Chmielewski Perl Misc 4 03-04-2008 05:01 PM
DocBook: Pass DocBook-Path to Stylesheet tthunder@gmx.de XML 1 11-27-2007 12:08 AM
Transform XML docbook to HTML with docbook stylesheet Antonio Amato XML 2 11-18-2004 05:08 PM
Anyone know anything named DX? (was Re: Announcing PyCs) (was:Announcing PyCs, a new Python-like language on .Net) Mark Hahn Python 22 09-09-2004 12:14 PM
Good SGML DTD viewer *or* tool for translating SGML DTDs to XML DTDs Clifford W. Racz XML 4 02-13-2004 06:24 PM



Advertisments