mml 2.3.0 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (336) hide show
  1. checksums.yaml +4 -4
  2. data/.gitmodules +9 -0
  3. data/.rubocop.yml +4 -0
  4. data/.rubocop_todo.yml +83 -18
  5. data/Gemfile +0 -2
  6. data/README.adoc +176 -47
  7. data/Rakefile +16 -1
  8. data/lib/mml/base/common_attributes.rb +44 -0
  9. data/lib/mml/base/content/annotation.rb +28 -0
  10. data/lib/mml/base/content/annotation_xml.rb +31 -0
  11. data/lib/mml/base/content/apply.rb +27 -0
  12. data/lib/mml/base/content/arith.rb +243 -0
  13. data/lib/mml/base/content/bind.rb +27 -0
  14. data/lib/mml/base/content/bvar.rb +20 -0
  15. data/lib/mml/base/content/calculus.rb +103 -0
  16. data/lib/mml/base/content/cbytes.rb +24 -0
  17. data/lib/mml/base/content/cerror.rb +24 -0
  18. data/lib/mml/base/content/ci.rb +77 -0
  19. data/lib/mml/base/content/cn.rb +33 -0
  20. data/lib/mml/base/content/condition.rb +20 -0
  21. data/lib/mml/base/content/constants.rb +173 -0
  22. data/lib/mml/base/content/cs.rb +22 -0
  23. data/lib/mml/base/content/csymbol.rb +79 -0
  24. data/lib/mml/base/content/declare.rb +34 -0
  25. data/lib/mml/base/content/degree.rb +20 -0
  26. data/lib/mml/base/content/elementary_functions.rb +309 -0
  27. data/lib/mml/base/content/fn.rb +25 -0
  28. data/lib/mml/base/content/functions.rb +85 -0
  29. data/lib/mml/base/content/interval.rb +24 -0
  30. data/lib/mml/base/content/inverse.rb +25 -0
  31. data/lib/mml/base/content/lambda.rb +20 -0
  32. data/lib/mml/base/content/linear_algebra.rb +122 -0
  33. data/lib/mml/base/content/logic.rb +93 -0
  34. data/lib/mml/base/content/otherwise.rb +20 -0
  35. data/lib/mml/base/content/piece.rb +20 -0
  36. data/lib/mml/base/content/piecewise.rb +20 -0
  37. data/lib/mml/base/content/relations.rb +113 -0
  38. data/lib/mml/base/content/reln.rb +19 -0
  39. data/lib/mml/base/content/semantics.rb +27 -0
  40. data/lib/mml/base/content/sep.rb +19 -0
  41. data/lib/mml/base/content/sets.rb +163 -0
  42. data/lib/mml/base/content/share.rb +22 -0
  43. data/lib/mml/base/content/statistics.rb +95 -0
  44. data/lib/mml/base/content/vector_calculus.rb +63 -0
  45. data/lib/mml/base/content_loader.rb +195 -0
  46. data/lib/mml/base/maction.rb +1 -0
  47. data/lib/mml/base/math.rb +47 -0
  48. data/lib/mml/base/menclose.rb +1 -1
  49. data/lib/mml/base/mfenced.rb +2 -2
  50. data/lib/mml/base/mglyph.rb +2 -2
  51. data/lib/mml/base/mi.rb +9 -6
  52. data/lib/mml/base/mlabeledtr.rb +2 -6
  53. data/lib/mml/base/mn.rb +3 -2
  54. data/lib/mml/base/mo.rb +3 -3
  55. data/lib/mml/base/mrow.rb +0 -2
  56. data/lib/mml/base/ms.rb +4 -6
  57. data/lib/mml/base/mscarries.rb +1 -1
  58. data/lib/mml/base/mspace.rb +0 -2
  59. data/lib/mml/base/mstyle.rb +4 -8
  60. data/lib/mml/base/mtable.rb +8 -0
  61. data/lib/mml/base/mtd.rb +6 -0
  62. data/lib/mml/base/mtext.rb +0 -2
  63. data/lib/mml/base/semantics.rb +4 -2
  64. data/lib/mml/base/universal_presentation_attributes.rb +46 -0
  65. data/lib/mml/base/v3_common.rb +16 -0
  66. data/lib/mml/base/v3_presentation_attributes.rb +15 -0
  67. data/lib/mml/base/v4_attributes.rb +4 -18
  68. data/lib/mml/base.rb +11 -0
  69. data/lib/mml/common_elements.rb +336 -0
  70. data/lib/mml/context_configuration.rb +29 -0
  71. data/lib/mml/v2/annotation.rb +9 -0
  72. data/lib/mml/v2/annotation_xml.rb +9 -0
  73. data/lib/mml/v2/apply.rb +9 -0
  74. data/lib/mml/v2/arith.rb +93 -0
  75. data/lib/mml/v2/bind.rb +9 -0
  76. data/lib/mml/v2/bvar.rb +9 -0
  77. data/lib/mml/v2/calculus.rb +33 -0
  78. data/lib/mml/v2/ci.rb +9 -0
  79. data/lib/mml/v2/cn.rb +9 -0
  80. data/lib/mml/v2/common_elements.rb +34 -0
  81. data/lib/mml/v2/condition.rb +9 -0
  82. data/lib/mml/v2/configuration.rb +13 -0
  83. data/lib/mml/v2/constants.rb +65 -0
  84. data/lib/mml/v2/csymbol.rb +9 -0
  85. data/lib/mml/v2/degree.rb +9 -0
  86. data/lib/mml/v2/elementary_functions.rb +121 -0
  87. data/lib/mml/v2/fn.rb +9 -0
  88. data/lib/mml/v2/functions.rb +29 -0
  89. data/lib/mml/v2/interval.rb +9 -0
  90. data/lib/mml/v2/inverse.rb +9 -0
  91. data/lib/mml/v2/lambda.rb +9 -0
  92. data/lib/mml/v2/linear_algebra.rb +41 -0
  93. data/lib/mml/v2/logic.rb +33 -0
  94. data/lib/mml/v2/maction.rb +9 -0
  95. data/lib/mml/v2/maligngroup.rb +9 -0
  96. data/lib/mml/v2/malignmark.rb +9 -0
  97. data/lib/mml/v2/math.rb +11 -0
  98. data/lib/mml/v2/menclose.rb +9 -0
  99. data/lib/mml/v2/merror.rb +9 -0
  100. data/lib/mml/v2/mfenced.rb +9 -0
  101. data/lib/mml/v2/mfrac.rb +9 -0
  102. data/lib/mml/v2/mfraction.rb +9 -0
  103. data/lib/mml/v2/mglyph.rb +9 -0
  104. data/lib/mml/v2/mi.rb +9 -0
  105. data/lib/mml/v2/mlabeledtr.rb +9 -0
  106. data/lib/mml/v2/mlongdiv.rb +9 -0
  107. data/lib/mml/v2/mmultiscripts.rb +9 -0
  108. data/lib/mml/v2/mn.rb +9 -0
  109. data/lib/mml/v2/mo.rb +10 -0
  110. data/lib/mml/v2/mover.rb +9 -0
  111. data/lib/mml/v2/mpadded.rb +9 -0
  112. data/lib/mml/v2/mphantom.rb +9 -0
  113. data/lib/mml/v2/mprescripts.rb +9 -0
  114. data/lib/mml/v2/mroot.rb +9 -0
  115. data/lib/mml/v2/mrow.rb +9 -0
  116. data/lib/mml/v2/ms.rb +9 -0
  117. data/lib/mml/v2/mscarries.rb +9 -0
  118. data/lib/mml/v2/mscarry.rb +9 -0
  119. data/lib/mml/v2/msgroup.rb +9 -0
  120. data/lib/mml/v2/msline.rb +9 -0
  121. data/lib/mml/v2/mspace.rb +9 -0
  122. data/lib/mml/v2/msqrt.rb +9 -0
  123. data/lib/mml/v2/msrow.rb +9 -0
  124. data/lib/mml/v2/mstack.rb +9 -0
  125. data/lib/mml/v2/mstyle.rb +10 -0
  126. data/lib/mml/v2/msub.rb +9 -0
  127. data/lib/mml/v2/msubsup.rb +9 -0
  128. data/lib/mml/v2/msup.rb +9 -0
  129. data/lib/mml/v2/mtable.rb +9 -0
  130. data/lib/mml/v2/mtd.rb +9 -0
  131. data/lib/mml/v2/mtext.rb +9 -0
  132. data/lib/mml/v2/mtr.rb +9 -0
  133. data/lib/mml/v2/munder.rb +9 -0
  134. data/lib/mml/v2/munderover.rb +9 -0
  135. data/lib/mml/v2/namespace.rb +7 -0
  136. data/lib/mml/v2/none.rb +9 -0
  137. data/lib/mml/v2/otherwise.rb +9 -0
  138. data/lib/mml/v2/piece.rb +9 -0
  139. data/lib/mml/v2/piecewise.rb +9 -0
  140. data/lib/mml/v2/relations.rb +41 -0
  141. data/lib/mml/v2/reln.rb +13 -0
  142. data/lib/mml/v2/semantics.rb +9 -0
  143. data/lib/mml/v2/sep.rb +9 -0
  144. data/lib/mml/v2/sets.rb +57 -0
  145. data/lib/mml/v2/statistics.rb +33 -0
  146. data/lib/mml/v2/vector_calculus.rb +21 -0
  147. data/lib/mml/v2.rb +311 -0
  148. data/lib/mml/v3/annotation.rb +10 -0
  149. data/lib/mml/v3/annotation_xml.rb +10 -0
  150. data/lib/mml/v3/apply.rb +10 -0
  151. data/lib/mml/v3/arith.rb +115 -0
  152. data/lib/mml/v3/bind.rb +10 -0
  153. data/lib/mml/v3/calculus.rb +40 -0
  154. data/lib/mml/v3/cbytes.rb +10 -0
  155. data/lib/mml/v3/cerror.rb +10 -0
  156. data/lib/mml/v3/ci.rb +10 -0
  157. data/lib/mml/v3/cn.rb +10 -0
  158. data/lib/mml/v3/common_elements.rb +34 -0
  159. data/lib/mml/v3/constants.rb +80 -0
  160. data/lib/mml/v3/constructs.rb +55 -0
  161. data/lib/mml/v3/cs.rb +10 -0
  162. data/lib/mml/v3/csymbol.rb +10 -0
  163. data/lib/mml/v3/deprecated_content.rb +29 -0
  164. data/lib/mml/v3/elementary_functions.rb +145 -0
  165. data/lib/mml/v3/functions.rb +35 -0
  166. data/lib/mml/v3/linear_algebra.rb +50 -0
  167. data/lib/mml/v3/logic.rb +40 -0
  168. data/lib/mml/v3/maction.rb +1 -1
  169. data/lib/mml/v3/math.rb +7 -1
  170. data/lib/mml/v3/mi.rb +1 -0
  171. data/lib/mml/v3/mn.rb +1 -0
  172. data/lib/mml/v3/mo.rb +1 -0
  173. data/lib/mml/v3/mrow.rb +1 -0
  174. data/lib/mml/v3/ms.rb +1 -0
  175. data/lib/mml/v3/mstyle.rb +1 -0
  176. data/lib/mml/v3/mtext.rb +1 -0
  177. data/lib/mml/v3/relations.rb +50 -0
  178. data/lib/mml/v3/sets.rb +70 -0
  179. data/lib/mml/v3/statistics.rb +40 -0
  180. data/lib/mml/v3/vector_calculus.rb +25 -0
  181. data/lib/mml/v3.rb +25 -0
  182. data/lib/mml/v4/a.rb +4 -3
  183. data/lib/mml/v4/annotation.rb +10 -0
  184. data/lib/mml/v4/annotation_xml.rb +14 -0
  185. data/lib/mml/v4/apply.rb +9 -0
  186. data/lib/mml/v4/arith.rb +93 -0
  187. data/lib/mml/v4/calculus.rb +25 -0
  188. data/lib/mml/v4/cbytes.rb +9 -0
  189. data/lib/mml/v4/cerror.rb +9 -0
  190. data/lib/mml/v4/ci.rb +9 -0
  191. data/lib/mml/v4/cn.rb +9 -0
  192. data/lib/mml/v4/common_elements.rb +33 -0
  193. data/lib/mml/v4/constants.rb +65 -0
  194. data/lib/mml/v4/constructs.rb +49 -0
  195. data/lib/mml/v4/cs.rb +9 -0
  196. data/lib/mml/v4/csymbol.rb +9 -0
  197. data/lib/mml/v4/deprecated_content.rb +25 -0
  198. data/lib/mml/v4/elementary_functions.rb +118 -0
  199. data/lib/mml/v4/factorof.rb +9 -0
  200. data/lib/mml/v4/functions.rb +30 -0
  201. data/lib/mml/v4/limit.rb +9 -0
  202. data/lib/mml/v4/linear_algebra.rb +41 -0
  203. data/lib/mml/v4/logic.rb +33 -0
  204. data/lib/mml/v4/maction.rb +1 -2
  205. data/lib/mml/v4/maligngroup.rb +0 -1
  206. data/lib/mml/v4/malignmark.rb +0 -1
  207. data/lib/mml/v4/math.rb +1 -1
  208. data/lib/mml/v4/menclose.rb +0 -1
  209. data/lib/mml/v4/merror.rb +0 -1
  210. data/lib/mml/v4/mfenced.rb +0 -1
  211. data/lib/mml/v4/mfrac.rb +0 -1
  212. data/lib/mml/v4/mfraction.rb +0 -1
  213. data/lib/mml/v4/mglyph.rb +0 -1
  214. data/lib/mml/v4/mi.rb +1 -1
  215. data/lib/mml/v4/mlabeledtr.rb +0 -1
  216. data/lib/mml/v4/mlongdiv.rb +0 -1
  217. data/lib/mml/v4/mmultiscripts.rb +0 -1
  218. data/lib/mml/v4/mn.rb +1 -1
  219. data/lib/mml/v4/mo.rb +1 -1
  220. data/lib/mml/v4/mover.rb +0 -1
  221. data/lib/mml/v4/mpadded.rb +0 -1
  222. data/lib/mml/v4/mphantom.rb +0 -1
  223. data/lib/mml/v4/mprescripts.rb +0 -1
  224. data/lib/mml/v4/mroot.rb +0 -1
  225. data/lib/mml/v4/mrow.rb +1 -1
  226. data/lib/mml/v4/ms.rb +1 -1
  227. data/lib/mml/v4/mscarries.rb +0 -1
  228. data/lib/mml/v4/mscarry.rb +0 -1
  229. data/lib/mml/v4/msgroup.rb +0 -1
  230. data/lib/mml/v4/msline.rb +0 -1
  231. data/lib/mml/v4/mspace.rb +0 -1
  232. data/lib/mml/v4/msqrt.rb +0 -1
  233. data/lib/mml/v4/msrow.rb +0 -1
  234. data/lib/mml/v4/mstack.rb +0 -1
  235. data/lib/mml/v4/mstyle.rb +1 -1
  236. data/lib/mml/v4/msub.rb +0 -1
  237. data/lib/mml/v4/msubsup.rb +0 -1
  238. data/lib/mml/v4/msup.rb +0 -1
  239. data/lib/mml/v4/mtable.rb +0 -1
  240. data/lib/mml/v4/mtd.rb +0 -1
  241. data/lib/mml/v4/mtext.rb +1 -1
  242. data/lib/mml/v4/mtr.rb +0 -1
  243. data/lib/mml/v4/munder.rb +0 -1
  244. data/lib/mml/v4/munderover.rb +0 -1
  245. data/lib/mml/v4/none.rb +0 -1
  246. data/lib/mml/v4/relations.rb +37 -0
  247. data/lib/mml/v4/semantics.rb +0 -1
  248. data/lib/mml/v4/sets.rb +57 -0
  249. data/lib/mml/v4/statistics.rb +33 -0
  250. data/lib/mml/v4/tendsto.rb +9 -0
  251. data/lib/mml/v4/vector_calculus.rb +21 -0
  252. data/lib/mml/v4.rb +421 -44
  253. data/lib/mml/version.rb +1 -1
  254. data/lib/mml/versioned_parser.rb +1 -1
  255. data/lib/mml.rb +3 -1
  256. data/reference-docs/mathml-source/pubtext/mathmlspec.dtd +150 -0
  257. data/reference-docs/mathml-source/pubtext/xmlspec.dtd +2649 -0
  258. data/reference-docs/mathml-source/readme.txt +40 -0
  259. data/reference-docs/mathml-source/run +296 -0
  260. data/reference-docs/mathml-source/style/html/html2xhtml.xsl +216 -0
  261. data/reference-docs/mathml-source/style/html/images.xsl +98 -0
  262. data/reference-docs/mathml-source/style/html/mml6.xsl +1156 -0
  263. data/reference-docs/mathml-source/style/html/mmldiff.xsl +566 -0
  264. data/reference-docs/mathml-source/style/html/mmlspec.xsl +2531 -0
  265. data/reference-docs/mathml-source/style/html/slices-common.xsl +312 -0
  266. data/reference-docs/mathml-source/style/html/slices.xsl +48 -0
  267. data/reference-docs/mathml-source/style/html/xmlspec.xsl +2542 -0
  268. data/reference-docs/mathml-source/style/pdf/mathmlspec.xsl +2510 -0
  269. data/reference-docs/mathml-source/xml/changes.xml +773 -0
  270. data/reference-docs/mathml-source/xml/character-set.xml +1011 -0
  271. data/reference-docs/mathml-source/xml/content-element-def.xml +6143 -0
  272. data/reference-docs/mathml-source/xml/content-markup.xml +8178 -0
  273. data/reference-docs/mathml-source/xml/contributors.xml +425 -0
  274. data/reference-docs/mathml-source/xml/dom-bindings.xml +20 -0
  275. data/reference-docs/mathml-source/xml/dom-intro.xml +114 -0
  276. data/reference-docs/mathml-source/xml/fundamentals.xml +1646 -0
  277. data/reference-docs/mathml-source/xml/glossary.xml +519 -0
  278. data/reference-docs/mathml-source/xml/interface.xml +1096 -0
  279. data/reference-docs/mathml-source/xml/introduction.xml +724 -0
  280. data/reference-docs/mathml-source/xml/mathml-css-sample.xml +304 -0
  281. data/reference-docs/mathml-source/xml/mathml-dom.xml +3813 -0
  282. data/reference-docs/mathml-source/xml/mathml-spec.xml +356 -0
  283. data/reference-docs/mathml-source/xml/mixing.xml +982 -0
  284. data/reference-docs/mathml-source/xml/operator-dict.xml +551 -0
  285. data/reference-docs/mathml-source/xml/parsing.xml +2565 -0
  286. data/reference-docs/mathml-source/xml/presentation-markup.xml +6834 -0
  287. data/reference-docs/mathml-source/xml/references.xml +323 -0
  288. data/reference-docs/mathml-source/xml/validation-grammar.xml +877 -0
  289. data/schemas/README.adoc +17 -0
  290. data/schemas/mathml2/common/common-attribs.xsd +41 -0
  291. data/schemas/mathml2/common/math.xsd +126 -0
  292. data/schemas/mathml2/common/xlink-href.xsd +20 -0
  293. data/schemas/mathml2/content/CVS/Entries +16 -0
  294. data/schemas/mathml2/content/CVS/Repository +1 -0
  295. data/schemas/mathml2/content/CVS/Root +1 -0
  296. data/schemas/mathml2/content/arith.xsd +90 -0
  297. data/schemas/mathml2/content/calculus.xsd +146 -0
  298. data/schemas/mathml2/content/common-attrib.xsd +30 -0
  299. data/schemas/mathml2/content/constants.xsd +83 -0
  300. data/schemas/mathml2/content/constructs.xsd +260 -0
  301. data/schemas/mathml2/content/elementary-functions.xsd +117 -0
  302. data/schemas/mathml2/content/functions.xsd +73 -0
  303. data/schemas/mathml2/content/linear-algebra.xsd +173 -0
  304. data/schemas/mathml2/content/logic.xsd +53 -0
  305. data/schemas/mathml2/content/relations.xsd +55 -0
  306. data/schemas/mathml2/content/semantics.xsd +85 -0
  307. data/schemas/mathml2/content/sets.xsd +236 -0
  308. data/schemas/mathml2/content/statistics.xsd +136 -0
  309. data/schemas/mathml2/content/tokens.xsd +120 -0
  310. data/schemas/mathml2/content/tokens.xsd.~1.3.~ +119 -0
  311. data/schemas/mathml2/content/vector-calculus.xsd +88 -0
  312. data/schemas/mathml2/mathml2.xsd +59 -0
  313. data/schemas/mathml2/presentation/action.xsd +44 -0
  314. data/schemas/mathml2/presentation/characters.xsd +37 -0
  315. data/schemas/mathml2/presentation/common-attribs.xsd +113 -0
  316. data/schemas/mathml2/presentation/common-types.xsd +103 -0
  317. data/schemas/mathml2/presentation/error.xsd +40 -0
  318. data/schemas/mathml2/presentation/layout.xsd +195 -0
  319. data/schemas/mathml2/presentation/scripts.xsd +186 -0
  320. data/schemas/mathml2/presentation/space.xsd +52 -0
  321. data/schemas/mathml2/presentation/style.xsd +69 -0
  322. data/schemas/mathml2/presentation/table.xsd +216 -0
  323. data/schemas/mathml2/presentation/tokens.xsd +124 -0
  324. data/schemas/mathml3/mathml3-common.xsd +99 -0
  325. data/schemas/mathml3/mathml3-content.xsd +684 -0
  326. data/schemas/mathml3/mathml3-presentation.xsd +2151 -0
  327. data/schemas/mathml3/mathml3-strict-content.xsd +186 -0
  328. data/schemas/mathml3/mathml3.xsd +9 -0
  329. data/schemas/mathml4/mathml4-content.rnc +382 -0
  330. data/schemas/mathml4/mathml4-core.rnc +361 -0
  331. data/schemas/mathml4/mathml4-presentation.rnc +358 -0
  332. data/schemas/mathml4/mathml4-strict-content.rnc +86 -0
  333. data/schemas/mathml4/mathml4.rnc +21 -0
  334. data/schemas/mathml4/mathml4.rnc.1 +21 -0
  335. data/schemas/mathml4/mathml4.rng +37 -0
  336. metadata +249 -2
