John K <john...@...> writes: > OK I tried this. I defined a new Python file format with extension .py in Lyx, and then created a Python -> PDF > (pdflatex) converter that runs the command: > > python $$i $$o > > But when I try exporting the document to PDF I get the following error: > > "No information for converting python format files to png. Define a converter in the preferences." > > Why is it trying to convert to PNG? > > J
What you did seems all correct. I don't know what the problem might be, because as far as I know PDF should be used for output and PNG used only to display the image within the LyX window. Perhaps someone else has more experience with this. -- Julien