This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Index generation for printable material (dsssl)
- From: Michael Wiedmann <mw at miwie dot in-berlin dot de>
- To: Yann Dirson <ydirson at altern dot org>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 16 May 2002 23:39:24 +0200
- Subject: Re: DOCBOOK-APPS: Index generation for printable material (dsssl)
- References: <20020516211401.GC12130@bylbo.nowhere.earth>
* Yann Dirson <ydirson@altern.org> [020516 23:14]:
> I just started to investigate index generation. collateindex.pl appears to
> collaborate only with the HTML stylesheets, and there is no similar
> support-code in the print stylesheets. Does anyone know about tools/methods
> that would be more generic than that, and would work for printable material
> too ?
collateindex.pl works for print output too!
I use constructs like the following in my Makefile's:
...
.index-nochunk: $(PROJECT).$(EXTENSION)
@if [ ! -f $(INDEX_FILE) ]; then collateindex.pl -N -i idx -o $(INDEX_FILE); fi
$(JADE) $(JADEFLAGS) -V nochunks -V html-index -t sgml -i html -d $(CUSTOM_SS)#html $(PROJECT).$(EXTENSION) > /dev/null
collateindex.pl -i idx -o $(INDEX_FILE) HTML.index
...
$(PROJECT).tex: $(PROJECT).$(EXTENSION) $(CUSTOM_SS) jadetex.cfg .index-nochunk
$(JADE) $(JADEFLAGS) -t tex -V tex-backend -i tex -d $(CUSTOM_SS)#print $<
Note that you have to call (open)jade for HTML though you want to create
print output!
Michael
--
mw@miwie.in-berlin.de http://www.miwie.org
mw@miwie.org