* Yann Dirson <[EMAIL PROTECTED]> [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 -- [EMAIL PROTECTED] http://www.miwie.org [EMAIL PROTECTED]