This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


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

Re: [rfa/5] add PDF target to doc directory


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

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