aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorBrooks Moses <brooks.moses@codesourcery.com>2007-02-27 06:00:47 +0000
committerBrooks Moses <brooks@gcc.gnu.org>2007-02-26 22:00:47 -0800
commit7771bb621aad43c7d0e21ccec4922dd3beac9cb6 (patch)
tree5d3f59cb7b7d5814e57a08f0f5146d4bcc15aa0c /gcc/doc
parent8208b34a272ef2a7582a176e87bd865d88d7cd50 (diff)
downloadgcc-7771bb621aad43c7d0e21ccec4922dd3beac9cb6.zip
gcc-7771bb621aad43c7d0e21ccec4922dd3beac9cb6.tar.gz
gcc-7771bb621aad43c7d0e21ccec4922dd3beac9cb6.tar.bz2
gcc/ChangeLog ---------------------------------------------------------
gcc/ChangeLog --------------------------------------------------------- * doc/include/gcc-common.texi (versionsubtitle): New macro. * doc/cpp.texi: Standardize title page. * doc/cppinternals.texi: Likewise. * doc/gcc.texi: Standardize title page, remove version number from copyright page. * doc/gccint.texi: Likewise. * doc/install.texi: Standardize title page, add table of contents. ada/ChangeLog --------------------------------------------------------- * gnat-style.texi: Standardize title page. * gnat_rm.texi: Likewise. * gnat_ugn.texi: Likewise. fortran/ChangeLog ----------------------------------------------------- * gfortran.texi: Standardize title page, remove version number from copyright page. treelang/ChangeLog ---------------------------------------------------- * treelang.texi: Standardize title page, remove version number from copyright page. From-SVN: r122358
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/cpp.texi5
-rw-r--r--gcc/doc/cppinternals.texi3
-rw-r--r--gcc/doc/gcc.texi9
-rw-r--r--gcc/doc/gccint.texi9
-rw-r--r--gcc/doc/include/gcc-common.texi16
-rw-r--r--gcc/doc/install.texi13
6 files changed, 34 insertions, 21 deletions
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index 90ff230..39bafe6 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -58,9 +58,8 @@ This manual contains no Invariant Sections. The Front-Cover Texts are
@titlepage
@title The C Preprocessor
-@subtitle for GCC version @value{version-GCC}
-@author Richard M. Stallman
-@author Zachary Weinberg
+@versionsubtitle
+@author Richard M. Stallman, Zachary Weinberg
@page
@c There is a fill at the bottom of the page, so we need a filll to
@c override it.
diff --git a/gcc/doc/cppinternals.texi b/gcc/doc/cppinternals.texi
index 2416424..ff6acc3 100644
--- a/gcc/doc/cppinternals.texi
+++ b/gcc/doc/cppinternals.texi
@@ -41,9 +41,8 @@ into another language, under the above conditions for modified versions.
@end ifinfo
@titlepage
-@c @finalout
@title Cpplib Internals
-@subtitle for GCC version @value{version-GCC}
+@versionsubtitle
@author Neil Booth
@page
@vskip 0pt plus 1filll
diff --git a/gcc/doc/gcc.texi b/gcc/doc/gcc.texi
index 77471ee..47e5d5e 100644
--- a/gcc/doc/gcc.texi
+++ b/gcc/doc/gcc.texi
@@ -73,15 +73,12 @@ This file documents the use of the GNU compilers.
@end ifnottex
@setchapternewpage odd
-@shorttitlepage Using the GNU Compiler Collection (GCC)
@titlepage
-@center @titlefont{Using the GNU Compiler Collection}
-@sp 2
-@center by Richard M. Stallman and the GCC Developer Community
+@title Using the GNU Compiler Collection
+@versionsubtitle
+@author Richard M. Stallman and the @sc{GCC} Developer Community
@page
@vskip 0pt plus 1filll
-For GCC Version @value{version-GCC}@*
-@sp 1
Published by:
@multitable @columnfractions 0.5 0.5
@item GNU Press
diff --git a/gcc/doc/gccint.texi b/gcc/doc/gccint.texi
index 085ff1a..9080ffd 100644
--- a/gcc/doc/gccint.texi
+++ b/gcc/doc/gccint.texi
@@ -59,15 +59,12 @@ This file documents the internals of the GNU compilers.
@end ifnottex
@setchapternewpage odd
-@shorttitlepage GNU Compiler Collection Internals (GCC)
@titlepage
-@center @titlefont{GNU Compiler Collection Internals}
-@sp 2
-@center by Richard M. Stallman and the GCC Developer Community
+@title GNU Compiler Collection Internals
+@versionsubtitle
+@author Richard M. Stallman and the @sc{GCC} Developer Community
@page
@vskip 0pt plus 1filll
-For GCC Version @value{version-GCC}@*
-@sp 1
@insertcopying
@end titlepage
@summarycontents
diff --git a/gcc/doc/include/gcc-common.texi b/gcc/doc/include/gcc-common.texi
index 1cbfc64..bd44b3c 100644
--- a/gcc/doc/include/gcc-common.texi
+++ b/gcc/doc/include/gcc-common.texi
@@ -51,3 +51,19 @@
\global\normaloffset =0.75in
@end tex
@end ifset
+
+@c Macro to generate a "For the N.N.N version" subtitle on the title
+@c page of TeX documentation. This macro should be used in the
+@c titlepage environment after the title and any other subtitles have
+@c been placed, and before any authors are placed.
+@macro versionsubtitle
+@ifclear DEVELOPMENT
+@subtitle For @sc{gcc} version @value{version-GCC}
+@end ifclear
+@ifset DEVELOPMENT
+@subtitle For @sc{gcc} version @value{version-GCC} (pre-release)
+@end ifset
+@c Even if there are no authors, the second titlepage line should be
+@c forced to the bottom of the page.
+@vskip 0pt plus 1filll
+@end macro
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 9f23675..2dfa6ea 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -7,6 +7,8 @@
@c %**end of header
@c @end ifnothtml
+@include gcc-common.texi
+
@c Specify title for specific html page
@ifset indexhtml
@settitle Installing GCC
@@ -99,9 +101,8 @@ Free Documentation License}''.
@c Part 3 Titlepage and Copyright
@titlepage
-@sp 10
-@comment The title is printed in a large font.
-@center @titlefont{Installing GCC}
+@title Installing GCC
+@versionsubtitle
@c The following two commands start the copyright page.
@page
@@ -109,7 +110,7 @@ Free Documentation License}''.
@insertcopying
@end titlepage
-@c Part 4 Top node and Master Menu
+@c Part 4 Top node, Master Menu, and/or Table of Contents
@ifinfo
@node Top, , , (dir)
@comment node-name, next, Previous, up
@@ -129,6 +130,10 @@ Free Documentation License}''.
@end menu
@end ifinfo
+@iftex
+@contents
+@end iftex
+
@c Part 5 The Body of the Document
@c ***Installing GCC**********************************************************
@ifnothtml