+2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
+
+ * insetinclude.C (Latex): Do not exit when the textclass of the
+ included file differ from the textclass of the parent file.
+
2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
* ExternalTemplate.C (read): the reading of external insets now checks
Buffer * tmp = bufferlist.getBuffer(getFileName());
if (tmp->params.textclass != buffer->params.textclass) {
- lyxerr << "ERROR: Cannot handle include file `"
+ lyxerr << "WARNING: Included file `"
<< MakeDisplayPath(getFileName())
- << "' which has textclass `"
+ << "' has textclass `"
<< textclasslist.NameOfClass(tmp->params.textclass)
- << "' instead of `"
+ << "' while parent file has textclass `"
<< textclasslist.NameOfClass(buffer->params.textclass)
<< "'." << endl;
- return 0;
+ //return 0;
}
// write it to a file (so far the complete file)