Hello, As discussed in https://sourceware.org/ml/gdb-patches/2014-07/msg00145.html, I'd like to put the patch for texi2pod.pl here. The patch is necessary to output the gdb man manual correctly for such cases,
G@{++} and @dfn{@sc{gdb/mi} interface} contrib/ChangeLog 2014-07-09 Mingjie Xing <mingjie.x...@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. Is it OK? Best regards, Mingjie
Index: contrib/texi2pod.pl =================================================================== --- contrib/texi2pod.pl (revision 212380) +++ contrib/texi2pod.pl (working copy) @@ -389,15 +389,16 @@ # 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;