[FFmpeg-cvslog] doc/texipod: add rule to correctly interpret @ref{ANCHOR, XREF, SECTION_NAME , ...}
Stefano Sabatini
git at videolan.org
Wed Aug 28 01:42:03 CEST 2013
ffmpeg | branch: release/0.11 | Stefano Sabatini <stefasab at gmail.com> | Sat Jan 12 00:53:42 2013 +0100| [ae224c924ec8cfdad8a52c03cf69c8f133a2584b] | committer: Timothy Gu
doc/texipod: add rule to correctly interpret @ref{ANCHOR,XREF,SECTION_NAME,...}
This allows to name an internal reference in the POD/MAN output.
(cherry picked from commit c499d45c6bea8d7bbbb7a819c53fe9766136bf29)
Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ae224c924ec8cfdad8a52c03cf69c8f133a2584b
---
doc/texi2pod.pl | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index bf333b8..95e52f5 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -356,6 +356,7 @@ sub postprocess
s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g;
s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g;
s/;\s+\@pxref\{(?:[^\}]*)\}//g;
+ s/\@ref\{(?:[^,]*,)(?:[^,]*,)([^,\}]*).*\}/$1/g;
s/\@ref\{([^\}]*)\}/$1/g;
s/\@noindent\s*//g;
s/\@refill//g;
More information about the ffmpeg-cvslog
mailing list