I use a utility which creates EPS images from short text snippets. To use this utility with Lyx I see two approaches:
- Put the text snippet in a file, define a file converter in Lyx and include it as an image (the way I currently do it).
- Use inline TeX to create the image from the text snippet (I really don't know how to do this but I assume it's possible).
With the first approach I get to see the resulting image in Lyx, but I have to edit an external file to make changes (and having to keep track of all those files). With the second approach I can edit the text snippets directly in Lyx, but I need to preview the document to see the result.
The question: Is there some way I can both edit the text snippets and see the resulting graphics directly in Lyx? It would be ideal if I could just click on the image to bring up a text entry to edit the corresponding text snippet.