latexmk – Fully automated LaTeX document generation
Latexmk completely automates the process of generating a LaTeX document. Given the source files for a document, latexmk issues the appropriate sequence of commands to generate a .dvi, .ps, .pdf or hardcopy version of the document.
An important feature is the “preview continuous mode”, where the script watches all of the source files (primary file and included TeX and graphics files), and reruns LaTeX, etc., whenever a source file has changed. Thus a previewer can offer a display of the document’s latest state.
| Sources | /support/latexmk |
| Documentation | |
| Home page | https://www.cantab.net/users/johncollins/latexmk/index.html |
| Version | 4.88 2026-03-09 |
| Licenses | GNU General Public License, version 2 |
| Copyright | 1998–2025 John Collins |
| Maintainer | John Collins Evan McLean (inactive) David J. Musliner (inactive) |
| Contained in | TeX Live as latexmk MiKTeX as latexmk |
| Topics | Compilation |
| See also | latexn arara prv |
Download the contents of this package in one zip archive (568.4k).
Announcements
Suggestions
Maybe you are interested in the following packages as well.
- runtexfile: Automate the process of compiling (La)TeX documents with index, bibliography,…
- shlatex: LaTeX compilation script for Linux (written in Bash)
- pdftex-quiet: A bash wrapper for pdfTeX limiting its output to relevant errors
- runtexshebang: A Lua script running LaTeX document files with TeX-style shebang
Community Comments