diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2001-01-10 10:54:02 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2001-01-10 10:54:02 +0000 |
commit | 2642624b16f87187d60e6c303486fbbec9fd6329 (patch) | |
tree | 1731c163715b381ff02f5758d83886b1049e6132 /contrib/texi2pod.pl | |
parent | 737c87df28194cb7296757b5384373fd9ad56bc9 (diff) | |
download | gcc-2642624b16f87187d60e6c303486fbbec9fd6329.tar.gz |
gcc.texi: Define macro gcctabopt.
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.
From-SVN: r38863
Diffstat (limited to 'contrib/texi2pod.pl')
-rwxr-xr-x | contrib/texi2pod.pl | 6 |
1 files changed, 3 insertions, 3 deletions
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; |