In graphics/graphicx, how to show actual pictures despite draft mode

2,833
\RequirePackage[final]{graphicx}
\documentclass[twoside,onecolumn,draft]{rsauthor}

probably works

Also (without doing that) you can flip the draft flag in the preamble (after \usepackage{graphicx}) as

\setkeys{Gin}{draft=false}
Share:
2,833

Related videos on Youtube

Hotschke
Author by

Hotschke

Updated on November 20, 2020

Comments

  • Hotschke
    Hotschke almost 2 years

    For collaboration purposes I am using the draft mode in my LaTeX manuscript to show todo-notes, remarks and so on. By switching to final mode all of these additions become unvisible.

    However, I'd love to switch on the final mode of the graphics/x package to see the actual pictures but \documentclass being still in draft mode. I get an error about clashing options when I add

    \usepackage[final]{graphicx}
    

    My first guess was that the \documentclass already sets the option for the graphics/x package. Following doesn't help either

    \PassOptionsToPackage{final}{graphicx}
    \documentclass[twoside,onecolumn,draft]{rsauthor}
    
    • egreg
      egreg about 10 years
      Is there a place where rsauthor.cls can be examined?
    • Hotschke
      Hotschke about 10 years
      @egreg: It is freely available from the journal website: Proceedings of the Royal Society A - rsauthor.cls
    • TomOnTime
      TomOnTime about 9 years
      Suggestion: Add a tag for "trackchanges" (or mention it in the question so that searches find this better)
    • TomOnTime
      TomOnTime about 9 years
      Suggestion: The title would be more readable as: "In graphics/graphicx, how to show actual pictures despite draft mode"
    • Hotschke
      Hotschke about 9 years
      I am happy with your title suggestion. I've changed it.
  • Hotschke
    Hotschke about 10 years
    no this doesn't help. Thanks for you help anyway.
  • David Carlisle
    David Carlisle about 10 years
    odd. what error does it give (I didn't have rsauthor class to test)
  • egreg
    egreg about 10 years
    I tried with the rsauthor class and both methods work. The second seems preferable.
  • Hotschke
    Hotschke about 10 years
    @David Carlisle: the second suggestion with \setkeys works. Wow, thank you very much. I am always impressed by the fast and perfect help on tex.sx.com.
  • Hotschke
    Hotschke about 10 years
    I checked again the method with \RequirePackage, but still not working. Anyhow, I will accept the answer as given. Possibly in other cases the first suggestions is also of help.
  • TomOnTime
    TomOnTime about 9 years
    The RequirePackage technique worked for me but I had to put that line before the \documentclass line.
  • Åsmund
    Åsmund over 5 years
    \setkeys{Gin}{draft=false} worked for me, but make sure you don't also have [draft=false] or [final]in the \usepackage line.