changeset 18815:19a140e93b1f

doc: Periodic grammarcheck of documentation. * install.txi, linalg.txi, vectorize.txi, input.cc, pager.cc, pr-output.cc, imwrite.m, hgsave.m: Periodic grammarcheck of documentation.
author Rik <rik@octave.org>
date Mon, 09 Jun 2014 11:03:17 -0700
parents 4f0e4f20a33f
children e275d15c27b5
files doc/interpreter/install.txi doc/interpreter/linalg.txi doc/interpreter/vectorize.txi libinterp/corefcn/input.cc libinterp/corefcn/pager.cc libinterp/corefcn/pr-output.cc scripts/image/imwrite.m scripts/plot/util/hgsave.m
diffstat 8 files changed, 21 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/install.txi	Sun Jun 08 22:29:44 2014 -0700
+++ b/doc/interpreter/install.txi	Mon Jun 09 11:03:17 2014 -0700
@@ -734,6 +734,7 @@
 Suggestions on how to compile ATLAS would be most welcome.
 
 @item @sc{glpk}
+
 @item Qhull (@url{http://www.qhull.org})
 
 Both @sc{glpk} and Qhull use @code{int} internally so maximum problem
@@ -1026,3 +1027,4 @@
 @env{FFLAGS} is set to @qcode{"-O"}.
 
 @end itemize
+
--- a/doc/interpreter/linalg.txi	Sun Jun 08 22:29:44 2014 -0700
+++ b/doc/interpreter/linalg.txi	Mon Jun 09 11:03:17 2014 -0700
@@ -49,7 +49,7 @@
 Octave includes a polymorphic solver that selects an appropriate matrix
 factorization depending on the properties of the matrix itself.
 Generally, the cost of determining the matrix type is small relative to
-the cost of factorizing the matrix itself. In any case the matrix type
+the cost of factorizing the matrix itself.  In any case the matrix type
 is cached once it is calculated so that it is not re-determined each
 time it is used in a linear equation.
 
@@ -212,3 +212,4 @@
 @DOCSTRING(cgs)
 
 @DOCSTRING(gmres)
+
--- a/doc/interpreter/vectorize.txi	Sun Jun 08 22:29:44 2014 -0700
+++ b/doc/interpreter/vectorize.txi	Mon Jun 09 11:03:17 2014 -0700
@@ -713,3 +713,4 @@
 a column vector.  This is a common vectorization trick.
 
 @end itemize
+
--- a/libinterp/corefcn/input.cc	Sun Jun 08 22:29:44 2014 -0700
+++ b/libinterp/corefcn/input.cc	Mon Jun 09 11:03:17 2014 -0700
@@ -1007,7 +1007,7 @@
 
 DEFUN (__echostate__, , ,
        "-*- texinfo -*-\n\
-@deftypefn  {Built-in Function} {@var{state} =} __echostate__ ()\n\
+@deftypefn {Built-in Function} {@var{state} =} __echostate__ ()\n\
 Undocumented internal function\n\
 @end deftypefn")
 {
--- a/libinterp/corefcn/pager.cc	Sun Jun 08 22:29:44 2014 -0700
+++ b/libinterp/corefcn/pager.cc	Mon Jun 09 11:03:17 2014 -0700
@@ -591,7 +591,7 @@
 
 DEFUN (__diaryfile__, , ,
        "-*- texinfo -*-\n\
-@deftypefn  {Built-in Function} {@var{fname} =} __diaryfile__ ()\n\
+@deftypefn {Built-in Function} {@var{fname} =} __diaryfile__ ()\n\
 Undocumented internal function\n\
 @end deftypefn")
 {
@@ -600,7 +600,7 @@
 
 DEFUN (__diarystate__, , ,
        "-*- texinfo -*-\n\
-@deftypefn  {Built-in Function} {@var{state} =} __diarystate__ ()\n\
+@deftypefn {Built-in Function} {@var{state} =} __diarystate__ ()\n\
 Undocumented internal function\n\
 @end deftypefn")
 {
--- a/libinterp/corefcn/pr-output.cc	Sun Jun 08 22:29:44 2014 -0700
+++ b/libinterp/corefcn/pr-output.cc	Mon Jun 09 11:03:17 2014 -0700
@@ -4065,7 +4065,7 @@
 
 DEFUN (__formatstring__, , ,
        "-*- texinfo -*-\n\
-@deftypefn  {Built-in Function} {@var{val} =} __formatstring__ ()\n\
+@deftypefn {Built-in Function} {@var{val} =} __formatstring__ ()\n\
 Undocumented internal function\n\
 @end deftypefn")
 {
--- a/scripts/image/imwrite.m	Sun Jun 08 22:29:44 2014 -0700
+++ b/scripts/image/imwrite.m	Mon Jun 09 11:03:17 2014 -0700
@@ -49,7 +49,7 @@
 ##
 ## @item DelayTime
 ## For formats that accept animations (such as GIF), controls for how long a
-## frame is displayed until it moves to the next one. The value must be scalar
+## frame is displayed until it moves to the next one.  The value must be scalar
 ## (which will applied to all frames in @var{img}), or a vector of length
 ## equal to the number of frames in @var{im}.  The value is in seconds, must
 ## be between 0 and 655.35, and defaults to 0.5.
--- a/scripts/plot/util/hgsave.m	Sun Jun 08 22:29:44 2014 -0700
+++ b/scripts/plot/util/hgsave.m	Mon Jun 09 11:03:17 2014 -0700
@@ -29,12 +29,17 @@
 ## should be one of the following:
 ##
 ## @itemize @bullet
-## @item @code{-binary}, @code{-float-binary}
-## @item @code{-hdf5}, @code{-float-hdf5}
-## @item @code{-V7}, @code{-v7}, @code{-7}, @code{-mat7-binary}
-## @item @code{-V6}, @code{-v6}, @code{-6}, @code{-mat6-binary}
-## @item @code{-text}
-## @item @code{-zip}, @code{-z}
+## @item @option{-binary}, @option{-float-binary}
+##
+## @item @option{-hdf5}, @option{-float-hdf5}
+##
+## @item @option{-V7}, @option{-v7}, @code{-7}, @option{-mat7-binary}
+##
+## @item @option{-V6}, @option{-v6}, @code{-6}, @option{-mat6-binary}
+##
+## @item @option{-text}
+##
+## @item @option{-zip}, @option{-z}
 ## @end itemize
 ##
 ## When producing graphics for final publication use @code{print} or