Only mark symbols belonging to MML token elements
This commit is contained in:
parent
6f92838e19
commit
ec8fd3c1a8
@ -306,7 +306,7 @@ local function radical_to_table(radical, sub, cur_style)
|
|||||||
local elem
|
local elem
|
||||||
if kind == 'radical' or kind == 'uradical' then
|
if kind == 'radical' or kind == 'uradical' then
|
||||||
-- FIXME: Check that this is really a square root
|
-- FIXME: Check that this is really a square root
|
||||||
elem, core = {[0] = 'msqrt', nucleus, [':node'] = left[':node'], }, nil
|
elem, core = {[0] = 'msqrt', nucleus, }, nil
|
||||||
elseif kind == 'uroot' then
|
elseif kind == 'uroot' then
|
||||||
-- FIXME: Check that this is really a root
|
-- FIXME: Check that this is really a root
|
||||||
elem, core = {[0] = 'msqrt', nucleus, kernel_to_table(radical.degree)}, nil
|
elem, core = {[0] = 'msqrt', nucleus, kernel_to_table(radical.degree)}, nil
|
||||||
@ -332,7 +332,6 @@ local function fraction_to_table(fraction, sub, cur_style)
|
|||||||
local mfrac = {[0] = 'mfrac',
|
local mfrac = {[0] = 'mfrac',
|
||||||
linethickness = fraction.width and fraction.width == 0 and 0 or nil,
|
linethickness = fraction.width and fraction.width == 0 and 0 or nil,
|
||||||
bevelled = fraction.middle and "true" or nil,
|
bevelled = fraction.middle and "true" or nil,
|
||||||
[':node'] = fraction,
|
|
||||||
num,
|
num,
|
||||||
denom,
|
denom,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user