This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch to make manuals work with makeinfo --html


This patch fixes some manuals in GCC so that they will format with
makeinfo --html.  This is preliminary to making the manuals in
onlinedocs be generated with makeinfo rather than texi2html; current
makeinfo prereleases (as installed on gcc.gnu.org) support generating
output split by node with meaningful filenames based on the node name
(which will give more durable URLs for parts of manuals than the
current ones which break whenever a previous chapter is added or
removed) and also give better results for some of the macros used in
the GCC manuals.

It passes "make info" and "make dvi".  OK to commit?

2001-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>

	* doc/cpp.texi: Don't condition menus on @ifinfo.  Condition the
	copyright notice formerly conditioned on @ifinfo on @ifnottex
	instead.

f:
2001-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>

	* g77.texi: Don't condition menus on @ifinfo.

ch:
2001-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>

	* chill.texi: Don't condition menus on @ifinfo.

--- doc/cpp.texi.orig	Wed Nov 14 00:35:30 2001
+++ doc/cpp.texi	Fri Dec  7 21:24:22 2001
@@ -69,7 +69,6 @@
 @contents
 @page
 
-@ifinfo
 @node Top
 @top
 The C preprocessor implements the macro language used to transform C,
@@ -171,9 +170,10 @@
 @end detailmenu
 @end menu
 
+@ifnottex
 @copyrightnotice{}
 @covertexts{}
-@end ifinfo
+@end ifnottex
 
 @node Overview
 @chapter Overview
--- f/g77.texi.orig	Fri Dec  7 20:19:13 2001
+++ f/g77.texi	Fri Dec  7 21:25:46 2001
@@ -198,8 +198,6 @@
 @contents
 @page
 
-@ifinfo
-
 @node Top, Copying,, (DIR)
 @top Introduction
 @cindex Introduction
@@ -225,8 +223,6 @@
 and how to report bugs.
 It corresponds to the @value{which-g77} version of @command{g77}.
 @end ifclear
-
-@end ifinfo
 
 @ifset DEVELOPMENT
 @emph{Warning:} This document is still under development,
--- ch/chill.texi.orig	Sat Jun  2 14:53:01 2001
+++ ch/chill.texi	Fri Dec  7 21:23:54 2001
@@ -17,7 +17,6 @@
 @end titlepage
 @contents
 
-@ifinfo
 @node Top
 @top
 
@@ -31,8 +30,6 @@
 * Directives::            Implemented Compiler Directives
 * References::            Language definition references
 @end menu
-
-@end ifinfo
 
 @node Options
 @chapter Compiler options

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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