docbook: index generation
Subject:
Re: Re: Re: index generation
From:
Peter Jay Salzman ####@####.####
Date:
4 Apr 2003 06:33:52 -0000
Message-Id: <20030404063349.GA13828@dirac.org>
begin Greg Ferguson ####@####.####
> On Wed, 2 Apr 2003 12:43:35 -0800 Peter Jay Salzman ####@####.#### wrote:
>
> >
> > lkmpg.html has an index, but lkmpg.ps doesn't.
> >
> > is there a way to generate an index for the postscript version of the
> > guide?
> >
> the whole "ldp_print" process uses the single-file (non-chunked)
> HTML instance of the document and then produces PDF and PostScript
> from it (using htmldoc). So if the index is part of the non-chunked
> version, it'll be part of the PDF/PostScript version(s).
okay, i've been at this for day now. sorry for being dense, but i can't
figure this out.
TARGET=lkmpg
STYLE='/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/ldp.dsl'
JADEOPTIONS=-t sgml -i html -V nochunks -d $(STYLE)\#html
1 new:
2 collateindex.pl -N -o index.sgml
3 jade -t sgml -V html-index -d ${STYLE}\#html ${TARGET}.sgml
4 collateindex.pl -g -t Index -i doc-index -o index.sgml HTML.index
5
6 jade ${JADEOPTIONS} ${TARGET}.sgml > ${TARGET}.html
7 -ldp_print ${TARGET}.html
it sounds like you're saying if line 6 produces a non-chunked HTML file
with an index, then line 7 produces a postscript version with an index.
however, line 6 produces a non-chunked html file with an index, yet the
postscript version still doesn't have an index.
docbook hates me. any ideas what could be going wrong?
sorry. :(
pete
--
Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D