On Thu, Jul 22, 2010 at 03:50:00PM -0400, BH wrote: > On Thu, Jul 22, 2010 at 2:25 PM, Enrico Forestieri <for...@lyx.org> wrote: > > On Thu, Jul 22, 2010 at 03:49:35PM +0200, Stephan Witt wrote: > >> Am 22.07.2010 um 15:03 schrieb BH: > >> > >> > A further simple change you might want to make for Mac (so that LyX > >> > can find the appropriate location of .lyxpipe*): > >> > > >> > Index: development/MacOSX/lyxeditor > >> > =================================================================== > >> > --- development/MacOSX/lyxeditor (revision 34981) > >> > +++ development/MacOSX/lyxeditor (working copy) > >> > @@ -41,7 +41,7 @@ > >> > exit 1 > >> > } > >> > > >> > -for LYXDIR in LyX-1.6 LyX-1.5 LyX-1.4 LyX > >> > +for LYXDIR in LyX-2.0 LyX-1.6 LyX-1.5 LyX-1.4 LyX > >> > do > >> > ABS_USER_LYXDIR="${USER_SUPPORT}/${LYXDIR}" > >> > test -d "${ABS_USER_LYXDIR}" || { > >> > >> I'll do this, thanks. > > > > There's any reason for not trying the script attached here > > http://thread.gmane.org/gmane.editors.lyx.devel/123732/focus=123858 ? > > It would avoid the need for an update after a version change. > > Sorry -- I must have missed that earlier thread. > > I've now tested it, and the script works, but it needs to be renamed > "lyxeditor" (not "lyxeditor.py") in order for Skim.app (a commonly > used PDF viewer) to work with LyX. (Skim.app has a LyX setting in its > preferences that automatically calls lyxeditor.)
That is a python version of the shell script development/tools/lyxeditor which cannot be used on Windows. Maybe you can use that, instead. However, given that the python version also works on Mac, maybe it could be checked in alongside the shell script or as a replacement for it by dropping the .py extension. -- Enrico