Browse code

doc: replace @pxref by @ref where appropriate

Diego Biurrun authored on 2011/07/08 22:34:56
Showing 4 changed files
... ...
@@ -224,7 +224,7 @@ Note, some rules were borrowed from the MPlayer project.
224 224
 
225 225
 @section Submitting patches
226 226
 
227
-First, read the (@pxref{Coding Rules}) above if you did not yet, in particular
227
+First, read the @ref{Coding Rules} above if you did not yet, in particular
228 228
 the rules regarding patch submission.
229 229
 
230 230
 As stated already, please do not submit a patch which contains several
... ...
@@ -238,7 +238,7 @@ for us and greatly increases your chances of getting your patch applied.
238 238
 Use the patcheck tool of Libav to check your patch.
239 239
 The tool is located in the tools directory.
240 240
 
241
-Run the @pxref{Regression Tests} before submitting a patch in order to verify
241
+Run the @ref{Regression Tests} before submitting a patch in order to verify
242 242
 it does not cause unexpected problems.
243 243
 
244 244
 Patches should be posted as base64 encoded attachments (or any other
... ...
@@ -796,8 +796,7 @@ Erode an image by using a specific structuring element.
796 796
 This filter corresponds to the libopencv function @code{cvErode}.
797 797
 
798 798
 The filter accepts the parameters: @var{struct_el}:@var{nb_iterations},
799
-with the same meaning and use of those of the dilate filter
800
-(@pxref{dilate}).
799
+with the same syntax and semantics as the @ref{dilate} filter.
801 800
 
802 801
 @subsection smooth
803 802
 
... ...
@@ -1093,7 +1092,7 @@ setdar=16:9
1093 1093
 setdar=1.77777
1094 1094
 @end example
1095 1095
 
1096
-See also the "setsar" filter documentation (@pxref{setsar}).
1096
+See also the @ref{setsar} filter documentation.
1097 1097
 
1098 1098
 @section setpts
1099 1099
 
... ...
@@ -1547,8 +1546,7 @@ form @var{width}x@var{height} or a frame size abbreviation.
1547 1547
 the form @var{num}/@var{den} or a frame rate abbreviation.
1548 1548
 @var{src_name} is the name to the frei0r source to load. For more
1549 1549
 information regarding frei0r and how to set the parameters read the
1550
-section "frei0r" (@pxref{frei0r}) in the description of the video
1551
-filters.
1550
+section @ref{frei0r} in the description of the video filters.
1552 1551
 
1553 1552
 Some examples follow:
1554 1553
 @example
... ...
@@ -51,7 +51,7 @@ and the input video converted to MPEG-2 video, use the command:
51 51
 ffmpeg -i INPUT -acodec pcm_u8 -vcodec mpeg2video -f crc -
52 52
 @end example
53 53
 
54
-See also the @code{framecrc} muxer (@pxref{framecrc}).
54
+See also the @ref{framecrc} muxer.
55 55
 
56 56
 @anchor{framecrc}
57 57
 @section framecrc
... ...
@@ -88,7 +88,7 @@ MPEG-2 video, use the command:
88 88
 ffmpeg -i INPUT -acodec pcm_u8 -vcodec mpeg2video -f framecrc -
89 89
 @end example
90 90
 
91
-See also the @code{crc} muxer (@pxref{crc}).
91
+See also the @ref{crc} muxer.
92 92
 
93 93
 @section image2
94 94
 
... ...
@@ -352,6 +352,7 @@ sub postprocess
352 352
     s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g;
353 353
     s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g;
354 354
     s/;\s+\@pxref\{(?:[^\}]*)\}//g;
355
+    s/\@ref\{([^\}]*)\}/$1/g;
355 356
     s/\@noindent\s*//g;
356 357
     s/\@refill//g;
357 358
     s/\@gol//g;