man, 06 10 2008 kl. 15:23 +0200, skrev Carlo de Falco:
> I think the idea of this package is indeed very useful!
> I tried to generate help pages for some of my packages but they seem
> to fail (see output below).
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.
> Why didn't you commit the package to the svn repository? It would be
> easier to send patches if you had done so...
Yeah, the reason why I'm holding back, is that I'm still not sure if my
approach is the right one. Also, I've sent a suggestion to the
maintainers list about rewriting the help system as m-files. This change
includes a lot of the same functions as this package. So, if the
suggestion is accepted, then I guess some confusion as to which version
of which function to use would appear.
Søren
> c.
>
>
> ---------8<---------
> BIM
> generate_package_html ("bim","~/octave/bim_help" )
> stdin:10: Misplaced {.
> stdin:10: Misplaced }.
> error: get_first_help_sentence: couldn't run makeinfo
> error: evaluating if command near line 122, column 3
> error: called from `get_first_help_sentence:first_sentence_texinfo' in
> file `/Users/carlo/octave/generate_html-0.0.2/get_first_help_sentence.m'
> error: evaluating assignment expression near line 57, column 14
> error: evaluating switch command near line 53, column 3
> error: called from `get_first_help_sentence' in file `/Users/carlo/
> octave/generate_html-0.0.2/get_first_help_sentence.m'
> error: evaluating argument list element number 3
> error: evaluating if command near line 152, column 7
> error: evaluating for command near line 150, column 5
> error: evaluating for command near line 143, column 3
> error: called from `generate_package_html' in file `/Users/carlo/
> octave/generate_html-0.0.2/generate_package_html.m'
>
> ---------8<---------
> OCS
> >> generate_package_html ("ocs","~/octave/ocs_help" )
> error: get_first_help_sentence: couldn't parse texinfo
> error: evaluating if command near line 106, column 5
> error: evaluating if command near line 81, column 3
> error: called from `get_first_help_sentence:first_sentence_texinfo' in
> file `/Users/carlo/octave/generate_html-0.0.2/get_first_help_sentence.m'
> error: evaluating assignment expression near line 57, column 14
> error: evaluating switch command near line 53, column 3
> error: called from `get_first_help_sentence' in file `/Users/carlo/
> octave/generate_html-0.0.2/get_first_help_sentence.m'
> error: evaluating argument list element number 3
> error: evaluating if command near line 152, column 7
> error: evaluating for command near line 150, column 5
> error: evaluating for command near line 143, column 3
> error: called from `generate_package_html' in file `/Users/carlo/
> octave/generate_html-0.0.2/generate_package_html.m'
>
> ---------8<---------
> MSH
> >> generate_package_html ("msh","~/octave/msh_help" )
> stdin:10: Unmatched }.
> error: get_first_help_sentence: couldn't run makeinfo
> error: evaluating if command near line 122, column 3
> error: called from `get_first_help_sentence:first_sentence_texinfo' in
> file `/Users/carlo/octave/generate_html-0.0.2/get_first_help_sentence.m'
> error: evaluating assignment expression near line 57, column 14
> error: evaluating switch command near line 53, column 3
> error: called from `get_first_help_sentence' in file `/Users/carlo/
> octave/generate_html-0.0.2/get_first_help_sentence.m'
> error: evaluating argument list element number 3
> error: evaluating if command near line 152, column 7
> error: evaluating for command near line 150, column 5
> error: evaluating for command near line 143, column 3
> error: called from `generate_package_html' in file `/Users/carlo/
> octave/generate_html-0.0.2/generate_package_html.m'
>
>
> -------------------------------------------------------------------------
> 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
-------------------------------------------------------------------------
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