18

I had contacted tech support at Wolfram about one of my demonstrations, and got a reply from Ed Pegg (one of the editors at the Wolfram Demonstration site) which included this: "Mathematica 10 turned out to be incompatible with the server our Demonstration site runs on, so we're needing to do a major upgrade. But it's taking longer than expected. The ...


10

Update The new plugin Mathematica Toolbox can embed CDFs and do many other things. The official plugin is still not working. The problem is that whoever wrote the Wordpress plugin didn't use the official API to parse the CDF shortcode. The CDF plugin is essentially saying "right before the content is presented, modify it using function parseContent" (...


10

This was answered at community by @AndreKuzniarek http://community.wolfram.com/groups/-/m/t/288532?p_p_auth=qa7hhoyE Here is the answer from above if you can't locate it as the thread is very long.


8

This should do: nb = Import["path/to/BriggsCochraneCalculus.cdf"]; nb = NotebookPut@nb; SetOptions[nb, Deployed -> False, Editable -> True] You can now save it as .nb somewhere. Why Options Inspector does not work? I must say I don't know but here's a guess. One could expect that nb = NotebookOpen @ "path/to/BriggsCochraneCalculus.cdf" SetOptions[...


6

Controls will not function unless you've enabled interactivity. I.e., a Manipulate will render, but you'll be unable to toggle checkboxes, change input fields, press radio buttons, etc. The same will be true for any control in the notebook, even if it does not live in a Manipulate. Enabling interactivity can be done either by logging into a paid Wolfram ...


6

I find it necessary to use the CDFDeploy function to get Enterprise CDF functionality in 11.2. I have this defined in a separate notebook: cdf[notebook_, file_] := Block[{}, SetOptions[notebook, PrivateNotebookOptions -> {"ShowProductBranding" -> False}]; CDFDeploy[file, notebook, "Target" -> "PlayerPro", Deployed -> False]] Then I just ...


5

A result from a PopupWindow is not a NotebookObject[] because there isn't any new window till it is clicked. That is why SetOptions will not work. Yet PopupWindow accepts all notebooks' options and passes them later to generated windows so the quick fix is: PopupWindow[..., PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False}] Licensing This ...


5

As an update, I received this message from Wolfram support in December 2015: "Just to let you know, web browsers are slowly moving away from the technology that supports our plugin. You may have noticed that it does not work on Chrome and Edge, and more browsers are to follow over the next year or so. We are migrating most of the functionality offered ...


4

CDF Player 10 was finally released recently: http://www.wolfram.com/cdf-player/


4

You can use another ProgressIndicator with an Indeterminate range option. The latter will show "running" without a specific value: Column@{ ProgressIndicator[Dynamic[n], {1, 100}], ProgressIndicator[Dynamic[n], Indeterminate] } Table[(n = k; Pause[0.1]), {k, 1, 100}]; Alternatively, you can just write "Running..." and switch that to "done" when done:...


4

