Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-09-26 05:34:27


Author: johnmaddock
Date: 2007-09-26 05:34:26 EDT (Wed, 26 Sep 2007)
New Revision: 39539
URL: http://svn.boost.org/trac/boost/changeset/39539

Log:
Changed to use character escapes rather than MathML entities.
Also made sure that all the files are readable by the latest Mathcast release, and by SVGMath, and are valid XML.

Text files modified:
   sandbox/math_toolkit/libs/math/doc/equations/roots.xml | 90 ++++++++++++++++++++++++++++++++++-----
   sandbox/math_toolkit/libs/math/doc/equations/spherical.xml | 38 ++++++++--------
   sandbox/math_toolkit/libs/math/doc/equations/tools.xml | 32 +++++++-------
   3 files changed, 113 insertions(+), 47 deletions(-)

Modified: sandbox/math_toolkit/libs/math/doc/equations/roots.xml
==============================================================================
--- sandbox/math_toolkit/libs/math/doc/equations/roots.xml (original)
+++ sandbox/math_toolkit/libs/math/doc/equations/roots.xml 2007-09-26 05:34:26 EDT (Wed, 26 Sep 2007)
@@ -24,7 +24,7 @@
       <mi>x</mi>
       <mi>N</mi>
     </msub>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
     <mfrac>
       <mrow>
         <mi>f</mi>
@@ -36,7 +36,7 @@
       </mrow>
       <mrow>
         <mi>f</mi>
- <mo>&prime;</mo>
+ <mo>&#x2032;</mo>
         <mfenced>
           <mrow>
             <mi>x</mi>
@@ -63,7 +63,7 @@
       <mi>x</mi>
       <mi>N</mi>
     </msub>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
     <mfrac>
       <mrow>
         <mn>2</mn>
@@ -74,7 +74,7 @@
           </mrow>
         </mfenced>
         <mi>f</mi>
- <mo>&prime;</mo>
+ <mo>&#x2032;</mo>
         <mfenced>
           <mrow>
             <mi>x</mi>
@@ -87,7 +87,7 @@
           <mfenced>
             <mrow>
               <mi>f</mi>
- <mo>&prime;</mo>
+ <mo>&#x2032;</mo>
               <mfenced>
                 <mrow>
                   <mi>x</mi>
@@ -97,7 +97,7 @@
           </mfenced>
           <mn>2</mn>
         </msup>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
         <mi>f</mi>
         <mfenced>
           <mrow>
@@ -105,7 +105,7 @@
           </mrow>
         </mfenced>
         <mi>f</mi>
- <mo>&Prime;</mo>
+ <mo>&#x2033;</mo>
         <mfenced>
           <mrow>
             <mi>x</mi>
@@ -132,7 +132,7 @@
       <mi>x</mi>
       <mi>N</mi>
     </msub>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
     <mfrac>
       <mrow>
         <mi>f</mi>
@@ -144,7 +144,7 @@
       </mrow>
       <mrow>
         <mi>f</mi>
- <mo>&prime;</mo>
+ <mo>&#x2032;</mo>
         <mfenced>
           <mrow>
             <mi>x</mi>
@@ -152,11 +152,11 @@
         </mfenced>
       </mrow>
     </mfrac>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
     <mfrac>
       <mrow>
         <mi>f</mi>
- <mo>&Prime;</mo>
+ <mo>&#x2033;</mo>
         <mfenced>
           <mrow>
             <mi>x</mi>
@@ -182,7 +182,7 @@
           <mfenced>
             <mrow>
               <mi>f</mi>
- <mo>&prime;</mo>
+ <mo>&#x2032;</mo>
               <mfenced>
                 <mrow>
                   <mi>x</mi>
@@ -196,5 +196,71 @@
     </mfrac>
   </mrow>
 </math>
