Questions on the Computable Document Format (CDF) that allows Mathematica notebooks to be embedded within media for easy viewing and manipulation. Do not use this tag for questions on cumulative distribution functions.

learn more… | top users | synonyms (1)

4
votes
1answer
257 views

“Show” with Manipulate runs fine normally, but gives errors as a CDF

I've simplified my code to what can reproduce my error. Basically, I have two lines: ...
4
votes
3answers
210 views

Upload CDF to Blogspot

I am trying to upload my CDF files to Blogspot. I tried the follow script: ...
4
votes
2answers
361 views

Function saved in a package won't load in the deployed CDF on startup

I wrote a function and saved it in a package. I saved a copy of the package in the Autoload folder too. I deployed a CDF that contains this function. When I open the CDF later, this function (which ...
4
votes
1answer
197 views

How can I create a CDF application while using GUIKit?

I have created a notebook that uses GUIKit to create a user interface. The targeted user does not have Mathematica available so I thought about using the CDF player to convert the file if possible, ...
4
votes
1answer
127 views

Missing V9 Menu: File -> New -> FreeCDF

I can run CDFs fine, and can export Notebooks as CDFs. But the File -> New menu does not contain a FreeCDF option, just the ...
4
votes
1answer
175 views

How do I put a Monitor into CDF?

I would like to keep track of progress of a database request in an Enterprise CDF, but it won't allow PrintTemporary or ...
4
votes
1answer
67 views

Export notebook as epub?

Is there a way (preferably easy!) to have Mathematica export a notebook or CDF as an epub document, to be read on an e-reader? It would certainy seem possible to export as HTML, and then use ...
4
votes
1answer
70 views

How to create a CDF “on the fly”?

I don't know if I have asked the question the right way: As CDF is essentially a simple text file, I would like to create it "on the fly" without saving it to the hard drive. I would like to give a ...
4
votes
0answers
222 views

Notebook manipulation to “Save as (HTML)”

In a previous question, I said that I wanted to display code as text in "Save as (HTML)". I am closer, but would like to ask the community for a better approach by telling the whole picture. I did my ...
3
votes
2answers
444 views

MathLink and CDF

So far I have read that some things are not supported in CDFs. Istvan-zachar mentioned very useful things in his post. Unfortunately he mentioned that MathLink operations, including J/Link and ...
3
votes
3answers
227 views

Why does my code work one way in Mathematica and another way in PlayerPro?

I wrote the following simple code and deployed it as a CDF. Button["Ok", (SystemDialogInput["FileSave", ".PDF"])] If I ...
3
votes
1answer
240 views

Too much vertical space in a CDF file

When I prepare a CDF file to be included into a web page, far too much blank vertical space is left over the pane. Is there a command to reduce that? This is illustrated by the files SimpleDemos.nb ...
3
votes
2answers
146 views

Create a new window from CDF, such that it contains a Manipulate. Force this Manipulate work.

I have a notebook with such a button creating code: ...
3
votes
1answer
49 views

Search function stops working after converting to CDF

My problem is, that when a make a notebook and convert it to CDF using the 'CDF-Export', the search field, which appears on CDF player, does not work. When trying to search for a word, the computer ...
3
votes
2answers
167 views

how to use button in place of checkbox

I am novice to Mathematica and want to ask how can I use Button in place of Checkboxes. I have used 4 ...
3
votes
1answer
392 views

CDF embedding in HTML

I created a working CDF file on my Mac, and I am trying to embed it into an html page, and although I followed all the steps suggested on the mathematica web embedding page, it is not working (I ...
3
votes
3answers
548 views

How can I change the CDF which imports the data and uses it, without execution of code

I am making an application which first imports the data from the Excel file and then uses it in the deployment of a CDF. But is it possible to change the data of the Excel file and see its ...
3
votes
1answer
108 views

How avoid white space and tags in CDF on web page

A CDF manipulate made in Mathematica 8 works fine and looks fine in a web page except for unsightly notebook tags and white space around the outside of and below the panel. What can be done? ...
3
votes
1answer
168 views

How can I recover the source code from cdf file?

by a mistake I have deleted the nb file by which the CDF was generated. All required definitions were in one cell. If I remember the code looked like this: ...
3
votes
1answer
173 views

CDF plug-in and animation controls

I've read through all the Q and A on the CDF plug-in and still am puzzled. I've managed to create some webpages with CDF content, it's working fine except when you reveal the animation menu and use ...
3
votes
1answer
66 views

Markup of CDF file, e.g. highlighting text

Is it possible to markup (i.e. highlight or underline) text in a deployed cdf file and then save it? I think I know the answer (no), but since it seems a basic necessity for a document format that ...
3
votes
0answers
49 views

WSTP Callbacks into CDF

Essentially, what I am trying to find out is the limitation of the WSTP/LINK protocols in Enterprise-licensed CDF. Specifically, are any callbacks to the kernel from those protocols allowed in CDF , ...
3
votes
0answers
279 views

How to remove scroll bars from embedded cdf?

I am using the deploy command to embed a CDF file in an HTML page. I am using the annoying but currently necessary fullscreen:'true' trick to reveal the "Enable ...
2
votes
2answers
136 views

How can I remove double quotes in CDF?

I wrote a small code and deployed into CDF. ...
2
votes
2answers
541 views

How to make a CDF document with dynamic content?

I would like to create a CDF document that uses dynamic content. The example code is: fun=x^2-1; InputField[Dynamic[fun]] And what I get is $Aborted instead of interactive document. How to make a ...
2
votes
2answers
142 views

How to specify units for ImageSize Option? [duplicate]

I'm trying out making a CDF and I want it to print within the margins of Letter paper. There is an ImageSize option that I would like to set; some plots will be in ...
2
votes
2answers
151 views

Problems with Manipulate (indicated by blinking output cell)

The following code produces the error message when exported to CDF in the title of this question. Although I have seen similar issues on SE, the problem is manifest by the "blinking" of the plot ...
2
votes
1answer
160 views

How can I prevent graphics scaling with CDF notebook size?

Recently we saw how to produce xkcd-style graphs. I evaluated the same code and deployed the result to CDF. Everything is working fine except that, in the CDF notebook, the graph is scaled according ...
2
votes
1answer
156 views

how to deploy notebook into player pro

I want to ask how can I deployMathematica notebook into player pro. I know that online conversion to Mathematica player pro is ...
2
votes
1answer
148 views

Is it possible to take data from external database for the CDF embedded in webpage?

I have embedded my CDF in facebook.The data for the CDF should be taken from facebook server or my server dynamically.I tried out but its not working in dynamic code iam not able to access the data at ...
2
votes
1answer
79 views

Export to CDF fails

The code below generates the error when I attempt to export to CDF Preview: Coordinate {xde[4.69588928222656], yde[4.69588928222656]} should be a pair of numbers, or a Scaled or Offset form. ...
2
votes
2answers
209 views

Manipulate, Import external table, save as CDF, mail presentation

For my work I do data analysis. Most of these analysis are done on big databases with milions of records. I would like to make a manipulate (or animate) using a external dataset and create a CDF ...
2
votes
2answers
176 views

How can I create CDF applications which adjust their screen dimensions based on the end-user's display configuration?

I am trying to make a CDF application that takes the user's system information (screen information) and adjusts the size of the application to give a seamless experience over different screens with ...
2
votes
2answers
238 views

How to clear variables in a manipulate without enabling dynamic content?

I have a series of variables that will plot the number of straight segments along a curve, thanks to the help from here on one of my previous questions. I can create a working Manipulate command from ...
2
votes
1answer
87 views

Mathematica notebook is corrupt

Well great, I had some work done (though it wasn't much, it was just laid out nicely) in a cdf file. My computer decided to shut down on my randomly while I was working on it (some kind of error). I ...
2
votes
1answer
235 views

How can I create an interactive application that accepts data and and plots it?

I have some code in Mathematica which shows a colored plot, where the coloring depends on data values. I would like to make this into an interactive application that accepts two inputs: data, a list ...
2
votes
1answer
194 views

Can't create a simple CDF

I decided it was time I investigated CDFs, so I created the following simple Manipulate using Mathematica version 9.0.1.0: ...
2
votes
1answer
81 views

Having SetOptions[] affect CDF styling

Instead of writing a package and importing it, at the beginning of many of my .nb files I have a string of SetOptions commands which govern things like plot styling. However, when I subsequently make ...
2
votes
1answer
128 views

Detect Standalone CDF vs Browser Plugin environment [duplicate]

Recently, Wolfram informed me that there's no way to have a Print button in a CDF running within a plugin environment since the plugin does not interact with the operating system. If you have a way to ...
2
votes
1answer
170 views

Controlling CDF window size

I want to ask how can I control the CDF WindowSize in such a way that the end user can minimise its size upto some extent only. ...
2
votes
1answer
137 views

Can't run 2 CDF documents at a time on a Windows computer

I've rolled out a few CDF's to end users. See earlier posts: suppress message and which player platform. Now, an end user reports that they can't open more than one CDF document at a time. The ...
2
votes
1answer
86 views

CDF embedded in web page and Windows desktop magnification

I am running Windows 8.1 on a ThinkPad T540P with a 3K screen, which is equivalent to Apple Retina screens. I have configured Windows to increase the magnification of the desktop to make fonts ...
2
votes
1answer
134 views

Getting cdf content from nice Wolfram info graphic

There is a very nice cdf info graphic on the Wolfram Webpage (http://www.wolfram.com/cdf/uses-examples/infographics-full-example.html). I'd like to have a look at the code as I'd like to do something ...
2
votes
1answer
430 views

Why cant I open CDF's in the Chrome browser on Linux?

I have google chrome on ubuntu 13.04. Every time I try to run a CDF on wolframs website, I'm required to download the CDF first, and then open it in my computer, but when I was using windows it was ...
2
votes
0answers
84 views

Conceal GUI source code

I'm working with a simple software application written in Mathematica, composing of several .nb and .m files. The application is centered around a simple mathematica GUI, which includes several ...
2
votes
0answers
88 views

Problems creating CDF via .NET DLL

I have read several posts at SE and googled a lot, but I still have difficulties to create a CDF via .NET. My first try was the Wolfram example MathKernelApp.exe ...
2
votes
0answers
76 views

CDF Infokit question

In the CDF Infokit, one finds the BriggsCochraneCalculus.cdf document, which shows a textbook on calculus. I've got two questions about how it was made: How has ...
2
votes
0answers
65 views

How can I install a new stylesheet in CDF Player?

I've created my own stylesheet and I would like to install it in the CDF 9 directory, so when I apply it to a new Mathematica notebook and save it as CDF file, it will show it correctly. I used this ...
1
vote
2answers
84 views

Using non-Graphics primitives when exporting to .cdf

I'm trying to embed a "Manipulate" applet I've created into a webpage by embedding a .cdf. I'm running into a problem with displaying outputs from functions I've written. Here is a simpler example ...
1
vote
1answer
132 views

Writing a conventional free-standing application in Mathematica (CDF)

I intend to write a small program that can be exported to CDF and consist of two main parts: A. The construction of a layered structure consisting of different materials. B. Superimposing ...