On 06/ott/08, at 17:51, Carlo de Falco wrote: > > On 06/ott/08, at 15:38, Søren Hauberg wrote: > >> Thanks, for trying this out. It seems I'm a bit more agressive about >> texinfo failures than Octave is. I've made some changes and >> uploaded a >> new version of the package to my web page. With this, the errors >> are now >> warnings, and your example works. > > It seems your function get_first_help_sentence still gets confused > when the function definition is split over more than one line. > As an example have a look at the short description for the function > "TSTbweuler" from the ocs package on the OF website > http://octave.sourceforge.net/doc/funref_ocs.html > and compare with the one produced by generate_html. > I think one solution could be to remove all occurrences of the > string "@\n" from the help text before doing any further processing. > Thanks again for starting this package, I'll be doing more testing > as soon as I have time. > c. >
The change suggested above corresponds to changing line 61 of get_first_help_sentence from: [retval, status] = first_sentence_texinfo (help_text, max_len); to: [retval, status] = first_sentence_texinfo (strrep(help_text,"@\n",""), max_len); sorry I cannot produce a proper patch at this time. c. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
