[FFmpeg-devel] [PATCH] doc/texipod: add rule to intepret @ref{ANCHOR, XREF, SECTION_NAME, ...}

Stefano Sabatini stefasab at gmail.com
Sun Jan 13 15:16:05 CET 2013


On date Saturday 2013-01-12 00:58:52 +0100, Stefano Sabatini encoded:
> This allows to name an internal reference in the POD/MAN output.
> ---
>  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;

Applied.
-- 
FFmpeg = Fundamental Fundamentalist Mournful Peaceless Elected Genius


More information about the ffmpeg-devel mailing list