inline help for Maxima-packages



>>>>> "Adam" == Adam  <adammaj1 at o2.pl> writes:

    Adam> Dear Wolfgang,
    Adam> Thx for your function.

    Adam> I have made simple test :

    Adam> (%i1) load("/home/a/Pulpit/help_package.mac")$
    Adam> (%i2) help_package(draw);
    Adam> "No printable documentation included."
    Adam> (%o2) true
    Adam> (%i3) help_package(plot);
    Adam> "Package not found."
    Adam> (%o3) false
    Adam> (%i4) help_package(distrib);
    Adam> "No printable documentation included."
    Adam> (%o4) true
    Adam> (%i5) help_package(f90);
    Adam> "No printable documentation included."
    Adam> (%o5) true
    Adam> (%i6) help_package(diag);
    Adam> "No printable documentation included."
    Adam> (%o6) true

    Adam> Function works, but now many packages conatain no printable doc.

I don't think his intent was to replace the functionality of
describe.  But describe is missing lots of stuff that is otherwise
documented either as comments, as Wolfgang says, or in a separate .usg
file.

    Adam> BTW.
    Adam> Can you write function to list all loaded packages ?

I could be wrong, but I don't think there's any way to know a package
is loaded.  If you load(diag), you just get all the functions and
variables defined, but nothing distinguishing it any other way.

Perhaps we could consider adding a "provide" function like that used
in CL and emacs to indicate something has been loaded/provided?

Ray