Tommaso,
i'm doing this via pipe from a XULRunner-Application. It's more kind of
a work arround:
1. save tmp latex file
2. Import latex into Lyx
3. Save file as .lyx
4. Insert lyx file to current lyx file
5. delete tmp latex & lyx file
Best
Stefan
Ok,
I have a string, and I'd like to interpret it as a latex segment, to be
imported into a lyx document. What's the easiest way ?
i.e.:
onMessageReceived(string const & from, string const & msg) {
BufferView *bv = <get chat corresponding to from contact>;
Buffer & buf = bv.buffer();
// NOW WHAT ? Any LFUN that just does the trick ? Some copy'n'paste one ?
}
Thanks,
Tommaso