This is the mail archive of the docbook-tools-discuss@sources.redhat.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: Indexes in PDF docs


On Thu, 22 Feb 2001, Paul Webb wrote:

> Hi
>
> I have marked up my document by using the
> <indexterm><primary>...</primary></indexterm> method as described in
> 'DocBook: The Definitive Guide' I've also managed to produce an index in the
> HTML version of the doc by using collateindex.pl.
>
> But how do I produce an index in the PDF? Can I use collateindex.pl in
> conjunction with some other commands or is there an alternative method?

Sure you can;

For HTML as well as PS/PDF I use


perl ./collateindex.pl  -s Symbols -t Index \
  -g -i index -N -o index.sgml
cp *.sgml tempdir
(cd tempdir; jade -t sgml -ihtml -d $(cygnus)\#print \
   -V html-index -V nochunks MAIL_FILE.sgml > foo.html)
perl ./collateindex.pl -s Symbols -t Index  -g -i index \
 -o index.sgml tempdir/HTML.index

If it bites back mail me again.

-- 

Peter Toft, Ph.D. [pto@sslug.dk] http://www.sslug.dk/~pto

You are not alone. The penguins are everywhere.




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