On Wed, Jul 30, 2025 at 08:46:19AM +0200, Jürgen Spitzmüller wrote:
As I said, I beg to differ. If we make exceptions where to draw the
line? We could as well ditch all reversion routines then, would save
us
quite some efforts. I also do not think that the error message
(undefined command sequence) is really obvious to users not very
familiar with LaTeX.
But of course, if I am the only one, go ahead.
Having written that, what I think would be OK is to allow users in
their local versions to add symbols without having to recompile the
source. So we could add the patch but try to provide proper file format
compatibility in what we add upstream (as for layouts etc.).
I don't understand. Now it is very easy to add a definition for on
screen representation of some symbol defined in a package. No need for
this patch for that.
Indeed, you now can add such a definition to your local copy of the
system symbol file after including it. Such a definition plays the role
of the LyX part of a math macro defined in the GUI.
Otherwise, you would have to define a GUI math macro giving it a
different name, inserting the real macro you would like to use in the
TeX part and filling the LyX part for on screen representation.
So, I think it is Ok as it is now, and, in this regard, the patch is
supefluous. I thought about it after reading the FIXME hinting at the
fact that it is not possible to actually use a package unknown to LyX.
But I then realized that there could be some issues, not as serious as
you say they are, though.
Without the patch, one should either define the macro in the document
preamble or load a package defining it. That's all, and I think it is
already Ok like that.
So, I am not pushing for the patch (on the contrary, I am slightly
inclined to not apply it) but if it is deemed useful despite some cons,
I don't think it would be the end of the world. I don't think it is all
either white or black but there are many colors in between.
In conclusion, I don't think the patch is necessary and it may cause
some issues, so I am not going to apply it unless there is consensus.
--
Enrico
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel