On Mon, Feb 22, 2010 at 12:37:38PM +0100, Olaf Till wrote: > Hi, > > there are non-function scripts with demos and tests in package > optim. These can not be correctly handled by Octaves help system and > produce weird texts in the auto-generated html-help. It has been > suggested to convert these scripts into %!demo and %!test blocks as > the cleanest solution. This applies to the following scripts: > > - bfgsmin_example.m > > - samin_example.m > > - cg_min_example_[123].m > > - test_d2_min_[123].m > > - test_fminunc_1.m > > - test_min_[1234].m > > - test_minimize_1.m > > - test_nelder_mead_min_[12].m > > - expdemo.m > > - test_wpolyfit.m > > Would the authors have the time to make this change or to indicate if > some scripts are not needed (some functions have %!demo blocks _and_ > demo-scripts).
I've tried to do it myself, but have given up for now, since I see no working way to define functions within a demo block (despite the demo helptext). Olaf ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev