One last strike against inheritFont() in LaTeX output
Jürgen Spitzmüller
spitz at lyx.org
Sat Apr 17 13:57:03 UTC 2021
Am Dienstag, dem 13.04.2021 um 14:33 +0200 schrieb Jean-Marc
Lasgouttes:
> In 2.4 the output is visually the same, but the code is weird:
> \textbf{qfsdfsdfsdfsdf}{\bfseries\footnote{\textmd{sdfsdfsdf}}}
>
> The good change is that the \footnote is in a bold context as it should
> (the LaTeX style could be improved, but this is not 2.4 matters).
>
> But the bad change is that there is a \textmd inside the \footnote{}
> that does not make sense: inheritFont=false already tells that the font
> has been reset inside the footnote, why would we have to reset (again)
> to medium wight?
>
> I think that we should just ignore these outer font issues and generate
> the explicit font changes of the inner inset. But of course, there may
> be backward compatibility issues I am not aware of.
I agree with the argument about the LaTeX code redundancy. The context
of the change is probably (IIRC)
https://www.lyx.org/trac/ticket/10110
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210417/50172894/attachment.asc>
More information about the lyx-devel
mailing list