#include "insets/InsetCommand.h"
#include "support/docstream.h"
+#include "support/FileName.h"
#include "support/filetools.h" // LibFileSearch
#include "support/lstrings.h"
#include "frontends/FontLoader.h"
+using namespace std;
+using namespace lyx::support;
namespace lyx {
-using support::libFileSearch;
-using support::split;
-
-using std::string;
-using std::endl;
-using std::istringstream;
-using std::vector;
-
bool has_math_fonts;
namespace {
// file scope
-typedef std::map<docstring, latexkeys> WordList;
+typedef map<docstring, latexkeys> WordList;
WordList theWordList;
void initSymbols()
{
- support::FileName const filename = libFileSearch(string(), "symbols");
+ FileName const filename = libFileSearch(string(), "symbols");
LYXERR(Debug::MATHED, "read symbols from " << filename);
if (filename.empty()) {
lyxerr << "Could not find symbols file" << endl;
return;
}
- std::ifstream fs(filename.toFilesystemEncoding().c_str());
+ ifstream fs(filename.toFilesystemEncoding().c_str());
string line;
bool skip = false;
while (getline(fs, line)) {