diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-01-12 00:53:42 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-01-13 15:09:08 +0100 |
commit | c499d45c6bea8d7bbbb7a819c53fe9766136bf29 (patch) | |
tree | 8f0d1c2e7db82b862a8d322cad0ff53a31f94fbf /doc | |
parent | 5b9126ba845d88b2b6e10548c9bfe8e1b4ed2402 (diff) | |
download | ffmpeg-c499d45c6bea8d7bbbb7a819c53fe9766136bf29.tar.gz |
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')
-rwxr-xr-x | doc/texi2pod.pl | 1 |
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; |