mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug #10499
The array environment has to be explicitly parsed in math mode.
(cherry picked from commit 1a286c7910
)
This commit is contained in:
parent
ad8f574277
commit
112616a97b
@ -1606,7 +1606,7 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags,
|
||||
docstring const halign = parse_verbatim_item();
|
||||
cell->push_back(MathAtom(new InsetMathArray(buf, name,
|
||||
InsetMathGrid::guessColumns(halign), 1, (char)valign[0], halign)));
|
||||
parse2(cell->back(), FLAG_END, mode, false);
|
||||
parse2(cell->back(), FLAG_END, InsetMath::MATH_MODE, false);
|
||||
}
|
||||
|
||||
else if (name == "tabular") {
|
||||
|
@ -48,6 +48,8 @@ The "Rows & Columns" optional submenu has been added to the math context menu.
|
||||
|
||||
- Fix toprule with booktabs/longtable and captions (bug 11589).
|
||||
|
||||
- Avoid adding spaces when parsing an array in a macro template (bug 10499).
|
||||
|
||||
|
||||
* USER INTERFACE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user