Generallatexmk and generated figures as a dependency

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
JoKo
Posts: 19
Joined: Tue Aug 12, 2008 11:28 am

latexmk and generated figures as a dependency

Post by JoKo »

Hello,

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?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post Reply