[FFmpeg-devel] [PATCH 8/8] doc/texi2pod: make references bold
Timothy Gu
timothygu99 at gmail.com
Sun Jan 26 18:43:20 CET 2014
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>
---
doc/texi2pod.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 2259d81..4eba3a6 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -392,8 +392,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;
--
1.8.3.2
More information about the ffmpeg-devel
mailing list