Project Files
README.md
ai-to-pdf-docx-odt-epub is an LM Studio plugin that saves model-generated Markdown as document files.
Use it to export reports, notes, articles, technical text, and scientific documents from LM Studio.
It supports common Markdown features:
The plugin has two document rendering paths:
The large engines and fonts are not bundled with the plugin package. During normal document generation, the plugin does not install them automatically.
If Pandoc, Tectonic, or required fonts are missing, the plugin still creates fallback files where possible and asks the user before installing anything.
install_document_engines downloads or extracts only the required components after explicit user consent. It installs them into the user's LM Studio data directory and removes temporary installer archives after extraction.
The installer does not prewarm the Tectonic cache by default. After a successful user-approved install, it can automatically resume the pending document generation so the user does not have to confirm the same export twice.
Offline installation is supported by providing a local folder with pre-downloaded archives and fonts.
Supported automatic install targets:
By default, generated files are written only inside the LM Studio working directory. To allow another output root, set LMSTUDIO_AI_TO_DOCUMENT_ALLOWED_OUTPUT_ROOTS.
For offline installation, archives_dir is limited to the plugin/vendor toolchain folder, the user toolchain archive cache, or roots listed in LMSTUDIO_AI_TO_DOCUMENT_ALLOWED_ARCHIVE_ROOTS.
generate_document_verifiedCreates document files from Markdown, verifies output where possible, and reports paths, warnings, and errors.
install_document_enginesInstalls missing document engines and fonts after explicit consent.
License and source information for optional downloadable components is in:
Write a short scientific overview of physics, mathematics, and chemistry. Include equations and catalyst reactions. Save it as PDF, DOCX, ODT, EPUB, HTML, TXT, MD, and RTF.
vendor/toolchain/THIRD_PARTY_NOTICES.md
vendor/toolchain/licenses/