Uwe Stöhr <[EMAIL PROTECTED]> writes:

>> It can be handled by adding a line
>>   Provides japanese
>> in the layout fiels and handling the "japanese" feature correctly in
>> LaTeXFeatures.cpp.
>
> I don't know what you mean and how to implement this. Could you
> please build this in?

It is almost just what I wrote :) You add the magic lines in layout files
that load japanese.sty, and at the place where you want to load
japanese.sty, you do

  if (!textclass.provides("japanese"))
     os << "\\usepackage{japanese}\n";

Is it clearer? You can define new features that are not hardcoded in
LyX. Actually, it would be easy to allow languages to define a set of
features that they require and they would be almost magically handled.

JMarc

Reply via email to