On Tuesday 03 December 2002 10:37 am, Bruce Sass wrote:
> Hi,
>
> Has anyone embedded Python in LyX yet?
>
> If so, can you teach me how?
> If not, why not?

The LyX developers made a conscious decision not to allow a LyX document to 
execute arbitrary python scripts. "LyX document as virus" is not the best way 
to make friends. However, the ExternalTemplate inset will load and execute 
certain "trusted" python scripts. See the file "external_templates" in the 
lib directory. If you were to modify and distribute that to your co-workers 
and they were trusting enough to use it, then you're away.

Try the Insert->External Material... menu button.

Regards,
Angus

Reply via email to