>>>>> "Frank" == Frank Pilhofer <[EMAIL PROTECTED]> writes:

Frank>  The above target has a number of disadvantages:

Frank>   - It requires the entry `\serverpipe "./lyxpipe"' in my lyxrc
Frank> file.  - I don't really need a LyX Server when working
Frank> interactively.  

That's right. 

Frank> - I need a working $DISPLAY.  

This is a problem due to to the structure of LyX: it cannot be started
without a GUI. We are working on that in 1.1.

Frank> - Having to synchronize with LyX is a pain.  - No
Frank> error checking is done. What if document processing fails? The
Frank> dvi might be incomplete, but I don't notice.  

Stefano Ghirlanda is working on fixes for that.

Frank> - Someone else
Frank> (including myself) might run lyx from the same directory
Frank> already, so the Makefile would talk to the existing lyx.

Not if you choose your pipe name carefully.

Frank>  If turning X off is not possible, I'd at least love to have a
Frank> command- line option to pass lyxrc options, like `\serverpipe'.

Reading lyxrc options from command line is difficult currently. A
trick would be to specify a different user lyx directory when in your
makefile. Since this directory is hardcoded as $HOME/.lyx, you would
have to change the value of HOME before running lyx. Then, your
alternate lyxrc could specify \serverpipe (and maybe also disable PS
figures rendering and things like that). 

Hope this helps.

JMarc

Reply via email to