[Bug 151110] Re: any multiline equation inside a table in Lyx 1.50 breaks
Since it looks like - the format of my original problem file upload is wrong (it is stored as an HTML file; I can't get it to work) - this behaviour is documented, and maybe LyX is not ultimately intended to shield users from all LaTeX issues - @andrikos has spelled out how to do what I was trying to do. Thank you!! - it's been $>$ a decade - I never reported it upstream? I propose to close this! Invalid or Fix Released? ** Changed in: lyx (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/151110 Title: any multiline equation inside a table in Lyx 1.50 breaks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/151110/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 151110] Re: any multiline equation inside a table in Lyx 1.50 breaks
You need to specify a width for the column which contains the equations. This will use "m" type for the row which will work. You can find a sample .lyx file attached which worked for me in Lyx 2.3 (Ubuntu 20.04) ** Attachment added: "Working eqnarray within tabular" https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/151110/+attachment/5436391/+files/okTabular.lyx -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/151110 Title: any multiline equation inside a table in Lyx 1.50 breaks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/151110/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 151110] Re: any multiline equation inside a table in Lyx 1.50 breaks
You might want to open an upstream bug, but I am not sure that it will get more attention there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/151110 Title: any multiline equation inside a table in Lyx 1.50 breaks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/151110/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 151110] Re: any multiline equation inside a table in Lyx 1.50 breaks
Oh, that's interesting that it's documented. I didn't see that. Still, even if it worked properly by not allowing the user to do illegal things, the documentation for what is and isn't possible should still be there. So I still prefer to keep this open, and set to confirmed -- thanks. ** Changed in: lyx (Ubuntu) Status: New => Confirmed -- any multiline equation inside a table in Lyx 1.50 breaks https://bugs.launchpad.net/bugs/151110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 151110] Re: any multiline equation inside a table in Lyx 1.50 breaks
Thank you, but I beg to differ. This is a bug. LyX lets you do something which you should not be able to do, since LyX cannot compile it. Requesting LyX to allow you to do it and make proper LaTeX code may be a feature request, but stopping you from typing something which is sure to break compilation is a bug fix. ** Changed in: lyx (Ubuntu) Status: Invalid => New -- any multiline equation inside a table in Lyx 1.50 breaks https://bugs.launchpad.net/bugs/151110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 151110] Re: any multiline equation inside a table in Lyx 1.50 breaks
That's not a bug in LyX, it's a restriction in TeX. You cannot use an eqnarray environment inside a cell of type c, l or r. \parbox or a minipage environment is required, or a p column (or b, m with the array package). Fix with LyX: insert a box (minipage). Possible fix in the exported TeX file for instance with a column of type p instead of c: \begin{tabular}{|c|p{4cm}|} \hline & \tabularnewline \hline \hline & \begin{eqnarray*} a & = & b\\ & = & b\end{eqnarray*} \tabularnewline \hline \end{tabular} Btw. it would be better to use an align environment instead of eqnarray, for an explanation you may look at: http://texblog.net/latex- archive/maths/eqnarray-align-environment/ ** Changed in: lyx (Ubuntu) Status: New => Invalid -- any multiline equation inside a table in Lyx 1.50 breaks https://bugs.launchpad.net/bugs/151110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 151110] Re: any multiline equation inside a table in Lyx 1.50 breaks
** Changed in: lyx (Ubuntu) Sourcepackagename: None => lyx -- any multiline equation inside a table in Lyx 1.50 breaks https://bugs.launchpad.net/bugs/151110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 151110] Re: any multiline equation inside a table in Lyx 1.50 breaks
** Attachment added: "brokenTabular.lyx" http://launchpadlibrarian.net/9920773/brokenTabular.lyx -- any multiline equation inside a table in Lyx 1.50 breaks https://bugs.launchpad.net/bugs/151110 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs