Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CommonHTML fixes for digits, Jeem, and Haa #16

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions dist/arabic.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/arabic.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 13 additions & 6 deletions dist/unpacked/arabic.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@
}

.mfliph.mar > .mjx-char.MJXc-TeX-unknown-I {
border: solid transparent;
border-width: 0.45em 0;
border: solid transparent;
border-width: 0.45em 0;
}

.mfliph.mar > .mjx-char.MJXc-TeX-unknown-R {
border: solid transparent;
border-width: 0.45em 0;
}

.mjx-mn > .mfliph.mar > .mjx-char.MJXc-TeX-unknown-I {
Expand All @@ -40,18 +45,20 @@
}

.MJXc-stacked > .mjx-numerator > span > .mfliph.mar > .MJXc-TeX-unknown-R {
padding-top: 0.6em;
padding-top: 0.45em;
border: none;
}

.MJXc-stacked > .mjx-denominator > span > .mfliph.mar > .MJXc-TeX-unknown-R {
padding-bottom: 0.6em;
padding-bottom: 0.45em;
border: none;
}

.MJXc-stacked > .mjx-denominator > span > .mfliph > .mjx-char.MJXc-TeX-unknown-R {
padding-bottom: 0.6em;
padding-bottom: 0.45em;
border: none;
}


/* HTML-CSS Output Jax CSS */
.MathJax .mfliph {
display: inline-block !important;
Expand Down
2 changes: 1 addition & 1 deletion dist/unpacked/arabic.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
}());

MathJax.Extension.Arabic = {
version: '2.0.0',
version: '2.1.0',
config: MathJax.Hub.CombineConfig("Arabic", {
dict: {
// A macros to force English zero in both languages
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arabic-mathjax",
"version": "2.0.0",
"version": "2.1.0",
"description": "A docker container for developing my MathJax plugins.",
"main": "gulpfile.js",
"scripts": {
Expand Down
19 changes: 13 additions & 6 deletions src/css/common-html.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@
}

.mfliph.mar > .mjx-char.MJXc-TeX-unknown-I {
border: solid transparent;
border-width: 0.45em 0;
border: solid transparent;
border-width: 0.45em 0;
}

.mfliph.mar > .mjx-char.MJXc-TeX-unknown-R {
border: solid transparent;
border-width: 0.45em 0;
}

.mjx-mn > .mfliph.mar > .mjx-char.MJXc-TeX-unknown-I {
Expand All @@ -40,14 +45,16 @@
}

.MJXc-stacked > .mjx-numerator > span > .mfliph.mar > .MJXc-TeX-unknown-R {
padding-top: 0.6em;
padding-top: 0.45em;
border: none;
}

.MJXc-stacked > .mjx-denominator > span > .mfliph.mar > .MJXc-TeX-unknown-R {
padding-bottom: 0.6em;
padding-bottom: 0.45em;
border: none;
}

.MJXc-stacked > .mjx-denominator > span > .mfliph > .mjx-char.MJXc-TeX-unknown-R {
padding-bottom: 0.6em;
padding-bottom: 0.45em;
border: none;
}

2 changes: 1 addition & 1 deletion src/tex.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MathJax.Extension.Arabic = {
version: '2.0.0',
version: '2.1.0',
config: MathJax.Hub.CombineConfig("Arabic", {
dict: {
// A macros to force English zero in both languages
Expand Down