temml 0.10.30 → 0.10.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Temml-Asana.css +6 -0
- package/dist/Temml-Fira.css +6 -0
- package/dist/Temml-Latin-Modern.css +6 -0
- package/dist/Temml-Libertinus.css +6 -0
- package/dist/Temml-Local.css +6 -0
- package/dist/Temml-STIX2.css +6 -0
- package/dist/temml.cjs +4 -2
- package/dist/temml.js +4 -2
- package/dist/temml.min.js +1 -1
- package/dist/temml.mjs +4 -2
- package/dist/temmlPostProcess.js +1 -1
- package/package.json +1 -1
- package/src/Parser.js +1 -0
- package/src/macros.js +1 -1
- package/src/postProcess.js +1 -1
- package/src/symbols.js +1 -0
package/dist/temml.mjs
CHANGED
@@ -1692,6 +1692,7 @@ defineSymbol(math, inner, "\u22f0", "\\iddots", true);
|
|
1692
1692
|
defineSymbol(math, inner, "\u22ef", "\\@cdots", true);
|
1693
1693
|
defineSymbol(math, inner, "\u22f1", "\\ddots", true);
|
1694
1694
|
defineSymbol(math, textord, "\u22ee", "\\varvdots"); // \vdots is a macro
|
1695
|
+
defineSymbol(text, textord, "\u22ee", "\\textvdots");
|
1695
1696
|
defineSymbol(math, accent, "\u02ca", "\\acute");
|
1696
1697
|
defineSymbol(math, accent, "\u0060", "\\grave");
|
1697
1698
|
defineSymbol(math, accent, "\u00a8", "\\ddot");
|
@@ -4610,7 +4611,7 @@ defineMacro("\\underbar", "\\underline{\\text{#1}}");
|
|
4610
4611
|
// \kern6\p@\hbox{.}\hbox{.}\hbox{.}}}
|
4611
4612
|
// We'll call \varvdots, which gets a glyph from symbols.js.
|
4612
4613
|
// The zero-width rule gets us an equivalent to the vertical 6pt kern.
|
4613
|
-
defineMacro("\\vdots", "{\\varvdots\\rule{0pt}{15pt}}");
|
4614
|
+
defineMacro("\\vdots", "\\TextOrMath{\\textvdots}{{\\varvdots\\rule{0pt}{15pt}}}\\relax");
|
4614
4615
|
defineMacro("\u22ee", "\\vdots");
|
4615
4616
|
|
4616
4617
|
// {array} environment gaps
|
@@ -12503,6 +12504,7 @@ class Parser {
|
|
12503
12504
|
*/
|
12504
12505
|
parseExpression(breakOnInfix, breakOnTokenText, breakOnMiddle) {
|
12505
12506
|
const body = [];
|
12507
|
+
this.prevAtomType = "";
|
12506
12508
|
// Keep adding atoms to the body until we can't parse any more atoms (either
|
12507
12509
|
// we reached the end, a }, or a \right)
|
12508
12510
|
while (true) {
|
@@ -13500,7 +13502,7 @@ class Style {
|
|
13500
13502
|
* https://mit-license.org/
|
13501
13503
|
*/
|
13502
13504
|
|
13503
|
-
const version = "0.10.
|
13505
|
+
const version = "0.10.32";
|
13504
13506
|
|
13505
13507
|
function postProcess(block) {
|
13506
13508
|
const labelMap = {};
|
package/dist/temmlPostProcess.js
CHANGED
package/package.json
CHANGED
package/src/Parser.js
CHANGED
@@ -187,6 +187,7 @@ export default class Parser {
|
|
187
187
|
*/
|
188
188
|
parseExpression(breakOnInfix, breakOnTokenText, breakOnMiddle) {
|
189
189
|
const body = [];
|
190
|
+
this.prevAtomType = ""
|
190
191
|
// Keep adding atoms to the body until we can't parse any more atoms (either
|
191
192
|
// we reached the end, a }, or a \right)
|
192
193
|
while (true) {
|
package/src/macros.js
CHANGED
@@ -243,7 +243,7 @@ defineMacro("\\underbar", "\\underline{\\text{#1}}");
|
|
243
243
|
// \kern6\p@\hbox{.}\hbox{.}\hbox{.}}}
|
244
244
|
// We'll call \varvdots, which gets a glyph from symbols.js.
|
245
245
|
// The zero-width rule gets us an equivalent to the vertical 6pt kern.
|
246
|
-
defineMacro("\\vdots", "{\\varvdots\\rule{0pt}{15pt}}");
|
246
|
+
defineMacro("\\vdots", "\\TextOrMath{\\textvdots}{{\\varvdots\\rule{0pt}{15pt}}}\\relax");
|
247
247
|
defineMacro("\u22ee", "\\vdots");
|
248
248
|
|
249
249
|
// {array} environment gaps
|
package/src/postProcess.js
CHANGED
package/src/symbols.js
CHANGED
@@ -856,6 +856,7 @@ defineSymbol(math, inner, "\u22f0", "\\iddots", true);
|
|
856
856
|
defineSymbol(math, inner, "\u22ef", "\\@cdots", true);
|
857
857
|
defineSymbol(math, inner, "\u22f1", "\\ddots", true);
|
858
858
|
defineSymbol(math, textord, "\u22ee", "\\varvdots"); // \vdots is a macro
|
859
|
+
defineSymbol(text, textord, "\u22ee", "\\textvdots");
|
859
860
|
defineSymbol(math, accent, "\u02ca", "\\acute");
|
860
861
|
defineSymbol(math, accent, "\u0060", "\\grave");
|
861
862
|
defineSymbol(math, accent, "\u00a8", "\\ddot");
|