我们可以在 PowerPoint 或 Keynote 中展示一些 Dynamics/CDF 吗?

发布于 2024-12-05 14:48:04 字数 153 浏览 1 评论 0原文

我想在演示文稿中显示一些动态内容。然而,我不确定周四之前是否有时间在 Mathematica 中按照我想要的方式制作幻灯片。

是否可以在 Powerpoint (Microsoft) 或 Keynote (Apple) 演示文稿中使用 Mathematica 内置的动态对象?

I want to show some dynamic content in a presentation. However, I am not sure I have time by Thursday to make slides in the way I would like to within Mathematica.

Is it possible to have Dynamic objects built in Mathematica within A Powerpoint (Microsoft) or Keynote (Apple) presentation ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

丑丑阿 2024-12-12 14:48:04

制作几个 Manipulates 有什么问题,将它们分别导出到单独的 CDF,然后您就可以在那里得到演示文稿。

你可以制作一个网页,每个页面可以包含一个CDF。每一页都像您的一张幻灯片。

您可以单击链接转到下一个网页。下一张幻灯片,您可以在其中运行下一个 CDF。

将 CDF 插入网页非常简单,就像这样

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<BODY >

<p><script src="http://www.wolfram.com/cdf-player/plugin/v1.0/cdfplugin.js"
type="text/javascript"></script><script type="text/javascript">// <![CDATA[
var cdf = new cdf_plugin();
cdf.addCDFObject("source", "source.cdf",840,670);
// ]]></script>

<img id="source" src="screen_shot.png"    
 alt="screen_shot" />

</BODY>
</HTML>

将您的 cdf 文件放在同一文件夹中。

如果您了解 Latex,您可以编写 Latex 文档,将它们作为文档的各个部分,在 Latex 中插入 HTML 代码,使用 Latex2html 将 Latex 文档导出为 html。 (这就是我对网页所做的事情)。像这样

\documentclass[12pt]{article}

\usepackage{graphicx}
\usepackage{html}

\begin{document}
\begin{rawhtml}
<p><script src="http://www.wolfram.com/cdf-player/plugin/v1.0/cdfplugin.js"
type="text/javascript"></script><script type="text/javascript">// <![CDATA[
var cdf = new cdf_plugin();
cdf.addCDFObject("source", "source.cdf",840,670);
// ]]></script>

<img id="source" src="screen_shot.png" 
 alt="screen_shot" />
\end{rawhtml}
\end{document}

然后输入latex2html foo.tex,这将为您生成html。这样你就可以使用 Latex 编写真正的数学,并将 CDF 放在同一页中,就在你的方程旁边。

演示文稿所需的只是浏览器和安装的 CDF 插件。

或者,您可以简单地将所有内容保留在 Mathematica 本身中,并在 mathematica 笔记本的每个部分中使用 Manipulate,然后在演示时在 Mathematica 中运行笔记本。

忘记幻灯片和 PDF。现在这太无聊和过时了:)

CDF 是正确的选择。

What is wrong with making few Manipulates, export them each to separate CDF, and you got your presentation there.

You can make a web page, each page can be contain one CDF. Each page will be like your one slide.

You can click a link to go to the next web page.next slide, and in it you can run the next CDF.

To insert a CDF into a web page, is very simple, like this

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<BODY >

<p><script src="http://www.wolfram.com/cdf-player/plugin/v1.0/cdfplugin.js"
type="text/javascript"></script><script type="text/javascript">// <![CDATA[
var cdf = new cdf_plugin();
cdf.addCDFObject("source", "source.cdf",840,670);
// ]]></script>

<img id="source" src="screen_shot.png"    
 alt="screen_shot" />

</BODY>
</HTML>

Put your cdf files in the same folder.

If you know latex, you can write latex document, make them as sections of a document, insert the HTML code in latex, export the latex document to html using latex2html. (this is what I do with my web pages). Like this

\documentclass[12pt]{article}

\usepackage{graphicx}
\usepackage{html}

