Skip to main content

pmml_text_aux

Function pmml_text_aux 

Source
pub fn pmml_text_aux(
    doc: &PostDocument,
    node: &Node,
    attrs: &TextAttrs,
) -> Vec<NodeData>
Expand description

Convert a text node within XMText to Presentation MathML.

Port of pmml_text_aux (MathML.pm L1029-1077). attrs is Perl’s %attr: the presentation attributes accumulated from the enclosing ltx:* elements, which stylize_text_content then puts on the m:mtext. The top-level caller (the ltx:XMText arm of pmml_internal, Perl L494-498) passes an empty set, exactly as Perl’s bare pmml_text_aux($_) does.