Typesetting Tools

Latexmk – fully automated LaTeX document generation

Latexmk is a command-line build tool that automates compilation of LaTeX documents. It determines which programs must run, repeats them when required, and stops when the requested output is up to date. This removes the need to manage LaTeX’s multi-pass build sequence by hand.

This is free and open source software.

Key Features

  • Runs LaTeX the correct number of times to resolve cross-references, citations, tables of contents, indexes, and other generated information.
  • Examines the files and messages produced during compilation to decide which actions are required, instead of relying on a fixed number of passes.
  • Invokes auxiliary programs such as BibTeX, Biber, and makeindex when the document needs them.
  • Supports LaTeX, pdfLaTeX, LuaLaTeX, and XeLaTeX workflows, with DVI, PostScript, and PDF output.
  • Offers preview-continuous mode, which watches the main document, included TeX files, and graphics, rebuilds after changes, and refreshes a suitable viewer.
  • Provides continuous compilation without launching a previewer through its -cc mode.
  • Accepts extensive command-line configuration and Perl-based system, user, project, and explicitly selected initialization files.
  • Supports custom dependency rules for generating missing inputs, making it possible to integrate graphics converters and specialist document tools.
  • Provides hooks for running user-defined actions at selected points in the build and cleanup processes.
  • Can place auxiliary files, normal output, and final output in separately configured directories.
  • Includes cleanup commands for removing intermediate or generated files, together with dependency and directory reporting facilities.
  • Cross-platform support – runs on Linux, macOS, and Windows and is distributed with both TeX Live and MiKTeX.

Website: cantab.net/users/johncollins/latexmk/
Support:
Developer: John Collins
License: GNU General Public License v2.0

Latexmk is written in Perl. Learn Perl with our recommended free books and free tutorials.


Related Software

LaTeX Tools
LyXThe power and flexibility of TeX/LaTeX with an intuitive graphical interface
KBibTeXReference management software primarily for BibTeX
TeXstudioFully featured open source LaTeX editor
VimTeXVim and Neovim filetype and syntax plugin
TeXmacsWYSIWYG mathematical text editor using TeX fonts
JabRefGraphical frontend to manage BibTeX databases
BiberBibTeX replacement for users of BibLaTeX
TeXmakerIntegrates many different tools
TectonicModernised, self-contained TeX and LaTeX engine
TeXworksSimple front-end modeled on TeXShop
Atom-LaTeXTypesetting with GitHub's Atom text editor
SiSUDocuments - structuring, publishing in multiple formats and search
KileKDE Integrated LaTeX Environment
BibLaTexProgrammable bibliographies and citations
Enter TeXIntegrated LaTeX Environment for the GNOME desktop
AUCTeXEnvironment for editing LaTeX, ConTeXt, docTeX, Texinfo, and TeX files
TexMathsLaTeX equation editor for LibreOffice
SetzerFull-featured LaTeX editor
GummiSimple LaTeX editor
TexLabCross-platform implementation of the Language Server Protocol for LaTeX
PybliographerTool for managing bibliographic databases
LaTeXDrawGraphical drawing editor for LaTeX
KLatexFormulaUseful utility for creating images from LaTeX equations
HieroglyphicFind LaTeX symbols
Hand TeXHandwritten LaTeX symbol classifier

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted