On Mon, Dec 13, 2010 at 1:23 PM, Pavel Sanda <sa...@lyx.org> wrote:

> Pavel Sanda wrote:
> > Michael Joyner wrote:
> > > On Mon, Dec 13, 2010 at 12:15 PM, Pavel Sanda <sa...@lyx.org> wrote:
> > >
> > > > Michael Joyner wrote:
> > > > > Thoughts as to why this is happening? Is there something wrong with
> the
> > > > > stock LyX build from RedHat/Epel ?
>


> one workaround - use --batch-mode which should avoid gui inits.
>

lyx does not recognize --batch-mode as a command line operator:

$ lyx --batch-mode -e pdf2 breast_cancer2.lyx
Wrong command line option `--batch-mode'. Exiting.
$ lyx -batch-mode -e pdf2 breast_cancer2.lyx
Wrong command line option `-batch-mode'. Exiting.


> but i dont think it helps much.
> more difficult but truly speed-up it to start using pipes
> 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.

FYI: these are being run in a headless environment, no X.

Reply via email to