5
votes
1answer
401 views

How to compile a document with the pstool package using the pdflatexmk script?

To use psfrag with pdflatex I use the pstool package. Using TeXShop 3.25 I can compile the two minimal working examples given in this and this answer when I use the regular LaTeX typesetter. The ...
4
votes
2answers
953 views

How to enable --shell-escape when using pdflatexmk?

I want to use the auto-pst-pdf package and therefore I need the --shell-escape option to be enabled. I did this in my TeXShop preferences as follows: However when I use pdflatexmk (by writing % ...
3
votes
1answer
314 views

Latexmk says the file is up-to-date, while it's not

For some reason the pdflatexmk typesetter is sometimes not recognising changes in my file and it returns: Latexmk: All targets (main.pdf) are up-to-date while the target is not up-to-date. When I ...
5
votes
1answer
513 views

How to run LaTeX and lilypond-book in one command?

I was wondering if there was any command which would let me create a PDF from a LyTeX source in one step. Currently, I am first executing lilypond-book: lilypond-book --latex-program=pdflatex --pdf ...
5
votes
1answer
3k views

pdflatex, latexmk, synctex: Adding an option to pdflatex causes synctex to fail

The user "Mike" kindly helped me on Latex, Emacs: automatically open TeX Help buffer on error and close it after correction of the error? to create the following function which makes error detection ...
6
votes
1answer
558 views

How to use latekmk with feynmf/feynmp?

Background The latexmk tool can be used to automatically process your LaTeX files enough times to generate the output. As discussed here and here, latexmk now supports setting out_dir which passes ...
4
votes
2answers
995 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?