Menu

#5260 lurkmathml typesets t(x) incorrectly

None
closed
5
5 days ago
5 days ago
Leo Butler
No

Consider:

(%i1) mathml(t(x));

<math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>true</mi> 
<mi>x</mi> </math>

When $T does not have a mathmlword property, the mathmlword functions uses stripdolar, which returns the Lisp symbol T and this is typeset as true. The solution is to replace stripdollar with mathml-stripdollar (this is similar to what is done in mactex.lisp).

Discussion

  • Leo Butler

    Leo Butler - 5 days ago

    This also affects the typesetting of t[x] and t[x](y), so we need to patch mathmlsym, too.

     
  • Leo Butler

    Leo Butler - 5 days ago
     
  • Leo Butler

    Leo Butler - 5 days ago
    • status: open --> closed
     

Log in to post a comment.