texmark¶
Write scientific articles in Markdown and convert them to journal-ready LaTeX and PDF.
- Preview while writing. Markdown renders in most editors (VS Code, JetBrains, vim) and on GitHub — equations included — so you can read a draft without running a LaTeX build.
- Lightweight, portable text. Markdown uses much less markup than LaTeX, so the source stays readable and works with ordinary tools: edit it on GitHub, version it with Git (branches, diffs, pull requests), or paste it into a Google Doc to draft interactively with collaborators who prefer that, then bring it back.
- One source, several journal templates. The same Markdown compiles to any of the supported LaTeX templates; changing the target journal means editing one field in the YAML header rather than reformatting the text.
- LaTeX output is kept. The generated
.texsits next to the PDF, so you can stop using texmark at any point and continue in LaTeX directly — usually necessary for the final journal-specific adjustments anyway.
Get started¶
- Installation — pandoc, LaTeX, and the per-platform details.
- Quickstart — your first markdown → PDF build.
- Journal templates — Copernicus, Science, AMS, AGU, Nature, Elsevier, PNAS, arXiv, …
- YAML reference — every front-matter field in one place.
Guides¶
- Numbered equations
- Multi-file projects — chapters, supplementary information, cross-references.
- Custom preamble
- Encoding (Unicode & HTML)
- Figure paths
- Build backends and engines
- Live preview
- Custom LaTeX templates
From the same author¶
A few other open-source tools I maintain.
Scientific writing & data
- papers — command-line BibTeX bibliography and PDF library manager.
- datamanifest — declarative, reproducible dataset management. (See also the datamanifest.toml format spec and the DataManifest.jl Julia port.)
Speech to Text (dictate) and Text to Speech (read-aloud) tools