\begin{document}
\begin{rawhtml}
<p><script src="http://www.wolfram.com/cdf-player/plugin/v1.0/cdfplugin.js"
type="text/javascript"></script><script type="text/javascript">// <![CDATA[
var cdf = new cdf_plugin();
cdf.addCDFObject("source", "source.cdf",840,670);
// ]]></script>

<img id="source" src="screen_shot.png" 
 alt="screen_shot" />
\end{rawhtml}
\end{document}

Then type latex2html foo.tex and that will generate the html for you. This way you can write real mathematics using Latex, and have the CDF in the same page we well, next to your equations.

All what you need for your presentation is a browser and the CDF plugin installed.

Or, you can simply keep everything in Mathematica itself, with a Manipulate in each section of a mathematica notebook, and just run the notebook inside Mathematica at the presentation.

Forget about power points and PDF's. That is so boring and old fashioned now :)

CDF is the way to go.

物价感观 2024-12-12 14:48:04

如果您的演示笔记本电脑有 Mathematica,您可以使用 MMA 本身来进行演示。它有一个演示模式

If your presentation laptop has Mathematica you could use MMA itself to give the presentation. It has a presentation mode.

阳光下慵懒的猫 2024-12-12 14:48:04

是的,你可以!我想知道在其他成员制作 PowerPoint 幻灯片的小组演示中也有同样的情况。只需将幻灯片嵌入 HTML 文件,然后 将 HTML 文件嵌入 PowerPoint 幻灯片中。它并不完美,但效果却出奇的好,并且您可以保持充分的交互性。

Yes you can! I was wondering the exact same thing for a group presentation where other members were making PowerPoint slides. It's simply a matter of embedding the slide into an HTML file then embedding the HTML file in a PowerPoint slide. It's not perfect, but it works surprisingly well and you maintain full interactivity.

懷念過去 2024-12-12 14:48:04

导出视频文件,例如

an = Table[
   Plot[Cos[x/a],
    {x, 0, 20*Pi},
    PlotRange \[Rule] {-1, 1}
    ],
   {a, 0.1, 10, .1}
   ];
Export["~/Desktop/an.avi", an]

Export a video file, eg by

an = Table[
   Plot[Cos[x/a],
    {x, 0, 20*Pi},
    PlotRange \[Rule] {-1, 1}
    ],
   {a, 0.1, 10, .1}
   ];
Export["~/Desktop/an.avi", an]
很酷又爱笑 2024-12-12 14:48:04

我认为不可能做你想做的事,因为即使你可以使用标准的java脚本链接到CDF,也没有正确集成的CDF插件用于powerpoint、keynote、pdf查看器等......

要么正如其他人所建议的,学习如何使用 Mathematica/CDF 进行演示 - 请参阅 belisarius 的 SO 中的讨论问题。或者使用基于 html 的演示文稿。

可以将主题演讲导出为 html。这是教程,展示了如何调整它以获得导航工具栏并使电影正常工作 - 以及 示例在这里。您应该能够嵌入 CDF (另请参阅随机行走)使用类似的修改输出的html。

或者,从一开始就创建基于 HTML 的演示文稿。 S5 是一个很好的开源 html 幻灯片。它使用 Markdown,所以就像在 stackexchange 网站上编写一样! Instiki 包含 S5 模式。您可以在演示文稿中包含 raw-html,因此您应该能够像上面一样嵌入 CDF。

I don't think it is possible to do what you want, since even if you can use the standard java script to link to the CDF, there is no properly integrated CDF plugin for powerpoint, keynote, a pdf viewer etc...

Either, as other people have suggested, learn how to use Mathematica/CDF to make presentations - see the discussion in belisarius's SO question. Or use a html-based presentation.

It is possible to export a keynote presentation to html. Here's a tutorial that shows how to tweak it to get a navigation toolbar and make movies work - and an example is here. You should be able to embed a CDF (see also Walking Randomly) using similar modifications of the outputted html.

Alternatively, create a HTML based presentation from the start. S5 is a good opensource html slideshow. It uses markdown, so it's just like writing in stackexchange sites! Instiki includes a S5 mode. You can include raw-html in the presentation, so you should be able to embed CDF's like above.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文