diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-01-26 09:43:20 -0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-06 16:18:26 +0100 |
commit | 474db7a696a34582ee655c07e5073a6702236be0 (patch) | |
tree | fb41dad08fe1c3121e6a76987203cefd4f5d0fa2 | |
parent | c73445a45cdb6cc8c29f411fbf314500e48cf3b5 (diff) | |
download | ffmpeg-474db7a696a34582ee655c07e5073a6702236be0.tar.gz |
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@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-x | doc/texi2pod.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index 6cf78d889c..8fabac6d9a 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; |