One last strike against inheritFont() in LaTeX output

Jürgen Spitzmüller spitz at
Sat Apr 17 13:57:03 UTC 2021

Am Dienstag, dem 13.04.2021 um 14:33 +0200 schrieb Jean-Marc
> 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)


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

More information about the lyx-devel mailing list