# HG changeset patch # User John Bradshaw # Date 1307197605 25200 # Node ID 013cd94d8d7fe5fd0fb5283ac6c11436d82da5d4 # Parent de3e90a420e37aeb3b54a8b0588eba353a8d1c9e doc: Spelling fixes for various documentation files * NEWS, NEWS.1, NEWS.2, NEWS.3, README.MacOS, README.Windows, doc/faq/OctaveFAQ.texi, doc/interpreter/install.txi, doc/interpreter/sparseimages.m, doc/liboctave/array.texi, examples/COPYING: Spelling fixes diff -r de3e90a420e3 -r 013cd94d8d7f NEWS --- a/NEWS Sat Jun 04 07:20:42 2011 -0700 +++ b/NEWS Sat Jun 04 07:26:45 2011 -0700 @@ -162,7 +162,7 @@ Moreover, when unary operators occur in expressions, Octave will also try to do the operation in-place if it's argument is a - temporary expresssion. + temporary expression. ** The effect of comparison operators (<, >, <=, and >=) applied to complex numbers has changed to be consistent with the strict @@ -686,7 +686,7 @@ The performance of sort has been improved, especially when sorting indices are requested. An efficient built-in issorted implementation was added. The sortrows function now uses a more - efficient algorithm, especially in the homegeneous case. The lookup + efficient algorithm, especially in the homogeneous case. The lookup function is now a built-in function performing a binary search, optimized for long runs of close elements. Lookup also works with cell arrays of strings. diff -r de3e90a420e3 -r 013cd94d8d7f NEWS.1 --- a/NEWS.1 Sat Jun 04 07:20:42 2011 -0700 +++ b/NEWS.1 Sat Jun 04 07:26:45 2011 -0700 @@ -143,9 +143,9 @@ This feature should be considered experimental, but it seems to - work ok. Suggestions for ways to improve it are welcome. + work OK. Suggestions for ways to improve it are welcome. - * Octave now supports a limited form of exception handling modelled + * Octave now supports a limited form of exception handling modeled after the unwind-protect form of Lisp: unwind_protect @@ -198,7 +198,7 @@ * Both `...{whitespace}\n' and `\{whitespace}\n' can be used to introduce continuation lines, where {whitespace} may include - spaces, tabs and comemnts. + spaces, tabs and comments. * The script directory has been split up by topic. @@ -214,7 +214,7 @@ make nonessential built-in functions dynamically loaded, but there also seem to be some problems. For example, fsolve seems to always return info == 3. This is difficult to debug since - gdb won't seem to allow breakpoints to be set inside + GDB doesn't appear to allow breakpoints to be set inside dynamically loaded functions. -- Octave uses a lot of memory if the dynamically linked functions @@ -349,7 +349,7 @@ rgb2ntsc -- image format conversion saveimage -- save an image to a file - * New time and date funcitons: + * New time and date functions: tic -- set wall-clock timer toc -- get elapsed wall-clock time, since timer last set @@ -452,7 +452,7 @@ within functions that take a variable number of arguments. * If given a second argument, svd now returns an economy-sized - decomposition, eliminating the unecessary rows or columns of U or + decomposition, eliminating the unnecessary rows or columns of U or V. * The max and min functions correctly handle complex matrices in @@ -935,7 +935,7 @@ * Improved help. The command `help -i topic' now uses the GNU Info browser to display help for the given topic directly from the - Texinfo documenation. + Texinfo documentation. * New function: chol -- Cholesky factorization. @@ -1286,7 +1286,7 @@ prefer_column_vectors. * Things like [[1,2][3,4]] no longer cause core dumps, and invalid - input like [1,2;3,4,[5,6]] now produces a diagnositic message. + input like [1,2;3,4,[5,6]] now produces a diagnostic message. * The cd, save, and load commands now do tilde expansion. @@ -1380,7 +1380,7 @@ a = [1,2,3,4]; b = a([1,0,0,1]) - sets b to the first and fourth elememnts of a. + sets b to the first and fourth elements of a. Zero-one style indexing also works for indexing the left hand side of an assignment. For example, @@ -1401,7 +1401,7 @@ 'false'. * Using the new global variable `propagate_empty_matrices', it is - possible to have unary andy binary operations on empty matrices + possible to have unary and binary operations on empty matrices return an empty matrix. The default value of this variable is 'warn', so that empty matrices are propagated but you get a warning. Some functions, like eig and svd have also been changed @@ -1594,7 +1594,7 @@ * New files: - THANKS -- A list of people and organazations who have supported + THANKS -- A list of people and organizations who have supported the development of Octave. NEWS -- This file, listing recent changes. diff -r de3e90a420e3 -r 013cd94d8d7f NEWS.2 --- a/NEWS.2 Sat Jun 04 07:20:42 2011 -0700 +++ b/NEWS.2 Sat Jun 04 07:26:45 2011 -0700 @@ -173,7 +173,7 @@ chisquare_cdf -- CDF of the chi-square distribution chisquare_inv -- Quantile function of the chi-square distribution - chisquare_pdf -- PDF of the chi-sqaure distribution + chisquare_pdf -- PDF of the chi-square distribution chisquare_rnd -- Random deviates from the chi-square distribution discrete_cdf -- CDF of a discrete distribution @@ -549,7 +549,7 @@ * It is now possible to use commands like ls, save, and cd as simple variable names. They still cannot be used as formal parameters for functions, or as the names of structure variables. Failed - assignments leave them undefined (you can recover the orginal + assignments leave them undefined (you can recover the original function definition using clear). * Is is now possible to invoke commands like ls, save, and cd as @@ -982,7 +982,7 @@ getgrent -- read entry from group-file stream, opening if necessary getgrgid -- search for group entry with matching group ID getgrnam -- search for group entry with matching group name - setgrent -- rewind the pgroup-file stream + setgrent -- rewind the group-file stream endgrent -- close the group-file stream * The New function octave_config_info returns a structure containing diff -r de3e90a420e3 -r 013cd94d8d7f NEWS.3 --- a/NEWS.3 Sat Jun 04 07:20:42 2011 -0700 +++ b/NEWS.3 Sat Jun 04 07:26:45 2011 -0700 @@ -60,7 +60,7 @@ semilogx, etc.). + Plot property values are not extensively checked. Specifying - invalid property values may produce unpredictible results. + invalid property values may produce unpredictable results. + Octave now sends data over the same pipe that is used to send commands to gnuplot. While this avoids the problem of diff -r de3e90a420e3 -r 013cd94d8d7f README.MacOS --- a/README.MacOS Sat Jun 04 07:20:42 2011 -0700 +++ b/README.MacOS Sat Jun 04 07:26:45 2011 -0700 @@ -269,7 +269,7 @@ After installing each of the dependencies, the sources are compiled by setting the proper environment variables and then following the standard build -sequence. The following is an example set of variables to for a 32-bit build +sequence. The following is an example set of variables for a 32-bit build using gcc-4.2. When building from the sources obtained from the mercurial archive, ./autogen.sh must be run prior to ./configure. diff -r de3e90a420e3 -r 013cd94d8d7f README.Windows --- a/README.Windows Sat Jun 04 07:20:42 2011 -0700 +++ b/README.Windows Sat Jun 04 07:26:45 2011 -0700 @@ -2,7 +2,7 @@ package of Octave for Cygwin. See the file README.MinGW for information about Octave on the MinGW platform -including installation of binaries or compiling Octave frome source. +including installation of binaries or compiling Octave from source. John W. Eaton diff -r de3e90a420e3 -r 013cd94d8d7f doc/faq/OctaveFAQ.texi --- a/doc/faq/OctaveFAQ.texi Sat Jun 04 07:20:42 2011 -0700 +++ b/doc/faq/OctaveFAQ.texi Sat Jun 04 07:26:45 2011 -0700 @@ -242,7 +242,7 @@ No. Instead of asking us to change the licensing terms for Octave, we recommend that you release your program under terms that are compatible with the GPL so that the free software community can benefit from your -work the same as you have benefitted from the work of all the people who +work the same as you have benefited from the work of all the people who have contributed to Octave. @node How can I cite Octave? @@ -384,7 +384,7 @@ @menu * Functions defined on the command-line:: * Comments with #:: -* Strings delimitted by double quotes ":: +* Strings delimited by double quotes ":: * Line continuation by backslash:: * Informative block closing:: * Coherent syntax:: @@ -424,8 +424,8 @@ files, any file that starts with a string like @samp{#! /usr/bin/octave -q} will be treated as an octave script and be executed by octave. -@node Strings delimitted by double quotes " -@section Strings delimitted by double quotes " +@node Strings delimited by double quotes " +@section Strings delimited by double quotes " The double quote, @samp{"}, may be used to delimit strings, in addition to the single quote @samp{'}. See the previous example. Also, double-quoted strings include backslash interpretation (like C++, C, and @@ -513,7 +513,7 @@ @cindex Unwind-protect -Octave supports a limited form of exception handling modelled after the +Octave supports a limited form of exception handling modeled after the unwind-protect form of Lisp. The general form of an @code{unwind_protect} block looks like this: @@ -644,7 +644,7 @@ @item @url{ftp://ftp.octave.org/pub/octave/} @end itemize -Since Octave is distrubted under the terms of the GPL, you can get +Since Octave is distributed under the terms of the GPL, you can get Octave from a friend who has a copy, or from the Octave website. @node Pre-compiled binary packages @@ -886,7 +886,7 @@ The authors of Octave consider the nested function scoping rules of @sc{Matlab} to be more problems than they are worth as they introduce -diffiult to find bugs as inadvertantly modifying a variable in a +difficult to find bugs as inadvertently modifying a variable in a nested function that is also used in the parent is particularly easy. @item Differences in core syntax @@ -1020,7 +1020,7 @@ @item Short-circuit & and | operators The @code{&} and @code{|} operators in @sc{Matlab} short-circuit when -included in an if statemant and not otherwise. In Octave only the +included in an if statement and not otherwise. In Octave only the @code{&&} and @code{||} short circuit. Note that this means that @example @@ -1286,7 +1286,7 @@ difference is important on Windows platforms where the "\" character is used in path names, and so single quoted strings should be used in paths. @sc{Matlab} doesn't have double quoted strings and so they should -be avoided if the code will be transfered to a @sc{Matlab} user. +be avoided if the code will be transferred to a @sc{Matlab} user. @end itemize @end itemize diff -r de3e90a420e3 -r 013cd94d8d7f doc/interpreter/install.txi --- a/doc/interpreter/install.txi Sat Jun 04 07:20:42 2011 -0700 +++ b/doc/interpreter/install.txi Sat Jun 04 07:26:45 2011 -0700 @@ -223,7 +223,7 @@ FLTK@. Gnuplot is a command-driven interactive function plotting program. Gnuplot is copyrighted, but freely distributable. As of Octave release 3.4, gnuplot is the default option for plotting. But, -the internal graphics engine is nearly 100% compatibile, certainly for +the internal graphics engine is nearly 100% compatible, certainly for most ordinary plots, and users are encouraged to test it. It is anticipated that the internal engine will become the default option at the next major release of Octave. diff -r de3e90a420e3 -r 013cd94d8d7f doc/interpreter/sparseimages.m --- a/doc/interpreter/sparseimages.m Sat Jun 04 07:20:42 2011 -0700 +++ b/doc/interpreter/sparseimages.m Sat Jun 04 07:26:45 2011 -0700 @@ -200,7 +200,7 @@ E = size(elems,1); #No. of elements N = size(nodes,1); #No. of elements - D = size(elems,2); #dimentions+1 + D = size(elems,2); #dimensions+1 ## Plot FEM Geometry elemx = elems(:,[1,2,3,1])'; diff -r de3e90a420e3 -r 013cd94d8d7f doc/liboctave/array.texi --- a/doc/liboctave/array.texi Sat Jun 04 07:20:42 2011 -0700 +++ b/doc/liboctave/array.texi Sat Jun 04 07:26:45 2011 -0700 @@ -177,7 +177,7 @@ @deftypefnx Constructor {} DiagArray (const DiagArray &@var{a}) @end deftypefn -@deftypeop Assginment DiagArray& {} {operator =} (const DiagArray &@var{a}) +@deftypeop Assignment DiagArray& {} {operator =} (const DiagArray &@var{a}) @end deftypeop @deftypemethod DiagArray int dim1 (void) const diff -r de3e90a420e3 -r 013cd94d8d7f examples/COPYING --- a/examples/COPYING Sat Jun 04 07:20:42 2011 -0700 +++ b/examples/COPYING Sat Jun 04 07:26:45 2011 -0700 @@ -1,3 +1,3 @@ -Copyright notices are intentionlly omitted from the files in the +Copyright notices are intentionally omitted from the files in the examples directory. We don't want copyright notices cluttering the manual.