Skip to content

Commit

Permalink
Combine multiple primes into single unicode characters. Issue mathjax…
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Aug 20, 2012
1 parent 55a7615 commit 91df5da
Show file tree
Hide file tree
Showing 20 changed files with 25 additions and 24 deletions.
2 changes: 1 addition & 1 deletion config/AM_HTMLorMML-full.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions config/Accessible-full.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/Accessible.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/MML_HTMLorMML-full.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions config/TeX-AMS-MML_HTMLorMML-full.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/TeX-AMS-MML_HTMLorMML.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions config/TeX-AMS-MML_SVG-full.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/TeX-AMS-MML_SVG.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions config/TeX-AMS_HTML-full.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/TeX-AMS_HTML.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions config/TeX-MML-AM_HTMLorMML-full.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/TeX-MML-AM_HTMLorMML.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jax/input/TeX/jax.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jax/output/HTML-CSS/fonts/TeX/fontdata.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jax/output/HTML-CSS/jax.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jax/output/SVG/fonts/TeX/fontdata.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jax/output/SVG/jax.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions unpacked/jax/input/TeX/jax.js
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,7 @@
var sup = ""; this.i--;
do {sup += this.PRIME; this.i++, c = this.GetNext()}
while (c === "'" || c === this.SMARTQUOTE);
sup = ["","\u2032","\u2033","\u2034","\u2057"][sup.length] || sup;
this.Push(STACKITEM.prime(base,this.mmlToken(MML.mo(sup))));
},
mi2mo: function (mi) {
Expand Down
2 changes: 1 addition & 1 deletion unpacked/jax/output/HTML-CSS/jax.js
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,7 @@
//
// STIX and TeX fonts need quotes from variant font
//
if (isScript && text.match(/['`"\u00B4\u2032-\u2037]/))
if (isScript && text.match(/['`"\u00B4\u2032-\u2037\u2057]/))
{variant = HTMLCSS.FONTDATA.VARIANT["-"+HTMLCSS.fontInUse+"-variant"]}
//
// Typeset contents
Expand Down
2 changes: 1 addition & 1 deletion unpacked/jax/output/SVG/jax.js
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@
//
// Primes must come from another font
//
if (isScript && this.data.join("").match(/['`"\u00B4\u2032-\u2037]/))
if (isScript && this.data.join("").match(/['`"\u00B4\u2032-\u2037\u2057]/))
{variant = SVG.FONTDATA.VARIANT["-TeX-variant"]}
//
// Typeset contents
Expand Down

0 comments on commit 91df5da

Please sign in to comment.