On 15/10/13 23:51, Tommaso Cucinotta wrote:
> now I'd like
> to check this other importString() way suggested by Georg.
It was almost perfectly what I needed, except that it was clear()ing all the
time the doc, smth I don't want.
So, I had to modify introducing a "bool clear" flag that is propaga
On 15/10/13 10:10, newslet...@semiotikon.de wrote:
> 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 l
Tommaso Cucinotta wrote:
> 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 = ;
> Buffer & buf = bv.buffer();
>
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 inter
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 = ;
Buffer & buf = bv.buffer();
// NOW WHAT ? Any LFUN that just does the t