changeset 19610:e97c63531e76

doc: Periodic grammarcheck of documentation. * func.txi: Use @noindent for examples in the middle of sentences. * warning_ids.m: Aline @item in table.
author Rik <rik@octave.org>
date Tue, 13 Jan 2015 22:06:39 -0800
parents 7f5006dfa2eb
children f64cdbe11621
files doc/interpreter/func.txi scripts/miscellaneous/warning_ids.m
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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.