]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.cpp
Partially revert r34995, which broke math output. Not sure why yet....
[lyx.git] / src / LaTeXFeatures.cpp
index 5f39c30a856572e3a9da09084e74106b3acb881c..0a4c840bd2a5af8e35504e0d230df84814bce847 100644 (file)
@@ -38,6 +38,9 @@
 #include "support/gettext.h"
 #include "support/lstrings.h"
 
+#include <algorithm>
+
+
 using namespace std;
 using namespace lyx::support;
 
@@ -1112,7 +1115,7 @@ docstring const LaTeXFeatures::getIncludedFiles(string const & fname) const
             fi != end; ++fi)
                // FIXME UNICODE
                sgmlpreamble << "\n<!ENTITY " << fi->first
-                            << (isSGMLFilename(fi->second) ? " SYSTEM \"" : " \"")
+                            << (isSGMLFileName(fi->second) ? " SYSTEM \"" : " \"")
                             << makeRelPath(from_utf8(fi->second), basename) << "\">";
 
        return sgmlpreamble.str();