compile_presentation
Convert an in-memory presentation to PDF or PPTX, writing directly to an output path. Supports Beamer themes, highlight styles, and PPTX templates.
Instructions
Compile the in-memory presentation to PDF or PPTX, writing directly to output_path (absolute). Call render_slides_as_pngs afterwards to validate visually.
format : 'pdf' (Beamer/lualatex) or 'pptx' (PowerPoint). theme : any Beamer theme name installed on this system (PDF only), default 'moloch'. highlight_style : code highlight style, default 'tango'. reference_doc : path to a .pptx template (PPTX only, optional).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | moloch | |
| format | Yes | ||
| output_path | Yes | ||
| reference_doc | No | ||
| highlight_style | No | tango | |
| presentation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||