Michael Joyner wrote:
> > one workaround - use --batch-mode which should avoid gui inits.
> >
> 
> lyx does not recognize --batch-mode as a command line operator:

thats partly my fault since i didnt checked and only tried to give directions...
the switch is "-batch" and is part of lyx 2.0.

> > via some script like:
> > rm file.pdf
> > send-to-pipe file0open file.lyx
> > send-to-pipe exort....
> > send-to-pipe close-all
> >
> > for all files you have.then only one init will be done...
> > pavel
> >
> 
> Don't know what a send-to-pipe is (no such command found via locate), but,
> these
> are lyx files that are generated on demand by PHP then immediately converted
> to PDF for download.

again these were only hints. you will need to study howto setup lyx pipes on
your box and what exact lyx functions to send through them to lyx server.
it would take some time to catch the corner cases and similar, so go this
direction only if your task is time critical...

if i ever tried to solve such kind of task i would produce direct .tex files
instead of .lyx file though...
pavel

Reply via email to