diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-10 10:54:02 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-10 10:54:02 +0000 |
commit | 271bbbe1f7ffbb60d6def74d07e5fcee7f6499f9 (patch) | |
tree | 1731c163715b381ff02f5758d83886b1049e6132 /contrib | |
parent | c3eeb14891769486c3e8d53d1ed7ddc9827c292c (diff) | |
download | gcc-271bbbe1f7ffbb60d6def74d07e5fcee7f6499f9.tar.gz |
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
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 5 | ||||
-rwxr-xr-x | contrib/texi2pod.pl | 6 |
2 files changed, 8 insertions, 3 deletions
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 <jsm28@cam.ac.uk> + + * texi2pod.pl: Handle @gcctabopt and @env in tables. Handle + @command. Format URLs and email addresses in bold. + 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk> * 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(<STDIN>) 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; |