# HG changeset patch # User Rik # Date 1421215599 28800 # Node ID e97c63531e76f3db7987263e23f22a561a8ed59b # Parent 7f5006dfa2ebd8d8ca5c570e113b1f9704c45a97 doc: Periodic grammarcheck of documentation. * func.txi: Use @noindent for examples in the middle of sentences. * warning_ids.m: Aline @item in table. diff -r 7f5006dfa2eb -r e97c63531e76 doc/interpreter/func.txi --- a/doc/interpreter/func.txi Tue Jan 13 23:06:08 2015 -0500 +++ b/doc/interpreter/func.txi Tue Jan 13 22:06:39 2015 -0800 @@ -1398,6 +1398,7 @@ quad (@@sin, 0, pi) @end example +@noindent rather than using the anonymous function @code{@@(x) sin (x)}. There are many operators which have functional equivalents that may be better choices than an anonymous function. Instead of writing @@ -1406,6 +1407,7 @@ f = @@(x, y) x + y @end example +@noindent this should be coded as @example diff -r 7f5006dfa2eb -r e97c63531e76 scripts/miscellaneous/warning_ids.m --- a/scripts/miscellaneous/warning_ids.m Tue Jan 13 23:06:08 2015 -0500 +++ b/scripts/miscellaneous/warning_ids.m Tue Jan 13 22:06:39 2015 -0800 @@ -299,7 +299,7 @@ ## string constant. ## By default, the @code{Octave:single-quote-string} warning is disabled. ## -## @item Octave:nearly-singular-matrix +## @item Octave:nearly-singular-matrix ## @itemx Octave:singular-matrix ## By default, the @code{Octave:nearly-singular-matrix} and ## @code{Octave:singular-matrix} warnings are enabled.