+<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
+ <mrow>
+ <mtable>
+ <mtr>
+ <mtd>
+ <mi>f</mi>
+ <mfenced>
+ <mrow>
+ <mi>x</mi>
+ </mrow>
+ </mfenced>
+ </mtd>
+ <mtd>
+ <mo>=</mo>
+ </mtd>
+ <mtd>
+ <msup>
+ <mi>x</mi>
+ <mn>3</mn>
+ </msup>
+ <mo>&#x2212;</mo>
+ <mi>a</mi>
+ </mtd>
+ </mtr>
+ <mtr>
+ <mtd>
+ <mi>f</mi>
+ <mo>&#x2032;</mo>
+ <mfenced>
+ <mrow>
+ <mi>x</mi>
+ </mrow>
+ </mfenced>
+ </mtd>
+ <mtd>
+ <mo>=</mo>
+ </mtd>
+ <mtd>
+ <mn>3</mn>
+ <msup>
+ <mi>x</mi>
+ <mn>2</mn>
+ </msup>
+ </mtd>
+ </mtr>
+ <mtr>
+ <mtd>
+ <mi>f</mi>
+ <mo>&#x2033;</mo>
+ <mfenced>
+ <mrow>
+ <mi>x</mi>
+ </mrow>
+ </mfenced>
+ </mtd>
+ <mtd>
+ <mo>=</mo>
+ </mtd>
+ <mtd>
+ <mn>6</mn>
+ <mi>x</mi>
+ </mtd>
+ </mtr>
+ </mtable>
+ </mrow>
+</math>
 </body>
 </html>
\ No newline at end of file

Modified: sandbox/math_toolkit/libs/math/doc/equations/spherical.xml
==============================================================================
--- sandbox/math_toolkit/libs/math/doc/equations/spherical.xml (original)
+++ sandbox/math_toolkit/libs/math/doc/equations/spherical.xml 2007-09-26 05:34:26 EDT (Wed, 26 Sep 2007)
@@ -18,9 +18,9 @@
     </msubsup>
     <mfenced>
       <mrow>
- <mi>&theta;</mi>
+ <mi>&#x03B8;</mi>
         <mo>,</mo>
- <mi>&phi;</mi>
+ <mi>&#x03C6;</mi>
       </mrow>
     </mfenced>
     <mspace width="1em"/>
@@ -37,7 +37,7 @@
           </mrow>
           <mrow>
             <mn>4</mn>
- <mi>&pi;</mi>
+ <mi>&#x03C0;</mi>
           </mrow>
         </mfrac>
         <mfrac>
@@ -45,7 +45,7 @@
             <mfenced>
               <mrow>
                 <mi>n</mi>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
                 <mi>m</mi>
               </mrow>
             </mfenced>
@@ -74,15 +74,15 @@
     <mfenced>
       <mrow>
         <mi>cos</mi>
- <mi>&theta;</mi>
+ <mi>&#x03B8;</mi>
       </mrow>
     </mfenced>
     <msup>
       <mi>e</mi>
       <mrow>
- <mi>&ImaginaryI;</mi>
+ <mi>&#x2148;</mi>
         <mi>m</mi>
- <mi>&phi;</mi>
+ <mi>&#x03C6;</mi>
       </mrow>
     </msup>
   </mrow>
@@ -101,9 +101,9 @@
         </msubsup>
         <mfenced>
           <mrow>
- <mi>&theta;</mi>
+ <mi>&#x03B8;</mi>
             <mo>,</mo>
- <mi>&phi;</mi>
+ <mi>&#x03C6;</mi>
           </mrow>
         </mfenced>
       </mrow>
@@ -122,7 +122,7 @@
           </mrow>
           <mrow>
             <mn>4</mn>
- <mi>&pi;</mi>
+ <mi>&#x03C0;</mi>
           </mrow>
         </mfrac>
         <mfrac>
@@ -130,7 +130,7 @@
             <mfenced>
               <mrow>
                 <mi>n</mi>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
                 <mi>m</mi>
               </mrow>
             </mfenced>
@@ -159,14 +159,14 @@
     <mfenced>
       <mrow>
         <mi>cos</mi>
- <mi>&theta;</mi>
+ <mi>&#x03B8;</mi>
       </mrow>
     </mfenced>
     <mi>cos</mi>
     <mfenced>
       <mrow>
         <mi>m</mi>
- <mi>&phi;</mi>
+ <mi>&#x03C6;</mi>
       </mrow>
     </mfenced>
   </mrow>
@@ -185,9 +185,9 @@
         </msubsup>
         <mfenced>
           <mrow>
- <mi>&theta;</mi>
+ <mi>&#x03B8;</mi>
             <mo>,</mo>
- <mi>&phi;</mi>
+ <mi>&#x03C6;</mi>
           </mrow>
         </mfenced>
       </mrow>
@@ -206,7 +206,7 @@
           </mrow>
           <mrow>
             <mn>4</mn>
