From 271bbbe1f7ffbb60d6def74d07e5fcee7f6499f9 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Wed, 10 Jan 2001 10:54:02 +0000 Subject: gcc: * gcc.texi: Define macro gcctabopt. * invoke.texi: Add manpage sections BUGS and AUTHOR. Use @command, @env and @option in some places where appropriate. Use @gcctabopt where appropriate. Put URLs and email addresses inside @w. contrib: * texi2pod.pl: Handle @gcctabopt and @env in tables. Handle @command. Format URLs and email addresses in bold. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38863 138bc75d-0d04-0410-961f-82ee72b054a4 --- contrib/ChangeLog | 5 +++++ contrib/texi2pod.pl | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'contrib') diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 4d8b76c707f..df505d8b627 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2001-01-10 Joseph S. Myers + + * texi2pod.pl: Handle @gcctabopt and @env in tables. Handle + @command. Format URLs and email addresses in bold. + 2001-01-03 Joseph S. Myers * gcc_update: Add cpp.1 to the list of generated files. diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl index dc9a68b71a3..6826eeab4f6 100755 --- a/contrib/texi2pod.pl +++ b/contrib/texi2pod.pl @@ -192,7 +192,7 @@ while() push @endwstack, $endw; push @icstack, $ic; $ic = $1; - $ic =~ s/\@(?:samp|strong|key)/B/; + $ic =~ s/\@(?:samp|strong|key|gcctabopt|env)/B/; $ic =~ s/\@(?:code|kbd)/C/; $ic =~ s/\@(?:dfn|var|emph|cite|i)/I/; $ic =~ s/\@(?:file)/F/; @@ -251,7 +251,7 @@ sub postprocess # Formatting commands. s/\@(?:dfn|var|emph|cite|i)\{([^\}]*)\}/I<$1>/g; s/\@(?:code|kbd)\{([^\}]*)\}/C<$1>/g; - s/\@(?:samp|strong|key|option|env|b)\{([^\}]*)\}/B<$1>/g; + s/\@(?:samp|strong|key|option|env|command|b)\{([^\}]*)\}/B<$1>/g; s/\@sc\{([^\}]*)\}/\U$1/g; s/\@file\{([^\}]*)\}/F<$1>/g; s/\@w\{([^\}]*)\}/S<$1>/g; @@ -272,7 +272,7 @@ sub postprocess # @uref can take one, two, or three arguments, with different # semantics each time. @url and @email are just like @uref with # one argument, for our purposes. - s/\@(?:uref|url|email)\{([^\},]*)\}/<C<$1>>/g; + s/\@(?:uref|url|email)\{([^\},]*)\}/<B<$1>>/g; s/\@uref\{([^\},]*),([^\},]*)\}/$2 (C<$1>)/g; s/\@uref\{([^\},]*),([^\},]*),([^\},]*)\}/$3/g; -- cgit v1.2.1