Migration tool had been assuming legacy <formula> element would contain a single MathML, LaTex formula. But some legacy courses include mixed content within a formula block. Have seen:
two delimited inline LaTeX expressions (the second to add a boxed theorem number);
a rich text formula followed by a delimited inline LaTeX formula (again, second to add a boxed number)
Two MathML expressions linked by plain text " iff ".
This adjusts to only convert legacy formula to torus formula/formula-inline in the case of a single LaTex or MathML expression. Otherwise leaves it as a callout with rich text. Delimited formulas within callout content will be handled by general handling of formulas in rich text content.
Migration tool had been assuming legacy
<formula>
element would contain a single MathML, LaTex formula. But some legacy courses include mixed content within a formula block. Have seen:This adjusts to only convert legacy formula to torus formula/formula-inline in the case of a single LaTex or MathML expression. Otherwise leaves it as a callout with rich text. Delimited formulas within callout content will be handled by general handling of formulas in rich text content.