Re: How to force saving in .m format?
- To: mathgroup at smc.vnet.net
- Subject: [mg22184] Re: How to force saving in .m format?
- From: "P.J. Hinton" <paulh at wolfram.com>
- Date: Thu, 17 Feb 2000 01:24:19 -0500 (EST)
- Organization: "Wolfram Research, Inc."
- References: <email@example.com>
- Sender: owner-wri-mathgroup at wolfram.com
On 16 Feb 2000, Bill Marks wrote: > When you first save a notebook that contains initialization cells as > file .nb, the kernel will ask if you wish to also save in "Source" > or "Plain text" format, as file.m. This is very useful if you want > the notebook to be a callable resource for other notebooks. However > if you say no to the Kernel, there seems to be no easy way to later > tell it I changed my mind, and now I would like to also save as > file.m. (I copy the whole file.nb and paste into a new file and save > that, which must have new name.) How to change the mark contained > somewhere in a file that means it is to be saved as both file.nb and > file.m? The option is AutoGeneratedPackage, and it can be set on a per-notebook basis or at the global level. As usual, if the option is not specified at the notebook level, it is inherited from the global level. You can find documentation for this option here: FrontEndExecute[ FrontEnd`HelpBrowserLookup[ "OtherInformation", "AutoGeneratedPackage" ] ] You may change the option from the Option Inspector dialog or with SetOptions, using $FrontEnd or EvaluationNotebook as the first argument. -- P.J. Hinton Mathematica Programming Group paulh at wolfram.com Wolfram Research, Inc. Disclaimer: Opinions expressed herein are those of the author alone.