General ⇒ latexmk and generated figures as a dependency
latexmk and generated figures as a dependency
I am using latexmk to handle my PhD thesis manuscript and so all is going well so far. I have even managed to include the glossary as a dependency and it gets generated now when needed.
I would like now to improve this kind of automation by including generated figures. Inside several directories in the figures directory, I am using Python scripts (which use matplotlib) to generate PDF figures. So, I wonder if I could have something like a Makefile in each directory over there, and latexmk would execute make in every necessary directory.
What do you think?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis