Re: External commands?

2009-02-16 Thread Guenter Milde
On 2009-02-06, Richard Heck wrote: Guenter Milde wrote: On 2009-02-06, Matts Lindström wrote: Actually, if you combine my suggestion with yours, there is a way to do this: Define a new format (lyx2, say) and a converter for it that does whatever you want to do, eventually over-writing the

Re: External commands?

2009-02-16 Thread Guenter Milde
On 2009-02-06, Richard Heck wrote: Guenter Milde wrote: On 2009-02-06, Matts Lindström wrote: Actually, if you combine my suggestion with yours, there is a way to do this: Define a new format (lyx2, say) and a converter for it that does whatever you want to do, eventually over-writing the

Re: External commands?

2009-02-16 Thread Guenter Milde
On 2009-02-06, Richard Heck wrote: > Guenter Milde wrote: >> On 2009-02-06, Matts Lindström wrote: > Actually, if you combine my suggestion with yours, there is a way to do > this: Define a new format (lyx2, say) and a converter for it that does > whatever you want to do, eventually

Re: External commands?

2009-02-09 Thread Matts Lindström
Thanks for the tips! Matts On Sat, Feb 7, 2009 at 10:56 PM, Pavel Sanda sa...@lyx.org wrote: Matts Lindström wrote: Hello! Simple question: is it possible to pipe the lyx-buffer through a external command (for instance wc or sed on linux?). Running lyx 1.6.1. in the upcoming 1.6.2 you

Re: External commands?

2009-02-09 Thread Matts Lindström
Thanks for the tips! Matts On Sat, Feb 7, 2009 at 10:56 PM, Pavel Sanda sa...@lyx.org wrote: Matts Lindström wrote: Hello! Simple question: is it possible to pipe the lyx-buffer through a external command (for instance wc or sed on linux?). Running lyx 1.6.1. in the upcoming 1.6.2 you

Re: External commands?

2009-02-09 Thread Matts Lindström
Thanks for the tips! Matts On Sat, Feb 7, 2009 at 10:56 PM, Pavel Sanda wrote: > Matts Lindström wrote: > > Hello! Simple question: is it possible to pipe the lyx-buffer through a > > external command (for instance wc or sed on linux?). Running lyx 1.6.1. > > in the upcoming

Re: External commands?

2009-02-07 Thread Pavel Sanda
Matts Lindström wrote: Hello! Simple question: is it possible to pipe the lyx-buffer through a external command (for instance wc or sed on linux?). Running lyx 1.6.1. in the upcoming 1.6.2 you can (mis)use vc-command lfun, eg vc-command RD $$p yourscript $$i pavel

Re: External commands?

2009-02-07 Thread Pavel Sanda
Matts Lindström wrote: Hello! Simple question: is it possible to pipe the lyx-buffer through a external command (for instance wc or sed on linux?). Running lyx 1.6.1. in the upcoming 1.6.2 you can (mis)use vc-command lfun, eg vc-command RD $$p yourscript $$i pavel

Re: External commands?

2009-02-07 Thread Pavel Sanda
Matts Lindström wrote: > Hello! Simple question: is it possible to pipe the lyx-buffer through a > external command (for instance wc or sed on linux?). Running lyx 1.6.1. in the upcoming 1.6.2 you can (mis)use vc-command lfun, eg vc-command RD $$p "yourscript $$i" pavel

Re: External commands?

2009-02-06 Thread Richard Heck
Matts Lindström wrote: Hello! Simple question: is it possible to pipe the lyx-buffer through a external command (for instance wc or sed on linux?). Running lyx 1.6.1. I'm not sure exactly what you want to do, but (a) you can of course do this outside LyX and (b) you can create some kind of

Re: External commands?

2009-02-06 Thread Guenter Milde
On 2009-02-06, Matts Lindström wrote: Hello! Simple question: is it possible to pipe the lyx-buffer through a external command (for instance wc or sed on linux?). Running lyx 1.6.1. AFAIK, no. You will have to modify the source file by external means and then FileRevert (ignoring the

Re: External commands?

2009-02-06 Thread Richard Heck
Guenter Milde wrote: On 2009-02-06, Matts Lindström wrote: Hello! Simple question: is it possible to pipe the lyx-buffer through a external command (for instance wc or sed on linux?). Running lyx 1.6.1. AFAIK, no. You will have to modify the source file by external means and then

Re: External commands?

2009-02-06 Thread Richard Heck
Matts Lindström wrote: Hello! Simple question: is it possible to pipe the lyx-buffer through a external command (for instance wc or sed on linux?). Running lyx 1.6.1. I'm not sure exactly what you want to do, but (a) you can of course do this outside LyX and (b) you can create some kind of

Re: External commands?

2009-02-06 Thread Guenter Milde
On 2009-02-06, Matts Lindström wrote: Hello! Simple question: is it possible to pipe the lyx-buffer through a external command (for instance wc or sed on linux?). Running lyx 1.6.1. AFAIK, no. You will have to modify the source file by external means and then FileRevert (ignoring the

Re: External commands?

2009-02-06 Thread Richard Heck
Guenter Milde wrote: On 2009-02-06, Matts Lindström wrote: Hello! Simple question: is it possible to pipe the lyx-buffer through a external command (for instance wc or sed on linux?). Running lyx 1.6.1. AFAIK, no. You will have to modify the source file by external means and then

Re: External commands?

2009-02-06 Thread Richard Heck
Matts Lindström wrote: Hello! Simple question: is it possible to pipe the lyx-buffer through a external command (for instance wc or sed on linux?). Running lyx 1.6.1. I'm not sure exactly what you want to do, but (a) you can of course do this outside LyX and (b) you can create some kind of

Re: External commands?

2009-02-06 Thread Guenter Milde
On 2009-02-06, Matts Lindström wrote: > Hello! Simple question: is it possible to pipe the lyx-buffer through a > external command (for instance wc or sed on linux?). Running lyx 1.6.1. AFAIK, no. You will have to modify the source file by external means and then File>Revert (ignoring the

Re: External commands?

2009-02-06 Thread Richard Heck
Guenter Milde wrote: On 2009-02-06, Matts Lindström wrote: Hello! Simple question: is it possible to pipe the lyx-buffer through a external command (for instance wc or sed on linux?). Running lyx 1.6.1. AFAIK, no. You will have to modify the source file by external means and then