.md → .tex → .pdf
No more local Pandoc setup, no TeX Live install, no two-hour tutorial. Drop your .md into Sarmate, click twice: a clean .tex to fine-tune, or the PDF directly. Works with Pandoc-Markdown, R Markdown, Quarto, Obsidian export.
Pick what fits your workflow: adjustable, fast, or AI-driven.
Generates a clean .tex alongside, magic-comment % !TEX program = xelatex, with a preamble you can trust. Fine-tune it in Sarmate's LaTeX editor (Structures / Math / TikZ toolbar) and compile like a classic project.
Pandoc + xelatex in a single pass. Fast preview to proofread or print a draft. No .tex generated — light for Markdown-first workflows (Quarto preview, notes, reports).
Claude / Gemini / Le Chat / Cursor connect to your drive via MCP, compile their own .md and read the resulting PDF with read_pdf. Autonomous Markdown→PDF→analysis loop, no local install.
If your source is Markdown and your output is PDF, you're in the right place — whatever local toolchain you use.
Pandoc 3.1 runs on our servers, so all standard features are supported: YAML metadata, footnotes, tables (pipe / grid), code blocks with syntax highlighting, math formulas, raw \command{}, custom filters via header-includes.
Four steps, under two minutes.
Free, no credit card. Google login in 10 seconds. All features on this page are included in the free plan.
Drag-and-drop directly into your drive, or create a new .md from the file manager. Sarmate has a dedicated Markdown editor (CodeMirror, outline, GitHub-style syntax highlighting).
A modal offers three actions (rememberable per file). Pandoc + xelatex in a few seconds — if a .tex already exists, a second modal proposes "replace / new copy".
PDF opens in a new tab. The .tex stays available for adjustments (fonts, geometry, colours). Share the PDF, annotate it, keep it in your drive — or pass it to an AI via MCP for analysis.
Via Sarmate's MCP server, an AI can compile your .md AND read the resulting PDF. Full write/analyse cycle, hands-free.
{ status: 'success', pdf_path: 'draft.pdf', compilation_time_ms: 4231 }
{ text: '...', text_bytes: 23874 }
Full MCP documentation: /mcp-docs.php · MCP × Sarmate overview
Three comparisons, three realities.
|
Sarmate
🇪🇺 EU
|
Pandoc CLI local |
Overleaf |
OpenAI Prism 🇺🇸 US |
|
|---|---|---|---|---|
| Markdown → .tex | 1 click | CLI | ❌ | ❌ |
| Markdown → PDF (one-shot) | 1 click | CLI | ❌ | GPT only |
| Local install required | ❌ | ✅ Pandoc + TeX Live | ❌ | ❌ |
| AI can read its own PDF output | ✅ read_pdf |
— | — | limited |
| AI choice (Claude/Gemini/Mistral) | 6+ clients via MCP | any (locally) | — | GPT-5.2 only |
| Hosting | 🇫🇷🇩🇪 EU (o2switch + Ionos) | your machine | 🇨🇦 Canada | 🇺🇸 US (OpenAI) |
| Free for normal-sized docs | ✅ | ✅ | strict quota | AI quota strict |
Detailed comparisons: vs Overleaf · vs OpenAI Prism
You write manuscripts in Markdown (Pandoc, RMarkdown, Quarto), but your target journal demands LaTeX/PDF. Sarmate bridges the gap without a local setup, without migrating files.
Quick notes or long report: you write in Markdown on Obsidian, Notion, VS Code. You compile on Sarmate when a PDF deliverable becomes necessary.
Course materials drafted in Markdown, clean PDF for distribution to students. Sarmate adds a professional layer (Latin Modern, clean layout) without a LaTeX tutorial.
You have Claude / Le Chat / Gemini draft Markdown reports and you want the AI to verify its own output. compile + read_pdf via MCP give it that exact loop.
$x^2$) and display ($$E=mc^2$$) are natively supported. Pandoc auto-loads unicode-math via xelatex, so \alpha, \sum, \int, matrices, aligned equations, AMS packages all work directly. Caveat: avoid \usepackage{bm} or \boldsymbol{} in header-includes — conflicts with unicode-math. Use \symbf{x} or \mathbf{x} instead.refs.bib in the same folder as your .md, add bibliography: refs.bib to the YAML header, and Pandoc/citeproc resolves [@key] citations automatically at compile time. Alternative: Markdown → .tex, then switch to the classic LaTeX workflow with BibTeX/Biber for more control.compile(.md), then read_pdf(.pdf) on the produced file. Full Markdown → PDF → AI analysis cycle, no local install. Per-client setup at /mcp-docs.php.Account in 10 seconds, .md uploaded, compile. Free for most documents.