TransWikia.com

latexmk mv logs to /tmp

TeX - LaTeX Asked on May 31, 2021

if I use

latexmk --output-directory=/tmp

then it moves all outputs, including pdf files to /tmp. What I am trying is to move log, fls, fdb_latexmk etc to be moved, but keeping aux, bbl, pdf to be in the same directory. I can write a script no doubt, but is it possible within latexmk?

One Answer

Well, the latexmk-documentation is pretty clear on this:

-auxdir=FOO or -aux-directory=FOO
Sets the directory for auxiliary output files of (pdf)latex (.aux, .log etc). This achieves its effect bythe -aux-directory option of (pdf)latex, which currently is only implemented on the MiKTeX ver-sion of (pdf)latex.

Following this you should be able to move the files you don't want to

latexmk -auxdir=/tmp your_file.tex

Answered by phil-elkabat on May 31, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP