On Aug 1, 2006, at 12:29 PM, Jens Noeckel wrote:
On Aug 1, 2006, at 8:07 AM, Bennett Helm wrote:On Jul 28, 2006, at 5:46 PM, Jens Noeckel wrote:
...
\path_prefix "/usr/local/teTeX/bin/i386-apple-darwin-current:/usr/ local/teTeX/bin/powerpc-apple-darwin-current:/sw/bin:/opt/local/ teTeX/bin:/opt/local/bin:/\usr/local/bin:/usr/bin:/usr/X11R6/bin"I agree. I've added /sw/sbin as well (just after /sw/bin), and will submit a patch later.
...
"open-x11 xfig"This is a command that is present on OSX 10.3 and up, and I think 10.3 is the system requirement for lyx 1.4.2 anyway. So there's no compatibility problem if one uses this command.I didn't realize there was such a command. It works to open an instance of xfig in X11, but I cannot get it to open a designated file, which the previous version does. Does opening .fig files from within LyX work for you?BennettBennett, you're right, the open-x11 script doesn't seem to accept a file argument; I forgot that LyX needs to append that file name after the opening commands. It does still lead to a simplification if you writeopen-x11 && xfigbut I'm now a bit more doubtful that it's worth trying to fix something that's not really broken... E.g., it's probably good that you're explicitly setting DISPLAY to be safe, while open-x11 doesn't seem to be doing that.
I've used "open-x11 && export DISPLAY=:0.0 && xfig" -- an improvement over the hardcoding of the location of X11.app.
Patch attached for both 1.4.x and 1.5.x. Bennett
mac-1.5.x-diff
Description: Binary data
mac-1.4.x-diff
Description: Binary data