This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Index generation for printable material (dsssl)


* 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


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