Re: Converting notebooks to use Mathematica Player
- To: mathgroup at smc.vnet.net
- Subject: [mg82577] Re: [mg82546] Converting notebooks to use Mathematica Player
- From: John Fultz <jfultz at wolfram.com>
- Date: Thu, 25 Oct 2007 06:07:05 -0400 (EDT)
- Reply-to: jfultz at wolfram.com
Mathematica Player does not evaluate Initialization cells. You need to make sure that any Manipulates are completely self-contained, and do not require Shift-Enter evaluations in order to work correctly. The typical way to do this is to add SaveDefinitions->True, which will suck in any definitions required to set up the Manipulate into the dynamic evaluation that sets up the Manipulate output. I took your notebook, added SaveDefinitions->True to the Manipulate, and ran it through the converter. It worked fine for me. You can find it at... http://www.wolfram.com/solutions/interactivedeployment/publish/download.jsp?id=2 171978932&filename=2D+Ising+Model+Fixed.nbp Sincerely, John Fultz jfultz at wolfram.com User Interface Group Wolfram Research, Inc. On Wed, 24 Oct 2007 04:28:50 -0400 (EDT), Steve Luttrell wrote: > > Mathematica 6, (2) Uploading the notebook for Mathematica Player online > conversion (see > http://www.wolfram.com/solutions/interactivedeployment/publish/), (3) > Posting this converted notebook online for others to access (a ZIPped > version is at > http://www.luttrell.org.uk/notebooks/2D%20Ising%20Model.zip). > > To check that things worked on a previously clean machine (i.e. without > Mathematica 6 installed) today I downloaded and installed Mathematica > Player onto an old PC (running Windows XP, but not connected to the > internet), and tried running the above converted notebook. The notebook > opens and the input cells display OK, but I can't find any way of > executing the notebook, despite the fact that it proudly announces > "interactivity enabled" at the top of the notebook, and the output of the > Manipulate cell appears only as a grey square. On the other hand, if I > try to run the converted notebook in Mathematica itself then it runs OK. > > If there is anyone else out there who has a "clean" machine (i.e. > Mathematica Player, but not Mathematica 6) could they see what happens > when > they try to run the converted notebook in > http://www.luttrell.org.uk/notebooks/2D%20Ising%20Model.zip? It is > important > that this sort of thing should work OK!