PyTeXMK

PyTeXMK 1.2.7

Automated LaTeX compilation tool written in Python, with multi-engine intelligent builds and automatic bibliography & index processing

  • By YanMing-lxb
  • Open Source
  • Portable
  • Updated Oct 18, 2026
Download for Windows

About PyTeXMK

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

Technical details

PublisherYanMing-lxb
Version1.2.7
Release date2026-10-18
LicenseGPL-3.0
Installer typezip
Architecturex64
Package IDYanMing-lxb.PyTeXMK

Install PyTeXMK from the command line

Install with Windows Package Manager
winget install --id=YanMing-lxb.PyTeXMK -e
Update to the latest version
winget upgrade --id=YanMing-lxb.PyTeXMK -e
Uninstall
winget uninstall --id=YanMing-lxb.PyTeXMK -e

LaTeXTeXCompilation Tool

PyTeXMK version history

1.2.6 Sep 25, 2026
1.2.3

Frequently asked questions

Is PyTeXMK free?

Yes. PyTeXMK is free and open-source software released under the GPL-3.0 license.

What is the latest version of PyTeXMK?

The latest version is 1.2.7, released on Oct 18, 2026.

Is it safe to download PyTeXMK?

The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 80f41dc1ab9b5b6b15f01ba0a0ab3e47875e1dedf5f5da92cfd2227a2fab9c17.

Which Windows versions does PyTeXMK support?

PyTeXMK runs on Windows and is available for 64-bit (x64) systems.

How do I uninstall PyTeXMK?

Open Settings › Apps › Installed apps, find PyTeXMK and select Uninstall. From the command line, run winget uninstall --id=YanMing-lxb.PyTeXMK -e.

Is there a portable version of PyTeXMK?

Yes. PyTeXMK is available as a portable ZIP archive (pytexmk-1.2.7-windows-x64.zip, 64-bit (x64)) that runs without installation. Copy it to any folder or USB drive and run it from there.