On 1/9/26 2:41 AM, José Matos wrote:
Hi Steve,
On Thu, 2026-01-08 at 18:46 -0500, Steve Litt wrote:
I would place it somewhere other than the LyXDir directory, because
this file is data created by you, and should be backed up and
protected according to this fact. I could conceive of a situation where
a re-installation of LyX could delete your hand-created file. I've had
this happen with other applications.
I suspect that there could be some kind of misunderstanding here between us. :-)
Even without talking to Riki I think that the suggestion of implementing this
in the next development version refers to the *User* LyXDir.
Yes, that is what I had in mind, but I think Steve may still have a
point. On Windows and OSX, I think we have to do various things to copy
over the user directory when we install new versions. I've also seen, on
my own system, ~/.lyx2.5, say, used as user directory for one version
and ~/.lyx2.4 for another. One might worry that files in one of these
could easily be lost on upgrade. Or when someone suggests moving the
user directory and starting afresh to deal with some problem.
That isn't necessarily a reason not to implement $LyXDir in this way,
but it might be a reason not to use it!
My own preference has always been simply to put the file of macros in
some central location (e.g., ~/Documents/) and use the full path to
include it.
Riki
--
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users