I contacted Wolfram Technical Support. They said the menu commands to create an Enterprise CDF do not create an Enterprise CDF! They were already aware of this problem. Their workaround is to create a new notebook containing the cell: filepath1 = FileNameJoin[{NotebookDirectory[], "notebookname.cdf"}]; filepath2 = FileNameJoin[{NotebookDirectory[], "...


4

Your main problem, inoperable CDF, results from attempting to use a InputField in your code. In this documentation article, under the section Interactivity in .cdf Files, you will find the statement All interactive content must be generated with the Manipulate command and may only use mouse-driven elements, such as Slider, Locator, Checkbox, PopupMenu, ...


3

Besides what John mentioned above, EnterpriseCDF documents also require no in-app purchase for interactivity. Creating EnterpriseCDF documents requires a Mathematica Enterprise Edition license, which runs ~\$7,500. Someone wishing to distribute full-blown CDFs or Notebooks to a large population could use that option. $10 is a lot for a casual iPhone/iPad ...


3

Only the full version of Mathematica can evaluate arbitrary code. You have the free CDF player. The CDF player can only open CDF files previously prepared and digitally signed with a full version of Mathematica. It does not allow writing and running new (i.e. unsigned) code.


3

Absolutely not. Everything CDF Player can do Mathematica can do, but then Mathematica's got a lot more as well. They are both (relatively) large files, so I would certainly recommend only have Mathematica installed. This table is fairly informative.


3

I save notebooks with multiple GUIs as CDF files and give users CDFPlayer to install. I have code in the notebook but hide it by collapsing the cells around the GUI that I want the user to see (of course the user can open it and sometimes does by accident). For your particular problem you could write in your notebook something like: PopupWindow[ "Plot ...


3

You need to have all the functions in the Initialization section. This is the first thing Manipulate evaluates. This works. Tested it in CDF. Opened in CDF player OK. Manipulate[ Show[{ circleK, circleAPlot[offset oCircA], circleBPlot[offset oCircA], invLineGraphics[offset oCircA], invAVGrPts[offset oCircA], invLVGrPts[offset oCircA], ...


3

There are 2 things one can do in this case. If your CDF notebook is not too large you might do the following: I take it that your initial notebook has the GroupOpeners, or may be not. Independently of this: Open the notebook which you are going to transform into CDF in Mathematica. Place the cursor into the cell that you want to have a GroupOpener. Press ...


2

Its also worth noting that CDF Player 10 has had 1 update since release with no version number change - so if you downloaded it in the first week or so you should probably re-download. On a windows machine there is about ~3k difference in file size. This was due to issues with the plugin when using Chrome and Firefox. On my system the file sizes were 589,...


2

Your question has two aspects: I think WRI quite obviously wouldn't want you to do that with the free player, so they disabled the functionality which would provide a straightforward solution. As usual, there most probably are tricks to circumvent the limitations and make something similar work with the free player as well, at least if you don't insist on ...


2

This is how I do this. It is not elegant, but it works. First I create a file where the error messages will be sent: logFilename = CreateFile[]; log = OpenWrite[logFilename, FormatType -> OutputForm, PageWidth->Infinity]; Then we make sure that any generated messages are also sent to this file: AppendTo[$Messages, log]; At this point, optionally, ...


2

The CDF player is available from Wolfram. It can run CDF files which you can create from any Mathematica notebook by using File->CDF export->Standalone.


2

Yes, i tried to run your code in Player Pro preview mode and it is true that these Abs, UnitStep are not accepted in the input menu ... ? Your workaround works but if you don't want the aliases to be replaced with their real function name here is another workaround: Instead of defining u[z]:= and abs[z]:=... just do dx[de_, a0_, b0_] := de /. {a -> a0,...


2

There is no reason to keep your Input inside of Manipulate, you don't want a dialog show up every time it updates, right? Probably you need something like this: ClearAll[f, x, \[Alpha]] f[x_, \[Alpha]_] = Input["Please input a function of x to plot with one parameter \ \[Alpha] to manipulate"]; Manipulate[Plot[f[x, \[Alpha]], {x, 0, 1}], {\[Alpha], 0, 1}]...


2

The screenshot is showing the CDF player running as a browser plugin. It's not Mathematica. The CDF player does not allow you to run Mathematica code. It can only view notebooks and run specially prepared CDF files. Evaluating arbitrary code is not possible. You need the full version of Mathematica for that.


1

Alright, I am going to answer my own question: On issue A, a possible workflow is the following: Create the CDF source notebook using the intended custom Stylesheet In the new notebook, switch to Mathematica's Default Stylesheet Open the notebook file for the custom Stylesheet, and copy all of its cells In the new CDF source notebook, go to "Edit ...


1

I think the only way to get such information out of a CDF document is to use the CopyToClipboard function on a list and then paste into a text file (followed by maybe a bit of editing or post-processing). And I certainly hope this approach isn't taken away. I'd have to totally give up on CDF's if that were to happen.


1

The work-around I adopted was to create a temporary version of my library that used only a new non-conflicting version of minmax (no caps!) and used that library to create the CDF. Still hoping for a CDF Player that has the same functions as Mma 10.1.


1

I assume you are referring to the CDF browser plugin, not the "Wolfram CDF Player" application? Chrome is now 64-bit application, and since the CDF Player plugin is 32-bit, it will not work. Even if it were made 64-bit, Chrome is planning on disabling these types of plugins (NPAPI) soon. For the moment, it should work in Safari and Firefox on OSX.


1

I think m_goldberg is right: you can't access files on your local filesystem from CDF. AFAIK you can open new windows from CDF-Player with e.g. CreateDocument["hello"] but these will have dynamic update disabled, so that something like CreateDocument[Manipulate[Plot[x^n, {x, 0, 1}], {n, 0.1, 10}]] won't work. I also would expect that this only works in ...


Only top voted, non community-wiki answers of a minimum length are eligible