Write scientific articles in Markdown and convert them to journal-ready LaTeX/PDF (Copernicus, Science, AMS, AGU, Nature, Elsevier, PNAS, arXiv, ...)
Project description
texmark
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
.texis 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 (incl. external dependencies)
- Quickstart
- Journal templates
- YAML reference
- Guides: equations, multi-file projects, custom preamble, encoding, figures, build backends, live preview, custom LaTeX templates
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96ecf33fc182b1eb2c9f532eb1cd124c48b3257e2768c2a36eb5c977346a44ca
|
|
| MD5 |
fe7401b1b5edfbaed192bc82604301c7
|
|
| BLAKE2b-256 |
40e1962b9723dadd3431fab9eb1e6683bb2e1279813bf499b109a49a51683d3a
|
Provenance
The following attestation bundles were made for texmark-0.13.0.tar.gz:
Publisher:
tests.yml on perrette/texmark
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
texmark-0.13.0.tar.gz -
Subject digest:
96ecf33fc182b1eb2c9f532eb1cd124c48b3257e2768c2a36eb5c977346a44ca - Sigstore transparency entry: 1765028017
- Sigstore integration time:
-
Permalink:
perrette/texmark@4813e58b0526be2243551205d28cff847a32dcd9 -
Branch / Tag:
refs/tags/v0.13.0 - Owner: https://github.com/perrette
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tests.yml@4813e58b0526be2243551205d28cff847a32dcd9 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b0be60805555a19fc9adeb073aa6e70d1a6358b086bf28fc157066d02a8c3fd
|
|
| MD5 |
0b6ad3f2d337a9ac68a1e74af10ded2f
|
|
| BLAKE2b-256 |
0f37f266a9381d5b9fffb37388d9aa3108e7eb5c353a7d4aa84556fa9d7ea8e8
|
Provenance
The following attestation bundles were made for texmark-0.13.0-py3-none-any.whl:
Publisher:
tests.yml on perrette/texmark
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
texmark-0.13.0-py3-none-any.whl -
Subject digest:
1b0be60805555a19fc9adeb073aa6e70d1a6358b086bf28fc157066d02a8c3fd - Sigstore transparency entry: 1765028811
- Sigstore integration time:
-
Permalink:
perrette/texmark@4813e58b0526be2243551205d28cff847a32dcd9 -
Branch / Tag:
refs/tags/v0.13.0 - Owner: https://github.com/perrette
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tests.yml@4813e58b0526be2243551205d28cff847a32dcd9 -
Trigger Event:
push
-
Statement type: