@uniweb/press 0.4.10 → 0.4.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/press",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
4
4
  "description": "Press your React components into downloadable files — Word, Excel, PDF. Registration-based pattern with lazy-loaded format adapters.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -42,4 +42,16 @@ export const MATH_CSS = `/* Temml's own class hooks — without these an aligned
42
42
  /* Row spacing. The browser gives mtd no vertical padding, so state the
43
43
  MathML-Core default here; Temml's own CSS only adjusts it for jot. */
44
44
  math mtd { padding-top: 0.5ex; padding-bottom: 0.5ex; }
45
- math mtable.tml-jot mtd { padding-top: 0.7ex; padding-bottom: 0.7ex; }`
45
+ math mtable.tml-jot mtd { padding-top: 0.7ex; padding-bottom: 0.7ex; }
46
+ /* AMS auto-numbering. Which equations number is the AUTHOR's choice, made in
47
+ LaTeX: align and equation number, aligned and the starred forms do not.
48
+ Without these two rules that choice was discarded -- align and align-star
49
+ rendered identically, so an author who asked for numbers silently got none.
50
+ (No backticks in here: this string is a JS template literal.) */
51
+ .tml-eqn::before {
52
+ counter-increment: tmlEqnNo;
53
+ content: "(" counter(tmlEqnNo) ")";
54
+ }
55
+ body {
56
+ counter-reset: tmlEqnNo;
57
+ }`