69 files changed, 257 insertions(+), 22 deletions(-)
M plugins/staticmath/CHANGELOG.md
M plugins/staticmath/README.md
A plugins/staticmath/assets/css/Temml-Latin-Modern.css
A plugins/staticmath/assets/css/Temml.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_AMS-Regular.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_AMS-Regular.woff
D plugins/staticmath/assets/css/fonts/KaTeX_AMS-Regular.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Bold.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Bold.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Bold.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Regular.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Regular.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Regular.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Bold.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Bold.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Bold.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Regular.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Regular.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Regular.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Bold.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Bold.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Bold.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Main-BoldItalic.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Main-BoldItalic.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Main-BoldItalic.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Italic.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Italic.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Italic.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Regular.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Regular.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Regular.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Math-BoldItalic.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Math-BoldItalic.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Math-BoldItalic.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Math-Italic.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Math-Italic.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Math-Italic.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Bold.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Bold.woff
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Bold.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Italic.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Italic.woff
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Italic.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Regular.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Regular.woff
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Regular.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Script-Regular.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Script-Regular.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Script-Regular.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Size1-Regular.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Size1-Regular.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Size1-Regular.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Size2-Regular.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Size2-Regular.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Size2-Regular.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Size3-Regular.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Size3-Regular.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Size3-Regular.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Size4-Regular.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Size4-Regular.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Size4-Regular.woff2
D plugins/staticmath/assets/css/fonts/KaTeX_Typewriter-Regular.ttf
D plugins/staticmath/assets/css/fonts/KaTeX_Typewriter-Regular.woff
D plugins/staticmath/assets/css/fonts/KaTeX_Typewriter-Regular.woff2
D plugins/staticmath/assets/css/katex.min.css
A plugins/staticmath/assets/css/latinmodernmath.woff2
M plugins/staticmath/blueprints.yaml
M plugins/staticmath/shortcodes/StaticMathShortcode.php
M plugins/staticmath/staticmath.php
M plugins/staticmath/CHANGELOG.md => plugins/staticmath/CHANGELOG.md +5 -0
@@ 1,3 1,8 @@
+# v2.0.0
+## 27-10-2024
+1. [](#improved)
+ * Switch from KaTeX to Temml. MathML is the only valid output mode. This may break math rendering in ancient browsers. This fixes math rendering in RSS feeds, however.
+
# v1.0.3
## 10-02-2024
1. [](#improved)
M plugins/staticmath/README.md => plugins/staticmath/README.md +5 -4
@@ 5,7 5,7 @@
# Grav StaticMath Plugin
-The **StaticMath** Plugin is an extension for [Grav CMS](https://github.com/getgrav/grav). This plugin converts LaTeX to static math (with some CSS) using server-side [KaTeX](https://katex.org).
+The **StaticMath** Plugin is an extension for [Grav CMS](https://github.com/getgrav/grav). This plugin converts LaTeX to static math (with some CSS) using server-side [Temml](https://temml.org).
## Installation
@@ 43,9 43,8 @@ Here is the default configuration and an explanation of available options:
```yaml
enabled: true
-built_in_css: true # Uses built-in KaTeX CSS
+built_in_css: true # Uses built-in Temml CSS
active: false # Whether the plugin is active on a page
-output: "htmlAndMathml" # Set output mode. Can be either "html", "htmlAndMathml", or "mathml"
server: "http://localhost:3000" # The location of the StaticMath server
```
@@ 65,4 64,6 @@ And [texi]\text{this}[/texi] is inline LaTeX code.
## Credits
-Much thanks to [KaTeX](https://katex.org) for rendering the math, the [Grav MathJax Plugin](https://github.com/Sommerregen/grav-plugin-mathjax) for giving me a base to build off of, and the [Grav ZMarkdown Plugin](https://github.com/AmauryCarrade/grav-plugin-zmarkdown-engine) to give me pointers for how to do networking in PHP.
+Much thanks to [Temml](https://temml.org) for rendering the math, the [Grav MathJax Plugin](https://github.com/Sommerregen/grav-plugin-mathjax) for giving me a base to build off of, and the [Grav ZMarkdown Plugin](https://github.com/AmauryCarrade/grav-plugin-zmarkdown-engine) to give me pointers for how to do networking in PHP.
+
+The Latin Modern Math WOFF2 file is from [the MathFonts](https://github.com/fred-wang/MathFonts) repository, under the [MPL2.0 license](https://mozilla.org/MPL/2.0) license.
A plugins/staticmath/assets/css/Temml-Latin-Modern.css => plugins/staticmath/assets/css/Temml-Latin-Modern.css +240 -0
@@ 0,0 1,240 @@
+/*
+The Latin Modern fonts are released under the GUST font license, which is
+legally equivalent to the LaTeX Project Public License. See the files in this
+directory for details. The fonts can be obtained from several TeX distributions
+or package managers.
+
+The Latin Modern WOFF font has been obtained from
+http://www.gust.org.pl/projects/e-foundry/
+
+The Temml.woff2 is a clone of KaTeX_Script-Regular, except that the code points
+have been changed from ASCII to Unicode Mathematical Alphanumeric Symbols Script capitals,
+Unicode range 1D49C to 1D4B5.
+*/
+
+@font-face {
+ font-family: 'Temml';
+ src: url('Temml.woff2') format('woff2');
+ font-weight: normal;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: Latin Modern Math;
+ src: url('./latinmodernmath.woff2');
+}
+
+math {
+ font-style: normal;
+ font-weight: normal;
+ line-height: normal;
+ font-size-adjust: none;
+ text-indent: 0;
+ text-transform: none;
+ letter-spacing: normal;
+ word-wrap: normal;
+ direction: ltr;
+ /* Prevent Firefox from omitting the dot on i or j. */
+ font-feature-settings: "dtls" off;
+}
+
+math * {
+ border-color: currentColor;
+}
+
+math {
+ font-family: "Latin Modern 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; }
+
+*.mathscr {
+ font-family: "Temml";
+}
+
+/* Chromium prime alignment */
+mo.tml-prime {
+ font-family: Temml;
+}
+
+/* Prevent f' from overlapping in Chromium */
+mo.prime-pad {
+ padding-left: 0.08em;
+}
+
+/* Array cell justification in Firefox & WebKit */
+.tml-right {
+ text-align: right;
+}
+.tml-left {
+ text-align: left;
+}
+
+/* Styles for Chromium only */
+@supports (not (-webkit-backdrop-filter: blur(1px))) and (not (-moz-appearance: none)) {
+ /* MathML Core & Chromium do not support the MathML 3.0 element <menclose> attributes. */
+ /* So use styles. */
+ menclose {
+ position: relative;
+ padding: 0.5ex 0ex;
+ }
+
+ .tml-overline {
+ padding: 0.1em 0 0 0;
+ border-top: 0.065em solid;
+ }
+
+ .tml-underline {
+ padding: 0 0 0.1em 0;
+ border-bottom: 0.065em solid;
+ }
+
+ .tml-cancel {
+ display: inline-block;
+ position: absolute;
+ left: 0.5px;
+ bottom: 0;
+ width: 100%;
+ height: 100%;
+ background-color: currentColor;
+ }
+ .upstrike {
+ clip-path: polygon(0.05em 100%, 0em calc(100% - 0.05em), calc(100% - 0.05em) 0em, 100% 0.05em);
+ }
+ .downstrike {
+ clip-path: polygon(0em 0.05em, 0.05em 0em, 100% calc(100% - 0.05em), calc(100% - 0.05em) 100%);
+ }
+ .sout {
+ clip-path: polygon(0em calc(55% + 0.0333em), 0em calc(55% - 0.0333em), 100% calc(55% - 0.0333em), 100% calc(55% + 0.0333em));
+ }
+ .tml-xcancel {
+ background: linear-gradient(to top left,
+ rgba(0,0,0,0) 0%,
+ rgba(0,0,0,0) calc(50% - 0.06em),
+ rgba(0,0,0,1) 50%,
+ rgba(0,0,0,0) calc(50% + 0.06em),
+ rgba(0,0,0,0) 100%),
+ linear-gradient(to top right,
+ rgba(0,0,0,0) 0%,
+ rgba(0,0,0,0) calc(50% - 0.06em),
+ rgba(0,0,0,1) 50%,
+ rgba(0,0,0,0) calc(50% + 0.06em),
+ rgba(0,0,0,0) 100%)
+ }
+
+ .longdiv-top {
+ border-top: 0.067em solid;
+ padding: 0.1em 0.2em 0.2em 0.433em;
+ }
+ .longdiv-arc {
+ position: absolute;
+ top: 0;
+ bottom: 0.1em;
+ left: -0.4em;
+ width: 0.7em;
+ border: 0.067em solid;
+ transform: translateY(-0.067em);
+ border-radius: 70%;
+ clip-path: inset(0 0 0 0.4em);
+ box-sizing: border-box;}
+ .menclose {display: inline-block;
+ text-align: left;
+ position: relative;
+ }
+
+ .phasor-bottom {
+ border-bottom: 0.067em solid;
+ padding: 0.2em 0.2em 0.1em 0.6em;
+ }
+ .phasor-angle {
+ display: inline-block;
+ position: absolute;
+ left: 0.5px;
+ bottom: -0.04em;
+ height: 100%;
+ aspect-ratio: 0.5;
+ background-color: currentColor;
+ clip-path: polygon(0.05em 100%, 0em calc(100% - 0.05em), calc(100% - 0.05em) 0em, 100% 0.05em);
+ }
+
+ .tml-box {
+ padding: 3pt 0 3pt 0;
+ border: 1px solid;
+ }
+ .tml-fbox {
+ padding: 3pt;
+ border: 1px solid;
+ }
+
+ .circle-pad {
+ padding: 0.267em;
+ }
+ .textcircle {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ right: 0;
+ left: 0;
+ border: 0.067em solid;
+ border-radius: 50%;
+ }
+
+ .actuarial {
+ padding: 0.03889em 0.03889em 0 0.03889em;
+ border-width: 0.08em 0.08em 0em 0em;
+ border-style: solid;
+ margin-right: 0.03889em;
+ }
+
+ /* Stretch \widetilde */
+ .tml-crooked-2 {
+ transform: scale(2.0, 1.1)
+ }
+ .tml-crooked-3 {
+ transform: scale(3.0, 1.3)
+ }
+ .tml-crooked-4 {
+ transform: scale(4.0, 1.4)
+ }
+ /* set array cell justification */
+ .tml-right {
+ text-align: -webkit-right;
+ }
+ .tml-left {
+ text-align: -webkit-left;
+ }
+}
+
+/* Adjust WebKit accents */
+@supports (-webkit-backdrop-filter: blur(1px)) {
+ .tml-xshift { transform: translate(0px, 0.45em) }
+ .tml-capshift { transform: translate(0px, 0.35em) }
+}
+
+/* flex-wrap for line-breaking in Chromium */
+math {
+ display: inline-flex;
+ flex-wrap: wrap;
+ align-items: baseline;
+}
+math > mrow {
+ padding: 0.5ex 0ex;
+}
+
+/* Avoid flex-wrap in Firefox */
+@-moz-document url-prefix() {
+ math { display: inline; }
+ math > mrow { padding: 0 }
+}
+
+/* AMS environment auto-numbering via CSS counter. */
+.tml-eqn::before {
+ counter-increment: tmlEqnNo;
+ content: "(" counter(tmlEqnNo) ")";
+}
+
+body {
+ counter-reset: tmlEqnNo;
+}
A plugins/staticmath/assets/css/Temml.woff2 => plugins/staticmath/assets/css/Temml.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_AMS-Regular.ttf => plugins/staticmath/assets/css/fonts/KaTeX_AMS-Regular.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_AMS-Regular.woff => plugins/staticmath/assets/css/fonts/KaTeX_AMS-Regular.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_AMS-Regular.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_AMS-Regular.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Bold.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Bold.woff => plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Bold.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Regular.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Regular.woff => plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Regular.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Bold.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Bold.woff => plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Bold.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Bold.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Regular.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Regular.woff => plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Regular.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Regular.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Bold.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Main-Bold.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Bold.woff => plugins/staticmath/assets/css/fonts/KaTeX_Main-Bold.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Bold.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Main-Bold.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Main-BoldItalic.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Main-BoldItalic.woff => plugins/staticmath/assets/css/fonts/KaTeX_Main-BoldItalic.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Main-BoldItalic.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Italic.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Main-Italic.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Italic.woff => plugins/staticmath/assets/css/fonts/KaTeX_Main-Italic.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Italic.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Main-Italic.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Regular.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Main-Regular.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Regular.woff => plugins/staticmath/assets/css/fonts/KaTeX_Main-Regular.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Main-Regular.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Main-Regular.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Math-BoldItalic.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Math-BoldItalic.woff => plugins/staticmath/assets/css/fonts/KaTeX_Math-BoldItalic.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Math-BoldItalic.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Math-Italic.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Math-Italic.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Math-Italic.woff => plugins/staticmath/assets/css/fonts/KaTeX_Math-Italic.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Math-Italic.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Math-Italic.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Bold.ttf => plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Bold.woff => plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Bold.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Bold.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Italic.ttf => plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Italic.woff => plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Italic.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Italic.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Regular.ttf => plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Regular.woff => plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Regular.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Regular.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Script-Regular.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Script-Regular.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Script-Regular.woff => plugins/staticmath/assets/css/fonts/KaTeX_Script-Regular.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Script-Regular.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Script-Regular.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Size1-Regular.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Size1-Regular.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Size1-Regular.woff => plugins/staticmath/assets/css/fonts/KaTeX_Size1-Regular.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Size1-Regular.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Size1-Regular.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Size2-Regular.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Size2-Regular.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Size2-Regular.woff => plugins/staticmath/assets/css/fonts/KaTeX_Size2-Regular.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Size2-Regular.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Size2-Regular.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Size3-Regular.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Size3-Regular.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Size3-Regular.woff => plugins/staticmath/assets/css/fonts/KaTeX_Size3-Regular.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Size3-Regular.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Size3-Regular.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Size4-Regular.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Size4-Regular.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Size4-Regular.woff => plugins/staticmath/assets/css/fonts/KaTeX_Size4-Regular.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Size4-Regular.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Size4-Regular.woff2 +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Typewriter-Regular.ttf => plugins/staticmath/assets/css/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Typewriter-Regular.woff => plugins/staticmath/assets/css/fonts/KaTeX_Typewriter-Regular.woff +0 -0
D plugins/staticmath/assets/css/fonts/KaTeX_Typewriter-Regular.woff2 => plugins/staticmath/assets/css/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
D plugins/staticmath/assets/css/katex.min.css => plugins/staticmath/assets/css/katex.min.css +0 -1
@@ 1,1 0,0 @@
-@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(fonts/KaTeX_AMS-Regular.woff) format("woff"),url(fonts/KaTeX_AMS-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(fonts/KaTeX_Main-Bold.woff) format("woff"),url(fonts/KaTeX_Main-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(fonts/KaTeX_Main-Italic.woff) format("woff"),url(fonts/KaTeX_Main-Italic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(fonts/KaTeX_Main-Regular.woff) format("woff"),url(fonts/KaTeX_Main-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(fonts/KaTeX_Math-Italic.woff) format("woff"),url(fonts/KaTeX_Math-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(fonts/KaTeX_Script-Regular.woff) format("woff"),url(fonts/KaTeX_Script-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size1-Regular.woff) format("woff"),url(fonts/KaTeX_Size1-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size2-Regular.woff) format("woff"),url(fonts/KaTeX_Size2-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size3-Regular.woff) format("woff"),url(fonts/KaTeX_Size3-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size4-Regular.woff) format("woff"),url(fonts/KaTeX_Size4-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(fonts/KaTeX_Typewriter-Regular.ttf) format("truetype")}.katex{text-rendering:auto;font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}
A plugins/staticmath/assets/css/latinmodernmath.woff2 => plugins/staticmath/assets/css/latinmodernmath.woff2 +0 -0
M plugins/staticmath/blueprints.yaml => plugins/staticmath/blueprints.yaml +1 -10
@@ 1,7 1,7 @@
name: staticmath
slug: StaticMath
type: plugin
-version: 1.0.3
+version: 2.0.0
description: Converts LaTeX to static math
icon: plug
author:
@@ 71,12 71,3 @@ form:
placeholder: http://localhost:3000
validate:
pattern: 'https?:\/\/.*'
-
- output:
- type: select
- label: PLUGINS.STATICMATH.OUTPUT_MODE
- default: "htmlAndMathml"
- options:
- 'htmlAndMathml': PLUGINS.STATICMATH.HTML_AND_MATHML
- 'html': PLUGINS.STATICMATH.HTML
- 'mathml': PLUGINS.STATICMATH.MATHML
M plugins/staticmath/shortcodes/StaticMathShortcode.php => plugins/staticmath/shortcodes/StaticMathShortcode.php +1 -2
@@ 26,8 26,7 @@ class StaticMathShortcode extends Shortcode
private function render($content, $inline = false) {
$mode = $inline ? "inline" : "block";
$staticmath_server = Grav::instance()['config']->get('plugins.staticmath.server');
- $output = Grav::instance()['config']->get('plugins.staticmath.output');
- $postfield = "mode=" . urlencode($mode) . "&output=" . urlencode($output) . "&data=" . urlencode($content);
+ $postfield = "mode=" . urlencode($mode) . "&data=" . urlencode($content);
$ch = curl_init($staticmath_server);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, $postfield);
M plugins/staticmath/staticmath.php => plugins/staticmath/staticmath.php +5 -5
@@ 1,17 1,17 @@
<?php
/**
- * Grav StaticMath plugin v1.0.3
+ * Grav StaticMath plugin v2.0.0
*
* This plugin renders math server-side and displays it to the client with
- * Katex.
+ * Temml.
*
* Based on the code from the Grav MathJax plugin: https://github.com/sommerregen/grav-plugin-mathjax
*
* @package StaticMath
- * @version 1.0.3
+ * @version 2.0.0
* @link <https://sr.ht/~fd/grav-plugin-staticmath>
* @author Ersei Saggi <contact@ersei.net>
- * @copyright 2023, Ersei Saggi
+ * @copyright 2024, Ersei Saggi
* @license <http://opensource.org/licenses/MIT> MIT
*/
namespace Grav\Plugin;
@@ 104,7 104,7 @@ class StaticmathPlugin extends Plugin
}
if ($this->config->get('plugins.staticmath.built_in_css')) {
- $this->grav['assets']->add('plugins://staticmath/assets/css/katex.min.css');
+ $this->grav['assets']->add('plugins://staticmath/assets/css/Temml-Latin-Modern.css');
}
}