This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch, docs, committed] Fix PDF table of contents in cppinternals.texi.
- From: Brooks Moses <brooks dot moses at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 06 Mar 2007 01:01:17 -0800
- Subject: [patch, docs, committed] Fix PDF table of contents in cppinternals.texi.
The @top line in cppinternals.texi was causing a blank line to appear in
the table of contents of the PDF version, and was also causing an extra
pair of blank pages at the beginning of the manual. This workaround
fixes the problem.
Tested on i686-pc-linux-gnu with "make pdf" and "make info"; committed
to 4.2 and trunk as obvious.
-------------------------------------------------------------------------
2007-03-06 Brooks Moses <brooks.moses@codesourcery.com>
* doc/cppinternals.texi: Surround @top in @ifnottex block to
fix broken table of contents.
-------------------------------------------------------------------------
- Brooks
Index: cppinternals.texi
===================================================================
--- cppinternals.texi (revision 122562)
+++ cppinternals.texi (working copy)
@@ -66,8 +66,13 @@
@contents
@page
+@ifnottex
@node Top
@top
+@end ifnottex
+@iftex
+@node Top
+@end iftex
@chapter Cpplib---the GNU C Preprocessor
The GNU C preprocessor is