@@ -0,0 +1,356 @@
1
+ <?xml version="1.0" ?>
2
+ <!-- $Id: mathml-spec.xml,v 1.144 2003/10/18 10:47:38 davidc Exp $ -->
3
+ <!DOCTYPE spec SYSTEM "../pubtext/mathmlspec.dtd" [
4
+
5
+ <!-- entities for front-matter -->
6
+ <!ENTITY pub.mail "www-math@w3.org">
7
+ <!ENTITY date.day "21">
8
+ <!ENTITY date.month "October">
9
+ <!ENTITY date.monthnum "10">
10
+ <!ENTITY date.year "2003">
11
+ <!ENTITY doc.date "&date.year;&date.monthnum;&date.day;">
12
+ <!ENTITY doc.prefix "REC-MathML2-">
13
+ <!ENTITY doc.type "Recommendation">
14
+ <!ENTITY tr.url "http://www.w3.org/TR">
15
+ <!ENTITY this.url "&tr.url;/&date.year;/&doc.prefix;&doc.date;/">
16
+ <!ENTITY latest.url "&tr.url;/MathML2/">
17
+ <!ENTITY latest.loc "<loc href='&latest.url;'>&latest.url;</loc>">
18
+
19
+
20
+ <!-- entities for embedding -->
21
+ <!ENTITY introduction SYSTEM "introduction.xml" >
22
+ <!ENTITY fundamentals SYSTEM "fundamentals.xml" >
23
+ <!ENTITY presentation-markup SYSTEM "presentation-markup.xml" >
24
+ <!ENTITY content-markup SYSTEM "content-markup.xml" >
25
+ <!ENTITY mixing SYSTEM "mixing.xml" >
26
+ <!ENTITY character-set SYSTEM "character-set.xml" >
27
+ <!ENTITY interface SYSTEM "interface.xml" >
28
+ <!ENTITY dom-intro SYSTEM "dom-intro.xml" >
29
+ <!ENTITY parsing SYSTEM "parsing.xml" >
30
+ <!ENTITY operator-dict SYSTEM "operator-dict.xml" >
31
+ <!ENTITY validation-grammar SYSTEM "validation-grammar.xml" >
32
+ <!ENTITY content-element-def SYSTEM "content-element-def.xml" >
33
+ <!ENTITY mathml-dom SYSTEM "mathml-dom.xml" >
34
+ <!ENTITY mathml-css SYSTEM "mathml-css-sample.xml" >
35
+ <!ENTITY glossary SYSTEM "glossary.xml" >
36
+ <!ENTITY contributors SYSTEM "contributors.xml" >
37
+ <!ENTITY changes SYSTEM "changes.xml" >
38
+ <!ENTITY references SYSTEM "references.xml" >
39
+ <!ENTITY dom-bindings SYSTEM "dom-bindings.xml" >
40
+ <!ENTITY index SYSTEM "mathml-index.xml" >
41
+
42
+ <!ATTLIST el namespace CDATA #IMPLIED>
43
+ ]>
44
+
45
+ <spec w3c-doctype="rec">
46
+ <header>
47
+ <title>Mathematical Markup Language (MathML) Version 2.0 (Second Edition)</title>
48
+ <w3c-designation>&doc.prefix;&doc.date;</w3c-designation>
49
+ <w3c-doctype>W3C &doc.type;</w3c-doctype>
50
+ <pubdate><day>&date.day;</day> <month>&date.month;</month> <year>&date.year;</year>
51
+ </pubdate>
52
+ <publoc>
53
+ <loc href="&this.url;">&this.url;</loc>
54
+ </publoc>
55
+ <altlocs>
56
+ <loc href="overview-d.html">diff marked HTML version</loc>
57
+ <loc href="overview.xml">XHTML+MathML version</loc>
58
+ <loc href="mathml-p.pdf">PDF (paper formatted) version</loc>
59
+ <loc href="mathml-s.pdf">PDF (screen formatted) version</loc>
60
+ <loc href="mathml-source.zip">zip archive of XML sources and stylesheets</loc>
61
+ <loc href="mathml-html.zip">zip archive of (X)HTML documents</loc>
62
+ </altlocs>
63
+ <latestloc>
64
+ &latest.loc;
65
+ </latestloc>
66
+ <latestloc role="rec">
67
+ <loc href="&tr.url;/MathML/">&tr.url;/MathML/</loc>
68
+ </latestloc>
69
+ <prevlocs>
70
+ <loc href="&tr.url;/2003/PER-MathML2-20030804/">&tr.url;/2003/PER-MathML2-20030804/</loc>
71
+ <!--
72
+ <loc href="&tr.url;/2001/REC-MathML2-20010221/">&tr.url;/2001/REC-MathML2-20010221/</loc>
73
+ <loc href="&tr.url;/2003/WD-MathML2-20030411/">&tr.url;/2003/WD-MathML2-20030411/</loc>
74
+ <loc href="&tr.url;/2002/WD-MathML2-20021219/">&tr.url;/2002/WD-MathML2-20021219/</loc>
75
+ --></prevlocs>
76
+
77
+ <authlist>
78
+ <author>
79
+ <name>Ron Ausbrooks</name>
80
+ <affiliation>MacKichan Software</affiliation>
81
+ </author>
82
+ <author>
83
+ <name>Stephen Buswell</name>
84
+ <affiliation>Stilo Technology</affiliation>
85
+ </author>
86
+ <author role="editor">
87
+ <name>David Carlisle</name>
88
+ <affiliation>NAG</affiliation>
89
+ </author>
90
+ <author>
91
+ <name>St&eacute;phane Dalmas</name>
92
+ <affiliation>INRIA, Sophia Antipolis</affiliation>
93
+ </author>
94
+ <author>
95
+ <name>Stan Devitt</name>
96
+ <affiliation>Stratum Technical Services Ltd.</affiliation>
97
+ </author>
98
+ <author>
99
+ <name>Angel Diaz</name>
100
+ <affiliation>IBM Research Division, Yorktown Heights, NY</affiliation>
101
+ </author>
102
+ <author diff="add">
103
+ <name>Max Froumentin</name>
104
+ <affiliation>W3C</affiliation>
105
+ </author>
106
+ <author>
107
+ <name>Roger Hunter</name>
108
+ <affiliation>MacKichan Software</affiliation>
109
+ </author>
110
+ <author role="editor">
111
+ <name>Patrick Ion</name>
112
+ <affiliation>Mathematical Reviews, American Mathematical Society</affiliation>
113
+ </author>
114
+ <author diff="add">
115
+ <name>Michael Kohlhase</name>
116
+ <affiliation>Carnegie Mellon University</affiliation>
117
+ </author>
118
+ <author role="editor">
119
+ <name>Robert Miner</name>
120
+ <affiliation>Design Science, Inc.</affiliation>
121
+ </author>
122
+ <author role="editor">
123
+ <name>Nico Poppelier</name>
124
+ <affiliation>Penta Scope</affiliation>
125
+ </author>
126
+ <author>
127
+ <name>Bruce Smith</name>
128
+ </author>
129
+ <author>
130
+ <name>Neil Soiffer</name>
131
+ <affiliation>Wolfram Research</affiliation>
132
+ </author>
133
+ <author>
134
+ <name>Robert Sutor</name>
135
+ <affiliation>IBM Research Division, Yorktown Heights, NY</affiliation>
136
+ </author>
137
+ <author>
138
+ <name>Stephen Watt</name>
139
+ <affiliation>University of Western Ontario</affiliation>
140
+ </author>
141
+ </authlist>
142
+
143
+ <errataloc>
144
+ <loc href="http://www.w3.org/2003/06/mathml2e2-errata.html">errata</loc>
145
+ </errataloc>
146
+
147
+ <translationloc>
148
+ <loc href="http://www.w3.org/2001/02/MathML2-translations">http://www.w3.org/2001/02/MathML2-translations</loc>
149
+ </translationloc>
150
+
151
+ <status id="status">
152
+
153
+ <p diff="chg"><emph> This section describes the status of this document at the time
154
+ of its publication. Other documents may supersede this document. A
155
+ list of current W3C publications and the latest revision of this
156
+ technical report can be found in the <loc
157
+ href="http://www.w3.org/TR/">W3C technical reports index</loc> at
158
+ http://www.w3.org/TR/.</emph></p>
159
+
160
+ <p>
161
+ This <phrase diff="add">is a revised edition of a</phrase> document
162
+ <phrase diff="add">that</phrase> has been reviewed by W3C Members and other interested
163
+ parties and has been endorsed by the Director as a
164
+ <loc
165
+ href="http://www.w3.org/2003/06/Process-20030618/tr.html#RecsW3C">W3C
166
+ Recommendation</loc>.
167
+ <phrase diff="del">It
168
+ is a stable document and may be used as reference
169
+ material or cited as a normative reference from another
170
+ document. W3C's role in making the Recommendation is to draw attention
171
+ to the specification and to promote its widespread deployment. This
172
+ enhances the functionality and interoperability of the Web.</phrase>
173
+ </p>
174
+
175
+
176
+ <p>
177
+ This document has been produced by the <loc
178
+ href="http://www.w3.org/Math/">W3C Math Working Group</loc> as part of
179
+ <phrase diff="chg">W3C <loc
180
+ href="http://www.w3.org/Math/Activity">Math
181
+ Activity</loc>.
182
+ The goals of the W3C Math Working Group are
183
+ discussed in the <loc
184
+ href="http://www.w3.org/Math/Documents/Charter2001.html"> W3C Math WG
185
+ Charter</loc> (revised February 2000 and June 2001 from the original of 11
186
+ June 1998)</phrase>. A list of <intref
187
+ ref="contributors">participants in the W3C Math Working Group</intref>
188
+ is available.
189
+ </p>
190
+
191
+ <p diff="chg"> The MathML 2.0 (Second Edition) specification was reviewed extensively during its development,
192
+ as provided by the W3C Process. During that period the W3C Math Working
193
+ Group participants encouraged implementation using the specification and comment on
194
+ it; a report on <loc href="http://www.w3.org/Math/iandi/">Implementation and
195
+ Interoperability</loc> experiences and issues has been made public. It is
196
+ intended that this will be updated from time to time by the continuing work of the
197
+ W3C that oversees the MathML 2.0 Recommendation. The W3C Math Activity
198
+ maintains a public Web page <loc href="http://www.w3.org/Math/">http://www.w3.org/Math/</loc>
199
+ which contains further background information.
200
+ </p>
201
+
202
+ <p diff="add">
203
+ The preparation of a Second Edition of the MathML 2.0 Specification
204
+ allows the revision of that document to provide a coherent whole
205
+ containing corrections to all the known errata and clarifications of
206
+ some smaller issues that proved problematic. It is not the occasion
207
+ for any fundamental changes in the language MathML 2.0. To clarify this a
208
+ <loc href="./overview-d.html">diff-marked HTML version</loc> of this Second Edition
209
+ is made available.
210
+ </p>
211
+
212
+ <p>Public discussion of MathML and issues of support through the W3C
213
+ for mathematics on the Web takes place on <loc
214
+ href="mailto:&pub.mail;"> the public mailing list of the Math Working
215
+ Group</loc> (<loc
216
+ href="http://lists.w3.org/Archives/Public/www-math/">list archives</loc>).
217
+ To subscribe send an email to <loc
218
+ href="mailto:www-math-request@w3.org">www-math-request@w3.org</loc>
219
+ with the word <code>subscribe</code> in the subject line.
220
+ </p>
221
+
222
+ <p>
223
+ Please report errors in this document to <loc
224
+ href="mailto:&pub.mail;">www-math@w3.org</loc>.
225
+ <phrase diff="del">The list of known errors in
226
+ this document is available at
227
+ <loc href="http://www.w3.org/2001/02/MathML2-errata">http://www.w3.org/2001/02/MathML2-errata</loc>.</phrase>
228
+ </p>
229
+
230
+ <p diff="del">
231
+ The English version of this specification is the only normative
232
+ version. Information about translations of this document is available
233
+ at <loc href="http://www.w3.org/2001/02/MathML2-translations">http://www.w3.org/2001/02/MathML2-translations</loc>.
234
+ </p>
235
+
236
+ <p diff="del">The MathML 2.0 Recommendation is made available in different formats.
237
+ In case of a discrepancy between any of the derived forms and that found
238
+ in the W3C's archive of Recommendations the definitive version is
239
+ naturally the archived Recommendation.
240
+ </p>
241
+
242
+ <p diff="del">
243
+ A list of all current W3C Technical Reports can be found at <loc
244
+ href="http://www.w3.org/TR/">http://www.w3.org/TR</loc>.
245
+ </p>
246
+
247
+ <p diff="add">
248
+ Patent disclosures relevant to this specification may be found on
249
+ the Math Working Group's <loc href="http://www.w3.org/Math/Disclosures">patent
250
+ disclosure page</loc>.
251
+ </p>
252
+
253
+ <p><phrase diff="add">The basic structure of this document is the same as that of
254
+ the earlier MathML 2.0 Recommendation <bibref ref="MathML2"/>, with
255
+ the addition of an index in the new Appendix L.
256
+ MathML 2.0 itself was a revision of the earlier W3C Recommendation MathML 1.01
257
+ <bibref ref="MathML1"/>. It differed from it in that all chapters were updated and
258
+ two new ones and some appendices were added.</phrase>
259
+ </p>
260
+
261
+ <p diff="chg">Since MathML 1.01,
262
+ Chapters 1 and 2, which are introductory material, have been revised
263
+ to reflect the changes elsewhere in the document, and in the rapidly
264
+ evolving Web environment. Chapters 3 and 4 have been extended to
265
+ describe new functionalities added as well as smaller improvements of
266
+ material already proposed. Chapter 5 has been newly written to reflect
267
+ changes in the technology available. The major tables in Chapter 6
268
+ have been regenerated and reorganized to reflect an improved list of
269
+ characters useful for mathematics, and the text revised to reflect the
270
+ new situation in regard to Unicode. Chapter 7 has been completely
271
+ revised since Web technology has changed. A new Chapter 8 on the DOM for
272
+ MathML 2.0 has been added; the latter points to new appendices D and E for
273
+ detailed listings.</p>
274
+
275
+ <p diff="chg">The appendices have been reorganized into normative and
276
+ non-normative groups. The material in Appendices D, E, G and L
277
+ was not present in MathML 1.01.
278
+ </p>
279
+
280
+ </status>
281
+
282
+ <abstract id="abstract">
283
+
284
+ <p>This specification defines the Mathematical Markup Language, or <termdef
285
+ id="td-mathml" term="mathml">MathML</termdef>. MathML is an XML application
286
+ for describing mathematical notation and capturing both its structure and
287
+ content. The goal of MathML is to enable mathematics to be served,
288
+ received, and processed on the World Wide Web, just as <termdef
289
+ id="td-html" term="html">HTML</termdef> has enabled this functionality for
290
+ text.</p>
291
+
292
+ <p>This specification of the markup language MathML is intended
293
+ primarily for a readership consisting of those who will be developing
294
+ or implementing renderers or editors using it, or software that will
295
+ communicate using MathML as a protocol for input or output. It is
296
+ <emph>not</emph> a User's Guide but rather a reference document.</p>
297
+
298
+ <p>This document begins with background information on mathematical
299
+ notation, the problems it poses, and the philosophy underlying the
300
+ solutions MathML 2.0 proposes. MathML can be used to encode both
301
+ mathematical notation and mathematical content. About thirty of the
302
+ MathML tags describe abstract notational structures, while another
303
+ about one hundred and fifty provide a way of unambiguously specifying
304
+ the intended meaning of an expression. Additional chapters discuss how
305
+ the MathML content and presentation elements interact, and how MathML
306
+ renderers might be implemented and should interact with
307
+ browsers. Finally, this document addresses the issue of MathML
308
+ characters and their relation to fonts.</p>
309
+
310
+ <p>While MathML is human-readable, it is anticipated that, in all but
311
+ the simplest cases, authors will use equation editors, conversion
312
+ programs, and other specialized software tools to generate
313
+ MathML. Several <phrase diff="del">early </phrase>versions of such MathML tools already exist, and
314
+ a number of others, both freely available software and commercial
315
+ products, are under development.</p>
316
+ </abstract>
317
+
318
+ <langusage>
319
+ <language id="en">English</language>
320
+ </langusage>
321
+ <revisiondesc>
322
+ <p>This is revision 2.0 of MathML.</p>
323
+ </revisiondesc>
324
+ </header>
325
+
326
+ <body>
327
+ &introduction;
328
+ &fundamentals;
329
+ &presentation-markup;
330
+ &content-markup;
331
+ &mixing;
332
+ &character-set;
333
+ &interface;
334
+ &dom-intro;
335
+ </body>
336
+
337
+ <back>
338
+ <!-- normative appendices -->
339
+ &parsing;
340
+ &validation-grammar;
341
+ &content-element-def;
342
+ &mathml-dom;
343
+
344
+ <!-- non-normative appendices -->
345
+ &dom-bindings;
346
+ &operator-dict;
347
+ &mathml-css;
348
+ &glossary;
349
+ &contributors;
350
+ &changes;
351
+ &references;
352
+ &index;
353
+ </back>
354
+ </spec>
355
+
356
+