Jean-Marc Lasgouttes wrote:

>>>>>> "Georg" == Georg Baum
>>>>>> <[EMAIL PROTECTED]>
>>>>>> writes:
> 
> Georg> The first problem which has not beed addressed yet is that
> Georg> insets that return true in noFontChange() inherit the
> Georg> environment font on screen but don't inherit it in the .tex
> Georg> output. This is fixed by the attached patch. OK to apply?
> 
> No, I think you got it backwards. AFAIK, noFontChange means that font
> change should be done like
> \textbf{bla}\begin{tabular}\textbf{foo}\end{tabular}\textbf{baz}
> instead of
> \textbf{bla\begin{tabular}foo\end{tabular}baz}

This is not how it works now (in 1.3 and 1.4), at least not for tables.
Assuming that the table cells have no explicit font setting, we'll get

\textbf{bla}\begin{tabular}foo\end{tabular}\textbf{baz}

> because in particular there can be empty lines in there. See bug 172
> http://bugzilla.lyx.org/show_bug.cgi?id=172
> 
> So what you should do is make sure that the LaTeX output contains the
> \textbf when noFontChange is true (that is, you reduce the font agains
> the layout font or something).

That would certainly be possible, but it would be a file format change.


Georg

Reply via email to