[FFmpeg-devel] [PATCH] doc/texipod: add rule to intepret	@ref{ANCHOR, XREF, SECTION_NAME, ...}
    Stefano Sabatini 
    stefasab at gmail.com
       
    Sat Jan 12 00:58:52 CET 2013
    
    
  
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;
-- 
1.7.9.5
    
    
More information about the ffmpeg-devel
mailing list