Jean-Marc Lasgouttes f4da29306f Reimplement support for numbering of equation previews
This patch simplifies and fixes the generation of previews with
numbering. Instead of saving the counter values (which is complicated
and error prone), the \thequation macro is set to the numbers_ string
which has been computed by updateBuffer for screen display.

Harcoding the number in the formula means that two equations with
different numbers have different previews, which is the subject of the
bug.

The special code for saving counters in updateBuffer and putputing
them in preparePreview from 645f9fdf (ticket #6894) is removed and
replaced by this simpler approach.

This fixes ticket #11535.
2022-07-26 00:19:20 +02:00
..
2021-05-25 03:51:29 +02:00
2021-05-25 03:51:29 +02:00
2021-03-05 13:06:10 +01:00
2021-02-28 22:32:11 +01:00
2021-05-25 03:51:29 +02:00
2021-05-25 03:51:29 +02:00
2021-01-06 14:08:00 +01:00
2021-05-25 03:51:29 +02:00
2021-03-06 23:36:58 +01:00
2021-03-06 23:36:58 +01:00
2021-02-27 14:49:55 +01:00
2021-03-05 21:21:41 +01:00
2021-01-06 14:08:00 +01:00
2022-07-13 19:11:03 +02:00
2020-12-03 00:38:27 +02:00
2021-02-27 21:40:28 +01:00

Inset 'Xyz' is implemented by 'MathXyzInset' in 'math_xyzinset.[hC]'


Inset hierarchy:

                                   MathInset
                                (abstract base)

                         /            |               \

              Dim                  Char               Symbol, Space, ...
         (thing that need       (for things formerly
          the width_/ascent_     known as characters)
          /descent_ cache)

          /             \

       Nest              Dots,  Func, ...
  (for thing with
   nested content)

        |         \

      Grid        Decoration   Delim   Frac  Macro  Root  Script  Sqrt

      /   \

 Array    Hull
         (base for eqnarray/align/...)