mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 04:14:31 +08:00
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
This commit is contained in:
parent
c62ccb9a0a
commit
6f853fd453
@ -1,3 +1,9 @@
|
||||
2014-08-11 Mingjie Xing <mingjie.xing@gmail.com>
|
||||
|
||||
* texi2pod.pl (postprocess): Move command process for '@sc' to the
|
||||
front of '@dfn'. Add a new command process for '@t{...}', just print
|
||||
the content.
|
||||
|
||||
2014-07-21 Trevor Saunders <tsaunders@mozilla.com>
|
||||
Yury Gribov <y.gribov@samsung.com>
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user