]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.C
Add GraphicsTypes.h to libgraphics_la_SOURCES
[lyx.git] / src / LaTeXFeatures.C
index 91301c5094e1ab276aa9896012744f0cddfad1e8..15102ef3c20b6e580f05b90086f8f3ad327fa036 100644 (file)
@@ -48,12 +48,7 @@ void LaTeXFeatures::require(string const & name)
        if (isRequired(name))
                return;
        
-       // INSET_GRAPHICS: remove this when InsetFig is thrown.
-       if (name == "graphics") {
-               features.push_back("graphicx");
-               features.push_back("graphics");
-       } else
-               features.push_back(name);
+       features.push_back(name);
 }
 
 
@@ -209,17 +204,6 @@ string const LaTeXFeatures::getPackages() const
                                 << "]{graphicx}\n";
        }
 
-       // INSET_GRAPHICS: remove this when InsetFig is thrown.
-       // graphics.sty
-       if (isRequired("graphics") && params.graphicsDriver != "none") {
-               if (params.graphicsDriver == "default")
-                       packages << "\\usepackage{graphics}\n";
-               else
-                       packages << "\\usepackage[" 
-                                << params.graphicsDriver
-                                << "]{graphics}\n";
-       }
-
        //if (algorithm) {
        //      packages << "\\usepackage{algorithm}\n";
        //}