[FFmpeg-cvslog] doc/texi2pod: make references bold
Timothy Gu
git at videolan.org
Thu Feb 6 16:36:10 CET 2014
ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Sun Jan 26 09:43:20 2014 -0800| [474db7a696a34582ee655c07e5073a6702236be0] | committer: Michael Niedermayer
doc/texi2pod: make references bold
Inspired by GCC r86635.
This is more consistent with other man pages. For example in `man git`,
all the "git-help(1)" kind of cross refs are bold.
Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=474db7a696a34582ee655c07e5073a6702236be0
---
doc/texi2pod.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 6cf78d8..8fabac6 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -377,8 +377,8 @@ sub postprocess
s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g;
s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g;
s/;\s+\@pxref\{(?:[^\}]*)\}//g;
- s/\@ref\{(?:[^,\}]*,)(?:[^,\}]*,)([^,\}]*).*\}/$1/g;
- s/\@ref\{([^\}]*)\}/$1/g;
+ s/\@ref\{(?:[^,\}]*,)(?:[^,\}]*,)([^,\}]*).*\}/B<$1>/g;
+ s/\@ref\{([^\}]*)\}/B<$1>/g;
s/\@noindent\s*//g;
s/\@refill//g;
s/\@gol//g;
More information about the ffmpeg-cvslog
mailing list