On 03-May-2000 Andre Poenitz wrote:
>> I've been using LyX since 0.12.0 Beta and it has worked quite well.
>> Is there any way to convert *.lyx files into *.tex from a command
>> line. I'd like to have a Makefile do this conversion, and I see
>> no command line options that can do this.
>
> There is lyx --export latex <yourfile>.lyx since 1999-11-18,
> but I assume 0.12.0 beta was a bit out of date even then...
>
> Note that you still need X running (or do some xinit black magic)
> during the conversion.
>
Well the black magic is easy (the following with bash):
(Xvfb :1 -once -terminate &);rm myfile.tex; lyx -display :1 --export latex myfile.lyx
This works everywhere (obviously you have to have the Xvfb command), xterminal
on a text-console an xterminal, ...
Greets J�rgen
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. J�rgen Vigna E-Mail: [EMAIL PROTECTED]
Italienallee 13/N Tel: +39-0471-450260
I-39100 Bozen Fax: +39-0471-450296
ITALY Web: http://www.sad.it/~jug
You might have mail.
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._