MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Converting notebooks to use Mathematica Player

  • To: mathgroup at
  • Subject: [mg82641] Re: Converting notebooks to use Mathematica Player
  • From: "Steve Luttrell" <steve at>
  • Date: Fri, 26 Oct 2007 05:35:16 -0400 (EDT)
  • References: <ffpq9j$lfq$>

My apologies to you. I didn't fully absorb the guidelines on, 
especially the remarks about interactive content having to be contained in 
Manipulate commands.

However, this correction (i.e. SaveDefinitions->True) of yours 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 the behaviour is not like this, because the only 
updating that you get is the initial randomisation when you select the 
"update" check box.

Steve Luttrell
West Malvern, UK

"John Fultz" <jfultz at> wrote in message 
news:ffpq9j$lfq$1 at
> 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...
> 171978932&filename=2D+Ising+Model+Fixed.nbp
> Sincerely,
> John Fultz
> jfultz at
> 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
>>, (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
>> when
>> they try to run the converted notebook in
>> It is
>> important
>> that this sort of thing should work OK!

  • Prev by Date: Re: Re: Why does Sum return 0 on this series? Bug Report
  • Next by Date: Re: Converting notebooks to use Mathematica Player
  • Previous by thread: Re: Converting notebooks to use Mathematica Player
  • Next by thread: Re: Converting notebooks to use Mathematica Player