This is the mail archive of the docbook-tools-discuss@sourceware.cygnus.com mailing list for the docbook-tools project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Index creation


Content-transfer-encoding: 7bit 
--------

	You have to do it in a two-pass process (for more information get the
docbook stylesheets documentation http://nwalsh.com/docbook/dsssl/db146d.zip) :

	Run jade with the html-index variable set and the html stylesheet :
	jade -t sgml -d ...html/docbook.dsl -V html-index file.sgm

	generate the index pages with collateindex.pl (in the bin directory of the 
docbook stylesheets distribution) :
	perl collateindex.pl -o genindex.sgm

	Reprocess your document with jade
	jade -t sgml -d .../docbook.dsl file.sgm

	Your document must contain an external entity inclusion for the generated 
index :

	<...[
	<!ENTITY index	SYSTEM "genindex.sgm">
	]>
	...
	<!-- at a chapter/section level in your document -->
	&index;


	C.Guillon



	
Received: from gnx003.gnb.st.com
	by localhost with POP3 (fetchmail-5.0.6)
	for guillon@localhost (single-drop); Tue, 02 Nov 1999 09:21:45 +0100 (MET)
Return-Path: <andreas/internet////////RFC-822/andreas#a#mtg#f#co#f#at@gnx003>
Date: Tue, 2 Nov 1999 08:34:49 +0100
Message-Id: <Pine.LNX.4.10.9911020827260.19428-100000@gatekeeper.zwax.mtg.c>
Subject: Index creation
MIME-Version: 1.0
Sender: andreas@mtg.co.at
From: andreas@mtg.co.at
To: docbook-tools-discuss@sourceware.cygnus.com
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Disposition: inline; filename="Index"
Content-Transfer-Encoding: 7bit
X-Filter: mailagent [version 3.0 PL68] for guillon@lod15.st.com

Hi!

I've been wondering how to create an index with the current docbook tools?

Adding <indexterm>s doesn't work, even when one adds an empty
<index></index> section (as it is done with <toc></toc>).

Andreas
--
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA        



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]