17
$\begingroup$

I would like to create a presentation for my lecture in which I would use Mathematica CDF files. Let's say I want to have such interactive content:

Manipulate[Plot[Sin[x (1 + a x)], {x, 0, 6}], {a, 0, 2}]

How can I place it in Word, Powerpoint or in Adobe PDF (I can use Adobe Acrobat) so it is usable? Usable - means not showed as an icon.

$\endgroup$
3

2 Answers 2

12
$\begingroup$

You can't. You can combine CDFs and content generated by other tools on web pages, though.

From Frequently Asked Questions about the Computable Document Format (CDF) (Wolfram Research):

Do CDFs plug in to Microsoft Office documents or PDFs?

Currently, the CDF Player plugin only supports web browsers. We are exploring the same capabilities for a number of other applications. Contact us for more details when CDF support for other applications becomes available.

Considering size of the Microsoft Office ecosystem, there is probably either a feature or an external tool that allows to export custom HTML (which is also used around CDF embedding on the Web) on spots defined in the Word document. This could enable creating CDF embedding in exported HTML, although something like only the link would be visible while editing the document in Word. This is probably a question for another forum...

$\endgroup$
2
  • $\begingroup$ Can notebook be placed in such file? Assuming I have a Mathematica installed on the same machine as the file I want to view? $\endgroup$
    – Misery
    Commented Sep 18, 2013 at 6:00
  • 2
    $\begingroup$ @Misery Browsers support links to local files by file URI scheme. Modern browsers also support embedding element data using data URI scheme, but I have no idea how well CDF plugin works with that. $\endgroup$
    – kirma
    Commented Sep 18, 2013 at 6:25
22
$\begingroup$

You can install the LiveWeb plugin for PowerPoint which allows to embed a live webpage into a slide. Now you should prepare an HTML page with emdedded CDF object (here and here you can find old instructions how to do this, but probably there is easier way now) and embed it into a PowerPoint slide. People say that it works surprisingly well and you maintain full interactivity.

Here is how this Demonstration looks in PowerPoint 2003 after pressing F5:

screenshot

Full interactivity is maintained: you can scroll the page, interact with embedded CDF object and follow hyperlinks.

$\endgroup$
1
  • 2
    $\begingroup$ Even if this wouldn't strictly count as a solution, I'd hope it to be a workaround worthy of an accepted answer. $\endgroup$
    – kirma
    Commented Sep 24, 2013 at 21:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.