The attached example of a footnote in bold text gives the following in 2.3: \textbf{qfsdfsdfsdfsdf}\footnote{sdfsdfsdf}
Note that the footnote inset is in bold like the rest of the top level paragraph.
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.
Jürgen, I am sorry to reopen this can of worms, but I feel it has to be settled before 2.4.
JMarc
bold_footnote.lyx
Description: application/lyx
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel