# HG changeset patch # User Rik # Date 1297732984 28800 # Node ID f2c080bbd8a5f7040a61d3c3a6b4e71aab3761c8 # Parent 890e89c3dfebad34de2d6a8e36e79f23f35b2440 Fix documentation bugs uncovered while rewriting munge-texi. Add missing commas to @seealso macro calls for some script functions. Remove @DOCSTRING references to functions without help text references. diff --git a/doc/ChangeLog b/doc/ChangeLog --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2010-02-14 Rik + + * interpreter/arith.txi, interpreter/io.txi, interpreter/oop.txi: + Remove functions which have no DOCSTRING entries. + 2011-02-06 John W. Eaton * interpreter/contributors.in: Add Fotios Kasolis to the list. diff --git a/doc/interpreter/arith.txi b/doc/interpreter/arith.txi --- a/doc/interpreter/arith.txi +++ b/doc/interpreter/arith.txi @@ -214,8 +214,6 @@ @DOCSTRING(floor) -@DOCSTRING(fmod) - @DOCSTRING(gcd) @DOCSTRING(gradient) diff --git a/doc/interpreter/io.txi b/doc/interpreter/io.txi --- a/doc/interpreter/io.txi +++ b/doc/interpreter/io.txi @@ -997,8 +997,6 @@ @DOCSTRING(tmpnam) -@DOCSTRING(octave_tmp_file_name) - @node EOF and Errors, File Positioning, Temporary Files, C-Style I/O Functions @subsection End of File and Errors diff --git a/doc/interpreter/oop.txi b/doc/interpreter/oop.txi --- a/doc/interpreter/oop.txi +++ b/doc/interpreter/oop.txi @@ -299,11 +299,8 @@ If you wish to use the @code{end} keyword in subscripted expressions of an object, then the user needs to define the @code{end} method for -the class. - -@DOCSTRING(end) - -For example the @code{end} method for our polynomial class might look like +the class. For example, the @code{end} method for our polynomial class might +look like @example @group @@ -313,8 +310,8 @@ @noindent which is a fairly generic @code{end} method that has a behavior similar to -the @code{end} keyword for Octave Array classes. It can then be used for -example like +the @code{end} keyword for Octave Array classes. It can then be used as +follows: @example @group diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,9 @@ +2010-02-14 Rik + + * plot/semilogxerr.m, plot/semilogyerr.m, special-matrix/pascal.m, + special-matrix/rosser.m, special-matrix/wilkinson.m: Add missing + commas in @seealso macro. + 2011-02-14 David Bateman * testfun/test.m: More explicit error message when source of a diff --git a/scripts/plot/semilogxerr.m b/scripts/plot/semilogxerr.m --- a/scripts/plot/semilogxerr.m +++ b/scripts/plot/semilogxerr.m @@ -31,7 +31,7 @@ ## with errors in the @var{y}-scale defined by @var{ey} and the plot ## format defined by @var{fmt}. See @code{errorbar} for available formats and ## additional information. -## @seealso{errorbar, loglogerr semilogyerr} +## @seealso{errorbar, loglogerr, semilogyerr} ## @end deftypefn ## Created: 20.2.2001 diff --git a/scripts/plot/semilogyerr.m b/scripts/plot/semilogyerr.m --- a/scripts/plot/semilogyerr.m +++ b/scripts/plot/semilogyerr.m @@ -31,7 +31,7 @@ ## with errors in the @var{y}-scale defined by @var{ey} and the plot ## format defined by @var{fmt}. See @code{errorbar} for available formats and ## additional information. -## @seealso{errorbar, loglogerr semilogxerr} +## @seealso{errorbar, loglogerr, semilogxerr} ## @end deftypefn ## Created: 20.2.2001 diff --git a/scripts/special-matrix/pascal.m b/scripts/special-matrix/pascal.m --- a/scripts/special-matrix/pascal.m +++ b/scripts/special-matrix/pascal.m @@ -30,7 +30,7 @@ ## @code{pascal (@var{n}, 1)}, which is the cube-root of the identity ## matrix. That is @code{pascal (@var{n}, 2) ^ 3 == eye (@var{n})}. ## -## @seealso{hankel, vander, sylvester_matrix, hilb, invhilb, toeplitz +## @seealso{hankel, vander, sylvester_matrix, hilb, invhilb, toeplitz, ## hadamard, wilkinson, compan, rosser} ## @end deftypefn diff --git a/scripts/special-matrix/rosser.m b/scripts/special-matrix/rosser.m --- a/scripts/special-matrix/rosser.m +++ b/scripts/special-matrix/rosser.m @@ -21,7 +21,7 @@ ## Return the Rosser matrix. This is a difficult test case used to evaluate ## eigenvalue algorithms. ## -## @seealso{hankel, vander, sylvester_matrix, hilb, invhilb, toeplitz +## @seealso{hankel, vander, sylvester_matrix, hilb, invhilb, toeplitz, ## hadamard, wilkinson, compan, pascal} ## @end deftypefn diff --git a/scripts/special-matrix/wilkinson.m b/scripts/special-matrix/wilkinson.m --- a/scripts/special-matrix/wilkinson.m +++ b/scripts/special-matrix/wilkinson.m @@ -22,8 +22,8 @@ ## symmetric and tridiagonal with pairs of nearly, but not exactly, equal ## eigenvalues. ## -## @seealso{hankel, vander, sylvester_matrix, hilb, invhilb, toeplitz -## hadamard, rosser, compan, pascal} +## @seealso{hankel, vander, sylvester_matrix, hilb, invhilb, toeplitz, +## hadamard, rosser, compan, pascal} ## @end deftypefn ## Author: Peter Ekberg @@ -50,4 +50,4 @@ %!assert (wilkinson(3), [1,1,0;1,0,1;0,1,1]) %!assert (wilkinson(4), [1.5,1,0,0;1,0.5,1,0;0,1,0.5,1;0,0,1,1.5]) %!error (wilkinson()) -%!error (wilkinson(1,2)) \ No newline at end of file +%!error (wilkinson(1,2))