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

I am preparing a huge document with tons of pictures and Tikz drawings (based on Beamer package). Is there a command for NOT including all the pictures inserted by \includegraphics? This might speed up the typesetting.

share|improve this question
up vote 13 down vote accepted

Usually the solution \usepackage[draft]{graphicx} won't work, because beamer loads the graphicx package by itself. You'll get the message

Option clash for package graphicx

You have to pass the draft option to the package before it will be loaded. Therefore write


before \documentclass{...}. This should solve your problem.

share|improve this answer
Or you could just call \documentclass[draft]{...} - it will do a few things more than just not load the graphics; but in preparation mode most of those are useful as well. – Mikael Vejdemo-Johansson Oct 21 '10 at 15:36

Not related to \includegraphics but something that will speed up your typesetting in development mode: \includeonlyframes. If you label the frames you're "working" on, you can typeset just those without disturbing the auxiliary files, very similar to \includeonly.


    First frame
    Second frame, which will not be seen.

The beamer manual documents this feature as well.

share|improve this answer

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.