Mercurial > hg > octave-lojdl
changeset 9143:74d5c1a4ca96
Eliminate 'unbalanced parentheses in @def...' error during texi2pdf.
Fixed four .m files with incorrect @deftypefn macro usage.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Tue, 21 Apr 2009 10:00:11 -0700 |
parents | b38c45d1fc08 |
children | c6463412aebb |
files | doc/ChangeLog scripts/image/imfinfo.m scripts/optimization/fsolve.m scripts/optimization/fzero.m scripts/plot/backend.m scripts/plot/ribbon.m scripts/plot/spinmap.m |
diffstat | 7 files changed, 16 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2009-04-21 Rik <rdrider0-list@yahoo.com> + * interpreter/octave.pdf: Eliminate 'unbalanced parentheses in @def...' + error during texi2pdf. Fixed four .m files incorrectly using @deftypefn + macro. + 2009-04-19 Ansgar Burchardt <ansgar@43-1.org> * interpreter/numbers.txi: Fix small mistake in example.
--- a/scripts/image/imfinfo.m +++ b/scripts/image/imfinfo.m @@ -17,8 +17,8 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Function File} {@var{info} =} imfinfo (@var{filename}) -## @deftypefnx{Function File} {@var{info} =} imfinfo (@var{url}) +## @deftypefn {Function File} {@var{info} =} imfinfo (@var{filename}) +## @deftypefnx {Function File} {@var{info} =} imfinfo (@var{url}) ## Read image information from a file. ## ## @code{imfinfo} returns a structure containing information about the image
--- a/scripts/optimization/fsolve.m +++ b/scripts/optimization/fsolve.m @@ -19,8 +19,8 @@ ## Author: Jaroslav Hajek <highegg@gmail.com> ## -*- texinfo -*- -## @deftypefn{Function File} {} fsolve (@var{fcn}, @var{x0}, @var{options}) -## @deftypefnx{Function File} {[@var{x}, @var{fvec}, @var{info}, @var{output}, @var{fjac}]} = fsolve (@var{fcn}, @dots{}) +## @deftypefn {Function File} {} fsolve (@var{fcn}, @var{x0}, @var{options}) +## @deftypefnx {Function File} {[@var{x}, @var{fvec}, @var{info}, @var{output}, @var{fjac}]} = fsolve (@var{fcn}, @dots{}) ## Solve a system of nonlinear equations defined by the function @var{fcn}. ## @var{fcn} should accepts a vector (array) defining the unknown variables, ## and return a vector of left-hand sides of the equations. Right-hand sides
--- a/scripts/optimization/fzero.m +++ b/scripts/optimization/fzero.m @@ -19,7 +19,7 @@ ## Author: Jaroslav Hajek <highegg@gmail.com> ## -*- texinfo -*- -## @deftypefn{Function File}{[@var{x}, @var{fval}, @var{info}, @var{output}] =} fzero (@var{fun}, @var{x0}, @var{options}) +## @deftypefn {Function File} {[@var{x}, @var{fval}, @var{info}, @var{output}] =} fzero (@var{fun}, @var{x0}, @var{options}) ## Find a zero point of a univariate function. @var{fun} should be a function ## handle or name. @var{x0} specifies a starting point. @var{options} is a ## structure specifying additional options. Currently, @code{fzero}
--- a/scripts/plot/backend.m +++ b/scripts/plot/backend.m @@ -17,8 +17,8 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Function File} backend (@var{name}) -## @deftypefnx {Function File} backend (@var{hlist}, @var{name}) +## @deftypefn {Function File} {} backend (@var{name}) +## @deftypefnx {Function File} {} backend (@var{hlist}, @var{name}) ## Change the default graphics backend to @var{name}. If the backend is ## not already loaded, it is first initialized (initialization is done ## through the execution of __init_@var{name}__).
--- a/scripts/plot/ribbon.m +++ b/scripts/plot/ribbon.m @@ -17,9 +17,9 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Function File} ribbon (@var{x}, @var{y}, @var{width}) -## @deftypefnx {Function File} ribbon (@var{y}) -## @deftypefnx {Function File} {@var{h} =} ribbon (@dots{}) +## @deftypefn {Function File} {} ribbon (@var{x}, @var{y}, @var{width}) +## @deftypefnx {Function File} {} ribbon (@var{y}) +## @deftypefnx {Function File} {@var{h} =} ribbon (@dots{}) ## Plot a ribbon plot for the columns of @var{y} vs. @var{x}. The ## optional parameter @var{width} specifies the width of a single ribbon ## (default is 0.75). If @var{x} is omitted, a vector containing the
--- a/scripts/plot/spinmap.m +++ b/scripts/plot/spinmap.m @@ -17,7 +17,7 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Function File} spinmap (@var{t}, @var{inc}) +## @deftypefn {Function File} {} spinmap (@var{t}, @var{inc}) ## Cycle the colormap for @var{t} seconds with an increment ## of @var{inc}. Both parameters are optional. The default cycle time ## is 5 seconds and the default increment is 2.