Repository navigation
Exporting ODT ODP PDF
Imladris includes a multi-format export pipeline accessible via the Publish ribbon menu or the primary application menu, designed to turn scientific notebooks and reports into publication-grade documents and presentations.
| Source Format | Output Target | Rendering Engine | Key Use Cases |
|---|---|---|---|
.qmd, .Rmd, .ipynb, .md
|
HTML (.html) |
Quarto / RMarkdown / Pandoc / WebKitGTK | Interactive online sharing, WebKit live preview |
.qmd, .Rmd, .ipynb, .md
|
PDF (.pdf) |
Typst / XeLaTeX / WeasyPrint / Chrome Headless | Formal manuscripts, journal submissions |
.qmd, .Rmd, .ipynb, .md
|
OpenDocument Text (.odt) |
Pandoc / Quarto / LibreOffice Writer | Collaborative editing in LibreOffice or Word |
.qmd, .Rmd, .ipynb, .md
|
OpenDocument Presentation (.odp) |
Headless LibreOffice (soffice --convert-to odp) |
Academic slide decks, conference talks |
.rtf (WYSIWYG Rich Text) |
RTF (.rtf) / HTML / PDF / ODT |
Native RtfCodec + RtfEditorView, WebKitGTK 6.0, export_native.c
|
Apple TextEdit-compatible rich text authoring |
Exporting to OpenDocument Text allows non-technical co-authors to review and annotate reports in LibreOffice Writer or Microsoft Word while preserving statistical tables and formulas.
graph LR
Doc["Source Document (.qmd / .Rmd / .md)"] --> Parser["Chunk Engine & Frontmatter Parser"]
Parser --> Pandoc["Pandoc / Quarto Engine"]
Pandoc --> Template["Reference ODT Template (Optional)"]
Template --> ODT["Target Document (.odt)"]
- Open the document in Imladris.
- Select Publish → ODT in the ribbon or choose File → Export OpenDocument Text (.odt) (
app.export_odt). - Imladris evaluates executed code chunks, renders tables (
gt,kableExtra, pandas DataFrames), embeds high-DPI plot images, and invokespandoc -f markdown -t odt -o <filename>.odt. - If a custom reference document is configured in frontmatter (
reference-doc: template.odt), Imladris respects custom paragraph and heading styles.
Imladris allows data scientists to write slides in Markdown and export directly to native LibreOffice Impress (.odp) presentations.
- Imladris identifies slide break demarcations (
---or## Headingslide splits). - It compiles an intermediate slide deck (or
.docx/.htmlpresentation). - It invokes headless LibreOffice in the background:
soffice --headless --convert-to odp --outdir "/project/exports" intermediate.docx - Vector diagrams, ggplot2 figures, and code listings are formatted into editable Impress slide objects.
Clicking Publish → HTML (app.export_html) renders the active document into a responsive HTML5 standalone bundle with embedded data URIs for images, math rendered via KaTeX/MathJax, and syntax-highlighted code blocks. You can view the output immediately via Publish → Live Preview.
Clicking Publish → PDF (app.export_pdf):
- For Quarto (
.qmd): Uses Typst (pdf-engine: typst) by default for sub-second PDF compilation without requiring heavy 4GB TeXLive installations. - For R Markdown (
.Rmd): Usestinytexor hostxelatex/pdflatex. - For Plain Markdown (
.md): Uses WebKitGTK's native print-to-PDF pipeline with custom CSS margins and pagination headers.
Imladris IDE (v0.45.0) • Core licensed under Apache License 2.0 (Apache-2.0) (Hybrid Open-Core) • Built with Vala, GTK4, Libadwaita, WebKitGTK 6.0 & Papirus Icons (GPL-3.0-or-later).