Skip to main content

Write scientific articles in Markdown and convert them to journal-ready LaTeX/PDF (Copernicus, Science, AMS, AGU, Nature, Elsevier, PNAS, arXiv, ...)

Project description

texmark

texmark

pypi python tests docs

Write scientific articles in markdown — and submit them to any journal.

  • Instant preview. Markdown renders live in most editors (VS Code, Cursor, JetBrains, vim) and on GitHub itself, so you see your draft as you type. No more wait-on-pdflatex cycles every time you change a sentence.
  • Git + GitHub as a paper backend. Branches, pull requests, issues, blame, and diffs work the way they were designed to. Collaborators review changes with the same tooling they already use for code.
  • One source, any journal. texmark compiles your markdown to any of the supported LaTeX templates. Start writing first, decide on a target journal later, and switch mid-way (or after rejection) by flipping a single yaml field — no rewriting needed.
  • No lock-in. The intermediate .tex is right there next to the PDF. Unplug texmark whenever you want and continue the manuscript in plain LaTeX — useful for the final polish that journals usually demand.

📖 Documentation

Full documentation lives at https://perrette.github.io/texmark/:

Installation

pip install texmark

texmark also needs pandoc and a LaTeX distribution (pdflatex, bibtex, latexmk). See the installation page for the per-platform details.

Quickstart

See example.md for a sample markdown file with yaml metadata in the header.

texmark example.md          # markdown → tex
texmark example.md --pdf    # markdown → pdf

For another journal, change the journal -> template field in the yaml metadata, or pass -j for a quick test:

texmark example.md --pdf -j science -o build/example-science.pdf --tex build/example-science.tex

See the quickstart and journal templates pages for more.

Acknowledgements

This project benefited greatly from AI support to extend the initial list of supported journals and further extend this package capability.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

texmark-0.13.0.tar.gz (472.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

texmark-0.13.0-py3-none-any.whl (432.8 kB view details)

Uploaded Python 3

File details

Details for the file texmark-0.13.0.tar.gz.

File metadata

  • Download URL: texmark-0.13.0.tar.gz
  • Upload date:
  • Size: 472.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for texmark-0.13.0.tar.gz
Algorithm Hash digest
SHA256 96ecf33fc182b1eb2c9f532eb1cd124c48b3257e2768c2a36eb5c977346a44ca
MD5 fe7401b1b5edfbaed192bc82604301c7
BLAKE2b-256 40e1962b9723dadd3431fab9eb1e6683bb2e1279813bf499b109a49a51683d3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for texmark-0.13.0.tar.gz:

Publisher: tests.yml on perrette/texmark

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file texmark-0.13.0-py3-none-any.whl.

File metadata

  • Download URL: texmark-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 432.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for texmark-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b0be60805555a19fc9adeb073aa6e70d1a6358b086bf28fc157066d02a8c3fd
MD5 0b6ad3f2d337a9ac68a1e74af10ded2f
BLAKE2b-256 0f37f266a9381d5b9fffb37388d9aa3108e7eb5c353a7d4aa84556fa9d7ea8e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for texmark-0.13.0-py3-none-any.whl:

Publisher: tests.yml on perrette/texmark

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page