Luis Rivera wrote:
> I think this is the wrong approach, if there is some way to implement
> script/macro running right from inside LyX.
> 
> If Bo Peng is right, he can try turning all shell scripts into python;
> and if the developers embed python within LyX, you don't need to call
> python.exe, but the runtime library (python.dll on windows), and the
> relevant modules.
> 
> Check
> http://docs.python.org/ext/embedding.html
> to see what I mean.

Hi, Luis. I don't think that this would do what we want here. We really
spawn an external process to manage the conversion process because we
didn't want this conversion to block LyX's execution. If we ran the
conversion within LyX itself we'd have to use threads to achieve the same
goal. If we did that, we might as well write the code in C++.
 
-- 
Angus

Reply via email to