Mercurial > hg > octave-lyh
changeset 17298:17be601bc783
doc: Periodic spellchecking of documentation.
* doc/interpreter/doccheck/aspell-octave.en.pws: Add new words to
Octave-specific dictionary.
* doc/interpreter/tips.txi: Use @nospell macro around qcode definition.
* libinterp/corefcn/utils.cc: Use @nospell macro around meaningless
example directory names.
scripts/optimization/fsolve.m: Use @nospell macro around proper name Broyden.
scripts/optimization/glpk.m: Use @nospell macro around false word "pseudocost".
author | Rik <rik@octave.org> |
---|---|
date | Tue, 20 Aug 2013 09:42:35 -0700 |
parents | 4d7f95eb8bfe |
children | 756bb4b58ad0 |
files | doc/interpreter/doccheck/aspell-octave.en.pws doc/interpreter/tips.txi libinterp/corefcn/utils.cc scripts/optimization/fsolve.m scripts/optimization/glpk.m |
diffstat | 5 files changed, 32 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/doccheck/aspell-octave.en.pws +++ b/doc/interpreter/doccheck/aspell-octave.en.pws @@ -152,6 +152,7 @@ colormap colormaps ColorOrder +colororder colperm Comint Commandline @@ -185,6 +186,7 @@ cumsum cURL CurrentObject +currentpoint Cuthill cxsparse Cygwin @@ -277,6 +279,7 @@ errorbars errordlg ErrorHandler +ESC Esmond et etree @@ -332,6 +335,8 @@ Frobenius Fs FSF +fullpath +fullpathext FunValCheck gamcdf gaminv @@ -431,6 +436,7 @@ Hypergeometric hypergeometric IEC +ieee IEEE ifelse ifft @@ -485,8 +491,10 @@ JVM's Kac Kahan +kendall keybindings keypress +keypressfcn Kolmogorov kolmogorov Konrod @@ -532,6 +540,7 @@ linespec linespoints linestyle +linewidth linkprop listdlg ListSize @@ -575,6 +584,10 @@ Mandriva MANOVA manova +markeredgecolor +markerfacecolor +markersize +markerstyle Marsaglia Maschhoff matchcase @@ -714,6 +727,7 @@ pbm PBM PBMplus +pc pcg PCG pchip @@ -724,6 +738,7 @@ pcx pdf PDF +pearson pentadiagonal periodogram perp @@ -747,6 +762,7 @@ polyeig polyfit polyval +pos POSIX postorder PostScript @@ -1000,6 +1016,7 @@ TolX toolkits Toolkits +toplevel tp tpdf traceback @@ -1011,6 +1028,7 @@ trimesh triplot trnd +truecolor TrueColor Tsang Tukey @@ -1048,6 +1066,8 @@ Uninstall uninstalled univariate +unix +unnorm unnormalized unpadded unpermuted @@ -1086,6 +1106,7 @@ warndlg Wathen WAV +WayPoints wblcdf wblinv wblpdf @@ -1106,6 +1127,9 @@ Wildcards wildcards Wilks +windowbuttondownfcn +windowbuttonmotionfcn +windowbuttonupfcn windowstyle WinRand WIPO
--- a/doc/interpreter/tips.txi +++ b/doc/interpreter/tips.txi @@ -385,8 +385,8 @@ All samples of code should be marked with this macro for the same reasons as the @@var macro. -@item @@qcode@{"sample_code"@} -@itemx @@qcode@{'sample_code'@} +@item @nospell{@@qcode@{"sample_code"@}} +@itemx @nospell{@@qcode@{'sample_code'@}} All samples of code which are quoted should use this more specialized macro. This happens frequently when discussing graphics properties such as "position" or options such as "on"/"off".
--- a/libinterp/corefcn/utils.cc +++ b/libinterp/corefcn/utils.cc @@ -897,8 +897,9 @@ Return the full name of the path element matching @var{dir}. The\n\ match is performed at the end of each path element. For example, if\n\ @var{dir} is @qcode{\"foo/bar\"}, it matches the path element\n\ -@qcode{\"/some/dir/foo/bar\"}, but not @qcode{\"/some/dir/foo/bar/baz\"}\n\ -or @qcode{\"/some/dir/allfoo/bar\"}.\n\ +@nospell{@qcode{\"/some/dir/foo/bar\"}}, but not\n\ +@nospell{@qcode{\"/some/dir/foo/bar/baz\"}}\n\ +@nospell{@qcode{\"/some/dir/allfoo/bar\"}}.\n\ \n\ The second argument is optional. If it is supplied, return a cell array\n\ containing all name matches rather than just the first.\n\
--- a/scripts/optimization/fsolve.m +++ b/scripts/optimization/fsolve.m @@ -49,8 +49,8 @@ ## it may sometimes deliver unexpected (though mathematically correct) results. ## ## If @qcode{"Updating"} is @qcode{"on"}, the function will attempt to use -## Broyden updates to update the Jacobian, in order to reduce the amount of -## Jacobian calculations. If your user function always calculates the +## @nospell{Broyden} updates to update the Jacobian, in order to reduce the +## amount of Jacobian calculations. If your user function always calculates the ## Jacobian (regardless of number of output arguments), this option provides ## no advantage and should be set to false. ##