Juergen Spitzmueller wrote:

> Georg Baum wrote:
>> Do you have a test case where this is a problem? At the moment I can't
>> see one.
> 
> - Make a fixed width tabular cell
> - chose a non-standard layout (e.g. itemize)
> - reset tabular cell to non-fixed width
> - (the layout combo is correctly greyed out, but still shows itemize)
> - Now run latex
> 
> If I understand the code correctly, paragraph.C should take care that
> standard layout is used in this case. But that code never triggers in
> tabular.
> 
> Does this help?

Yes. I can reproduce this behaviour, but I think that the correct fix is a
different one. What you describe is a way to fool LyX so that you can
create invalid tables. A different possibility would be to edit the .lyx
file by hand.
I don't think that a user understands that his nice itemize list is output
as normal paragraphs. IMHO the correct solution is to make it impossible to
create invalid tables: Check them after reading from the .lyx file, and
disable every operation that would create invalid tables. In this
particular case the change from fixed width to standard should change all
layouts to standard (which happens in 1.3 BTW). I'll have a look, it should
not be difficult to reimplement.


Georg

Reply via email to