current font parameters are not updated in math equations

Udicoudco udifoglle at gmail.com
Sun Jun 9 11:51:52 UTC 2024


On Sun, Jun 9, 2024 at 2:42 PM Enrico Forestieri <forenr at lyx.org> wrote:
>
> Should be fixed at afb70c90.
>

Just tested and it looks great, thanks! any chance it will be
backported as it made some shortcuts to not work properly?

> >To me, it looks like the text in equations does not update any
> >parameters
> >of the current font.
> >
> >The changes in the LaTeX source can be explained by 58103cf, but this
> >commit is not the fault, it just worsen the symptoms.
>
> Yes, this was also broken in 2.3. The code simply expected all text
> properties to be specified instead of just some of them. In 2.3 only the
> color was taken into account and thus the breakage was limited to that
> case only. However, using the text properties dialog everything should
> have worked right.

That is what I suspect, thanks for confirming.

> Note that the code is expecting numerical parameters, so that
> "textstyle-update series bold" does not work. One should use
> "textstyle-update series 1", instead.

ah yes, thanks for the correction.

Udi

> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel


More information about the lyx-devel mailing list