> Problem 1: Currently, lyx will not find local bioinfo.layout and .cls
> because the entry in textclasslist is used, which says bioinfo.cls is
> unavailable. I think local layout files, instead of system ones,
> should be used when a local layout exists.
I have submitted a modified patch to addre
> Makes sense.
The problem is actually more complicated than I expected. In my case,
I have a system bioinfo.layout under .lyx/layout, without system
bioinfo.cls. I have newer version of bioinfo.layout and bioinfo.cls
locally.
Problem 1: Currently, lyx will not find local bioinfo.layout and .cls
Bo Peng wrote:
> In case that textclass is listed, but unavailable, lyx should look for
> a local copy. The attached simple patch does this.
Makes sense.
> Can I apply?
Yes.
Jürgen
Dear all,
Lyx can load class.layout and class.cls if they are *not* available
systemwide. The logic in bufferparams.cpp is
// look up in the class list
pair pp = textclasslist.numberOfClass(classname);
// if found
if (pp.first) {
textclass = pp.second;
} else {
// LOAD from current di