aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-01-26 09:43:20 -0800
committerMichael Niedermayer <michaelni@gmx.at>2014-02-06 16:18:26 +0100
commit474db7a696a34582ee655c07e5073a6702236be0 (patch)
treefb41dad08fe1c3121e6a76987203cefd4f5d0fa2
parentc73445a45cdb6cc8c29f411fbf314500e48cf3b5 (diff)
downloadffmpeg-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-xdoc/texi2pod.pl4
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;