-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
455 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<math><mrow><mrow><mo>|</mo><mrow><mtable><mtr><mtd><mn>2</mn></mtd><mtd><mn>1</mn></mtd></mtr><mtr><mtd><mn>7</mn></mtd><mtd><mn>5</mn></mtd></mtr></mtable></mrow><mo>|</mo></mrow></mrow></math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<math xmlns="http://www.w3.org/1998/Math/MathML"> | ||
<mstyle displaystyle="true" scriptlevel="0"> | ||
<mrow> | ||
<mo>(</mo> | ||
<mtable rowspacing="4pt" columnspacing="1em"> | ||
<mtr> | ||
<mtd> | ||
<mi>a</mi> | ||
</mtd> | ||
<mtd> | ||
<mi>b</mi> | ||
</mtd> | ||
</mtr> | ||
<mtr> | ||
<mtd> | ||
<mi>c</mi> | ||
</mtd> | ||
<mtd> | ||
<mi>d</mi> | ||
</mtd> | ||
</mtr> | ||
</mtable> | ||
<mo>)</mo> | ||
</mrow> | ||
</mstyle> | ||
</math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<math xmlns="http://www.w3.org/1998/Math/MathML"> | ||
<mstyle displaystyle="true" scriptlevel="0"> | ||
<mrow> | ||
<mo>|</mo> | ||
<mtable rowspacing="4pt" columnspacing="1em"> | ||
<mtr> | ||
<mtd> | ||
<mi>a</mi> | ||
</mtd> | ||
<mtd> | ||
<mi>b</mi> | ||
</mtd> | ||
</mtr> | ||
<mtr> | ||
<mtd> | ||
<mi>c</mi> | ||
</mtd> | ||
<mtd> | ||
<mi>d</mi> | ||
</mtd> | ||
</mtr> | ||
</mtable> | ||
<mo>|</mo> | ||
</mrow> | ||
</mstyle> | ||
</math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<math xmlns="http://www.w3.org/1998/Math/MathML"> | ||
<mstyle displaystyle="true" scriptlevel="0"> | ||
<mrow> | ||
<mo>[</mo> | ||
<mtable rowspacing="4pt" columnspacing="1em"> | ||
<mtr> | ||
<mtd> | ||
<mi>a</mi> | ||
</mtd> | ||
<mtd> | ||
<mi>b</mi> | ||
</mtd> | ||
</mtr> | ||
<mtr> | ||
<mtd> | ||
<mi>c</mi> | ||
</mtd> | ||
<mtd> | ||
<mi>d</mi> | ||
</mtd> | ||
</mtr> | ||
</mtable> | ||
<mo>]</mo> | ||
</mrow> | ||
</mstyle> | ||
</math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<math xmlns="http://www.w3.org/1998/Math/MathML"> | ||
<mstyle displaystyle="true" scriptlevel="0"> | ||
<mrow> | ||
<mo symmetric="true">‖</mo> | ||
<mtable columnalign="center center" rowspacing="4pt" columnspacing="1em"> | ||
<mtr> | ||
<mtd> | ||
<mi>a</mi> | ||
</mtd> | ||
<mtd> | ||
<mi>b</mi> | ||
</mtd> | ||
</mtr> | ||
<mtr> | ||
<mtd> | ||
<mi>c</mi> | ||
</mtd> | ||
<mtd> | ||
<mi>d</mi> | ||
</mtd> | ||
</mtr> | ||
</mtable> | ||
<mo symmetric="true">‖</mo> | ||
</mrow> | ||
</mstyle> | ||
</math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
<math><mrow><mfrac><mrow><mfrac><mrow><mi>x</mi><mo>+</mo><mn>1</mn></mrow><mrow><mi>x</mi><mo>−</mo><mn>4</mn></mrow></mfrac><mo>+</mo><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><mrow><mi>x</mi><mo>+</mo><mfrac><mn>1</mn><mrow><mn>16</mn></mrow></mfrac></mrow></mfrac></mrow></math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<math><mfenced close=""><mrow/><mi>a</mi><mrow/></mfenced></math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<math><mfenced><mrow/><mrow/><mrow/></mfenced></math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<math><mrow><mi>y</mi><mo>=</mo><mo>(</mo><msup><mrow><mo/><mi>x</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>+</mo><mn>1</mn><mrow><mo>)</mo><mo>(</mo><msup><mrow><mi>x</mi></mrow><mrow><mn>2</mn></mrow></msup></mrow><mo>+</mo><mn>3</mn><mo>)</mo></mrow></math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<math> | ||
<mrow> | ||
<mi>y</mi> | ||
<mo>=</mo> | ||
<mo>(</mo> | ||
<msup> | ||
<mrow> | ||
<mo/> | ||
<mi>x</mi> | ||
</mrow> | ||
<mrow> | ||
<mn>2</mn> | ||
</mrow> | ||
</msup> | ||
<mo>+</mo> | ||
<mn>1</mn> | ||
<mrow> | ||
<mo>)</mo> | ||
<mo>(</mo> | ||
<msup> | ||
<mrow> | ||
<mi>x</mi> | ||
</mrow> | ||
<mrow> | ||
<mn>2</mn> | ||
</mrow> | ||
</msup> | ||
</mrow> | ||
<mo>+</mo> | ||
<mn>3</mn> | ||
<mo>)</mo> | ||
</mrow> | ||
</math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<math><mrow><mi mathvariant="sans-serif">E</mi><mfenced open="(" close=")"><mrow><munder><mrow><mo stretchy="true">∑</mo></mrow><mrow><mi>I</mi><mo>∈</mo><msub><mrow><mi>E</mi></mrow><mrow><mi>k</mi><mo>+</mo><mn>1</mn></mrow></msub></mrow></munder><mo>|</mo><mi>I</mi><msup><mrow><mo>|</mo></mrow><mrow><mi>s</mi></mrow></msup></mrow></mfenced><mo>=</mo><mi mathvariant="sans-serif">E</mi><mfenced open="(" close=")"><mrow><munder><mrow><mo stretchy="true">∑</mo></mrow><mrow><mi>I</mi><mo>∈</mo><msub><mrow><mi>E</mi></mrow><mrow><mi>k</mi></mrow></msub></mrow></munder><mo>|</mo><mi>I</mi><msup><mrow><mo>|</mo></mrow><mrow><mi>s</mi></mrow></msup></mrow></mfenced><mi mathvariant="sans-serif">E</mi><mo stretchy="false">(</mo><msubsup><mrow><mi>R</mi></mrow><mrow><mn>1</mn></mrow><mrow><mi>s</mi></mrow></msubsup><mo>+</mo><msubsup><mrow><mi>R</mi></mrow><mrow><mn>2</mn></mrow><mrow><mi>s</mi></mrow></msubsup><mo stretchy="false">)</mo><mo>.</mo></mrow></math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
<math> | ||
<mrow> | ||
<mi mathvariant="sans-serif">E</mi> | ||
<mfenced open="(" close=")"> | ||
<mrow> | ||
<munder> | ||
<mrow> | ||
<mo stretchy="true">∑</mo> | ||
</mrow> | ||
<mrow> | ||
<mi>I</mi> | ||
<mo>∈</mo> | ||
<msub> | ||
<mrow> | ||
<mi>E</mi> | ||
</mrow> | ||
<mrow> | ||
<mi>k</mi> | ||
<mo>+</mo> | ||
<mn>1</mn> | ||
</mrow> | ||
</msub> | ||
</mrow> | ||
</munder> | ||
<mo>|</mo> | ||
<mi>I</mi> | ||
<msup> | ||
<mrow> | ||
<mo>|</mo> | ||
</mrow> | ||
<mrow> | ||
<mi>s</mi> | ||
</mrow> | ||
</msup> | ||
</mrow> | ||
</mfenced> | ||
<mo>=</mo> | ||
<mi mathvariant="sans-serif">E</mi> | ||
<mfenced open="(" close=")"> | ||
<mrow> | ||
<munder> | ||
<mrow> | ||
<mo stretchy="true">∑</mo> | ||
</mrow> | ||
<mrow> | ||
<mi>I</mi> | ||
<mo>∈</mo> | ||
<msub> | ||
<mrow> | ||
<mi>E</mi> | ||
</mrow> | ||
<mrow> | ||
<mi>k</mi> | ||
</mrow> | ||
</msub> | ||
</mrow> | ||
</munder> | ||
<mo>|</mo> | ||
<mi>I</mi> | ||
<msup> | ||
<mrow> | ||
<mo>|</mo> | ||
</mrow> | ||
<mrow> | ||
<mi>s</mi> | ||
</mrow> | ||
</msup> | ||
</mrow> | ||
</mfenced> | ||
<mi mathvariant="sans-serif">E</mi> | ||
<mo stretchy="false">(</mo> | ||
<msubsup> | ||
<mrow> | ||
<mi>R</mi> | ||
</mrow> | ||
<mrow> | ||
<mn>1</mn> | ||
</mrow> | ||
<mrow> | ||
<mi>s</mi> | ||
</mrow> | ||
</msubsup> | ||
<mo>+</mo> | ||
<msubsup> | ||
<mrow> | ||
<mi>R</mi> | ||
</mrow> | ||
<mrow> | ||
<mn>2</mn> | ||
</mrow> | ||
<mrow> | ||
<mi>s</mi> | ||
</mrow> | ||
</msubsup> | ||
<mo stretchy="false">)</mo> | ||
<mo>.</mo> | ||
</mrow> | ||
</math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<math><msub><mo>\u222B</mo><mi>X</mi></msub><mrow><msub><mo>\u2211</mo><mi>Y</mi></msub><mi>a</mi></mrow><mi>dx</mi></math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<math><mfenced><mrow/><mi>a</mi><mrow/></mfenced></math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
#! /bin/bash | ||
|
||
mj=/home/sorge/git/MathJax/MathJax-src/ts/ | ||
sre=/home/sorge/git/sre/speech-rule-engine/ts/latex/ | ||
|
||
mjtree=$mj"core/Tree" | ||
sretree=$sre"core/Tree" | ||
|
||
mjmmltree=$mj"core/MmlTree" | ||
sremmltree=$sre"core/MmlTree" | ||
|
||
mjmmlnodes=$mj"core/MmlNodes" | ||
sremmlnodes=$sre"core/MmlNodes" | ||
|
||
mjparser=$mj"input/tex" | ||
sreparser=$sre"parser" | ||
|
||
mjbase=$mj"input/tex/base" | ||
srebase=$sre"parser/base" | ||
|
||
mjams=$mj"input/tex/ams" | ||
sreams=$sre"parser/ams" | ||
|
||
mjutil=$mj"util" | ||
sreutil=$sre"util" | ||
|
||
compare() { | ||
files=`ls $1/*.ts` | ||
for file in $files; do | ||
base=`basename $file` | ||
echo emacs $file $2/$basename | ||
diff $file $2/$basename | ||
done | ||
} | ||
|
||
echo MJ TREE | ||
compare $sretree $mjtree | ||
echo | ||
echo MJ MMLTREE | ||
compare $sremmltree $mjmmltree | ||
echo | ||
echo MJ MMLNODES | ||
compare $sremmlnodes $mjmmlnodes | ||
echo | ||
echo MJ PARSER | ||
compare $sreparser $mjparser | ||
echo | ||
echo MJ BASE | ||
compare $srebase $mjbase | ||
echo | ||
echo MJ AMS | ||
compare $sreams $mjams | ||
echo | ||
echo MJ UTIL | ||
compare $sreutil $mjutil | ||
echo | ||
|
||
exit 0 | ||
|
||
ls -R $mjcore | ||
echo SRE CORE | ||
ls -R $srecore | ||
|
||
echo MJ PARSER | ||
ls -R $mjparser | ||
echo | ||
echo SRE PARSER | ||
ls -R $sreparser | ||
|
||
echo MJ UTIL | ||
ls -R $mjutil | ||
echo | ||
echo SRE UTIL | ||
ls -R $sreutil | ||
|
||
|
||
|
||
# diff $sre$1 $mj$2 |
Oops, something went wrong.