On 11/20/2010 09:37 AM, veno...@arcadiaclub.com wrote:
but we do have support for dia, you know? simply put it as graphic and any
time you
can edit it by launching context menu. lyx will detect graphics change once
you finish launched dia session...
That's fantastic! But I had to add the dia path to the PATH environment
variable, why don't you auto-detect it? I had to do the same for Octave, Maxima
and Mathematica (I'm under win32). Also the CAS support is a feature I
discovered recently, it was hidden in a third level menu. But I know you finally
added to the math formula context menu in LyX 2.0.
Before asking again I'll read the full feature list.

Thanks for the info! This will improve my LyX esperience.

Here are the registry keys where you can find the path of the Dia, Mathematica,
Maxima
HKEY_LOCAL_MACHINE\SOFTWARE\Dia
HKEY_LOCAL_MACHINE\SOFTWARE\Wolfram Research\Installations
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Maxima-5.
22.1_is1

Octave installation seems "portable", no registry keys are touched. Maybe I can
try to add this autodetection under Windows, if you can address me to some
starting point inside the LyX code.

This is a packaging issue, obviously. Real operating systems do not have this kind of issue. ;-)

There are two Windows installers. The code for one of them, at least, can be browsed here:
http://www.lyx.org/trac/browser/lyx-devel/trunk/development/Win32
That's where you'd want to do detection. Or perhaps we should think about adding it to the configure.py routine somehow:
http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/configure.py
I'd guess there are python packages that read registry keys.

Richard

Reply via email to