TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

How to redefine draft mode for graphicx package not to draw figure borders but only image path? I would like to print the document without pictures and then stick photos.

share|improve this question
Welcome to TeX.sx! – egreg Jan 20 '13 at 16:03
up vote 2 down vote accepted

The box drawing depends on the rather complex command \Gin@setfile; however some patches can be "easily" applied:


% Let's patch \Gin@setfile rather than copying its definition and change it



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.