Juergen Vigna wrote:
>
> On 01-Aug-2000 Jean-Jacques Girardot wrote:
> > Is there a way to invoke LyX as a filter ? I'd
> > like to be able to write something like :
> >
> > lyx -something < doc.lyx > doc.tex
> >
>
> Try 'rm doc.tex;lyx --export tex doc.lyx' (you need a valid display or
> you could use Xvfb - x virtual frame buffer).
>
> J�rgen
>
Thank you very much for the suggestion ; it does what I wanted.
There is a minor problem left : I get a complain from X after the
execution of LyX. The problem is certainely related to LyX. It
doesn't seem to harm much.
This is a copy of the session (PC Sony, Red Hat, Gnome) :
[girardot@kumquat cours]$ rm scilab-intro.tex
[girardot@kumquat cours]$ lyx --export tex scilab-intro.lyx
About to handle -x 'buffer-export latex'
We are done!
[girardot@kumquat cours]$ X Error of failed request: BadWindow (invalid Window
parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Resource id in failed request: 0x6000088
Serial number of failed request: 9
Current serial number in output stream: 10
--
Jean-Jacques Girardot - [EMAIL PROTECTED]
----------------------------------------
Le respect nait la ou on le seme. (Lao Tseu)