Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
6.0 Standard Packages?, New Style Documentation?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Park  
View profile  
 More options Jun 8 2007, 5:47 am
Newsgroups: comp.soft-sys.math.mathematica
From: "David Park" <djmp...@comcast.net>
Date: Fri, 8 Jun 2007 09:47:37 +0000 (UTC)
Local: Fri, Jun 8 2007 5:47 am
Subject: 6.0 Standard Packages?, New Style Documentation?
1) Is there anyplace in the documentation where one can find all the
'standard packages' listed together in one place like they were in the 5.2
Help Browser?

2) Is there anyplace in the documentation that tell how to construct the new
style documentation, how to get a documentation style sheet, where to put
the documentation, and how to make sure that users have access to it?

--
David Park
djmp...@comcast.net
http://home.comcast.net/~djmpark/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Donald DuBois  
View profile  
 More options Jun 9 2007, 5:44 am
Newsgroups: comp.soft-sys.math.mathematica
From: Donald DuBois <don...@comcast.net>
Date: Sat, 9 Jun 2007 09:44:13 +0000 (UTC)
Local: Sat, Jun 9 2007 5:44 am
Subject: Re: 6.0 Standard Packages?, New Style Documentation?

I would very much like to know the answer to Question 2 but can only help, perhaps, with Question 1.

The following function  will list all the packages
in a single grid (thanks to Harry Chalkin, WRI, for this):

Grid[Partition[
  SetDirectory[
   ToFileName[{$InstallationDirectory, "AddOns", "Packages"}]];
  FileNames[], 2], Frame -> All]

To get the function names in a Package define the
following function:

GetNames[pack_String] := (Needs[StringJoin[pack, "`"]];
  Names[StringJoin[pack, "`*"]])

Example of use:

GetNames["ANOVA"]

results in:

{"ANOVA", "Bonferroni", "CellMeans", "Duncan", "Dunnett", \
"PostTests", "StudentNewmanKeuls", "Tukey"}

I have found it useful to go directly to some of the folders for documentation on a particular package.
For instance, (on a Windows Ver. 6 machine), documentation (Guides and Tutorials)
can be found on the StatisticalPlots Package at

C:\Program Files\Wolfram Research\Mathematica\6.0\Documentation\English\Packages\StatisticalPlots\Do cumentation\English

The root folder for documentation on all the packages
is at:

C:\Program Files\Wolfram Research\Mathematica\6.0\Documentation\English\Packages

and then it's possible to go from there to a given package.

There are no "Standard Packages" as such.  They seem to fall into 4 categories: "Applications", "ExraPackages", "Legacy Packages" and "Packages".

This structure shows up in the following path  (Window machine, Ver. 6):

C:\Program Files\Wolfram Research\Mathematica\6.0\AddOns

Regards,

Don DuBois


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Rowe  
View profile  
 More options Jun 9 2007, 5:50 am
Newsgroups: comp.soft-sys.math.mathematica
From: Bill Rowe <readnews...@sbcglobal.net>
Date: Sat, 9 Jun 2007 09:50:20 +0000 (UTC)
Local: Sat, Jun 9 2007 5:50 am
Subject: Re: 6.0 Standard Packages?, New Style Documentation?
On 6/8/07 at 5:37 AM, djmp...@comcast.net (David Park) wrote:

>1) Is there anyplace in the documentation where one can find all the
>'standard packages' listed together in one place like they were in
>the 5.2 Help Browser?

I don't believe so.

If all that is desired is a list of the standard packages that
can be obtained with

