bool LyXModule::isAvailable() {
+#ifdef TEX2LYX
+ return true;
+#else
if (packageList.empty())
return true;
if (checked)
}
available = true;
return available;
+#endif
}
// does it exclude us?
vector<string> const excMods = lm->getExcludedModules();
- if (find(excMods.begin(), excMods.end(), name) != excMods.end())
+ if (find(excMods.begin(), excMods.end(), id) != excMods.end())
return false;
return true;
//Much of this is borrowed from LayoutFileList::read()
-bool ModuleList::load()
+bool ModuleList::read()
{
FileName const real_file = libFileSearch("", "lyxmodules.lst");
LYXERR(Debug::TCLASS, "Reading modules from `" << real_file << '\'');