[LyX/master] Fix font inside footnote inset

Scott Kostyshak skostysh at lyx.org
Sun Feb 6 14:25:59 UTC 2022


On Fri, Dec 31, 2021 at 01:11:59PM +0100, Jean-Marc Lasgouttes wrote:
> commit 0789f2f2ae43742da200a27f10403f4c6a68713d
> Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
> Date:   Fri Dec 3 12:16:40 2021 +0100
> 
>     Fix font inside footnote inset
>     
>     An inset that resets its font (like Footnote) does not care at all
>     about enclosing font. Therefore the real starting point is the class
>     default font. This avoid cases where the footnote contents is forced
>     to \normalsize.
>     
>     It turns out that the Greyedout note inset, did inherit font but was
>     declared as not doing it. This commmit changes the definition by
>     adding \normalfont\normalsize so that no inheritance happens.
>     
>     Note that actually \normalfont resets everything but the font size.
>     This does not matter for footnote (which has its own font size) and
>     greyedout (which is fixed now), but may matter elsewhere. Also, I do
>     not know what the situation with HTML is.
> ---

This seems to break compilation of:

  templates/Posters/Beamerposter.lyx

I thought I had run the ctests on your patch before you committed, but I
must have messed something up.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220206/90ef1050/attachment.asc>


More information about the lyx-devel mailing list