Endleaf
Endleaf renders Markdown or LaTeX (with TikZ, circuits, P&ID, plots, chemistry and zh-TW text) to PDF, HTML or DOCX through a keyed MCP endpoint, for AI agents and tools. It is a service of InkMirage. For help, email support@inkmirage.xyz. Paid plans are not available yet.
What it renders
- XeLaTeX, with xeCJK and Noto CJK TC for zh-TW
- Markdown prose with fenced figures, or a full LaTeX document
- TikZ, P&ID (PIDcircuitTikZ), circuits (circuitikz), plots (pgfplots, 2D and 3D), chemistry (chemfig, mhchem), Gantt (pgfgantt), floor plans (tikz-dimline, tikzscale) and SysML interconnection diagrams (sysml-tikz)
- tikz-cd, forest, automata, mind maps, tikz-timing and bytefield, on their own or inside a full document
- siunitx, and the TikZ libraries shapes, arrows.meta, positioning and calc
- PDF, HTML and DOCX (in HTML and DOCX, diagrams appear as images)
- A4, Letter or A3, portrait or landscape; a wide figure can go on its own landscape page
\citeresolves to a number such as [1]- TeX warning counts, and for a failed render the first error's cause with a Fix line
- A fit report for each picture: how far it overhangs, the scale that would fit, and its smallest text against the 7 pt floor
- A SysML diagram with overlapping parts is refused, with the reason
- Upload a source once with
uploadSource, then render it by reference
Inline sources are not kept. Uploaded sources are deleted after 24 hours.
Documents
A document is kept until you delete it. It uses two languages: the document grammar holds its structure and every change, and LaTeX holds the text, math and pictures inside each part (a figure body is a LaTeX picture, such as TikZ). Endleaf writes the headings, floats, captions and layout.
- Save a document from a LaTeX body or a starter template. Endleaf splits it into parts: title, sections, paragraphs, figures, tables, equations and references.
- Edit it with small changes. Each change is checked and shown as a diff first, and becomes a new revision when applied.
- Read a page-by-page view of the last render: what is on each page, how full it is, and what runs past the text width.
- Compare any two revisions.
- Render any revision to PDF.
- Delete a document with all its revisions.
Playbooks
Fifteen playbooks, one per kind.
documentShell
Markdown prose with fenced figures.
pidcircuit
ISO 14617 P&ID drawings with PIDcircuitTikZ.
circuits
circuitikz schematics and siunitx quantities.
plots
2D and 3D plots with pgfplots.
chemistry
chemfig structures and mhchem formulae.
gantt
Gantt charts with pgfgantt.
floorplan
Floor plans with tikz-dimline and tikzscale.
sysml
SysML interconnection diagrams with sysml-tikz.
fulldoc
One PDF with title, sections, prose and mixed figures.
tikzcd
Commutative diagrams with tikz-cd.
forest
Trees, including syntax trees and directory trees.
automata
Finite automata and state machines.
mindmap
Mind maps with the TikZ mindmap library.
tikztiming
Digital timing diagrams with tikz-timing.
bytefield
Protocol headers and bit or byte field diagrams.
A documentShell TikZ picture body can use tikz-cd, forest, automata, mindmap, tikz-timing and bytefield with no new worker package. Named playbooks and documentShell both remain valid. tikz-feynman and tikz-3dplot are not playbooks.