Le 17/01/2011 11:29, Joost Verburg a écrit :
On 1/17/2011 11:16 AM, Jean-Marc Lasgouttes wrote:
The reason why I never did it after me promises is that I stopped at
the question "what is LyXDir exactly?" I failed to find an answer
that is useful to windows, OSX and linux.
A poor excuse, I know :)
I'd say the location of the executable minus the "bin" if present, e.g.
"C:\Program Files\LyX20" on Windows.
OK, this would give typically:
unix: /usr/local
mac: /Application/LyX20.app
windows: C:\Program Files\LyX20
This makes sense to me. Now the two possible alternatives are
1/ parse a special ${LyXDir} variable
2/ make non absolute path elements relative to this LyXDir by default
JMarc