[NTG-context] annotation?

Hans van der Meer havdmeer at ziggo.nl
Sun May 18 09:59:29 CEST 2014


The following mathml code typesets "x+1" twice. 

How can I select between either the mathml code or the annotation form? Thus avoiding having them typeset both.

Hans van der Meer

\startbuffer[example-1]
<?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN"
           "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">
<math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
  	<mrow><mi> x </mi> <mo> + </mo> <mn> 1 </mn> </mrow>
  <annotation encoding="TeX">
     x + 1
  </annotation>
</math> 




More information about the ntg-context mailing list