From 3c85b55e2f245fb7edac7e445f107e6d0bb423ae Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 16 Nov 2006 01:02:47 +0000
Subject: context update

git-svn-id: svn://tug.org/texlive/trunk@2444 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/context/base/x-newmmo.tex | 126 ++++++++++++++++++++++++
 1 file changed, 126 insertions(+)
 create mode 100644 Master/texmf-dist/tex/context/base/x-newmmo.tex

(limited to 'Master/texmf-dist/tex/context/base/x-newmmo.tex')

diff --git a/Master/texmf-dist/tex/context/base/x-newmmo.tex b/Master/texmf-dist/tex/context/base/x-newmmo.tex
new file mode 100644
index 00000000000..2becfb30a80
--- /dev/null
+++ b/Master/texmf-dist/tex/context/base/x-newmmo.tex
@@ -0,0 +1,126 @@
+%D \module
+%D   [       file=x-newmmo,
+%D        version=2006.05.17,
+%D          title=\CONTEXT\ XML Modules,
+%D       subtitle=MathML Renderer/Open Math Extensions,
+%D         author=Hans Hagen,
+%D           date=\currentdate,
+%D      copyright={PRAGMA ADE}]
+%C
+%C This module is part of the \CONTEXT\ macro||package and is
+%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
+%C details.
+
+%D Strange things, why not mapped onto normal content MathML and/or
+%D onto processing instructions.
+
+\unprotect
+
+%D \startbuffer
+%D <math xmlns="http://www.w3.org/1998/Math/MathML">
+%D     <vector>
+%D         <apply>
+%D             <csymbol definitionURL="http://www.openmath.org/cd/nums1#rational"/>
+%D             <ci>a</ci>
+%D             <cn type="integer">2</cn>
+%D         </apply>
+%D         <ci>a</ci>
+%D     </vector>
+%D </math>
+%D \stopbuffer
+%D
+%D \typebuffer \processXMLbuffer
+
+\startsetups mmc:csymbol:http://www.openmath.org/cd/nums1\string#rational
+    \MMLcreset
+    \getXMLstackdata\plustwo/\getXMLstackdata\plusthree
+\stopsetups
+
+%D \startbuffer
+%D <math xmlns="http://www.w3.org/1998/Math/MathML">
+%D     <apply>
+%D         <csymbol definitionURL="http://www.openmath.org/cd/math4all#diffquot"/>
+%D         <ci>y</ci>
+%D         <ci>x</ci>
+%D     </apply>
+%D </math>
+%D \stopbuffer
+%D
+%D \typebuffer \processXMLbuffer
+
+\startsetups mmc:csymbol:http://www.openmath.org/cd/math4all\string#diffquot
+    \MMLcreset
+    \frac {
+        \Delta\getXMLstackdata\plustwo
+    } {
+        \Delta\getXMLstackdata\plusthree
+    }
+\stopsetups
+
+%D \startbuffer
+%D <math xmlns="http://www.w3.org/1998/Math/MathML">
+%D     <apply>
+%D         <csymbol definitionURL="http://www.openmath.org/cd/math4all#difference"/>
+%D         <ci>y</ci>
+%D     </apply>
+%D </math>
+%D \stopbuffer
+%D
+%D \typebuffer \processXMLbuffer
+%D
+%D \startbuffer
+%D <math xmlns="http://www.w3.org/1998/Math/MathML">
+%D     <apply>
+%D         <csymbol definitionURL="http://www.openmath.org/cd/math4all#difference"/>
+%D         <apply>
+%D             <eq/>
+%D             <ci>y</ci>
+%D             <apply>
+%D                 <minus/>
+%D                 <apply>
+%D                     <ci>f</ci>
+%D                     <ci>x</ci>
+%D                 </apply>
+%D                 <apply>
+%D                     <ci>f</ci>
+%D                 <apply>
+%D                     <minus/>
+%D                     <ci>x</ci>
+%D                     <cn type="integer">1</cn>
+%D                 </apply>
+%D             </apply>
+%D         </apply>
+%D     </apply>
+%D </apply>
+%D </math>
+%D \stopbuffer
+%D
+%D \typebuffer \processXMLbuffer
+
+\startsetups mmc:csymbol:http://www.openmath.org/cd/math4all\string#difference
+    \MMLcreset
+    \Delta\getXMLstackdata\plustwo
+\stopsetups
+
+%D \startbuffer
+%D <math xmlns="http://www.w3.org/1998/Math/MathML">
+%D     <apply>
+%D         <csymbol definitionURL="http://www.openmath.org/cd/math4all#diff"/>
+%D         <ci>s</ci>
+%D         <ci>t</ci>
+%D     </apply>
+%D </math>
+%D \stopbuffer
+%D
+%D \typebuffer \processXMLbuffer
+
+\startsetups mmc:csymbol:http://www.openmath.org/cd/math4all\string#diff
+    \MMLcreset
+    \frac {
+        \mfunction{\getXMLentity{mathematicald}}\getXMLstackdata\plustwo
+    } {
+        \mfunction{\getXMLentity{mathematicald}}\getXMLstackdata\plusthree
+    }
+\stopsetups
+
+\protect \endinput
-- 
cgit v1.2.3

