Repository navigation
Emboss v0.2.0
Deterministic, PDF/UA-tagged, veraPDF-conformant PDF generation, built for LLM-driven document pipelines.
Highlights
Enterprise foundations
- Real veraPDF conformance run in CI (
emboss verify --conformance), not a simulated check - Self-describing PDFs:
render(embed_spec=True)attaches the document's own spec, layout map, and a Markdown twin;Document.from_pdf()recovers from either - Stable node ids and a queryable layout map on every render
- Document diff and redline:
diff_documents()/render_redline()/emboss diff - Reproducibility manifest and
emboss reproduce - Redaction by construction (content never enters the stream) and DocMDP certification signing
- BrandKit: one versioned brand object propagates across every document
emboss stripfor external distribution
Document structure
- CoverPage, Abstract, Authors, PullQuote, StatTiles, visible TableOfContents, Appendix, Index, Glossary
- Executive decks (
SlideDeck): nine layouts, four themes, fit-to-slide validation - Diagram element: node/edge graphs with automatic layered-DAG layout
- Equation numbering,
@eq/\eqrefreferences, real math alphabets, MathML input - Landscape and mixed page geometry within one document
Typography and rendering
- Full SVG subset: arcs, gradients, transforms, clipping, real opacity
- Hardened charts: zero baseline, no truncation, pattern fills, fact-verified captions
- CMYK and PDF/A archival output
- Bundled OFL font set (Source Serif/Sans/Code, Emboss Math)
LLM integration
- Provider-native structured outputs, a validation repair loop, genre exemplars
Document.from_llm()auto-routing, YAML front matter in Markdown input
Install: pip install emboss-pdf
See CHANGELOG.md for the complete list.