From 60445a09951b1c5076ab8bd4ecdf1146f0392f56 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 30 Nov 2010 20:14:29 +0000 Subject: [PATCH] Remove @anchor{} commands from the POD output. This allows to use the @xref{} command for the HTML output. Originally committed as revision 25854 to svn://svn.ffmpeg.org/ffmpeg/trunk --- doc/texi2pod.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index fd3f02059d3..aa3273ec1a0 100755 --- a/doc/texi2pod.pl +++ b/doc/texi2pod.pl @@ -346,6 +346,7 @@ sub postprocess # @* is also impossible in .pod; we discard it and any newline that # follows it. Similarly, our macro @gol must be discarded. + s/\@anchor{(?:[^\}]*)\}//g; s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g; s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g; s/;\s+\@pxref\{(?:[^\}]*)\}//g; -- 2.39.2