# HG changeset patch # User Rik # Date 1296103880 28800 # Node ID ad70f6cf126813b2760f3ec39fd5b6eff4e8e7e7 # Parent 23385f2c90b7efb8f1fce545ecd22233ef383bcb Correct en-dash,em-dash instances in docstrings. Add a few more operators to operator index. diff -r 23385f2c90b7 -r ad70f6cf1268 doc/ChangeLog --- a/doc/ChangeLog Wed Jan 26 23:49:42 2011 -0500 +++ b/doc/ChangeLog Wed Jan 26 20:51:20 2011 -0800 @@ -6,6 +6,13 @@ 2011-01-26 Rik + * interpreter/basics.txi: Use @code to eliminate extra single quotes + in index. + * interpreter/container.txi: Add @opindex citations for '.', '{' and + '}'. + +2011-01-26 Rik + * interpreter/octave-bug.1: Delete obsolete man page * interpreter/Makefile.am: Stop distributing octave-bug.1 man page. diff -r 23385f2c90b7 -r ad70f6cf1268 doc/interpreter/basics.txi --- a/doc/interpreter/basics.txi Wed Jan 26 23:49:42 2011 -0500 +++ b/doc/interpreter/basics.txi Wed Jan 26 20:51:20 2011 -0800 @@ -674,7 +674,7 @@ @node Customizing readline @subsection Customizing @code{readline} -@cindex @file{~/.inputrc} +@cindex @code{~/.inputrc} @cindex customizing @code{readline} @cindex @code{readline} customization diff -r 23385f2c90b7 -r ad70f6cf1268 doc/interpreter/container.txi --- a/doc/interpreter/container.txi Wed Jan 26 23:49:42 2011 -0500 +++ b/doc/interpreter/container.txi Wed Jan 26 20:51:20 2011 -0800 @@ -66,9 +66,12 @@ @end group @end example +@opindex . @noindent -create a structure with three elements. To print the value of the -structure, you can type its name, just as for any other variable: +create a structure with three elements. The @samp{.} character separates +the structure name from the field name and indicates to Octave that this +variable is a structure. To print the value of the +structure you can type its name, just as for any other variable: @example @group @@ -494,7 +497,8 @@ @node Basic Usage of Cell Arrays @subsection Basic Usage of Cell Arrays - +@opindex @{ +@opindex @} As an example, the following code creates a cell array containing a string and a 2-by-2 random matrix diff -r 23385f2c90b7 -r ad70f6cf1268 scripts/ChangeLog --- a/scripts/ChangeLog Wed Jan 26 23:49:42 2011 -0500 +++ b/scripts/ChangeLog Wed Jan 26 20:51:20 2011 -0800 @@ -1,3 +1,11 @@ +2011-01-26 Rik + + * scripts/general/interp1.m, scripts/general/interp2.m, + scripts/general/interp3.m, scripts/general/interpn.m: Use em-dash + rather than en-dash. + * scripts/miscellaneous/mkoctfile.m: Use @code to prevent option + turning to en-dash. + 2011-01-26 John W. Eaton * mkdoc: Untabify. diff -r 23385f2c90b7 -r ad70f6cf1268 scripts/general/interp1.m --- a/scripts/general/interp1.m Wed Jan 26 23:49:42 2011 -0500 +++ b/scripts/general/interp1.m Wed Jan 26 20:51:20 2011 -0800 @@ -46,7 +46,7 @@ ## Cubic interpolation from four nearest neighbors ## ## @item 'spline' -## Cubic spline interpolation--smooth first and second derivatives +## Cubic spline interpolation---smooth first and second derivatives ## throughout the curve ## @end table ## diff -r 23385f2c90b7 -r ad70f6cf1268 scripts/general/interp2.m --- a/scripts/general/interp2.m Wed Jan 26 23:49:42 2011 -0500 +++ b/scripts/general/interp2.m Wed Jan 26 20:51:20 2011 -0800 @@ -65,7 +65,7 @@ ## Cubic interpolation from four nearest neighbors. ## ## @item 'spline' -## Cubic spline interpolation--smooth first and second derivatives +## Cubic spline interpolation---smooth first and second derivatives ## throughout the curve. ## @end table ## diff -r 23385f2c90b7 -r ad70f6cf1268 scripts/general/interp3.m --- a/scripts/general/interp3.m Wed Jan 26 23:49:42 2011 -0500 +++ b/scripts/general/interp3.m Wed Jan 26 20:51:20 2011 -0800 @@ -52,7 +52,7 @@ ## Cubic interpolation from four nearest neighbors (not implemented yet). ## ## @item 'spline' -## Cubic spline interpolation--smooth first and second derivatives +## Cubic spline interpolation---smooth first and second derivatives ## throughout the curve. ## @end table ## diff -r 23385f2c90b7 -r ad70f6cf1268 scripts/general/interpn.m --- a/scripts/general/interpn.m Wed Jan 26 23:49:42 2011 -0500 +++ b/scripts/general/interpn.m Wed Jan 26 20:51:20 2011 -0800 @@ -52,7 +52,7 @@ ## Cubic interpolation from four nearest neighbors (not implemented yet). ## ## @item 'spline' -## Cubic spline interpolation--smooth first and second derivatives +## Cubic spline interpolation---smooth first and second derivatives ## throughout the curve. ## @end table ## diff -r 23385f2c90b7 -r ad70f6cf1268 scripts/miscellaneous/mkoctfile.m --- a/scripts/miscellaneous/mkoctfile.m Wed Jan 26 23:49:42 2011 -0500 +++ b/scripts/miscellaneous/mkoctfile.m Wed Jan 26 20:51:20 2011 -0800 @@ -67,7 +67,7 @@ ## @item -o FILE ## @itemx --output FILE ## Output file name. Default extension is .oct -## (or .mex if --mex is specified) unless linking +## (or .mex if @samp{--mex} is specified) unless linking ## a stand-alone executable. ## ## @item -p VAR