Re: Create Auto Save Package
- To: mathgroup@smc.vnet.net
- Subject: [mg12487] Re: Create Auto Save Package
- From: "Allan Hayes" <hay@haystack.demon.cc.uk>
- Date: Tue, 19 May 1998 13:31:50 -0400
- References: <6jf52c$456@smc.vnet.net>
Des Penny posted the message below about creating an Auto Save Package Des, We can control this: Select the notebook then use Option Inspector> Show option values for [notebook]> Notebook Options > File Options > AutoGeneratedPackage The default value is Manual - so you get asked. If you choose to make a package on the first save then the value is set to Automatic, and with this value the package is updated in the background at every subsequent save If you choose not to make a package on the first save then the value is set to None and no package is made. You can reset at any time. Allan Allan Hayes Training and Consulting Leicester UK http://www.haystack.demon.co.uk hay@haystack.demon.co.uk voice: +44 (0)116 271 4198 fax: +44(0)116 271 8642 Des Penny wrote in message <6jf52c$456@smc.vnet.net>... >Hi Folks: > >I'm having problems creating and saving a package. My system is Windows >95 and Mathematica 3.0.1. >The procedure I'm currently using to save a notebook file and its >associated package is as follows: > >Suppose I wish to create the package "Filename.m" and its associated >notebook file "Filename.nb". > >1. Clear all files named "Filename" from the target folder. 2. Create a >new window - Untitled.nb 3. Type or copy the package statements into >one cell in the window. 4. Select the entire cell. Make it an >initialization cell by > Cell>Cell Properties>Initialization Cell 5. Choose Save. >6. In the window that appears choose "Create Auto Save Package". > >The notebook is saved as: Filename.nb The associated package is saved >as: Filename.m > >(Note that I use "Save" above instead of "Save As Special> Package >Format". The above procedure gives me both the Package (Filename.m) >and its associated notebook file (Filename.nb). This allows me to >easily edit the notebook file. When I save this, the associated >package is overwritten with the changes.) > >My problem is that the above procedure does not seem to work all the >time. Sometimes the "Create Auto Save Package" option is not given >when I save and so there is no associated package saved. > >Can anyone help me correct the above procedure? I'm particularly >interested in understanding how to force the "Create Auto Save Package" >option to occur. Is there a Preferences setting that does this? > >Cheers, > >Des Penny >penny@suu.edu > > --