Welcome to TeXSmith¶
TeXSmith turns Markdown into press-ready LATEX. Keep your docs authored in Markdown, then compile polished PDFs for print, journals, or long-form review packages—without maintaining several sources of truth. No need to learn LATEX, install heavy toolchains, or wrestle with complex conversion setups.
Furthermore, TeXSmith is optimized for MkDocs thanks to the TeXSmith MkDocs plugin, which seamlessly integrates into your documentation pipeline.
Currently in Alpha
TeXSmith is currently in Alpha. While we are actively working on it and welcome feedback, please be aware that some features may not be fully stable yet.
You can use TeXSmith to generate academic papers, technical reports, letters, minutes, or class materials with diagrams, tables, citations, and more.

Why would I use TeXSmith?¶
TeXSmith bridges the gap between lightweight Markdown authoring and the typographic power of LATEX. It is ideal for:
- Writing scientific articles.
- Writing product documentation.
- Writing books.
- Writing letters.
- Writing technical reports.
- Writing cooking recipes and more.
The combination with MkDocs provides a single source of truth for both web and PDF output, which improves collaboration because all documentation lives in Markdown in a Git repository. Versioning with MkDocs stays simple and natural.
Why teams choose TeXSmith¶
- Pipeline parity
- The CLI and Python API share the same conversion engine, so automation scripts and ad-hoc conversions stay in sync.
- Template-friendly
- Wrap multiple documents into a single LATEX project, map fragments into template slots, and customise the runtime with Jinja2.
- Diagnostics you can trust
- Structured emitter APIs and CLI verbosity flags surface the context you need when something goes wrong.
How is it different from Pandoc?¶
Pandoc is a powerhouse, but reproducing an extended Markdown syntax other than CommonMark or GitHub-flavored Markdown document in Pandoc requires custom filters and ongoing maintenance. TeXSmith focuses on MkDocs Markdown with Pymdown extensions, delivering parity out of the box:
- Handles Material-only components such as tabbed content, callouts, and keyboard keys.
- Ships with diagram converters (Mermaid, Draw.io) that plug directly into the LATEX build step.
- Exposes the same primitives via the CLI and Python API, so automation scripts match what authors do locally.
Use both tools together when it makes sense; reach for TeXSmith when MkDocs → LATEX compatibility is the priority.