Re: Converting notebooks to use Mathematica Player
- To: mathgroup at smc.vnet.net
- Subject: [mg82916] Re: Converting notebooks to use Mathematica Player
- From: "Steve Luttrell" <steve at _removemefirst_luttrell.org.uk>
- Date: Sat, 3 Nov 2007 03:26:32 -0500 (EST)
- References: <email@example.com>
I just noticed that my previous response to you wasn't inserted at the
correct position in the conversation thread. Maybe that is why I haven't had
a response (hint, hint!). Here it is again:
Your correction (i.e. SaveDefinitions->True) doesn't fully solve the
problem, because although it ensures that Manipulate is now active, it is
not as active as I intended it to be.
1. In Mathematica 6 your corrected version shows the behaviour that I
intended, i.e. a 2D Ising model that continuously updates itself when the
"update" check box is selected.
2. In Mathematica Player (Windows XP, with no other Wolfram products
installed) the behaviour is not like this, because the only updating that
you get is the initial randomisation when you select the "update" check box.
A little experimentation reveals that if the Player window does NOT have
focus then the Ising model updates DO occur! Irrespective of the focus of
the Player window Mathkernel.exe + MathematicaPlayer.exe use almost 100% of
the CPU time.
West Malvern, UK
"John Fultz" <jfultz at wolfram.com> wrote in message
news:ffpq9j$lfq$1 at smc.vnet.net...
> Mathematica Player does not evaluate Initialization cells. You need to
> sure that any Manipulates are completely self-contained, and do not
> 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
> that sets up the Manipulate output. I took your notebook, added
> SaveDefinitions->True to the Manipulate, and ran it through the converter.
> worked fine for me. You can find it at...
> 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
>> 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
>> they try to run the converted notebook in
>> http://www.luttrell.org.uk/notebooks/2D%20Ising%20Model.zip? It is
>> that this sort of thing should work OK!
Prev by Date:
Re: Dynamic palette of open notebooks
Next by Date:
Re: [Q] Nonlinear Fitting in symbolic Integration ..?
Previous by thread:
Re: Problem with supplying custom tick marks
Next by thread:
Re: Re: Converting notebooks to use Mathematica Player