diff --git a/doc/interpreter/basics.txi b/doc/interpreter/basics.txi index 59ff826f4f..608b52d2f7 100644 --- a/doc/interpreter/basics.txi +++ b/doc/interpreter/basics.txi @@ -126,8 +126,8 @@ Print short help message and exit. Add path to the head of the search path for images. The value of @var{path} specified on the command line will override any value of @w{@env{OCTAVE_IMAGE_PATH}}@ found in the environment, but not any commands -in the system or user startup files that call the @w{@env{IMAGE_PATH}}@ -function. +in the system or user startup files that call the +@w{@env{IMAGE_PATH}}@ function. @item --info-file @var{filename} @cindex @sortas{options, Octave command --info-file} @ @ @code{--info-file @var{filename}} @@ -361,8 +361,8 @@ overridden by the environment variable @w{@env{OCTAVE_VERSION_INITFILE}}. @item @var{config-dir}/octave/octaverc @cindex personal startup file where @code{@var{config-dir}} is the platform-dependent location for user -local configuration files (e.g., @w{@env{$XDG_CONFIG_HOME}} on many Unix-like -operating systems or @w{@env{%APPDATA%}} on Windows). +local configuration files (e.g., @w{@env{$XDG_CONFIG_HOME}}@ on many Unix-like +operating systems or @w{@env{%APPDATA%}}@ on Windows). @item ~/.octaverc @cindex personal startup file diff --git a/doc/interpreter/expr.txi b/doc/interpreter/expr.txi index c9e423b3ed..0a5c1f0ddd 100644 --- a/doc/interpreter/expr.txi +++ b/doc/interpreter/expr.txi @@ -261,7 +261,7 @@ data(idx) @noindent Instead of creating the @code{idx} array it is possible to replace -@code{data(idx)} with @w{@code{data( data <= 2 )}} in the above code. +@code{data(idx)} with @w{@code{data( data <= 2 )}}@ in the above code. While the size of the logical index expressions is usually the same as that of the array being indexed, this is not a necessary condition. If the logical @@ -375,7 +375,7 @@ the respective dimension of the array. However, if the number of indexing components exceeds the number of dimensions (@w{@code{M > nd}}) then the excess components must all be singletons (@code{1}). Moreover, if @w{@code{M < nd}}, the behavior is equivalent to -reshaping the input object so as to merge the trailing @w{@code{nd - M}} +reshaping the input object so as to merge the trailing @w{@code{nd - M}}@ dimensions into the last index dimension @code{M}. Thus, the result will have the dimensionality of the index expression, and not the original object. This is the case whenever dimensionality of the index is greater than one diff --git a/doc/interpreter/external.txi b/doc/interpreter/external.txi index bf9fe3e16e..6316ef5e7f 100755 --- a/doc/interpreter/external.txi +++ b/doc/interpreter/external.txi @@ -158,8 +158,9 @@ most of the definitions necessary for a C++ oct-file. Note that @file{octave/oct.h} is a C++ header and cannot be directly @code{#include}'ed in a C source file, nor any other language. -Included by @file{oct.h} is a definition for the macro @w{@code{DEFUN_DLD}}@ -which creates a dynamically loaded function. This macro takes four arguments: +Included by @file{oct.h} is a definition for the macro +@w{@code{DEFUN_DLD}}@ which creates a dynamically loaded function. This macro +takes four arguments: @enumerate 1 @item The function name as it will be seen in Octave, diff --git a/doc/interpreter/genpropdoc.m b/doc/interpreter/genpropdoc.m index dee0ec602e..1d938af695 100644 --- a/doc/interpreter/genpropdoc.m +++ b/doc/interpreter/genpropdoc.m @@ -580,7 +580,7 @@ position and size of the figure (in @code{paperunits} units) on the printed \ figure on the page, and the size is defined by @code{[width height]}. For \ output formats not implicitly rendered on paper, @code{width} and \ @code{height} define the size of the image and the position information is \ -ignored. __modemsg__."; +ignored. __modemsg__"; s.valid = valid_4elvec; s.category = "Printing/Saving"; @@ -649,7 +649,7 @@ element defines a pixel with the element (1,1) representing the \ case "renderer" s.doc = "Rendering engine used for printing when @code{renderermode} \ -is @qcode{\"manual\"}. __modemsg__."; +is @qcode{\"manual\"}. __modemsg__"; s.category = "Printing/Saving"; case "renderermode" @@ -823,7 +823,7 @@ element defines a pixel with the element (1,1) representing the \ case "cameraposition" s.doc = "Coordinates of the camera position viewing the \ -__objname__. __modemsg__."; +__objname__. __modemsg__"; s.valid = valid_3elvec; s.category = "Camera and View Controls"; @@ -836,7 +836,7 @@ element defines a pixel with the element (1,1) representing the \ case "cameratarget" s.doc = "Coordinates of the point at which the viewing camera is \ -aimed. __modemsg__."; +aimed. __modemsg__"; s.valid = valid_3elvec; s.category = "Camera and View Controls"; @@ -850,7 +850,7 @@ element defines a pixel with the element (1,1) representing the \ case "cameraupvector" s.doc = "A 3-element vector defining the upward direction of the \ current view. Note that the default is [0 1 0] for 2-D plots and [0 0 1] for \ -3-D plots. __modemsg__."; +3-D plots. __modemsg__"; s.valid = valid_3elvec; s.category = "Camera and View Controls"; @@ -863,7 +863,7 @@ element defines a pixel with the element (1,1) representing the \ case "cameraviewangle" s.doc = "The camera's field of view defined as an angle between 0 \ -and 180 degrees. __modemsg__."; +and 180 degrees. __modemsg__"; s.valid = "scalar"; s.category = "Camera and View Controls"; @@ -877,7 +877,7 @@ element defines a pixel with the element (1,1) representing the \ case "clim" s.doc = "Define limits for the color axis of __objname__ \ children that have the @qcode{cdata} property. \ -__modemsg__."; +__modemsg__"; s.valid = valid_2elvec; s.category = "Color and Transparency"; @@ -942,7 +942,7 @@ element defines a pixel with the element (1,1) representing the \ displayed in the axes. Setting @code{dataaspectratio} to \ @w{@code{[1, 2]}} causes the length of one unit as displayed on the x-axis \ to be the same as the length of 2 units on the y-axis. \ -@xref{XREFdaspect, , daspect function}. __modemsg__."; +@xref{XREFdaspect, , daspect function}. __modemsg__"; s.valid = valid_3elvec; s.category = "Axes Box Appearance"; @@ -964,7 +964,7 @@ element defines a pixel with the element (1,1) representing the \ s.category = "Text Appearance"; case "fontsize" - s.doc = [doc_fontsize, " __modemsg__."]; + s.doc = [doc_fontsize, " __modemsg__"]; s.valid = "scalar"; s.category = "Text Appearance"; @@ -997,7 +997,7 @@ element defines a pixel with the element (1,1) representing the \ case "gridcolor" s.doc = "Color of the major grid lines. \ -@xref{Colors, , colorspec}. __modemsg__."; +@xref{Colors, , colorspec}. __modemsg__"; s.valid = packopt ({markdef(valid_color), "@qcode{\"none\"}"}); s.category = "Axes Grid Appearance"; @@ -1070,7 +1070,7 @@ element defines a pixel with the element (1,1) representing the \ case "minorgridcolor" s.doc = "Color of the minor grid lines. \ -@xref{Colors, , colorspec}. __modemsg__."; +@xref{Colors, , colorspec}. __modemsg__"; s.valid = packopt ({markdef(valid_color), "@qcode{\"none\"}"}); s.category = "Axes Grid Appearance"; @@ -1119,7 +1119,7 @@ element defines a pixel with the element (1,1) representing the \ s.category = "Object Position"; case "plotboxaspectratio" - s.doc = "@xref{XREFpbaspect, , pbaspect function}. __modemsg__."; + s.doc = "@xref{XREFpbaspect, , pbaspect function}. __modemsg__"; s.category = "Object Position"; case "plotboxaspectratiomode" @@ -1172,7 +1172,7 @@ element defines a pixel with the element (1,1) representing the \ s.doc = "Control whether axes tick marks project @qcode{\"in\"} to \ the plot box or @qcode{\"out\"}. The value @qcode{\"both\"} will draw tick \ marks both in and out. The value @qcode{\"none\"} means no tick marks will \ -be drawn, although tick labels will still be rendered. __modemsg__. Note \ +be drawn, although tick labels will still be rendered. __modemsg__ Note \ that the default is @qcode{\"in\"} for 2-D and @qcode{\"out\"} for 3-D \ plots."; s.category = "Axes Box Appearance"; @@ -1246,7 +1246,7 @@ element defines a pixel with the element (1,1) representing the \ case "xcolor" s.doc = "Color of the x-axis. @xref{Colors, , colorspec}. \ -__modemsg__."; +__modemsg__"; s.valid = packopt ({markdef(valid_color), "@qcode{\"none\"}"}); s.category = "Axes Box Appearance"; @@ -1276,7 +1276,7 @@ element defines a pixel with the element (1,1) representing the \ case "xlim" s.doc = "Two-element vector @code{[xmin xmax]} specifying the limits \ -for the x-axis. __modemsg__. @xref{XREFxlim, , @w{xlim function}}."; +for the x-axis. __modemsg__ @xref{XREFxlim, , @w{xlim function}}."; s.valid = valid_2elvec; s.category = "Axes Box Appearance"; @@ -1310,13 +1310,13 @@ element defines a pixel with the element (1,1) representing the \ s.category = "Axes Grid Appearance"; case "xtick" - s.doc = "Position of x tick marks. __modemsg__."; + s.doc = "Position of x tick marks. __modemsg__"; s.valid = "vector"; s.printdefault = false; s.category = "Axes Box Appearance"; case "xticklabel" - s.doc = "Labels of x tick marks. __modemsg__."; + s.doc = "Labels of x tick marks. __modemsg__"; s.valid = valid_cellstring; s.category = "Text Appearance"; @@ -1375,7 +1375,7 @@ element defines a pixel with the element (1,1) representing the \ case "ylim" s.doc = "Two-element vector @code{[ymin ymax]} specifying the limits \ -for the y-axis. __modemsg__. @xref{XREFylim, , @w{ylim function}}."; +for the y-axis. __modemsg__ @xref{XREFylim, , @w{ylim function}}."; s.valid = valid_2elvec; s.category = "Axes Box Appearance"; @@ -1409,13 +1409,13 @@ element defines a pixel with the element (1,1) representing the \ s.category = "Axes Grid Appearance"; case "ytick" - s.doc = "Position of y tick marks. __modemsg__."; + s.doc = "Position of y tick marks. __modemsg__"; s.valid = "vector"; s.printdefault = false; s.category = "Axes Box Appearance"; case "yticklabel" - s.doc = "Labels of y tick marks. __modemsg__."; + s.doc = "Labels of y tick marks. __modemsg__"; s.valid = valid_cellstring; s.category = "Text Appearance"; @@ -1470,7 +1470,7 @@ element defines a pixel with the element (1,1) representing the \ case "zlim" s.doc = "Two-element vector @code{[zmin zmax]} specifying the limits \ -for the z-axis. __modemsg__. @xref{XREFzlim, , @w{zlim function}}."; +for the z-axis. __modemsg__ @xref{XREFzlim, , @w{zlim function}}."; s.valid = valid_2elvec; s.category = "Axes Box Appearance"; @@ -1504,13 +1504,13 @@ element defines a pixel with the element (1,1) representing the \ s.category = "Axes Grid Appearance"; case "ztick" - s.doc = "Position of z tick marks. __modemsg__."; + s.doc = "Position of z tick marks. __modemsg__"; s.valid = "vector"; s.printdefault = false; s.category = "Axes Box Appearance"; case "zticklabel" - s.doc = "Labels of z tick marks. __modemsg__."; + s.doc = "Labels of z tick marks. __modemsg__"; s.valid = valid_cellstring; s.category = "Text Appearance"; @@ -1596,7 +1596,7 @@ automatically when objects are added to (or deleted from) the peer axes.\n\ legend (\"numcolumns\", 3);\n\ @end group\n\ @end example\n\ -__modemsg__."; +__modemsg__"; s.valid = "scalar integer"; s.category = "Layout"; diff --git a/doc/interpreter/install.txi b/doc/interpreter/install.txi index 4275e5c91e..817411c2cd 100644 --- a/doc/interpreter/install.txi +++ b/doc/interpreter/install.txi @@ -839,7 +839,7 @@ Octave's 64-bit index support is activated with the configure option You must ensure that all Fortran sources except those in the @file{liboctave/external/ranlib} directory are compiled such that INTEGERS are 8-bytes wide. If you are using gfortran, the configure script should -automatically set the Makefile variable @w{@env{F77_INTEGER_8_FLAG}} to +automatically set the Makefile variable @w{@env{F77_INTEGER_8_FLAG}}@ to @option{-fdefault-integer-8}. If you are using another compiler, you must set this variable yourself. You should NOT set this flag in @env{FFLAGS}, otherwise the files in @file{liboctave/external/ranlib} will be diff --git a/doc/interpreter/oop.txi b/doc/interpreter/oop.txi index 2a2d173969..ed376eeb95 100755 --- a/doc/interpreter/oop.txi +++ b/doc/interpreter/oop.txi @@ -771,8 +771,8 @@ f.polynomial = 1 + 2 * X + 3 * X ^ 2 @end group @end example -Defining the @w{FIRfilter} class as a child of the polynomial class implies -that a @w{FIRfilter} object may be used any place that a polynomial object may +Defining the @w{FIRfilter}@ class as a child of the polynomial class implies +that a @w{FIRfilter}@ object may be used any place that a polynomial object may be used. This is not a normal use of a filter. It may be a more sensible design approach to use aggregation rather than inheritance. In this case, the polynomial is simply a field in the class structure. A class constructor for diff --git a/doc/interpreter/package.txi b/doc/interpreter/package.txi index 4baffe4fe8..70fccfe94f 100644 --- a/doc/interpreter/package.txi +++ b/doc/interpreter/package.txi @@ -245,8 +245,8 @@ autoload ('bar', which ('foo')); @end example @noindent -@xref{PKG_ADD and PKG_DEL Directives}, for details on @w{@code{PKG_ADD}}@ -directives. +@xref{PKG_ADD and PKG_DEL Directives}, for details on +@w{@code{PKG_ADD}}@ directives. @cindex PKG_DEL @anchor{XREFPKG_DEL} @@ -255,8 +255,8 @@ An optional file that includes commands that are run when the package is removed from the users path. Note that @w{@code{PKG_DEL}}@ directives in the source code of the package will also be added to this file by the Octave package manager. -@xref{PKG_ADD and PKG_DEL Directives}, for details on @w{@code{PKG_DEL}}@ -directives. +@xref{PKG_ADD and PKG_DEL Directives}, for details on +@w{@code{PKG_DEL}}@ directives. @item package/pre_install.m This is an optional function that is run prior to the installation of a diff --git a/doc/interpreter/plot.txi b/doc/interpreter/plot.txi index f82801ae32..c582cd3d8b 100644 --- a/doc/interpreter/plot.txi +++ b/doc/interpreter/plot.txi @@ -817,8 +817,8 @@ numerically @tab Finally, superscripting and subscripting can be controlled with the @qcode{'^'} and @qcode{'_'} characters. If the @qcode{'^'} or @qcode{'_'} is followed by a -@{ character, then all of the block surrounded by the @w{@{ @}} pair is -superscripted or subscripted. Without the @w{@{ @}} pair, only the character +@{ character, then all of the block surrounded by the @w{@{ @}}@ pair is +superscripted or subscripted. Without the @w{@{ @}}@ pair, only the character immediately following the @qcode{'^'} or @qcode{'_'} is changed. @float Table,tab:extended @@ -1065,10 +1065,10 @@ width 0.6pt \tabskip=0pt\cr @cindex Degree Symbol Conformance to both @TeX{} and @sc{matlab} with respect to the @code{\circ} -symbol is impossible. While @TeX{} translates this symbol to @w{Unicode 2218} -(U+2218), @sc{matlab} maps this to @w{Unicode 00B0} (U+00B0) instead. Octave -has chosen to follow the @TeX{} specification, but has added the additional -symbol @code{\deg} which maps to the degree symbol (U+00B0). +symbol is impossible. While @TeX{} translates this symbol to +@w{Unicode 2218}@ (U+2218), @sc{matlab} maps this to @w{Unicode 00B0}@ (U+00B0) +instead. Octave has chosen to follow the @TeX{} specification, but has added +the additional symbol @code{\deg} which maps to the degree symbol (U+00B0). @node "latex" interpreter @subsubsection "latex" interpreter diff --git a/libinterp/corefcn/bitfcns.cc b/libinterp/corefcn/bitfcns.cc index a7fd7c135d..f65eb7d6f7 100644 --- a/libinterp/corefcn/bitfcns.cc +++ b/libinterp/corefcn/bitfcns.cc @@ -669,8 +669,8 @@ The input is either a string specifying a floating point type, or it is an existing floating point variable @var{var}. The default type is @qcode{"double"}, but @qcode{"single"} is a valid option. -On IEEE 754 compatible systems, @code{flintmax} is @w{@math{2^{53}}} for -@qcode{"double"} and @w{@math{2^{24}}} for @qcode{"single"}. +On IEEE 754 compatible systems, @code{flintmax} is @w{@math{2^{53}}}@ for +@qcode{"double"} and @w{@math{2^{24}}}@ for @qcode{"single"}. Example Code - query an existing variable diff --git a/libinterp/corefcn/chol.cc b/libinterp/corefcn/chol.cc index abc471ee0e..363ae30270 100644 --- a/libinterp/corefcn/chol.cc +++ b/libinterp/corefcn/chol.cc @@ -807,8 +807,8 @@ original factored matrix. Given a Cholesky@tie{}factorization of a real symmetric or complex Hermitian positive definite matrix @w{@var{A} = @var{R}'*@var{R}}, @var{R}@tie{}upper triangular, return the Cholesky@tie{}factorization of -@var{A1}, where @w{A1(p,p) = A}, @w{A1(:,j) = A1(j,:)' = u} and -@w{p = [1:j-1,j+1:n+1]}. @w{u(j)} should be positive. +@var{A1}, where @w{A1(p,p) = A}, @w{A1(:,j) = A1(j,:)' = u}@ and +@w{p = [1:j-1,j+1:n+1]}. @w{u(j)}@ should be positive. On return, @var{info} is set to @@ -1186,7 +1186,7 @@ original factored matrix. Given a Cholesky@tie{}factorization of a real symmetric or complex Hermitian positive definite matrix @w{@var{A} = @var{R}'*@var{R}}, @var{R}@tie{}upper triangular, return the Cholesky@tie{}factorization of -@w{@var{A}(p,p)}, where @w{p} is the permutation @* +@w{@var{A}(p,p)}, where p is the permutation @* @code{p = [1:i-1, circshift(i:j, 1), j+1:n]} if @w{@var{i} < @var{j}} @* or @* @code{p = [1:j-1, circshift(j:i,-1), i+1:n]} if @w{@var{j} < @var{i}}. @* diff --git a/libinterp/corefcn/environment.cc b/libinterp/corefcn/environment.cc index 2ec259705c..66ee0aa53b 100644 --- a/libinterp/corefcn/environment.cc +++ b/libinterp/corefcn/environment.cc @@ -164,9 +164,9 @@ DEFMETHOD (EDITOR, interp, args, nargout, @deftypefnx {} {@var{old_val} =} EDITOR (@var{new_val}, "local") Query or set the internal variable that specifies the default text editor. -The default value is taken from the environment variable @w{@env{EDITOR}}@ -when Octave starts. If the environment variable is not initialized, -@w{@env{EDITOR}}@ will be set to @qcode{"emacs"}. +The default value is taken from the environment variable +@w{@env{EDITOR}}@ when Octave starts. If the environment variable is not +initialized, @w{@env{EDITOR}}@ will be set to @qcode{"emacs"}. When called from inside a function with the @qcode{"local"} option, the variable is changed locally for the function and any subroutines it calls. diff --git a/libinterp/corefcn/oct-hist.cc b/libinterp/corefcn/oct-hist.cc index ed0d9ebaa3..7448c39e5e 100644 --- a/libinterp/corefcn/oct-hist.cc +++ b/libinterp/corefcn/oct-hist.cc @@ -825,10 +825,11 @@ All future commands issued during the current Octave session will be written to this new file (if the current setting of @code{history_save} allows for this). The default value is @file{@w{@env{$DATA}}/octave/history}, where -@w{@env{$DATA}} is the platform-specific location for (roaming) user data files -(e.g., @w{@env{$XDG_DATA_HOME}} or, if that is not set, @file{~/.local/share} -on Unix-like operating systems or @w{@env{%APPDATA%}} on Windows). The default -value may be overridden by the environment variable @w{@env{OCTAVE_HISTFILE}}. +@w{@env{$DATA}}@ is the platform-specific location for (roaming) user data files +(e.g., @w{@env{$XDG_DATA_HOME}}@ or, if that is not set, @file{~/.local/share} +on Unix-like operating systems or @w{@env{%APPDATA%}}@ on Windows). The +default value may be overridden by the environment variable +@w{@env{OCTAVE_HISTFILE}}. Programming Notes: diff --git a/libinterp/corefcn/qr.cc b/libinterp/corefcn/qr.cc index 0e68432fa0..54806e9832 100644 --- a/libinterp/corefcn/qr.cc +++ b/libinterp/corefcn/qr.cc @@ -1470,7 +1470,7 @@ vector to be inserted into @var{A} (if @var{orient} is @qcode{"row"}). The default value of @var{orient} is @qcode{"col"}. If @var{orient} is @qcode{"col"}, @var{u} may be a matrix and @var{j} an index vector resulting in the QR@tie{}factorization of a matrix @var{B} such that -@w{B(:,@var{j})} gives @var{u} and @w{B(:,@var{j}) = []} gives @var{A}. +@w{B(:,@var{j})}@ gives @var{u} and @w{B(:,@var{j}) = []}@ gives @var{A}. Notice that the latter case is done as a sequence of k insertions; thus, for k large enough, it will be both faster and more accurate to recompute the factorization from scratch. @@ -1677,7 +1677,7 @@ The default value of @var{orient} is @qcode{"col"}. If @var{orient} is @qcode{"col"}, @var{j} may be an index vector resulting in the QR@tie{}factorization of a matrix @var{B} such that -@w{A(:,@var{j}) = []} gives @var{B}. Notice that the latter case is done as +@w{A(:,@var{j}) = []}@ gives @var{B}. Notice that the latter case is done as a sequence of k deletions; thus, for k large enough, it will be both faster and more accurate to recompute the factorization from scratch. diff --git a/scripts/help/__unimplemented__.m b/scripts/help/__unimplemented__.m index b12d040b63..3bb262dc0e 100644 --- a/scripts/help/__unimplemented__.m +++ b/scripts/help/__unimplemented__.m @@ -587,7 +587,7 @@ case "not loaded", txt = sprintf (["%s which you have installed, but not loaded. ", ... - "To load the package, type @w{@code{pkg load %s}} ", ... + "To load the package, type @w{@code{pkg load %s}}@ ", ... "from the Octave prompt."], txt, name); otherwise diff --git a/scripts/help/bessel.m b/scripts/help/bessel.m index f96c29c220..d694b06546 100644 --- a/scripts/help/bessel.m +++ b/scripts/help/bessel.m @@ -54,8 +54,8 @@ ## @item besselh ## Compute Hankel functions of the first (@var{k} = 1) or second (@var{k} = 2) ## kind. If the argument @var{opt} is supplied, the result is multiplied by -## @w{@code{exp (-I*@var{x})}}@ for @var{k} = 1 or @w{@code{exp (I*@var{x})}}@ -## for @var{k} = 2. +## @w{@code{exp (-I*@var{x})}}@ for @var{k} = 1 or +## @w{@code{exp (I*@var{x})}}@ for @var{k} = 2. ## @end table ## ## If @var{alpha} is a scalar, the result is the same size as @var{x}. If diff --git a/scripts/io/csvwrite.m b/scripts/io/csvwrite.m index 964fd78f88..bea4b497ab 100644 --- a/scripts/io/csvwrite.m +++ b/scripts/io/csvwrite.m @@ -27,7 +27,7 @@ ## @deftypefn {} {} csvwrite (@var{filename}, @var{x}) ## @deftypefnx {} {} csvwrite (@var{filename}, @var{x}, @var{dlm_opt1}, @dots{}) ## Write the numeric matrix @var{x} to the file @var{filename} in -## @w{comma-separated-value} (CSV) format. +## @w{comma-separated-value}@ (CSV) format. ## ## This function is equivalent to ## diff --git a/scripts/linear-algebra/linsolve.m b/scripts/linear-algebra/linsolve.m index 2d3530a28c..1f70d57a9b 100644 --- a/scripts/linear-algebra/linsolve.m +++ b/scripts/linear-algebra/linsolve.m @@ -30,7 +30,7 @@ ## Solve the linear system @code{A*x = b}. ## ## With no options, this function is equivalent to the left division operator -## @w{(@code{x = A \ b})} or the matrix-left-divide function +## @w{(@code{x = A \ b})}@ or the matrix-left-divide function ## @w{(@code{x = mldivide (A, b)})}. ## ## Octave ordinarily examines the properties of the matrix @var{A} and chooses diff --git a/scripts/plot/appearance/view.m b/scripts/plot/appearance/view.m index 202a58e505..7ab8307598 100644 --- a/scripts/plot/appearance/view.m +++ b/scripts/plot/appearance/view.m @@ -37,11 +37,13 @@ ## arguments or as 2-element vector. The viewpoint can also be specified with ## Cartesian coordinates @var{x}, @var{y}, and @var{z}. ## -## The call @code{view (2)} sets the viewpoint to @w{@var{azimuth} = 0}@ -## and @w{@var{elevation} = 90}, which is the default for 2-D graphs. +## The call @code{view (2)} sets the viewpoint to +## @w{@var{azimuth} = 0}@ and @w{@var{elevation} = 90}, which is the default +## for 2-D graphs. ## -## The call @code{view (3)} sets the viewpoint to @w{@var{azimuth} = -37.5}@ -## and @w{@var{elevation} = 30}, which is the default for 3-D graphs. +## The call @code{view (3)} sets the viewpoint to +## @w{@var{azimuth} = -37.5}@ and @w{@var{elevation} = 30}, which is the +## default for 3-D graphs. ## ## If the first argument @var{hax} is an axes handle, then operate on ## this axes rather than the current axes returned by @code{gca}. diff --git a/scripts/plot/util/groot.m b/scripts/plot/util/groot.m index 1a142c743e..167ed696c9 100644 --- a/scripts/plot/util/groot.m +++ b/scripts/plot/util/groot.m @@ -30,8 +30,8 @@ ## The root graphics object is the ultimate parent of all graphics objects. ## ## In addition, the root object contains information about the graphics -## system as a whole such as the @code{ScreenSize}. Use @w{@code{get (groot)}} -## to find out what information is available. +## system as a whole such as the @code{ScreenSize}. Use +## @w{@code{get (groot)}}@ to find out what information is available. ## ## Defaults for the graphic system as a whole are specified by setting ## properties of the root graphics object that begin with @qcode{"Default"}. diff --git a/scripts/signal/movfun.m b/scripts/signal/movfun.m index dc6da1bec5..eed2d250be 100644 --- a/scripts/signal/movfun.m +++ b/scripts/signal/movfun.m @@ -44,11 +44,11 @@ ## computation along dimension 1, i.e., down the columns of the array. ## ## When applied to an array (possibly multi-dimensional) with @var{n} columns, -## @var{fcn} may return a result in either of two formats: @w{Format 1)} -## an array of size 1-by-@var{n}-by-@var{dim3}-by-@dots{}-by-@var{dimN}. This +## @var{fcn} may return a result in either of two formats: @w{Format 1)}@ an +## array of size 1-by-@var{n}-by-@var{dim3}-by-@dots{}-by-@var{dimN}. This ## is the typical output format from Octave core functions. Type ## @code{demo ("movfun", 5)} for an example of this use case. -## @w{Format 2)} a row vector of length +## @w{Format 2)}@ a row vector of length ## @code{@var{n} * @var{numel_higher_dims}} where @var{numel_higher_dims} is ## @w{@code{prod (size (@var{x})(3:end))}}. The output of @var{fcn} for the ## i-th input column must be found in the output at indices diff --git a/scripts/sparse/bicg.m b/scripts/sparse/bicg.m index d0467c6b55..570deacfb7 100644 --- a/scripts/sparse/bicg.m +++ b/scripts/sparse/bicg.m @@ -34,8 +34,9 @@ ## @deftypefnx {} {@var{x} =} bicg (@var{A}, @var{b}, @var{tol}, @var{maxit}, @var{M}, [], @var{x0}, @dots{}) ## @deftypefnx {} {@var{x} =} bicg (@var{A}, @var{b}, @var{tol}, @var{maxit}, @var{M1}, @var{M2}, @var{x0}, @dots{}) ## @deftypefnx {} {[@var{x}, @var{flag}, @var{relres}, @var{iter}, @var{resvec}] =} bicg (@var{A}, @var{b}, @dots{}) -## Solve the linear system of equations @w{@code{@var{A} * @var{x} = @var{b}}}@ -## by means of the Bi-Conjugate Gradient iterative method. +## Solve the linear system of equations +## @w{@code{@var{A} * @var{x} = @var{b}}}@ by means of the Bi-Conjugate +## Gradient iterative method. ## ## The input arguments are: ## @@ -65,8 +66,9 @@ ## @var{M1}, @var{M2} are the preconditioners. The preconditioner @var{M} is ## given as @code{@var{M} = @var{M1} * @var{M2}}. Both @var{M1} and @var{M2} ## can be passed as a matrix or as a function handle or inline function -## @code{g} such that @w{@code{g (@var{x}, "notransp") = @var{M1} \ @var{x}}}@ -## or @w{@code{g (@var{x}, "notransp") = @var{M2} \ @var{x}}}@ and +## @code{g} such that +## @w{@code{g (@var{x}, "notransp") = @var{M1} \ @var{x}}}@ or +## @w{@code{g (@var{x}, "notransp") = @var{M2} \ @var{x}}}@ and ## @w{@code{g (@var{x}, "transp") = @var{M1}' \ @var{x}}}@ or ## @w{@code{g (@var{x}, "transp") = @var{M2}' \ @var{x}}}. ## If @var{M1} is omitted or empty, then preconditioning is not applied. diff --git a/scripts/sparse/pcg.m b/scripts/sparse/pcg.m index 435745d418..0271cbafcf 100644 --- a/scripts/sparse/pcg.m +++ b/scripts/sparse/pcg.m @@ -28,8 +28,9 @@ ## @deftypefnx {} {@var{x} =} pcg (@var{A}, @var{b}, @var{tol}, @var{maxit}, @var{M}, [], @var{x0}, @dots{}) ## @deftypefnx {} {[@var{x}, @var{flag}, @var{relres}, @var{iter}, @var{resvec}, @var{eigest}] =} pcg (@var{A}, @var{b}, @dots{}) ## -## Solve the linear system of equations @w{@code{@var{A} * @var{x} = @var{b}}}@ -## by means of the Preconditioned Conjugate Gradient iterative method. +## Solve the linear system of equations +## @w{@code{@var{A} * @var{x} = @var{b}}}@ by means of the Preconditioned +## Conjugate Gradient iterative method. ## ## The input arguments are: ## diff --git a/scripts/statistics/corr.m b/scripts/statistics/corr.m index f2c08c2a06..8d578a77da 100644 --- a/scripts/statistics/corr.m +++ b/scripts/statistics/corr.m @@ -29,7 +29,7 @@ ## Compute matrix of correlation coefficients. ## ## If each row of @var{x} and @var{y} is an observation and each column is -## a variable, then the @w{(@var{i}, @var{j})-th} entry of +## a variable, then the @w{(@var{i}, @var{j})-th}@ entry of ## @code{corr (@var{x}, @var{y})} is the correlation between the ## @var{i}-th variable in @var{x} and the @var{j}-th variable in @var{y}. ## @var{x} and @var{y} must have the same number of rows (observations). diff --git a/scripts/statistics/cov.m b/scripts/statistics/cov.m index facc3eaebe..9de75da387 100644 --- a/scripts/statistics/cov.m +++ b/scripts/statistics/cov.m @@ -52,7 +52,7 @@ ## If called with one argument, compute @code{cov (@var{x}, @var{x})}. If ## @var{x} is a vector, this is the scalar variance of @var{x}. If @var{x} is ## a matrix, each row of @var{x} is treated as an observation, and each column -## as a variable, and the @w{(@var{i}, @var{j})-th} entry of +## as a variable, and the @w{(@var{i}, @var{j})-th}@ entry of ## @code{cov (@var{x})} is the covariance between the @var{i}-th and ## @var{j}-th columns in @var{x}. If @var{x} has dimensions n x m, the output ## @var{c} will be a m x m square covariance matrix. diff --git a/scripts/statistics/kurtosis.m b/scripts/statistics/kurtosis.m index 60332661d0..40109242b0 100644 --- a/scripts/statistics/kurtosis.m +++ b/scripts/statistics/kurtosis.m @@ -54,7 +54,7 @@ ## The optional argument @var{flag} controls which normalization is used. ## If @var{flag} is equal to 1 (default value, used when @var{flag} is omitted ## or empty), return the sample kurtosis as defined above. If @var{flag} is -## equal to 0, return the @w{"bias-corrected"} kurtosis coefficient instead: +## equal to 0, return the @w{"bias-corrected"}@ kurtosis coefficient instead: ## @tex ## $$ ## \kappa_0 = 3 + {\scriptstyle N - 1 \over \scriptstyle (N - 2)(N - 3)} \,