temml 0.10.31 → 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.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
@@ -13501,7 +13502,7 @@ class Style {
13501
13502
  * https://mit-license.org/
13502
13503
  */
13503
13504
 
13504
- const version = "0.10.31";
13505
+ const version = "0.10.32";
13505
13506
 
13506
13507
  function postProcess(block) {
13507
13508
  const labelMap = {};
@@ -14,7 +14,7 @@
14
14
  * https://mit-license.org/
15
15
  */
16
16
 
17
- const version = "0.10.31";
17
+ const version = "0.10.32";
18
18
 
19
19
  function postProcess(block) {
20
20
  const labelMap = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "temml",
3
- "version": "0.10.31",
3
+ "version": "0.10.32",
4
4
  "description": "TeX to MathML conversion in JavaScript.",
5
5
  "main": "dist/temml.js",
6
6
  "engines": {
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
@@ -8,7 +8,7 @@
8
8
  * https://mit-license.org/
9
9
  */
10
10
 
11
- export const version = "0.10.31";
11
+ export const version = "0.10.32";
12
12
 
13
13
  export function postProcess(block) {
14
14
  const labelMap = {}
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");