This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [rfa/5] add PDF target to doc directory
- To: Eli Zaretskii <eliz at delorie dot com>
- Subject: Re: [rfa/5] add PDF target to doc directory
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 29 May 2000 00:26:58 +1000
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <200005281105.HAA05050@indy.delorie.com>
Eli Zaretskii wrote:
>
> > Date: Sun, 28 May 2000 18:39:17 +1000
> > From: Andrew Cagney <ac131313@cygnus.com>
> >
> > Sorry, I ment the contents which always end up at the end of the
> > document :-)
>
> Texinfo 4.0 allows you to put @contents *anywhere* in the document. I
> don't know if the pretest that you are using includes that feature,
> but even if it doesn't, you only need this with TeX or PDFTeX, which
> always supported this, since TeX does several passes on the document
> anyway.
>
> So you could put @contents twice, once @iftex at the beginning, the
> other time @ifnottex at the end, and get what you want, I think.
Yep, that works. Namely:
o Duplicate contents at start and end.
Allows makeinfo-OLD to work.
o For pdftex, use the latest texinfo.tex.
Fixes nr chapter pages - even.
Magically adds all the cross references.
Results are at:
http://sourceware.cygnus.com/gdb/5/onlinedocs/gdb.pdf (1.2mb)
http://sourceware.cygnus.com/gdb/5/onlinedocs/gdb.pdf.gz (0.77mb)
thanks,
Andrew