Skip to content

Commit

Permalink
Merge pull request #13 from sudotac/upgrade-temml-to-0.10.14
Browse files Browse the repository at this point in the history
Upgrade Temml to v0.10.14
  • Loading branch information
sudotac authored Aug 4, 2023
2 parents 5f53fb5 + 90c8c86 commit f0af7c1
Show file tree
Hide file tree
Showing 17 changed files with 122 additions and 62 deletions.
2 changes: 1 addition & 1 deletion lib/temml/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@

module Temml
VERSION = '0.3.0'
TEMML_VERSION = '0.10.13'
TEMML_VERSION = '0.10.14'
end
2 changes: 1 addition & 1 deletion vendor/temml/javascripts/temml.min.js

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions vendor/temml/sprockets/stylesheets/Temml-Asana.css.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ math {
font-family: Asana Math, math;
}

/* Next line is active in Firefox and Safari.
* Not in Chromium, which recognizes display: "block math" written inline. */
math.tml-display { display: block; }

*.mathcal,
mo.tml-prime {
font-feature-settings: 'salt';
Expand All @@ -54,7 +58,7 @@ math > mrow {
}

/* Avoid flex-wrap in Firefox */
@supports (-moz-appearance:meterbar) and (display:flex) {
@-moz-document url-prefix() {
math { display: inline; }
math > mrow { padding: 0 }
}
Expand Down Expand Up @@ -179,7 +183,7 @@ mtr.tml-hline-dashed > mtd {

/* MathML-Core does not support <menclose> attributes.
* So Use background images for \cancel */
menclose.cancel {
mrow.cancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand All @@ -189,7 +193,7 @@ menclose.cancel {
rgba(0,0,0,0) 100%);
}

menclose.bcancel {
mrow.bcancel {
background:
linear-gradient(to top right,
rgba(0,0,0,0) 0%,
Expand All @@ -199,7 +203,7 @@ menclose.bcancel {
rgba(0,0,0,0) 100%);
}

menclose.xcancel {
mrow.xcancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand Down
12 changes: 8 additions & 4 deletions vendor/temml/sprockets/stylesheets/Temml-Latin-Modern.css.erb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ math {
font-family: "Latin Modern Math", "Times New Roman", math;
}

/* Next line is active in Firefox and Safari.
* Not in Chromium, which recognizes display: "block math" written inline. */
math.tml-display { display: block; }

*.mathscr {
font-family: "Temml";
}
Expand All @@ -63,7 +67,7 @@ math > mrow {
}

/* Avoid flex-wrap in Firefox */
@supports (-moz-appearance:meterbar) and (display:flex) {
@-moz-document url-prefix() {
math { display: inline; }
math > mrow { padding: 0 }
}
Expand Down Expand Up @@ -189,7 +193,7 @@ mtr.tml-hline-dashed > mtd {

/* MathML-Core does not support <menclose> attributes.
* So Use background images for \cancel */
menclose.cancel {
mrow.cancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand All @@ -199,7 +203,7 @@ menclose.cancel {
rgba(0,0,0,0) 100%);
}

menclose.bcancel {
mrow.bcancel {
background:
linear-gradient(to top right,
rgba(0,0,0,0) 0%,
Expand All @@ -209,7 +213,7 @@ menclose.bcancel {
rgba(0,0,0,0) 100%);
}

menclose.xcancel {
mrow.xcancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand Down
12 changes: 8 additions & 4 deletions vendor/temml/sprockets/stylesheets/Temml-Libertinus.css.erb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ math {
font-family: Libertinus Math, math;
}

/* Next line is active in Firefox and Safari.
* Not in Chromium, which recognizes display: "block math" written inline. */
math.tml-display { display: block; }

*.mathcal {
font-family: "Cambria Math", 'STIXTwoMath-Regular', "Times New Roman", math;
}
Expand All @@ -61,7 +65,7 @@ math > mrow {
}

/* Avoid flex-wrap in Firefox */
@supports (-moz-appearance:meterbar) and (display:flex) {
@-moz-document url-prefix() {
math { display: inline; }
math > mrow { padding: 0 }
}
Expand Down Expand Up @@ -187,7 +191,7 @@ mtr.tml-hline-dashed > mtd {

/* MathML-Core does not support <menclose> attributes.
* So Use background images for \cancel */
menclose.cancel {
mrow.cancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand All @@ -197,7 +201,7 @@ menclose.cancel {
rgba(0,0,0,0) 100%);
}

menclose.bcancel {
mrow.bcancel {
background:
linear-gradient(to top right,
rgba(0,0,0,0) 0%,
Expand All @@ -207,7 +211,7 @@ menclose.bcancel {
rgba(0,0,0,0) 100%);
}

menclose.xcancel {
mrow.xcancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand Down
12 changes: 8 additions & 4 deletions vendor/temml/sprockets/stylesheets/Temml-Local.css.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ math * {
border-color: currentColor;
}

/* Next line is active in Firefox and Safari.
* Not in Chromium, which recognizes display: "block math" written inline. */
math.tml-display { display: block; }

math .mathscr {
font-family: "Temml";
}
Expand All @@ -47,7 +51,7 @@ math > mrow {
}

/* Avoid flex-wrap in Firefox */
@supports (-moz-appearance:meterbar) and (display:flex) {
@-moz-document url-prefix() {
math { display: inline; }
math > mrow { padding: 0 }
}
Expand Down Expand Up @@ -172,7 +176,7 @@ mtr.tml-hline-dashed > mtd {

/* MathML-Core does not support <menclose> attributes.
* So Use background images for \cancel */
menclose.cancel {
mrow.cancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand All @@ -182,7 +186,7 @@ menclose.cancel {
rgba(0,0,0,0) 100%);
}

menclose.bcancel {
mrow.bcancel {
background:
linear-gradient(to top right,
rgba(0,0,0,0) 0%,
Expand All @@ -192,7 +196,7 @@ menclose.bcancel {
rgba(0,0,0,0) 100%);
}

menclose.xcancel {
mrow.xcancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand Down
12 changes: 8 additions & 4 deletions vendor/temml/sprockets/stylesheets/Temml-STIX2.css.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ math * {
border-color: currentColor;
}

/* Next line is active in Firefox and Safari.
* Not in Chromium, which recognizes display: "block math" written inline. */
math.tml-display { display: block; }

mtext {
font-family: STIX2;
}
Expand Down Expand Up @@ -55,7 +59,7 @@ math > mrow {
}

/* Avoid flex-wrap in Firefox */
@supports (-moz-appearance:meterbar) and (display:flex) {
@-moz-document url-prefix() {
math { display: inline; }
math > mrow { padding: 0 }
}
Expand Down Expand Up @@ -180,7 +184,7 @@ mtr.tml-hline-dashed > mtd {

/* MathML-Core does not support <menclose> attributes.
* So Use background images for \cancel */
menclose.cancel {
mrow.cancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand All @@ -190,7 +194,7 @@ menclose.cancel {
rgba(0,0,0,0) 100%);
}

menclose.bcancel {
mrow.bcancel {
background:
linear-gradient(to top right,
rgba(0,0,0,0) 0%,
Expand All @@ -200,7 +204,7 @@ menclose.bcancel {
rgba(0,0,0,0) 100%);
}

menclose.xcancel {
mrow.xcancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand Down
12 changes: 8 additions & 4 deletions vendor/temml/sprockets/stylesheets/_Temml-Asana.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ math {
font-family: Asana Math, math;
}

/* Next line is active in Firefox and Safari.
* Not in Chromium, which recognizes display: "block math" written inline. */
math.tml-display { display: block; }

*.mathcal,
mo.tml-prime {
font-feature-settings: 'salt';
Expand All @@ -54,7 +58,7 @@ math > mrow {
}

/* Avoid flex-wrap in Firefox */
@supports (-moz-appearance:meterbar) and (display:flex) {
@-moz-document url-prefix() {
math { display: inline; }
math > mrow { padding: 0 }
}
Expand Down Expand Up @@ -179,7 +183,7 @@ mtr.tml-hline-dashed > mtd {

/* MathML-Core does not support <menclose> attributes.
* So Use background images for \cancel */
menclose.cancel {
mrow.cancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand All @@ -189,7 +193,7 @@ menclose.cancel {
rgba(0,0,0,0) 100%);
}

menclose.bcancel {
mrow.bcancel {
background:
linear-gradient(to top right,
rgba(0,0,0,0) 0%,
Expand All @@ -199,7 +203,7 @@ menclose.bcancel {
rgba(0,0,0,0) 100%);
}

menclose.xcancel {
mrow.xcancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand Down
12 changes: 8 additions & 4 deletions vendor/temml/sprockets/stylesheets/_Temml-Latin-Modern.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ math {
font-family: "Latin Modern Math", "Times New Roman", math;
}

/* Next line is active in Firefox and Safari.
* Not in Chromium, which recognizes display: "block math" written inline. */
math.tml-display { display: block; }

*.mathscr {
font-family: "Temml";
}
Expand All @@ -63,7 +67,7 @@ math > mrow {
}

/* Avoid flex-wrap in Firefox */
@supports (-moz-appearance:meterbar) and (display:flex) {
@-moz-document url-prefix() {
math { display: inline; }
math > mrow { padding: 0 }
}
Expand Down Expand Up @@ -189,7 +193,7 @@ mtr.tml-hline-dashed > mtd {

/* MathML-Core does not support <menclose> attributes.
* So Use background images for \cancel */
menclose.cancel {
mrow.cancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand All @@ -199,7 +203,7 @@ menclose.cancel {
rgba(0,0,0,0) 100%);
}

menclose.bcancel {
mrow.bcancel {
background:
linear-gradient(to top right,
rgba(0,0,0,0) 0%,
Expand All @@ -209,7 +213,7 @@ menclose.bcancel {
rgba(0,0,0,0) 100%);
}

menclose.xcancel {
mrow.xcancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand Down
12 changes: 8 additions & 4 deletions vendor/temml/sprockets/stylesheets/_Temml-Libertinus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ math {
font-family: Libertinus Math, math;
}

/* Next line is active in Firefox and Safari.
* Not in Chromium, which recognizes display: "block math" written inline. */
math.tml-display { display: block; }

*.mathcal {
font-family: "Cambria Math", 'STIXTwoMath-Regular', "Times New Roman", math;
}
Expand All @@ -61,7 +65,7 @@ math > mrow {
}

/* Avoid flex-wrap in Firefox */
@supports (-moz-appearance:meterbar) and (display:flex) {
@-moz-document url-prefix() {
math { display: inline; }
math > mrow { padding: 0 }
}
Expand Down Expand Up @@ -187,7 +191,7 @@ mtr.tml-hline-dashed > mtd {

/* MathML-Core does not support <menclose> attributes.
* So Use background images for \cancel */
menclose.cancel {
mrow.cancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand All @@ -197,7 +201,7 @@ menclose.cancel {
rgba(0,0,0,0) 100%);
}

menclose.bcancel {
mrow.bcancel {
background:
linear-gradient(to top right,
rgba(0,0,0,0) 0%,
Expand All @@ -207,7 +211,7 @@ menclose.bcancel {
rgba(0,0,0,0) 100%);
}

menclose.xcancel {
mrow.xcancel {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
Expand Down
Loading

0 comments on commit f0af7c1

Please sign in to comment.