Last[StringSplit[#, $PathnameSeparator]] & /@
  FileNames["*",
   ToFileName[{$InstallationDirectory, "AddOns", "Packages"}]]

and

Last[StringSplit[#, $PathnameSeparator]] & /@
  FileNames["*m",
   ToFileName[{$InstallationDirectory, "AddOns",
"LegacyPackages"}], 2]

for the legacy packages.

Of course, this provides no link to the documentation for these packages.

To get to the documentation for the standard packages, the best
thing I seen so far is the palette Selwyn Hollis created and
made available at:

<http://www.math.armstrong.edu/faculty/hollis/HelpHelperPalette.nb>
--
To reply via email subtract one hundred and four


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Reiss  
View profile  
 More options Jun 11 2007, 4:34 am
Newsgroups: comp.soft-sys.math.mathematica
From: David Reiss <dbre...@gmail.com>
Date: Mon, 11 Jun 2007 08:34:51 +0000 (UTC)
Local: Mon, Jun 11 2007 4:34 am
Subject: Re: 6.0 Standard Packages?, New Style Documentation?
here is some code that "improves" upon the other code in these
postings.  I have put a notebook linked to the WorkLife FrameWork blog
from a posting on this at:

http://scientificarts.com/worklife/wlfwblog/index.html

wiht a permalink at

http://scientificarts.com/worklife/wlfwblog/BE3390503366/BE3390503366...

--David

One comment--the use of Quiet in this is to surprss some no context
messages that are generated because the contexts of many of these
packages do not reflect the directrly structure that they exist in.
So the packages, I beleive, load properly, but the contexts that they
end up existing in are not the same as those of the artument to the
Needs statements that load them.

Here's he code (I am sure that it can be further improved upon--
remember of course that this is intended for Mathematica 6), I hope
that it is useful...

ClearAll[StandardPackagesPalette];

StandardPackagesPalette::usage =
  "StandardPackagesPalette[], generates a palette of pull-down menus
that allow you to load the standard
  packages. StandardPackagesPalette[\"LegacyPackages\"] does the same
for those legacy packages that are included in the Mathematica
  distribution. Similarly for StandardPackagesPalette[\"ExtraPackages
\"]. ";

StandardPackagesPalette[
   root : "Packages" | "LegacyPackages" | "ExtraPackages"] :=

  Module[{directories, context, packageFiles, packageData, toMenuData,
     menuData, menus},

   context[dir_] :=

    StringReplace[
     dir, {DirectoryName[dir] -> "", $PathnameSeparator -> ""}];

   packageFiles[dir_] :=
    DeleteCases[StringDrop[
      StringReplace[#, DirectoryName[#] -> ""] & /@
       FileNames[{"*.m"}, {dir}],
      -2],
     "PacletInfo" | "Usage", \[Infinity]];

   directories = FileNames[{"*"},
     {ToFileName[{$InstallationDirectory, "AddOns", root}]}];

   directories = Select[directories, FileType[#] === Directory &];

   packageData = {context[#], packageFiles[#]} & /@ directories;

   packageData = DeleteCases[packageData, {_, {}}];

   toMenuData[{cont_, files_}] :=

    With[{topContext = cont <> "`"},

     {cont, # :> Quiet[Needs[topContext <> # <> "`"]] & /@ files}
     ];

   menuData = toMenuData /@ packageData;

   menus = ActionMenu[Sequence @@ #,
       BaseStyle -> {FontSize -> 10, FontFamily -> "Helvetica"},
       FieldSize -> 12,
       Background -> Blue] & /@ menuData;

   CreatePalette[
    Column[Flatten[{
       Button["Close", NotebookClose[ButtonNotebook[]],
        BaseStyle -> {FontSize -> 10, FontFamily -> "Helvetica",
          FontColor -> RGBColor[.4, 0, 0]}, Appearance -> "Palette"],
       menus}]],
    WindowSize -> {All, 350},
    WindowElements -> {"VerticalScrollBar", "StatusArea"},
    WindowTitle -> "Load " <> root,
    WindowMargins -> {{Automatic, 10}, {Automatic, 5}}]

   ];

StandardPackagesPalette[] := StandardPackagesPalette["Packages"];

On Jun 9, 5:44 am, Donald DuBois <don...@comcast.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Murray Eisenberg  
View profile  
 More options Jun 20 2007, 5:42 am
Newsgroups: comp.soft-sys.math.mathematica
From: Murray Eisenberg <mur...@math.umass.edu>
Date: Wed, 20 Jun 2007 09:42:15 +0000 (UTC)
Local: Wed, Jun 20 2007 5:42 am
Subject: Re: Re: 6.0 Standard Packages?, New Style Documentation?
I added Saveable->True as an option in the CreatePalette function below,
but still after I create the palette and close it, I do NOT get a prompt
to save it.  So how do I save it as a palette??

--
Murray Eisenberg                     mur...@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Reiss  
View profile  
 More options Jun 22 2007, 6:59 am
Newsgroups: comp.soft-sys.math.mathematica
From: David Reiss <dbre...@gmail.com>
Date: Fri, 22 Jun 2007 10:59:30 +0000 (UTC)
Local: Fri, Jun 22 2007 6:59 am
Subject: Re: 6.0 Standard Packages?, New Style Documentation?
It turns out that the notebook needs to "think" that it has been
altered in order for it to prompt you to save lt. One trivial way to
ahve this happen is to move the palette's position (this changes some
internal optoins that specify its position).  Then clicking on the
close field (not the "Close" botton which doesn't care) will bring up
the file save dialog.

Another way is to execute

nb = StandardPackagesPalette[]

and then execute

NotebookSave[nb]

which also will bring up the save dialog.

If, once this has been done, you wish for the palette to remember
where it was the last time you opened it, you should add the option

ClosingAutoSave->True

to the  code as well.

On Jun 20, 5:42 am, Murray Eisenberg <mur...@math.umass.edu> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »