how to correct/patch documentation?

John W. Eaton jwe at bevo.che.wisc.edu
Mon Feb 18 12:28:38 CST 2008


On 18-Feb-2008, Ben Abbott wrote:

| 
| On Feb 18, 2008, at 12:35 PM, John W. Eaton wrote:
| 
| > On 18-Feb-2008, Ben Abbott wrote:
| >
| > | I was browsing the on-line documentation and noticed a reference  
| > to a
| > | deprecated function, "struct_elements".
| > |
| > | 	http://www.gnu.org/software/octave/doc/interpreter/Error-Messages.html#Error-Messages
| > |
| > | struct_elements ([1, 2; 3, 4])
| > |       error: struct_elements: wrong type argument `matrix'
| > | What is the proper method to have it changed to "fieldnames" ?
| > | fieldnames ([1, 2; 3, 4])
| > |       error: fieldnames: wrong type argument `matrix'
| >
| > Submit a patch for the documentation in Octave's sources.  Eventually
| > a new version of the manual will be pushed to the web site, probably
| > when the next stable version of Octave is released.  For updates to
| > happen any more frequently that that, we will need some active
| > volunteers to manage the web site as I can no longer keep up.
| >
| > jwe
| 
| ... unfortunately, I can't find this instance in the documentation  
| included with the sources. Is it not there, or lacking in my attempt  
| to find it?

I think

  cd doc/interpreter
  grep struct_elements *.txi

should find it.

jwe


More information about the Bug-octave mailing list