[FFmpeg-cvslog] doc/texipod: add rule to correctly interpret @ref{ANCHOR, XREF, SECTION_NAME, ...}
Stefano Sabatini
git at videolan.org
Sun Jan 13 15:14:51 CET 2013
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sat Jan 12 00:53:42 2013 +0100| [c499d45c6bea8d7bbbb7a819c53fe9766136bf29] | committer: Stefano Sabatini
doc/texipod: add rule to correctly interpret @ref{ANCHOR,XREF,SECTION_NAME,...}
This allows to name an internal reference in the POD/MAN output.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c499d45c6bea8d7bbbb7a819c53fe9766136bf29
---
doc/texi2pod.pl | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 8790563..265f8c5 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