-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(convert): PowerPoint conversion #152
Changes from all commits
84d4d4e
c89a682
25cc93c
a336bea
7742f0a
7f6b6a2
243a4b1
f1f6a43
f4d3c38
f5d5840
4734be5
09ed21f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Features Table | ||
|
||
The following summarizes the different presentation features Manim Slides offers. | ||
|
||
:::{table} Comparison of the different presentation methods. | ||
:widths: auto | ||
:align: center | ||
|
||
| Feature / Constraint | [`present`](reference/cli.md) | [`convert --to=html`](reference/cli.md) | [`convert --to=pptx`](reference/cli.md) | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [LanguageTool] reported by reviewdog 🐶 |
||
| :--- | :---: | :---: | :---: | | ||
| Basic navigation through slides | Yes | Yes | Yes | | ||
| Replay slide | Yes | No | No | | ||
| Pause animation | Yes | No | No | | ||
| Play slide in reverse | Yes | No | No | | ||
| Needs Python with Manim Slides installed | Yes | No | No | | ||
| Requires internet access | No | Yes | No | | ||
| Auto. play slides | Yes | Yes | Yes | | ||
| Loops support | Yes | Yes | Yes | | ||
| Fully customizable | No | Yes (`--use-template` option) | No | | ||
| Other dependencies | None | A modern web browser | PowerPoint or LibreOffice Impress[^1] | ||
| Works cross-platforms | Yes | Yes | Partly[^1][^2] | | ||
::: | ||
|
||
[^1]: If you encounter a problem where slides do not automatically play or loops do not work, please [file an issue on GitHub](https://github.com/jeertmans/manim-slides/issues/new/choose). | ||
[^2]: PowerPoint online does not seem to support automatic playing of videos, so you need LibreOffice Impress on Linux platforms. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,3 +147,17 @@ to know how to share your slide with GitHub pages, see the | |
> **WARNING:** keep in mind that playing large video files over the internet | ||
can take some time, and *glitches* may occur between slide transitions for this | ||
reason. | ||
|
||
### With PowerPoint (*EXPERIMENTAL*) | ||
|
||
A recent conversion feature is to the PowerPoint format, thanks to the `python-pptx` package. Even though it is fully working, it is still considered in an *EXPERIMENTAL* status because we do not exactly know what versions of PowerPoint (or LibreOffice Impress) are supported. | ||
|
||
Basically, you can create a PowerPoint in a single command: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [LanguageTool] reported by reviewdog 🐶 |
||
|
||
```bash | ||
manim-slides convert --to=pptx BasicExample basic_example.pptx | ||
``` | ||
|
||
All the videos and necessary files will be contained inside the `.pptx` file, so you can safely share it with anyone. By default, the `poster_frame_image`, i.e., what is displayed by PowerPoint when the video is not playing, is the first frame of each slide. This allows for smooth transitions. | ||
|
||
In the future, we hope to provide more features to this format, so feel free to suggest new features too! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[LanguageTool] reported by reviewdog 🐶
File types are normally capitalized. (FILE_EXTENSIONS_CASE[1])
Suggestions:
HTML
URL: https://languagetool.org/insights/post/spelling-capital-letters/
Rule: https://community.languagetool.org/rule/show/FILE_EXTENSIONS_CASE?lang=en-US&subId=1
Category: CASING