This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: Simple example to generate a TOC in a DVI and a PDFfile
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: RE: Simple example to generate a TOC in a DVI and a PDFfile
- From: Ross Smith <ross at uprizer dot com>
- Date: Thu, 21 Dec 2000 14:33:18 -0800
I'm sorry. I neglected to be more specific.
What I'm looking for is a simple DocBook example SGML file, and supporting
commands, shell scripts, make files, etc. to build a PDF file (which will in
the process create a DVI file) that contains "bookmarks".
"Bookmark" in Acrobat, is Adobe's term for the Table of Contents that
appears when you select Window/Show Bookmarks.
Thanks again,
Ross Smith
> From: Juan R. Migoya [mailto:jmigoya@ingeteam.es]
>
> If you are using Laex, you should run it two or three times to
> get the correct ref. numbers.
>
> Regards,
>
> Juan R. Migoya
>
> Ross Smith wrote:
> >
> > I have spent several days trying to create a DVI and a PDF file that
> > contains a Table of Contents (TOC), to no avail.
> >
> > Does anyone know where I could find very simple example (or
> instructions) to
> > create a DVI/PDF that contains a TOC?
> >
> > The best I've ever done is create a DVI where the table of
> contents contains
> > proper page numbers for the first page, but all other page
> numbers say '???'
> > or '-999'. dvi2ps won't even attempt to convert the resultant file,
> > spitting out a hundred errors.
> >
> > I have made numerous attempts with several different source
> files, using the
> > collateindex.pl script, but still have come up empty handed.
> >
> > When outputting to HTML, I do get an index, so I know I'm doing
> something
> > right.
> >
> > I have used the phpdoc and Linux Documentation Project files to
> try to build
> > on what others have done, but both of these are *way* to complicated. I
> > can't get either of these to build.
> >
> > My environment:
> >
> > RedHat 7.0 (and/or Debian 2.2 Potato)
> > DocBook 4.1
> > DocBook XML 4.1.2
> > DSSSL 1.60
> > OpenJade 1.3
> > JadeTex 2.20
> >
> > aTdHvAaNnKcSe,
> >
> > Ross Smith