[FFmpeg-cvslog] doc/texipod: add rule to correctly interpret @ref{ANCHOR, XREF, SECTION_NAME , ...}

Stefano Sabatini git at videolan.org
Wed Aug 28 23:16:21 CEST 2013


ffmpeg | branch: release/1.1 | Stefano Sabatini <stefasab at gmail.com> | Sat Jan 12 00:53:42 2013 +0100| [2892b01227d9b1e829b428591ce6fd2a30aae67a] | 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=2892b01227d9b1e829b428591ce6fd2a30aae67a
---

 doc/texi2pod.pl |    1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 104b337..c7f1125 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -361,6 +361,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