> > I haven't seen any description for "UpdateCommand" anywhere.
> 
> I saw it in another posting to this list, and there's a few other
> similar examples that use it on the web:
> http://www.google.com.au/#hl=en&q=lyx+%2BUpdateCommand

OK. Interesting. In fact it has been removed because it could be wrongfully
exploited. See this post [1] from Angus Leeming:

"Interestingly, the LyX 1.4.x series uses the converter mechanism to 
convert files. Ie, the "Update Command" line no longer exists in the 
template file so the templates themselves are now perfectly safe."

> I can define a new Python file format, but strangely, no matter what
> I do the "Add" button in the converters section is greyed out. I can
> only create the converter by editing and saving over an existing
> converter in the list.

Good luck navigating the unconventional interface. Once you change the formats
you actually create a new converter. Did it work?

> > Once you have that I believe it will work. In fact once you have
> > that you could simply use the graphics inset in the usual way to
> > insert your .py file, that is, no need for an external material
> > template.
> 
> Makes sense, but then what are the external material templates actually
> meant to be used for?

External material is the only option if the stuff to be included is not suited
for a \includegraphics command. In your case you can do it either way. It seems
more natural to use Insert > Graphics.

> 
> J
>                                         

Cheers,
Julien

[1] http://www.mail-archive.com/[email protected]/msg66742.html


Reply via email to