if (real_file.empty()) {
lyxerr << "TextClassList::Read: unable to find "
- "textclass file `"
+ "textclass file `"
<< to_utf8(makeDisplayPath(real_file.absFilename(), 1000))
<< "'. Exiting." << endl;
return false;
if (!lex.isOK()) {
lyxerr << "TextClassList::Read: unable to open "
- "textclass file `"
+ "textclass file `"
<< to_utf8(makeDisplayPath(real_file.absFilename(), 1000))
<< "'\nCheck your installation. LyX can't continue."
<< endl;
// returns: whole string, classtype (not used here), first option, description
BOOST_ASSERT(sub.size()==4);
// now, add the layout to textclass.
- TextClass tmpl(textclass, sub.str(2)==""?textclass:sub.str(2),
+ TextClass tmpl(textclass, sub.str(2)==""?textclass:sub.str(2),
sub.str(3) + " <" + path + ">", true);
if (lyxerr.debugging(Debug::TCLASS))
tmpl.load(path);
// If .layout is not in local directory, or an invalid layout is found, return false
return make_pair(false, textclass_type(0));
}
-
+
// Global variable: textclass table.
TextClassList textclasslist;