The Windows installer is in development/Win32/packaging. So is there anything against putting it to development/MacOSX/packaging/ installer ?Nothing at all: that's what I'm asking for! (I don't have svn privileges, so I can't do it myself, and even if I did I'd need to ask permission anyway!)
I am sure getting an SVN account for that shouldn't be a problem. I think JMarc is the one who can do that.
But I am wondering what this installer is doing in fact. Why is copying the LyX.app not enough?It does three things.1. Delete obsolete files. These are from pre-1.3.4: some math fonts that got installed into ~/Library/Fonts/, and a Start-LyX.app that got installed in /Applications/.2. Managing the LyX User's folder so that users can use different versions of LyX simultaneously and yet be able (for the most part) to keep their past settings. So the installer copies ~/Library/ Application Support/LyX[-1.4] to ~/Library/Application Support/ LyX-1.5, and then modifies some lines in the preferences file to point to the new folder. It also copies LyX's default templates from inside the application bundle (where they are invisible) to .../LyX-1.5/templates/defaults.
Couldn't that be done in a shell script at Contents/MacOS/startlyx which is doing such a work and then will start the lyx binary?
I like the idea of a self-contained LyX.app. Using another installer looks complicated for those small things.
3. Installing extra LaTeX class/style files that are good to have with LyX -- such as preview.sty, srcltx.sty, and everything in LyX.app/Contents/Resources/tex. All this gets copied (now) to ~/ Library/texmf/tex/latex/lyx, and then texhash is run.
I see. That would be strange to do from the LyX.app indeed. But installing them silently from an installer is not nice either.
It would be nice to have a better solution for (3) as is true for linux: buttons in file dialogs that take you straight to the default or user's templates. It would be good as well to have something similar for LyX's default example files, which are currently invisible to Mac users.
I was believing this button fix would also work for Mac. But as you say it doesn't. But doing that or something similar on Mac shouldn't be too hard. Can you write a bug report with that to Bugzilla?
Stefan
PGP.sig
Description: Signierter Teil der Nachricht