[RFC][PATCH] WIP: Reimplement support for numbering of equation previews
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Wed Jul 20 19:03:19 UTC 2022
Le 20/07/2022 à 17:14, Kornel Benko a écrit :
> Am Wed, 20 Jul 2022 00:52:34 +0200
> schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:
>
>> Hello,
>>
>> This patch implements an idea I had about previews and numbering of
>> equations. It seems to me that it solves issues and is simpler than what
>> we had (which had some bad hardcoding anyway), but since I am not a big
>> preview user, I am not sure of what is fixed, what is still broken and
>> what is newly broken.
>>
>> Solves #11535 Numbering of repeated previewed equations is wrong
>>
>> Should not break #6894 HTML export of math equations and referencing
>> (although I am not sure how to test that)
>>
>> Please test.
>>
>> JMarc
>
> Patch applies cleanly to lyx2.4 source and compiles. But I have not seen a difference in
> previews of example_11535.lyx.
This one was not a problem of numbering, but a demonstration of why we
cannot draw the numbers ourselves.
Try mwe_11535.lyx instead.
JMarc
More information about the lyx-devel
mailing list