Humbert Francis wrote:
I am working on a program which corrects math exercises done by my students. This program insert error messages (in red) in a Lyx document. The input of this program is a Lyx document and the output is also a Lyx document. I did not manage to install such a converter.
Interesting program, but why make it a converter in LyX? The LyX converters are for converting between different file formats. Your program doesn't do that, instead it changes a LyX file. How about just running this from the os command line? Why do you want to run this program from inside LyX?
Which wiewer should I declare in the preference window ? Would this converter replace the current document (it would be the best solution) ? create a new Lyx view ? I could create the corrected doc in pdf format, but I prefer avoiding my students installing a latex distribution.
If you're doing this from a script, just run lyx --export pdf2 file.lyx in order to produce file.pdf automatically. Helge Hafting
