Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-01-12 03:53:42 +0400
committerStefano Sabatini <stefasab@gmail.com>2013-01-13 18:09:08 +0400
commitc499d45c6bea8d7bbbb7a819c53fe9766136bf29 (patch)
tree8f0d1c2e7db82b862a8d322cad0ff53a31f94fbf /doc/texi2pod.pl
parent5b9126ba845d88b2b6e10548c9bfe8e1b4ed2402 (diff)
doc/texipod: add rule to correctly interpret @ref{ANCHOR,XREF,SECTION_NAME,...}
This allows to name an internal reference in the POD/MAN output.
Diffstat (limited to 'doc/texi2pod.pl')
-rwxr-xr-xdoc/texi2pod.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 8790563131..265f8c5815 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;