From 474db7a696a34582ee655c07e5073a6702236be0 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Sun, 26 Jan 2014 09:43:20 -0800 Subject: 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 Signed-off-by: Michael Niedermayer --- doc/texi2pod.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/texi2pod.pl') 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; -- cgit v1.1