Skip to content

Commit

Permalink
* texi2pod.pl (postprocess): Move command process for '@sc' to the
Browse files Browse the repository at this point in the history
	front of '@dfn'.  Add a new command process for '@t{...}', just print
	the content.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213808 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
xmj committed Aug 11, 2014
1 parent ff32607 commit 6be49d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions contrib/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2014-08-11 Mingjie Xing <[email protected]>

* 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 <[email protected]>
Yury Gribov <[email protected]>

Expand Down
3 changes: 2 additions & 1 deletion contrib/texi2pod.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6be49d5

Please sign in to comment.