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.
@@ -50,6 +50,12 @@ mo.prime-pad {
50
50
  padding-left: 0.08em;
51
51
  }
52
52
 
53
+ /* \cancel & \phase use background images. Get them to print. */
54
+ menclose {
55
+ -webkit-print-color-adjust: exact; /* Chrome & Edge */
56
+ print-color-adjust: exact;
57
+ }
58
+
53
59
  /* Array cell justification in Firefox & WebKit */
54
60
  .tml-right {
55
61
  text-align: right;
@@ -61,6 +61,12 @@ mo.prime-pad {
61
61
  padding-left: 0.08em;
62
62
  }
63
63
 
64
+ /* \cancel & \phase use background images. Get them to print. */
65
+ menclose {
66
+ -webkit-print-color-adjust: exact; /* Chrome & Edge */
67
+ print-color-adjust: exact;
68
+ }
69
+
64
70
  /* Array cell justification in Firefox & WebKit */
65
71
  .tml-right {
66
72
  text-align: right;
@@ -64,6 +64,12 @@ mo.prime-pad {
64
64
  padding-left: 0.08em;
65
65
  }
66
66
 
67
+ /* \cancel & \phase use background images. Get them to print. */
68
+ menclose {
69
+ -webkit-print-color-adjust: exact; /* Chrome & Edge */
70
+ print-color-adjust: exact;
71
+ }
72
+
67
73
  /* Array cell justification in Firefox & WebKit */
68
74
  .tml-right {
69
75
  text-align: right;
@@ -61,6 +61,12 @@ mo.prime-pad {
61
61
  padding-left: 0.08em;
62
62
  }
63
63
 
64
+ /* \cancel & \phase use background images. Get them to print. */
65
+ menclose {
66
+ -webkit-print-color-adjust: exact; /* Chrome & Edge */
67
+ print-color-adjust: exact;
68
+ }
69
+
64
70
  /* Array cell justification in Firefox & WebKit */
65
71
  .tml-right {
66
72
  text-align: right;
@@ -47,6 +47,12 @@ mo.prime-pad {
47
47
  padding-left: 0.08em;
48
48
  }
49
49
 
50
+ /* \cancel & \phase use background images. Get them to print. */
51
+ menclose {
52
+ -webkit-print-color-adjust: exact; /* Chrome & Edge */
53
+ print-color-adjust: exact;
54
+ }
55
+
50
56
  /* Array cell justification in Firefox & WebKit */
51
57
  .tml-right {
52
58
  text-align: right;
@@ -51,6 +51,12 @@ mo.prime-pad {
51
51
  padding-left: 0.08em;
52
52
  }
53
53
 
54
+ /* \cancel & \phase use background images. Get them to print. */
55
+ menclose {
56
+ -webkit-print-color-adjust: exact; /* Chrome & Edge */
57
+ print-color-adjust: exact;
58
+ }
59
+
54
60
  /* Array cell justification in Firefox & WebKit */
55
61
  .tml-right {
56
62
  text-align: right;
package/dist/temml.cjs CHANGED
@@ -1694,6 +1694,7 @@ defineSymbol(math, inner, "\u22f0", "\\iddots", true);
1694
1694
  defineSymbol(math, inner, "\u22ef", "\\@cdots", true);
1695
1695
  defineSymbol(math, inner, "\u22f1", "\\ddots", true);
1696
1696
  defineSymbol(math, textord, "\u22ee", "\\varvdots"); // \vdots is a macro
1697
+ defineSymbol(text, textord, "\u22ee", "\\textvdots");
1697
1698
  defineSymbol(math, accent, "\u02ca", "\\acute");
1698
1699
  defineSymbol(math, accent, "\u0060", "\\grave");
1699
1700
  defineSymbol(math, accent, "\u00a8", "\\ddot");
@@ -4612,7 +4613,7 @@ defineMacro("\\underbar", "\\underline{\\text{#1}}");
4612
4613
  // \kern6\p@\hbox{.}\hbox{.}\hbox{.}}}
4613
4614
  // We'll call \varvdots, which gets a glyph from symbols.js.
4614
4615
  // The zero-width rule gets us an equivalent to the vertical 6pt kern.
4615
- defineMacro("\\vdots", "{\\varvdots\\rule{0pt}{15pt}}");
4616
+ defineMacro("\\vdots", "\\TextOrMath{\\textvdots}{{\\varvdots\\rule{0pt}{15pt}}}\\relax");
4616
4617
  defineMacro("\u22ee", "\\vdots");
4617
4618
 
4618
4619
  // {array} environment gaps
@@ -12505,6 +12506,7 @@ class Parser {
12505
12506
  */
12506
12507
  parseExpression(breakOnInfix, breakOnTokenText, breakOnMiddle) {
12507
12508
  const body = [];
12509
+ this.prevAtomType = "";
12508
12510
  // Keep adding atoms to the body until we can't parse any more atoms (either
12509
12511
  // we reached the end, a }, or a \right)
12510
12512
  while (true) {
@@ -13502,7 +13504,7 @@ class Style {
13502
13504
  * https://mit-license.org/
13503
13505
  */
13504
13506
 
13505
- const version = "0.10.30";
13507
+ const version = "0.10.32";
13506
13508
 
13507
13509
  function postProcess(block) {
13508
13510
  const labelMap = {};
package/dist/temml.js CHANGED
@@ -1695,6 +1695,7 @@ var temml = (function () {
1695
1695
  defineSymbol(math, inner, "\u22ef", "\\@cdots", true);
1696
1696
  defineSymbol(math, inner, "\u22f1", "\\ddots", true);
1697
1697
  defineSymbol(math, textord, "\u22ee", "\\varvdots"); // \vdots is a macro
1698
+ defineSymbol(text, textord, "\u22ee", "\\textvdots");
1698
1699
  defineSymbol(math, accent, "\u02ca", "\\acute");
1699
1700
  defineSymbol(math, accent, "\u0060", "\\grave");
1700
1701
  defineSymbol(math, accent, "\u00a8", "\\ddot");
@@ -4613,7 +4614,7 @@ var temml = (function () {
4613
4614
  // \kern6\p@\hbox{.}\hbox{.}\hbox{.}}}
4614
4615
  // We'll call \varvdots, which gets a glyph from symbols.js.
4615
4616
  // The zero-width rule gets us an equivalent to the vertical 6pt kern.
4616
- defineMacro("\\vdots", "{\\varvdots\\rule{0pt}{15pt}}");
4617
+ defineMacro("\\vdots", "\\TextOrMath{\\textvdots}{{\\varvdots\\rule{0pt}{15pt}}}\\relax");
4617
4618
  defineMacro("\u22ee", "\\vdots");
4618
4619
 
4619
4620
  // {array} environment gaps
@@ -10592,6 +10593,7 @@ var temml = (function () {
10592
10593
  */
10593
10594
  parseExpression(breakOnInfix, breakOnTokenText, breakOnMiddle) {
10594
10595
  const body = [];
10596
+ this.prevAtomType = "";
10595
10597
  // Keep adding atoms to the body until we can't parse any more atoms (either
10596
10598
  // we reached the end, a }, or a \right)
10597
10599
  while (true) {
@@ -11589,7 +11591,7 @@ var temml = (function () {
11589
11591
  * https://mit-license.org/
11590
11592
  */
11591
11593
 
11592
- const version = "0.10.30";
11594
+ const version = "0.10.32";
11593
11595
 
11594
11596
  function postProcess(block) {
11595
11597
  const labelMap = {};