diff options
author | Mingjie Xing <mingjie.xing@gmail.com> | 2014-08-11 07:29:41 +0000 |
---|---|---|
committer | Mingjie Xing <xmj@gcc.gnu.org> | 2014-08-11 07:29:41 +0000 |
commit | 6f853fd4536b85da53ebe9897ecbce22602304f8 (patch) | |
tree | 57139eaa18a8ea2e0eb86bae980bb6e1674c41e4 /contrib/texi2pod.pl | |
parent | c62ccb9a0a070057ec2ab65705c22e20cac85b5a (diff) | |
download | gcc-6f853fd4536b85da53ebe9897ecbce22602304f8.tar.gz |
texi2pod.pl (postprocess): Move command process for '@sc' to the front of '@dfn'.
* texi2pod.pl (postprocess): Move command process for '@sc' to the
front of '@dfn'. Add a new command process for '@t{...}', just print
the content.
From-SVN: r213808
Diffstat (limited to 'contrib/texi2pod.pl')
-rwxr-xr-x | contrib/texi2pod.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl index 55b6ba75227..eba1bcaa3cf 100755 --- a/contrib/texi2pod.pl +++ b/contrib/texi2pod.pl @@ -389,15 +389,16 @@ sub postprocess # Formatting commands. # Temporary escape for @r. s/\@r\{([^\}]*)\}/R<$1>/g; + s/\@sc\{([^\}]*)\}/\U$1/g; s/\@(?:dfn|var|emph|cite|i)\{([^\}]*)\}/I<$1>/g; s/\@(?:code|kbd)\{([^\}]*)\}/C<$1>/g; s/\@(?:samp|strong|key|option|env|command|b)\{([^\}]*)\}/B<$1>/g; - s/\@sc\{([^\}]*)\}/\U$1/g; s/\@acronym\{([^\}]*)\}/\U$1/g; s/\@file\{([^\}]*)\}/F<$1>/g; s/\@w\{([^\}]*)\}/S<$1>/g; s/\@(?:dmn|math)\{([^\}]*)\}/$1/g; s/\@\///g; + s/\@t\{([^\}]*)\}/$1/g; # keep references of the form @ref{...}, print them bold s/\@(?:ref)\{([^\}]*)\}/B<$1>/g; |