aboutsummaryrefslogtreecommitdiff
path: root/contrib/texi2pod.pl
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2001-01-10 10:54:02 +0000
committerJoseph Myers <jsm28@cam.ac.uk>2001-01-10 10:54:02 +0000
commit122653cb7a8d594fb9c27266131b7d5abc963fbc (patch)
tree1731c163715b381ff02f5758d83886b1049e6132 /contrib/texi2pod.pl
parentdaf9753351669df4c502b2714acd22f53af96c05 (diff)
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: https://gcc.gnu.org/svn/gcc/trunk@38863 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib/texi2pod.pl')
-rwxr-xr-xcontrib/texi2pod.pl6
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)\{([^\},]*)\}/&lt;C<$1>&gt;/g;
+ s/\@(?:uref|url|email)\{([^\},]*)\}/&lt;B<$1>&gt;/g;
s/\@uref\{([^\},]*),([^\},]*)\}/$2 (C<$1>)/g;
s/\@uref\{([^\},]*),([^\},]*),([^\},]*)\}/$3/g;