Skip to content

texmark

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 .tex sits 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

pip install texmark
texmark example.md --pdf

Guides

From the same author

A few other open-source tools I maintain.

Scientific writing & data

Speech to Text (dictate) and Text to Speech (read-aloud) tools

  • scribe — speech-to-text dictation.
  • bard — text-to-speech reader.