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
File>Revert (ignoring the warnings).
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 LyX file on disk
(if you really do wish to do that!). Then File>Revert.
rh