PyTeXMK (Python TeX Make) is an automated LaTeX compilation tool written in Python, inspired by latexmk. It intelligently determines the number of compilation passes based on auxiliary file changes, paired with colored terminal output and automatic scheduling of bibliography and index toolchains, enabling a streamlined one-click LaTeX compilation workflow.
Core features:
- Multi-engine compilation support: Full support for XeLaTeX, PdfLaTeX, and LuaLaTeX, flexibly switchable via command-line arguments or magic comments
- Intelligent multi-pass detection: Automatically compares .aux/.out auxiliary file contents and parses log rerun warnings to ensure stable convergence of cross-references, bookmarks, page counts and more
- Automatic bibliography processing: Supports automatic scheduling of multiple backends including bibtex and biblatex (biber)
- Index and glossary compilation: Supports glossaries, nomencl, makeidx and other formats, with automatic selection of xindy or makeindex backends
- Magic comment configuration: Specify compilation engine, main file, output directory, auxiliary directory and other parameters directly via comments in the TeX main file
- Smart cleaning: Multiple cleaning modes available, supporting precise cleanup of auxiliary files by directory scope and file extension
- Error log parsing: Automatically parses LaTeX logs upon compilation failure to accurately locate error positions
- LaTeX diff comparison: Compares two TeX source files and generates PDF documents with revision marks
- PDF repair and preview: Automatically repairs corrupted PDF files, and supports auto-preview with the default reader after compilation
- Multi-language interface: Default Chinese interface with full internationalization extensibility
- Two-level configuration system: Supports user-level and project-level TOML configuration files, with all compilation parameters fully customizable
- Multi-subproject management: Manage multiple independent LaTeX subprojects under a single root directory, with automatic scanning and batch compilation support
- Automatic version check: Built-in update detection to retrieve the latest version immediately
Publisher’s description
What is PyTeXMK?
PyTeXMK by YanMing-lxb is open-source Windows software. It is written in Python.
Installation and requirements
The publisher provides Portable installers for 64-bit Windows. It runs without installation (portable).
Updates and version history
The current version is 1.2.7, released on October 18, 2026. The version history goes back to September 24, 2026: 3 releases, all linked to the official files. The last update is less than a month old.
Popularity and file types
The source code on GitHub (YanMing-lxb/PyTeXMK) has 21 stars.
Project description on GitHub: “LaTeX 辅助编译命令行程序 LaTeX Auxiliary Compilation Command Line Tool”
Pros / Cons
Pros
- Open source: the code can be inspected and built by anyone
- Portable: runs without installation
- Updated in the last two months
Cons
- No native ARM64 build
In short: PyTeXMK is an open-source Windows tool for 64-bit PCs.
Is PyTeXMK safe to download?
- The file is served by github.com, the publisher’s own domain
- The download link uses HTTPS
- A SHA256 hash is published, so you can verify the file:
80F41DC1AB9B5B6B15F01BA0A0AB3E47875E1DEDF5F5DA92CFD2227A2FAB9C17· Open the VirusTotal report for this hash - The link has not been checked yet
- The source code is public
- ExeAtlas does not host, wrap or modify installers
Related guide: How to check a file’s SHA256 hash on Windows
Recent versions
All 3 versions ›| Version | Date | Size | Files |
|---|---|---|---|
| 1.2.7Latest | October 18, 2026 | — | 64-bit ZIP |
| 1.2.6 | September 25, 2026 | — | 64-bit ZIP |
| 1.2.3 | September 24, 2026 | — | 64-bit ZIP |
Install from the command line
Silent install ›winget install --id YanMing-lxb.PyTeXMK -eRelated guide: How to use winget: install and update apps
Information
- Publisher
- YanMing-lxb
- Licence
- GPL-3.0
- Price
- Free
- Source code
- github.com/YanMing-lxb/PyTeXMK
- Written in
- Python
- Requires
- Windows 11 / 10
- Architecture
- 64-bit
- Installer
- Portable
- Version
- 1.2.7
- Released
- October 18, 2026
- Added to the catalogue
- September 24, 2026
- Versions listed
- 3
- GitHub stars
- 21
- Website
- github.com
- winget ID
- YanMing-lxb.PyTeXMK
Ratings and reviews
No reviews yet. Be the first to rate it.
Frequently asked questions
Is PyTeXMK free?
Yes. PyTeXMK is open-source software under the GPL-3.0 licence.
Is PyTeXMK safe to download?
The download comes from github.com, which belongs to the publisher; ExeAtlas does not host or change the file. Compare its SHA256 hash with the one shown here, or open the VirusTotal report for that hash.
How do I install PyTeXMK with winget?
Open PowerShell or Windows Terminal and run the winget command shown on this page. winget downloads the official installer and checks its SHA256 hash before running it.
Does PyTeXMK run on ARM (Windows on Arm)?
There is no ARM64 build; Windows 11 on Arm can run the 64-bit version through emulation.
Where can I download an older version of PyTeXMK?
The versions page lists all 3 versions with links to their official installer files, back to September 24, 2026.
Can I use PyTeXMK without administrator rights?
Yes, it is portable: unpack and run it.