On 2011-11-17, Richard Heck wrote: > On 11/17/2011 03:22 AM, Guenter Milde wrote: >> On 2011-11-16, Richard Heck wrote: >>> On 11/16/2011 02:59 AM, Janek Warchoł wrote:
>>>> However, does it make sense to include so many templates that are >>>> missing some external files? Majority of templates that i had tried >>>> to open said "The selected document class requires external files >>>> that are not available". >> IMV, it would help a lot if LyX could filter the templates that do not >> work with the current installation. We do this for document classes, >> so the vast part of the required logic is already available. > First, I don't think this is possible, at least not without major > surgery. The templates are simply opened from a file dialog. I know. This would mean either (re)configuring sorts the templates into an "available" and a "something-missing" directory, or a custom dialog with filter option replaces the current file-selector. > But the more important point is that the templates DO "work with the > current installation". You can't compile them, but you can use them in > LyX, experiment with them, etc. (The full dialog does actually explain > this.) In my test, there was no way to distinguish between working and non-working templates but a warning pop-up *after* I selected a template. A rather discouraging experience for a new user and not helpful if I want to find a template that works among a majority of non-working ones. > That is why "Unavailable" document classes are still, um, > available. As Helge sometimes points out, this is important. You can > install LyX without LaTeX if you like (say, on a netbook with a 4GB > SSD), and it will work just fine for editing. I don't want to make the "restricted-working" templates unavailable, but I would like a listing of the templates that work (and a button or a sub-directory with the other ones). Günter
