[LyX/master] Update layouts
José Matos
jaomatos at gmail.com
Mon Jun 3 15:00:43 UTC 2024
On Mon, 2024-06-03 at 16:15 +0200, Jürgen Spitzmüller wrote:
> Hm, I intentionally held that back unless we fix the problem
> discussed at https://marc.info/?l=lyx-devel&m=171733833610242&w=2
IMHO I think that for the moment the right approach is really to update
the layouts. :-)
The optimization that was suggested there it is relevant mainly for us.
This will bite users only if they have a large set of layout files
(like we do).
As far as I remember we have observed this in the past but the update
of all the layouts fixed this issue.
So I think that for the moment a pragmatic solution is to always update
the layouts when updating the layout format. By reviewing the changes
we can ensure that the update code does what it should.
We should also add a note somewhere to improve the update mechanism to
avoid that the same conversion is done over and over again. This
clearly falls under the definition of insanity: “Insanity is doing the
same thing over and over and expecting different results.” that is
(mis?)attributed to Einstein.
--
José Abílio
More information about the lyx-devel
mailing list