- <mi>&pi;</mi>
+ <mi>&#x03C0;</mi>
           </mrow>
         </mfrac>
         <mfrac>
@@ -214,7 +214,7 @@
             <mfenced>
               <mrow>
                 <mi>n</mi>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
                 <mi>m</mi>
               </mrow>
             </mfenced>
@@ -243,14 +243,14 @@
     <mfenced>
       <mrow>
         <mi>cos</mi>
- <mi>&theta;</mi>
+ <mi>&#x03B8;</mi>
       </mrow>
     </mfenced>
     <mi>sin</mi>
     <mfenced>
       <mrow>
         <mi>m</mi>
- <mi>&phi;</mi>
+ <mi>&#x03C6;</mi>
       </mrow>
     </mfenced>
   </mrow>

Modified: sandbox/math_toolkit/libs/math/doc/equations/tools.xml
==============================================================================
--- sandbox/math_toolkit/libs/math/doc/equations/tools.xml (original)
+++ sandbox/math_toolkit/libs/math/doc/equations/tools.xml 2007-09-26 05:34:26 EDT (Wed, 26 Sep 2007)
@@ -21,26 +21,26 @@
     <mo>=</mo>
     <mspace width="1em"/>
     <munderover>
- <mo>&Sum;</mo>
+ <mo>&#x2211;</mo>
       <mrow>
         <mi>k</mi>
         <mo>=</mo>
         <mn>1</mn>
       </mrow>
- <mi>&infin;</mi>
+ <mi>&#x221E;</mi>
     </munderover>
     <mfrac>
       <mrow>
         <msup>
           <mfenced>
             <mrow>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
               <mn>1</mn>
             </mrow>
           </mfenced>
           <mrow>
             <mi>k</mi>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
             <mn>1</mn>
           </mrow>
         </msup>
@@ -104,7 +104,7 @@
                   </msub>
                 </mfrac>
                 <mo>+</mo>
- <mo>&hellip;</mo>
+ <mo>&#x2026;</mo>
               </mrow>
             </mfrac>
           </mrow>
@@ -159,7 +159,7 @@
                   </msub>
                 </mfrac>
                 <mo>+</mo>
- <mo>&hellip;</mo>
+ <mo>&#x2026;</mo>
               </mrow>
             </mfrac>
           </mrow>
@@ -194,7 +194,7 @@
                   <mrow>
                     <mn>1</mn>
                     <mo>+</mo>
- <mo>&hellip;</mo>
+ <mo>&#x2026;</mo>
                   </mrow>
                 </mfrac>
               </mrow>
@@ -220,7 +220,7 @@
       <mi>z</mi>
       <mrow>
         <mn>1</mn>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
         <mfrac>
           <msup>
             <mi>z</mi>
@@ -228,7 +228,7 @@
           </msup>
           <mrow>
             <mn>3</mn>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
             <mfrac>
               <msup>
                 <mi>z</mi>
@@ -236,7 +236,7 @@
               </msup>
               <mrow>
                 <mn>5</mn>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
                 <mfrac>
                   <msup>
                     <mi>z</mi>
@@ -244,7 +244,7 @@
                   </msup>
                   <mrow>
                     <mn>7</mn>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
                     <mfrac>
                       <msup>
                         <mi>z</mi>
@@ -252,8 +252,8 @@
                       </msup>
                       <mrow>
                         <mn>9</mn>
- <mo>&minus;</mo>
- <mo>&hellip;</mo>
+ <mo>&#x2212;</mo>
+ <mo>&#x2026;</mo>
                       </mrow>
                     </mfrac>
                   </mrow>
@@ -286,14 +286,14 @@
             <mi>x</mi>
             <mn>3</mn>
           </msup>
- <mo>&minus;</mo>
+ <mo>&#x2212;</mo>
           <mi>a</mi>
         </mtd>
       </mtr>
       <mtr>
         <mtd>
           <mi>f</mi>
- <mo>&prime;</mo>
+ <mo>&#x2032;</mo>
           <mfenced>
             <mrow>
               <mi>x</mi>
@@ -314,7 +314,7 @@
       <mtr>
         <mtd>
           <mi>f</mi>
- <mo>&Prime;</mo>
+ <mo>&#x2033;</mo>
           <mfenced>
             <mrow>
               <mi>x</mi>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk