After using standalone package extensively, I ran into one problem, which I cannot solve. The problem is that I need to include a TikZ picture in main files subdirectory. What is more I want to build it with standalone mode = buildnew. Consider the following filetree:
After execution of mwe.tex I would expect mwefig.tex to be built, which would result in mwefig.pdf file created in /sub/ directory, which could then be used for later compilations.
What I rather get is a warning: Package standalone Warning: Graphic 'sub/mwefig.pdf' could not be build. Even though, the main PDF is produced containing the required graphics.
I also noticed, the mwefig.pdf file is actually created, however in a separate directory and with different name:
I am probably using something wrong, so if anyone could give any hints on how to solve this problem I would be very grateful. (Note: --enable-write18 is enabled, MikTex 2.9)
Last edited by KarolisK on Mon May 20, 2013 5:43 pm, edited 2 times in total.