{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

11
votes
2answers
4k views

Specify -output-directory when using latexmk

I am using latexmk for the automatic resolution of needed reruns. I would like to put all build files (aux, log, bbl, pdf, etc.) in a subdirectory. I cannot find an option for latexmk to do this. If ...
5
votes
1answer
2k views

Using BibTeX with latexmk

I'm using MiKTeX 2.9 under Windows XP. I have the following directory structure for my document: D:\MyTeX D:\MyTeX\BibTeX D:\MyTeX\IPMcast File latexmkrc contains the line: $bibtex = 'bibtex ...
11
votes
2answers
1k views

Emacs-org-mode and latexmk

After getting to know org mode here, I tried it out. It seems to be, indeed, very helpful. However, I want it to work smoothly with LaTeX, and as a compiling script I want to use latexmk. I followed ...
15
votes
1answer
3k views

Compile using latexmk in emacs

In the accepted answer in for the question it is suggested how to add latexmk support to emacs. If I get it right, compiling the .tex file should be assigned to C-c C-c. However this doesn't work for ...
23
votes
6answers
2k views

Use latexmk to filter the log file

I am usually using latexmk in a split shell with my code on the left and latexmk in -pvc mode on the right. When using some packages which themselves load a lot of other packages (think beamer) the ...
7
votes
2answers
541 views

How to ignore .latexmkrc

I usually love my .latexmkrc settings. However I am trying to play with Template Toolkit to build a LaTeX file, then compile it with latexmk (all of this inside a perl script) and thus I would like to ...
10
votes
2answers
2k views

Textmate + Latexmk

Textmate for OS X, has a LaTeX bundle (a great bundle indeed). But this bundle packs the latexmk script (version 3.7 or so), I am wondering if anyone was able to update the latexmk version that comes ...
14
votes
2answers
4k views

Using Biber with latexmk

With version 4.22, latexmk claims to [s]upport the use of biber (with the biblatex package) as an alternative to bibtex for generating bibliographies, with automatic determination of whether to ...
4
votes
2answers
1k views

putting (aux log out toc bbl bib blg) files in another directory with latexmk

Is it possible to put (aux log out toc bbl bib blg) files in another directory with latexmk?
7
votes
1answer
3k views

Ignore compile errors

How can I set up a permanent compile loop that keeps trying even when there are errors? I'm using latexmk with a remote compile setup as discussed here and here. However, if I save a document with a ...
37
votes
5answers
5k views

How to make Latexmk use makeglossaries?

Is there a way to make Latexmk invoke makeglossaries (part of the glossaries package)? Specifically I want to use latexmk to compile a LaTeX document that uses the glossaries package to produce a ...