Jean-Marc Lasgouttes schrieb:
"Bernhard" == Bernhard Roider <[EMAIL PROTECTED]> writes:

Bernhard> Hello, with the attached patch lyx loads all
Bernhard> external_template definitions from 1. user_lyxdir 2.
Bernhard> build_lyxdir 3. system_lyxdir

I'd rather not do it right now. We have to decide what is our policy
for handling stuff in system dir vs stuff in .lyx.

I see that similar to other preferences: user config overwrites system 
(default) config.

file by file whether in one case the system version is read, but not
in the other. The behaviour should be predictable. Since we did not
have complaints about the way user templates work besides this crash,
I'd rather not change it.

The problem poped up earlier, but as long as i used my own external templates for my own documents it wos not a big problem. I just copied my templates into the system template file But now the situation is different: At work we consider using lyx for making technical documentation and therefore it is required that the installation process is simple. That includes also the installation of the user defined templates which is only possible by separation of user defined templates from the native ones.
That's the reason why i strongly recommend to add this feature to 1.5

Bernhard> If there are template or preamble definitions with the same
Bernhard> name from different sources then lyx prints a warning
Bernhard> message to the console and the first definition (in the
Bernhard> above order) is used.

I am not sure this is needed.

What about a different idea: since the problem is the hardcoding of
RasterImage, we could replace it by code like the following.


This solution looks good to me and should go in imho.

Bernhard

Reply via email to