[RFC][PATCH] WIP: Reimplement support for numbering of equation previews

Kornel Benko kornel at lyx.org
Wed Jul 20 19:17:41 UTC 2022


Am Wed, 20 Jul 2022 21:03:19 +0200
schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:

> 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.

I tried, but this looked OK (with && without the patch).
The look identical and with correct numbering.

> JMarc

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220720/a6f101bf/attachment.asc>


More information about the lyx-devel mailing list