This question is based on Draft option in TikZ like graphicx.

From pgf manual,

33.4 Externalizing Graphics

The probably most comfortable way is to use the default conguration with pdflatex -shell-escape main which authorizes pdflatex to call itself recursively to generate the images.

Also manual says "users will need to issue the required commands manually (or with make)"

How to issue the required commands manually?


How to issue the required commands using makefile?

I am using TeXstudio with Miktex


All this means is that in a Makefile or similar you need to remember to put

pdflatex --shell-escape <filename>

rather than just

pdflatex <filename>

Of course, you might have this as a variable in you Makefile to allow flexibility.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.