On Friday 14 May 2004 14:48, Ernesto Jardim wrote:
> Hi,

  Ol�, :-)

> I want to create an empty document without starting the lyx gui, just
> using the command line. Is it possible ?

  Just for curiosity why do you want to do that? :-)

  The best I have been able to do was:

rm -f test.lyx && lyx -x "command-sequence buffer-new; buffer-write-as 
test.lyx; lyx-quit"

  But it still launches the gui although it closes it without any 
interaction. The first rm is necessary or else lyx will complain that we 
are overwriting that file, if it exists.

> Thanks

  I hope it helps,

> EJ

-- 
Jos� Ab�lio

LyX and docbook, a perfect match. :-)

Reply via email to