# HG changeset patch # User Rik # Date 1343147691 25200 # Node ID 8f0e3c5bfa5fad500e802e6a0c126a51858a9592 # Parent d8acad691f26756b2b9050843543626ae47b7d48 doc: Periodic grammarcheck of documentation * fileattrib.m, glpk.m, axis.m, copyobj.m, gco.m, hdl2struct.m, struct2hdl.m, eigs.cc, variables.cc: Periodic grammarcheck of documentation diff --git a/scripts/miscellaneous/fileattrib.m b/scripts/miscellaneous/fileattrib.m --- a/scripts/miscellaneous/fileattrib.m +++ b/scripts/miscellaneous/fileattrib.m @@ -57,6 +57,7 @@ ## True if the user (group; other users) has execute permission for ## @var{file}. ## @end table +## ## If an attribute does not apply (i.e., archive on a Unix system) then ## the field is set to NaN. ## diff --git a/scripts/optimization/glpk.m b/scripts/optimization/glpk.m --- a/scripts/optimization/glpk.m +++ b/scripts/optimization/glpk.m @@ -369,6 +369,7 @@ ## @item 185 (@w{@code{LPX_UNDEF}}) ## Solution status is undefined. ## @end table +## ## Interior Point Method: ## ## @table @asis @@ -378,6 +379,7 @@ ## @item 151 (@w{@code{LPX_T_OPT}}) ## The interior point method is optimal. ## @end table +## ## Mixed Integer Method: ## ## @table @asis @@ -393,6 +395,7 @@ ## @item 173 (@w{@code{LPX_I_NOFEAS}}) ## No integer feasible solution. ## @end table +## ## @noindent ## If an error occurs, @var{status} will contain one of the following ## codes: diff --git a/scripts/plot/axis.m b/scripts/plot/axis.m --- a/scripts/plot/axis.m +++ b/scripts/plot/axis.m @@ -109,6 +109,7 @@ ## @item "nolabel" ## Turn tic labels off for all axes. ## @end table +## ## Note, if there are no tic marks for an axis, there can be no labels. ## ## @noindent diff --git a/scripts/plot/copyobj.m b/scripts/plot/copyobj.m --- a/scripts/plot/copyobj.m +++ b/scripts/plot/copyobj.m @@ -15,12 +15,12 @@ ## . ## -*- texinfo -*- -## @deftypefn {Function File} {@var{hnew} =} copyobj (@var{horig}) -## @deftypefnx {Function File} {@var{hnew} =} copyobj (@var{horig}, @var{hparent}) -## Constructs a copy of the object associated with handle @var{horig} -## and returns a handle, @var{hnew}, to the new object. -## If a parent handle @var{hparent} (root, figure, axes or hggroup) is specified, -## the copied object will be created as a child to @var{hparent}. +## @deftypefn {Function File} {@var{hnew} =} copyobj (@var{horig}) +## @deftypefnx {Function File} {@var{hnew} =} copyobj (@var{horig}, @var{hparent}) +## Construct a copy of the object associated with handle @var{horig} +## and return a handle @var{hnew} to the new object. +## If a parent handle @var{hparent} (root, figure, axes, or hggroup) is +## specified, the copied object will be created as a child to @var{hparent}. ## @seealso{findobj, get, set, struct2hdl, hdl2struct} ## @end deftypefn diff --git a/scripts/plot/gco.m b/scripts/plot/gco.m --- a/scripts/plot/gco.m +++ b/scripts/plot/gco.m @@ -20,8 +20,8 @@ ## @deftypefn {Function File} {@var{h} =} gco () ## @deftypefnx {Function File} {@var{h} =} gco (@var{fig}) ## Return a handle to the current object of the current figure, or a handle -## to the current object of the figure with handle @var{fig}. The current -## object of a figure is the object that was last clicked on. It is stored +## to the current object of the figure with handle @var{fig}. The current +## object of a figure is the object that was last clicked on. It is stored ## in the CurrentObject property of the target figure. ## ## If the last mouse click didn't occur on any child object of the figure, @@ -31,7 +31,7 @@ ## empty matrix. ## ## Note that the value returned by this function is not necessarily the same -## as the one returned by gcbo during callback execution. An executing +## as the one returned by gcbo during callback execution. An executing ## callback can be interrupted by another callback and the current object ## can be modified. ## diff --git a/scripts/plot/hdl2struct.m b/scripts/plot/hdl2struct.m --- a/scripts/plot/hdl2struct.m +++ b/scripts/plot/hdl2struct.m @@ -15,8 +15,8 @@ ## . ## -*- texinfo -*- -## @deftypefn {Function File} {@var{s} =} hdl2struct (@var{h}) -## Returns a structure, @var{s}, whose fields describe the properties +## @deftypefn {Function File} {@var{s} =} hdl2struct (@var{h}) +## Return a structure, @var{s}, whose fields describe the properties ## of the object, and its children, associated with the handle, @var{h}. ## The fields of the structure, @var{s}, are "type", "handle", "properties", ## "children" and "special". diff --git a/scripts/plot/struct2hdl.m b/scripts/plot/struct2hdl.m --- a/scripts/plot/struct2hdl.m +++ b/scripts/plot/struct2hdl.m @@ -18,7 +18,7 @@ ## @deftypefn {Function File} {@var{h} =} struct2hdl (@var{s}) ## @deftypefnx {Function File} {@var{h} =} struct2hdl (@var{s}, @var{p}) ## @deftypefnx {Function File} {@var{h} =} struct2hdl (@var{s}, @var{p}, @var{hilev}) -## Constructs an object from the structure @var{s}. The structure must +## Construct an object from the structure @var{s}. The structure must ## contain the fields "handle", "type", "children", "properties", and ## "special". If the handle of an existing figure or axes is specified, ## @var{p}, the new object will be created as a child to that object. @@ -27,8 +27,8 @@ ## the root figure. ## ## A third boolean argument @var{hilev} can be passed to specify wether -## the function should try to preserve listeners/calbacks e.g for -## legends or hggroups. Default is false. +## the function should try to preserve listeners/calbacks e.g., for +## legends or hggroups. Default is false. ## @seealso{findobj, get, hdl2struct, set} ## @end deftypefn diff --git a/src/DLD-FUNCTIONS/eigs.cc b/src/DLD-FUNCTIONS/eigs.cc --- a/src/DLD-FUNCTIONS/eigs.cc +++ b/src/DLD-FUNCTIONS/eigs.cc @@ -258,6 +258,7 @@ default is @code{1:@var{n}}.\n\ \n\ @end table\n\ +\n\ It is also possible to represent @var{A} by a function denoted @var{af}.\n\ @var{af} must be followed by a scalar argument @var{n} defining the length\n\ of the vector argument accepted by @var{af}. @var{af} can be\n\ diff --git a/src/variables.cc b/src/variables.cc --- a/src/variables.cc +++ b/src/variables.cc @@ -548,6 +548,7 @@ @item \"dir\"\n\ Check only for directories.\n\ @end table\n\ +\n\ @seealso{file_in_loadpath}\n\ @end deftypefn") { @@ -2324,6 +2325,7 @@ The arguments are treated as regular expressions as any variables that\n\ match will be cleared.\n\ @end table\n\ +\n\ With the exception of @code{exclusive}, all long options can be used\n\ without the dash as well.\n\ @end deftypefn")