{latexmk} is a Perl script to automatically run latex and related commands as many times as needed to build the final document.

learn more… | top users | synonyms

4
votes
0answers
68 views

Configure latexmk to recognize an old file with a new name

When the asymptote package is used, it generates Asymptote source files with sequential names. For instance, if the tex file is called foo.tex, then running LaTeX on it will generate Asymptote source ...
4
votes
0answers
99 views

Using LaTeXmk with mylatexformat

I looked at many posts about the use of latexmk, but wasn't able to find what to write in order to satisfy my requirements. Yet I'm sure it is possible, but my skills in Perl amounts to about nothing. ...
1
vote
0answers
54 views

Configure latexmk in TeXworks (TeX Live 2013)

I am trying to configure latexmk in TeXworks 0.4.5 accompanied by TeX Live 2013. I followed the instructions on the TeXworks site, as noted in the picture below: My code is very simple as follows: ...
1
vote
0answers
81 views

Makefile using latexmk not syncing between ST3 and Skim

I am busy writing my dissertation. I am using Sublime Text 3 to edit the documents and Skim as the PDF viewer. There are several reasons why I am not using LaTeXing/LaTeXTools to compile: The ...
1
vote
0answers
100 views

AucTeX: run latexmk + viewer in one command

Question 1: I would like to have a single key combo (C-c C-a) which compiles the file (with latexmk) and displays it. This answer solves the first part. I tried adapting the answer to also call ...
1
vote
0answers
85 views

Run a command at the end of a latexmk run

Is there a way to tell latexmk to run a certain command once it's done compiling everything? I haven't found anything in the documentation. Right now I'm using this latexmkrc: $pdflatex = 'pdflatex ...
0
votes
0answers
29 views

Invalid dependencies with latexmk when using includeonly, hyperref and unnumbered sections

Latexmk compiles outputs even when source files have not changed in a specific case. My use case is the following: I generate several PDFs for a single document that contain either the complete ...
0
votes
0answers
55 views

Latexmk and graphicspath

I have a .tex file using graphic files that are in a subdirectory of my .tex file, and the preamble specifies this with this line: graphicspath={{Images/}} It compiles perfectly with pdflatex ...
0
votes
0answers
210 views

pdflatexmk doesn't run makeglossaries for glossaries package (TeXShop, OSX)

I'm trying to get the following document to work with a single run of pdflatexmk: (I've included my entire preamble to be sure) % !TEX TS-program = pdflatexmk ...