compile_presentation
Converts rendered Manim slide assets into an interactive presentation, choosing output formats like HTML, PDF, or PPTX. Use it to combine multiple scenes into a single distributable deck.
Instructions
Compile rendered Manim-Slides scenes using manim-slides convert.
Wraps ``manim-slides convert`` to turn rendered slide assets into an
interactive presentation (e.g., Reveal.js HTML, PDF, or PPTX).
Args:
scenes: Names of the rendered Scene/Slide classes to include, in order.
dest: Destination path for the compiled presentation
(e.g., "presentation.html"). The format is inferred from the
extension when ``output_format`` is "auto".
folder: Directory containing the rendered slide assets (default "slides").
output_format: Conversion format: "auto", "html", "pdf", "pptx", or "zip".
config: Extra converter options as key/value pairs
(e.g., {"slide_number": "true"}).
one_file: Embed all local assets (e.g., videos) into a single output file.
workspace_dir: Working directory for the conversion. Defaults to the
``WORKSPACE_DIR`` environment variable or the current directory.
timeout: Maximum time in seconds to wait for the conversion.
Returns:
A JSON string with the conversion status, output destination,
executed command, and captured stdout/stderr.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | Yes | ||
| config | No | ||
| folder | No | slides | |
| scenes | Yes | ||
| timeout | No | ||
| one_file | No | ||
| output_format | No | auto | |
| workspace_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |