I have several figures compiled independently into several pdf files. Rubber works great in their compilation. The main document is compiling great with rubber as well.
How can I add dependency (if figure pdf is outdated then recompile) into Rubber?
|
I have several figures compiled independently into several pdf files. Rubber works great in their compilation. The main document is compiling great with rubber as well. How can I add dependency (if figure pdf is outdated then recompile) into Rubber? |
|||
|
I think you should be able to add something like this in your
This assumes that running Note that you don't need to manipulate the "global" |
|||
|
|
|
Use just the rubber directive watch, by adding just the following line to your latex document:
See rubber man page with
to learn everything about rubber directives. |
||||
|
\includegraphics{figure1.pdf}? – Jukka Suomela Aug 21 '10 at 13:11rubber -Wall figure*.tex && rubber -Wall main.tex. It doesn't re-compile figures if they are already up-to-date. You can write a one-line shell script that does that for you. For a better solution, I'd like to read the manual, but someone has broken the rubber home page, and I can't find documentation any more... – Jukka Suomela Aug 21 '10 at 13:18