TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We know the use of [draft] in graphicx package


Do we have any option like [draft] in tikz? Sothat we need not compile the tikz picture for every run and need not look at the picture...Is it possible to have something like this?


or do i have any other method to do it?

share|improve this question
up vote 15 down vote accepted

You can use \tikzexternalize which is intended to speed up compile times. It converts each tikzpicture into a separate external graphic which is then imported with \includegraphics. And in [draft] mode graphics that are included from external sources do not get displayed.

Here is an example of enabling \tikzexternalize when in [draft] mode. With \documentclass[draft]{article} the MWE produces:

enter image description here





    \draw[fill=yellow] (0,0) -- (3,0) -- (3,3) -- cycle;
share|improve this answer
This doesn't really work here for me: ! Package tikz Warning: The key 'up to date check=md5' is impossible, there is no macro to compute MD5. Falling back to 'up to date check=diff'. ===== 'mode=convert with system call': Invoking 'xelatex -halt-on-error -interaction=batchmode -jobname "tikzext-figure0" "\def\tikzexternalrealjob{tikzext}\input{tikzext}"' ======== – buhtz Oct 31 '15 at 13:30
@buhtz: I am guessing but I think you just need to delete the temporary files an re-run. If that does not solve your problem, I'd suggest you post a new question. – Peter Grill Oct 31 '15 at 22:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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