"HeldMathMLExpression" (Interpreter Type)

MathML input.

Details

Allowed Forms

  • Any valid MathML expression.

Restriction Specifications

Interpretation

Examples

Basic Examples  (6)

Interpret MathML inputs without evaluating them:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

No evaluation is attempted when matching the choices:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

By default, all symbols are allowed. Restrict to a list of allowed symbols:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

By default, new symbols are created in $Context, but a custom context can be specified:

In[1]:=
Click for copyable input
Out[1]=
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Out[2]=

Specify contexts for the allowed and output symbols:

In[1]:=
Click for copyable input
Out[1]=

Prevent the creation of any new symbol:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Related Interpreters

See Also

"LaTeX"  "XHTML"  Interpreter  Restricted  Failure  HoldComplete