Skip to content

Latexmk #
Find similar titles

LaTeX + sort of GNU Make. It automates LaTeX compilation.

Usage #

The following command monitors all dependencies (files) and automatically recompile main.tex when any of the files are changed. With PDF viewer like Skim, it makes the whole process really nice.

$ latexmk -pvc -f -pdf main.tex

Also put the following in ~/.latexmkrc:

$pdf_previewer = "open -a Skim";

The following command cleans up temporary files.

$ latexmk -C main.tex

If you want to force-recompile everything, use the "super go mode"

$ latexmk -gg main.tex

-f options force continued processing past errors.

$ latexmk -f main.tex

Tips #

Incoming Links #

Related Articles #

Suggested Pages #

0.0.1_20140628_0