Jean Gosset wrote: > Hello, > > I just installed the LyX/Mac binary package on my PowerBook, from the > "http://www.18james.com/lyx_on_aqua.html" web page. Almost everything > works properly, except the following. > > When I try to open a LyX file by double clicking on its icon in the > Finder or through a "Drag and drop" of its icon onto the "Start-LyX" > application, I get the AppleScript error: "You need to setup the > LyXServer pipe in LyX > Preferences > Paths.". In this menu I see as > path "/Users/gosset/.lyx/.lyxpipe". This file does not exist. The "ls > -la /Users/gosset/.lyx/.lyx*" command gives me the following answer, > with two empty files but none with the right name: > > prw------- 1 gosset staff 0 Sep 18 17:30 .lyxpipe.in > prw------- 1 gosset staff 0 Sep 18 17:30 .lyxpipe.out
These _are_ the correct names of the input and output pipes. At least, they correspond to the entry in the Preferences dialog. > What should I do? See if lyx responds to input through them. Type the stuff below at the command line to open up a file within lyx. $ FILE="path/to/you/file.lyx" $ lyx -dbg lyxserver& $ echo "LYXSRV:jean:hello" > ~/.lyx/lyxpipe.in $ echo "LYXCMD:jean:file-open $FILE > ~/.lyx/lyxpipe.in -- Angus
