On Jan 7, 2005, at 10:39 AM, Jean-Marc Lasgouttes wrote:
"Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> On Dec 10, 2004, at 9:49 AM, Jean-Marc Lasgouttes wrote:However, a possibility would be to remove all this special code for LyX/Mac in the startup code, and replace it with setting user- and lyx-dir from the script.
Bennett> I've done this -- or at least tried to. (I'm not sure if I've Bennett> cleaned up lyx_main.C or path_defines.C.in as completely as I Bennett> should.) LyX was reconfigured to add a version suffix, and Bennett> the script is named "lyx". Patches attached.
Bennett> I've also attached a copy of my shell scripts that set the Bennett> path, userdir, and sysdir for lyx-13x for your review. (The Bennett> one for lyx-140 is pretty much the same.)
Bennett, I never answered to this message because Angus was busy butchering the init process at the same time... Nevertheless, the scripts are sound. I propose we return to that when Angus' work has landed.
That's what I assumed.
I have noticed a problem, though, with configuring lyx to add a version suffix. That suffix gets added to all the executables, so that I get not just lyx-13x but also noweb2lyx-13x, and reLyX-13x. However, it seems that when reLyX gets called, it gets called without the suffix: console returns, "sh: line 1: reLyX: command not found".
In any case, I need to do more thorough testing of the shell script on machines other than mine.
Bennett