Uwe Stöhr wrote:
Olivier Ripoll schrieb:

Just a question: What's the status of elyxer in your installer ?

I think you had planned to bundle elyxer in the installer the same way you do for imagemagick and other stuff.

Yes this was the plan. After discussions with the other LyX developers the new plan is to include it only to the complete installer and to let people choose if they want to install eLyXer or not. I tried to do implement this in the installer, but haven't found the time right now. Therefore I decided to release the installer for 1.6.3 now and to work on eLyXer the next days. So you can expect another installer release the next days that comes with eLyXer.

But even now, LyX will recognize eLyXer when you have it installed. All you have to do is to add the path to the file elyxer.py in the PATH prefix in LyX's preferences. Then reconfigure LyX and eLyXer should work. Could you please try this out? A feed back from you if this works would help me.

Well, after doing this, exporting to HTML results only in elyxer.py being opened in my text editor, LyX window being "white" until I close the editor (closing the file is not enough). And no HTML has been produced, as far as I can see. I do not have python installed and do not want to (well, there are some python.exe with LyX and Inkscape), so the only action defined for .py files is "open", which is with my text editor (PSPAD).

Same effect with elyxer 0.23 or 0.24.

It seems that the problem is that lyx tries to launch elyxer.py directly instead of calling the local python interpreter. But then, if I add python before elyxer.py in the command for LyX->HTML, python fails to find elyxer.py (even if I copy it in the scripts or bin folders).

Any idea ?

While trying that...
... I also notice a strange behaviour with reconfigure changing the path: I need to do it twice (including exiting/reopening) to have changes taken into account.

For example, after changing the path to include elyxer, reconfiguring, exiting LyX, then reopening it, htlatex is still used. I need to reconfigure a second time, exit, repoen and then it works (well, see above what I call works). The same if done the other way: I remove elyxer from the path, reconfigure, exit, reopen and lyx complains of not finding elyxer. I then reconfigure again, exit, reopen and it works.
If I reconfigure twice, exit and reopen, it does not work.
If I reconfigure, exit, open, exit, open, it does not work.


Best regards,

Olivier





thanks and regards
Uwe


Reply via email to