Kornel Benko wrote:

> What if env{LYX_USERDIR_VER} not emty _and_ userdir set in command line?
> (I mean if they are different)

Then LYX_USERDIR_VER wins (since this is the least intrusive solution), but 
setting both to different values does not make sense anyway.

> I tried it, but the environment does not seem to be set.
> (I made a perl-wrapper around the tex2lyx, So I can see all the env
> variables. LYX_USERDIR_VER is not one of them. (But LYXUSERDIR is)

Strange. Did you use LYX_USERDIR_21? LYX_USERDIR_VER is only a preprocessor 
macro which gets defined by some configure magic.

> Trace output also does not show ...LYXERR(Debug::INIT, "Setting "
> LYX_USERDIR_VER ...

This is consistent with the variable not being set.


Georg

Reply via email to