rapier-math 2.6.1 → 3.0.0

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/rehype.d.ts CHANGED
@@ -10,4 +10,4 @@ declare module 'vfile' {
10
10
  }
11
11
  }
12
12
  /** Install after sanitization. Recognizes remark-rehype math code nodes. */
13
- export default function rehypeRapierMath(options?: IntegrationOptions): (tree: Root, file: VFile) => void;
13
+ export default function rehypeRapierMath(options?: IntegrationOptions): (tree: Root, file?: VFile) => void;
package/docs/api.md CHANGED
@@ -286,12 +286,13 @@ visits, 4 Mi outline characters and 8 Mi composed SVG characters. Complete retur
286
286
  alternatives and diagnostics, is capped at 24 Mi UTF-16 code units. These are output/work bounds, not peak
287
287
  heap or device-memory claims. A later good render has a fresh budget.
288
288
 
289
- SVG labels contain raw TeX, not semantic MathML or mathematical speech. Ordinary equations are images in
290
- the accessibility tree. Equations containing authored HTTP(S) links use a group so the links remain exposed;
291
- each link is keyboard-focusable and labeled with its destination. Keep the editable source or a separate
292
- copy-source affordance in your host. Full semantic navigation, speech and screen-reader parity are not
293
- provided. A future semantic serializer needs an explicit AST-to-MathML mapping and assistive-technology
294
- evaluation; adding a raw TeX label does not satisfy that requirement.
289
+ SVG-only output labels contain raw TeX, not MathML or mathematical speech. Ordinary SVG equations are images in
290
+ the accessibility tree. Equations with authored HTTP(S) links use a group so the links remain exposed,
291
+ keyboard-focusable and labeled with their destinations. Use `rapier-math/mathml` for structured MathML or
292
+ `rapier-math/accessible` with `rapier-math/accessible.css` for MathML-backed presentation; see
293
+ [MathML and accessibility](semantics.md). Keep editable source or a copy-source control in the host.
294
+ Mathematical speech, navigation and screen-reader parity still need host testing. Improving SVG-only
295
+ accessibility remains future work.
295
296
 
296
297
  ## Security and deployment
297
298
 
@@ -332,8 +333,9 @@ For a classic script, use `dist/rapier-math.js` and `globalThis.RapierMath`.
332
333
  The payload includes the font: it is not a few-kilobyte renderer. Payload counts below describe this
333
334
  build, not npm tarball size or a comparison against another library.
334
335
 
335
- Run `node tests/verify.mjs` and `node tests/check.mjs` from this checkout. The carried source rebuilds the exact
336
- classic payload and ESM module; receipts also cover the adapters, declarations and examples. Follow
336
+ Run `node src/tools/build-math.mjs --package .` from the installed package directory. The carried source rebuilds the
337
+ classic payload and ESM modules and updates their source receipt and component provenance. The receipt also covers
338
+ the adapters, declarations and examples. Follow
337
339
  `docs/font-source.md` to regenerate font data. License and font provenance are carried with every build.
338
340
 
339
341
  Verified-claim scope: synchronous self-contained formula rendering; opt-in Markdown integrations; bounded
@@ -1,7 +1,7 @@
1
1
  # Math font data
2
2
 
3
- `font.js` contains SVG outlines and OpenType MATH data from **Latin Modern Math 1.959**, plus the sharp s
4
- outline from **Latin Modern Mono 2.004** for monospace text and one small arrow hook from
3
+ `font.js` contains SVG outlines and OpenType MATH data from **Latin Modern Math 1.959**, plus punctuation, visible space
4
+ and sharp s outlines from **Latin Modern Mono 2.004** for monospace text and one small arrow hook from
5
5
  **Latin Modern Math Italic 10 Regular 2.003**. The parser,
6
6
  layout engine, contour analysis and decoder are Rapier code. The converted font data remains under the
7
7
  GUST Font License.
@@ -15,7 +15,7 @@ GUST Font License.
15
15
  | Latin Modern Math Italic 10 Regular 2.003, `lmmi10.pfb` | `c24662506b402f3e0033cc75eb746eb490a1b7477e6b3ef52053f5025ec0fc57` |
16
16
  | Original GUST Font License | `2bd69affc3da00715116f713f57eab9707e96daf3562ad0215987b15b9c16f73` |
17
17
  | LPPL 1.3c | `3d262cdf34dafa6955f703c634a8c238ec44109bc8dd6ef34fb7aa54809f7e66` |
18
- | Combined `FONT-LICENSE.txt` | `6fb288a3363cb44eb0e247ead8afefed55fbe9b00ff2d0d1c75a1176d38f4091` |
18
+ | Combined `FONT-LICENSE.txt` | `fb1f153e363d003180781b4a043f34ab76d17f1c338de9229c40149b52cfdf2f` |
19
19
  | Geist 1.800, weight axis 400–700 | `6e3a140e3812161e292fbe42a1fc90533b2407b699c65abc7a098b0979df4e82` |
20
20
 
21
21
  The [complete original font package](https://mirrors.ctan.org/fonts/lm-math.zip) is available from CTAN.
@@ -42,21 +42,25 @@ The generated asset uses Python 3.12, fontTools 4.61.1, Brotli 1.1.0 and zlib 1.
42
42
 
43
43
  ```sh
44
44
  python -m pip install fonttools==4.61.1 Brotli==1.1.0
45
- python repo/math/build-font.py
45
+ python src/math/build-font.py
46
46
  ```
47
47
 
48
- In the standalone package, run `python src/math/build-font.py`. To regenerate without network access, supply the
48
+ To regenerate without network access, supply the
49
49
  exact inputs with `--font`, `--mono-font`, `--hook-font`, `--license`, `--lppl` and `--text-font`. `--out` selects the JavaScript path and writes
50
50
  the combined license beside it. When available, the generator uses the editor's local Geist font.
51
51
 
52
52
  The generator preserves all **2,045 Unicode mappings** in the math font and **4,741 glyphs** reachable from those
53
53
  mappings. The glyph set is closed over stretch variants, assembly parts, first- and second-level optical script
54
- forms (`ssty`), flattened accents (`flac`) and dotless bases (`dtls`). This font supplies 980 script records,
55
- 48 dotless substitutions, 94 vertical constructions, 86 horizontal constructions and no flattened alternates.
54
+ forms (`ssty`) and dotless bases (`dtls`). This font supplies 980 script records,
55
+ 48 dotless substitutions, 94 vertical constructions and 86 horizontal constructions. Its MATH table has no
56
+ `MathKernInfo`, and its GSUB features are `aalt`, `dtls` and `ssty`: no flattened accents (`flac`) exist.
56
57
  Every included outline and mathematical metric retains its original values. Optional text shaping and stylistic
57
- substitutions that the math syntax does not select are not included. Two additional outlines bring the total to
58
- **4,743**. Unicode supplies no mathematical monospace sharp s, so that style selects the Mono outline and its
59
- 525-unit advance through `styledGlyphs`. The small `arrowhookleft` outline supplies amsmath's extensible hooked
58
+ substitutions that the math syntax does not select are not included. Thirty-five additional outlines bring the total to
59
+ **4,776**. The math font's 62 mathematical monospace letters and digits exactly match the Mono source's original
60
+ outlines and advances. Its 32 ASCII punctuation characters, U+2423 visible space and U+00DF sharp s have no
61
+ mathematical monospace code points, so `styledGlyphs.monospace` selects their Mono outlines and 525-unit advances.
62
+ The visible-space contour also matches Computer Modern Typewriter's visible space; `\verb*` assigns that command's
63
+ TeX height and depth without changing its ink. The small `arrowhookleft` outline supplies amsmath's extensible hooked
60
64
  arrow; the composer assigns its five-mu advance and three-mu join. The outline-only hook record has zero advance,
61
65
  italic correction and accent attachment, and retains the original path.
62
66
 
@@ -74,7 +78,7 @@ The typesetter retains its existing ordinary-letter fallback for those lowercase
74
78
  the absent calligraphic forms. Its unencoded glyphs contain no alternative lowercase script alphabet.
75
79
 
76
80
  Different zlib versions can encode the same exact data differently. The package budget is measured with
77
- Node 22.23.3 by `tools/build-math.mjs`; the packed stream always decodes to the original coordinates and metrics.
81
+ Node 22.23.3 by `src/tools/build-math.mjs`; the packed stream always decodes to the original coordinates and metrics.
78
82
 
79
83
  ## Height and optical forms
80
84
 
@@ -98,38 +102,44 @@ vertical axis. Measurements are in design units unless specified otherwise.
98
102
  | `units`, `xHeight` | Math units per em and nominal x-height. |
99
103
  | `textUnits`, `textXHeight` | Geist units per em and nominal x-height. |
100
104
  | `chars` | Decimal Unicode code point to glyph index. |
101
- | `styledGlyphs` | A style's exceptional Unicode mappings: monospace U+00DF selects the original Mono sharp s. |
105
+ | `styledGlyphs` | A style's exceptional Unicode mappings: monospace punctuation, visible space and sharp s select original Mono outlines. |
102
106
  | `arrowHook` | The original small math-italic hook outline; the arrow composer supplies its advance. |
103
107
  | `glyph(id)` | Demand-decoded `[advance, xMin, yMin, xMax, yMax, italicCorrection, topAccent, path]`. Missing IDs return `undefined`. |
104
- | `constants` | All 56 original OpenType `MathConstants`; percentage constants remain percentages. |
108
+ | `constants` | The 48 consumed original OpenType `MathConstants`; percentage constants remain percentages. |
105
109
  | `vertical`, `horizontal` | Glyph index to `{variants, assembly?}`. |
106
110
  | `variants` | `[glyphIndex, advanceMeasurement]` pairs in font order. |
107
111
  | `assembly` | `{italic, parts}`. |
108
112
  | `parts` | `[glyphIndex, startConnector, endConnector, fullAdvance, isExtender]`. |
109
113
  | `minConnectorOverlap` | The font's minimum assembly overlap. |
110
- | `kern` | Four corner records per glyph, if present in the source; empty for Latin Modern. |
111
114
  | `scriptAlternates` | First- and second-level `ssty` glyph indices. |
112
- | `flatAccents`, `dotless` | Alternate glyph indices for `flac` and `dtls`. |
115
+ | `dotless` | Alternate glyph indices for `dtls`. |
113
116
  | `extendedShapes` | Glyphs marked by `MathGlyphInfo.ExtendedShapeCoverage`. |
117
+ | `verticalBounds` | Sparse `[bottom, top]` control bounds, in font units, for vertical glyphs whose LuaTeX box differs from their exact ink bounds. |
114
118
 
115
119
  Outline bounds round outward to whole units. The outlines themselves are unchanged, including exact fractional
116
120
  coordinates if present. Missing italic corrections are zero; missing accent attachments use half the advance.
117
121
  Assembly parts retain the OpenType order: bottom to top vertically, left to right horizontally. Latin Modern has
118
122
  no MATH Device adjustments. Hint programs and general text shaping tables are not used by the SVG renderer.
119
123
 
120
- The asset stores no bounds. The decoder derives them from the outline with the arithmetic of fontTools'
124
+ The asset stores no per-glyph ink bounds. The decoder derives them from the outline with the arithmetic of fontTools'
121
125
  `BoundsPen`, operation for operation in IEEE double precision; for this font every derived bound equals the
122
126
  value the 2.2.0 asset stored. The contour profiles earlier versions derived (ink edges in 32-unit strips) are
123
127
  gone from the asset since 2.6.0: layout places scripts by TeX's rules, and only the typesetting verifier
124
128
  measures ink gaps, deriving the same strips from each outline itself.
125
129
 
130
+ LuaTeX 1.17.0's CFF loader uses Bézier control points to measure its font boxes. Most vertical glyphs have the same
131
+ box under both rules; twelve of the 325 vertical bases and variants differ. `verticalBounds` preserves those twelve
132
+ boxes, derived by fontTools' `ControlBoundsPen`, independently of the ink decoder. Large operators use the semantic
133
+ height and depth when centering on the axis; ink extents and original paths remain unchanged. The affected large
134
+ operators are the small and large forms of `\bigtimes`, `\bigvee` and `\bigwedge`.
135
+
126
136
  Character mappings, optical substitutions, stretch constructions and record offsets
127
137
  occupy a compact index decoded at module load. Glyph metrics and outlines stay in independent raw DEFLATE pages
128
138
  until requested. Every page
129
139
  ends at a record boundary and contains at most 16,384 decoded bytes. The complete set of pages travels in the
130
140
  same asset; rare characters, stretch parts and optical forms require no additional download.
131
141
 
132
- Outlines share exactly matching contours after translation. The 8,117 ordered contour references use 4,972
142
+ Outlines share exactly matching contours after translation. The 8,166 ordered contour references use 5,013
133
143
  unique contour records. A record either stores its original command structure and relative coordinates, or
134
144
  exact differences from an earlier contour with the same structure. Parent chains have at most four links.
135
145
  The generator prefers small coordinate differences as well as short records, because the smallest initial
@@ -153,5 +163,6 @@ no network, font installation, font parser or platform font shaping at runtime.
153
163
  internal font accessor; the public parser and rendering API remain independent of this storage format.
154
164
 
155
165
  The format follows the [OpenType MATH specification](https://learn.microsoft.com/en-us/typography/opentype/spec/math)
156
- and [RFC 1951](https://www.rfc-editor.org/rfc/rfc1951). Three retained constants have no active consumer:
157
- `DelimitedSubFormulaMinHeight`, `SkewedFractionHorizontalGap` and `SkewedFractionVerticalGap`.
166
+ and [RFC 1951](https://www.rfc-editor.org/rfc/rfc1951). The generator omits eight unconsumed constants:
167
+ `DelimitedSubFormulaMinHeight`, `FlattenedAccentBaseHeight`, the four `StretchStack` constants,
168
+ `SkewedFractionHorizontalGap` and `SkewedFractionVerticalGap`.
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" role="img" aria-label="x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}" data-rapier-math="display" data-math-lines="1" data-math-natural-width="9.053744" width="9.053744em" height="2.3804em" viewBox="-25 -1658.4 9053.744444 2380.4" style="font-size:1.229698em;max-width:100%;height:auto;vertical-align:-0.722em;fill-opacity:1;stroke-opacity:1" fill="#fff"><title>x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}</title><g transform="scale(1000)"><path d="M527 376C527 428 468 442 434 442C376 442 341 389 329 366C304 432 250 442 221 442C117 442 60 313 60 288C60 278 72 278 72 278C80 278 83 280 85 289C119 395 185 420 219 420C238 420 273 411 273 353C273 322 256 255 219 115C203 53 168 11 124 11C118 11 95 11 74 24C99 29 121 50 121 78C121 105 99 113 84 113C54 113 29 87 29 55C29 9 79 -11 123 -11C189 -11 225 59 228 65C240 28 276 -11 336 -11C439 -11 496 118 496 143C496 153 487 153 484 153C475 153 473 149 471 142C438 35 370 11 338 11C299 11 283 43 283 77C283 99 289 121 300 165L334 302C340 328 363 420 433 420C438 420 462 420 483 407C455 402 435 377 435 353C435 337 446 318 473 318C495 318 527 336 527 376Z" transform="scale(0.001 -0.001)"/><g transform="translate(0.849778 0)"><path d="M722 347C722 358 713 367 702 367H76C65 367 56 358 56 347C56 336 65 327 76 327H702C713 327 722 336 722 347ZM722 153C722 164 713 173 702 173H76C65 173 56 164 56 153C56 142 65 133 76 133H702C713 133 722 142 722 153Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(1.905556 0)"><g transform="translate(0.12 -0.677)"><path d="M722 250C722 261 713 270 702 270H76C65 270 56 261 56 250C56 239 65 230 76 230H702C713 230 722 239 722 250Z" transform="scale(0.001 -0.001)"/><g transform="translate(0.778 0)"><path d="M415 282C415 373 362 442 282 442C236 442 195 413 165 382L239 683C239 683 239 694 226 694C203 694 130 686 104 684C96 683 85 682 85 664C85 652 94 652 109 652C157 652 159 645 159 635C159 628 150 594 145 573L63 247C51 197 47 181 47 146C47 51 100 -11 174 -11C292 -11 415 138 415 282ZM343 326C343 267 310 152 292 114C259 47 213 11 174 11C140 11 107 38 107 112C107 131 107 150 123 213L145 305C151 327 151 329 160 340C209 405 254 420 280 420C316 420 343 390 343 326Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(1.443222 0)"><path d="M722 -64C722 -53 713 -44 702 -44H409V230H702C713 230 722 239 722 250C722 261 713 270 702 270H409V563C409 574 400 583 389 583C378 583 369 574 369 563V270H76C65 270 56 261 56 250C56 239 65 230 76 230H369V-44H76C65 -44 56 -53 56 -64C56 -75 65 -84 76 -84H702C713 -84 722 -75 722 -64Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(2.443444 0)"><g transform="translate(0 -0.8764)"><path d="M853 20C853 31 845 40 833 40C821 40 818 33 812 21L389 -855L211 -463C207 -455 205 -449 198 -449C195 -449 193 -449 184 -457L85 -532C74 -541 73 -542 73 -546C73 -553 77 -557 83 -557C86 -557 88 -557 97 -549L149 -510L347 -945C353 -959 355 -960 366 -960C382 -960 384 -956 391 -941L847 3C852 14 853 15 853 20Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(0.833 0)"><path d="M415 282C415 373 362 442 282 442C236 442 195 413 165 382L239 683C239 683 239 694 226 694C203 694 130 686 104 684C96 683 85 682 85 664C85 652 94 652 109 652C157 652 159 645 159 635C159 628 150 594 145 573L63 247C51 197 47 181 47 146C47 51 100 -11 174 -11C292 -11 415 138 415 282ZM343 326C343 267 310 152 292 114C259 47 213 11 174 11C140 11 107 38 107 112C107 131 107 150 123 213L145 305C151 327 151 329 160 340C209 405 254 420 280 420C316 420 343 390 343 326Z" transform="scale(0.001 -0.001)"/><g transform="translate(0.443 -0.289)"><path d="M505 182H471C468 160 458 101 445 91C437 85 360 85 346 85H162C267 178 302 206 362 253C436 312 505 374 505 469C505 590 399 664 271 664C147 664 63 577 63 485C63 434 106 429 116 429C140 429 169 446 169 482C169 500 162 535 110 535C141 606 209 628 256 628C356 628 408 550 408 469C408 382 346 313 314 277L73 39C63 30 63 28 63 0H475Z" transform="scale(0.0007 -0.0007)"/></g><g transform="translate(1.119522 0)"><path d="M722 250C722 261 713 270 702 270H76C65 270 56 261 56 250C56 239 65 230 76 230H702C713 230 722 239 722 250Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(2.119744 0)"><path d="M471 165V196H371V651C371 671 371 677 355 677C346 677 343 677 335 665L28 196V165H294V78C294 42 292 31 218 31H197V0C238 3 290 3 332 3C374 3 427 3 468 0V31H447C373 31 371 42 371 78V165ZM300 196H56L300 569Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(2.619744 0)"><path d="M498 143C498 153 489 153 486 153C476 153 475 149 472 135C455 70 437 11 396 11C369 11 366 37 366 57C366 79 368 87 379 131L401 221L437 361C444 389 444 391 444 395C444 412 432 422 415 422C391 422 376 400 373 378C355 415 326 442 281 442C164 442 40 295 40 149C40 55 95 -11 173 -11C193 -11 243 -7 303 64C311 22 346 -11 394 -11C429 -11 452 12 468 44C485 80 498 143 498 143ZM361 332C361 326 359 320 358 315L308 119C303 101 303 99 288 82C244 27 203 11 175 11C125 11 111 66 111 105C111 155 143 278 166 324C197 383 242 420 282 420C347 420 361 338 361 332Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(3.148744 0)"><path d="M430 107C430 113 424 120 418 120C413 120 411 118 405 110C326 11 217 11 205 11C142 11 115 60 115 120C115 161 135 258 169 320C200 377 255 420 310 420C344 420 382 407 396 380C380 380 366 380 352 366C336 351 334 334 334 327C334 303 352 292 371 292C400 292 427 316 427 356C427 405 380 442 309 442C174 442 41 299 41 158C41 68 99 -11 203 -11C346 -11 430 95 430 107Z" transform="scale(0.001 -0.001)"/></g></g><g transform="translate(0.833 0)"><path data-math-rule="" d="M0 -0.9164H3.581744v0.04H0Z"/></g></g></g><g transform="translate(3.034594 0.686)"><path d="M449 174H424C419 144 412 100 402 85C395 77 329 77 307 77H127L233 180C389 318 449 372 449 472C449 586 359 666 237 666C124 666 50 574 50 485C50 429 100 429 103 429C120 429 155 441 155 482C155 508 137 534 102 534C94 534 92 534 89 533C112 598 166 635 224 635C315 635 358 554 358 472C358 392 308 313 253 251L61 37C50 26 50 24 50 0H421Z" transform="scale(0.001 -0.001)"/><g transform="translate(0.5 0)"><path d="M498 143C498 153 489 153 486 153C476 153 475 149 472 135C455 70 437 11 396 11C369 11 366 37 366 57C366 79 368 87 379 131L401 221L437 361C444 389 444 391 444 395C444 412 432 422 415 422C391 422 376 400 373 378C355 415 326 442 281 442C164 442 40 295 40 149C40 55 95 -11 173 -11C193 -11 243 -7 303 64C311 22 346 -11 394 -11C429 -11 452 12 468 44C485 80 498 143 498 143ZM361 332C361 326 359 320 358 315L308 119C303 101 303 99 288 82C244 27 203 11 175 11C125 11 111 66 111 105C111 155 143 278 166 324C197 383 242 420 282 420C347 420 361 338 361 332Z" transform="scale(0.001 -0.001)"/></g></g><g transform="translate(0.12 0)"><path data-math-rule="" d="M0 -0.27H6.858189v0.04H0Z"/></g></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" role="img" aria-label="x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}" data-rapier-math="display" data-math-lines="1" data-math-natural-width="9.053744" width="9.053744em" height="2.3804em" viewBox="-25 -1658.4 9053.744444 2380.4" style="font-size:1.229698em;max-width:100%;height:auto;vertical-align:-0.722em;fill-opacity:1;stroke-opacity:1" fill="#000"><title>x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}</title><g transform="scale(1000)"><path d="M527 376C527 428 468 442 434 442C376 442 341 389 329 366C304 432 250 442 221 442C117 442 60 313 60 288C60 278 72 278 72 278C80 278 83 280 85 289C119 395 185 420 219 420C238 420 273 411 273 353C273 322 256 255 219 115C203 53 168 11 124 11C118 11 95 11 74 24C99 29 121 50 121 78C121 105 99 113 84 113C54 113 29 87 29 55C29 9 79 -11 123 -11C189 -11 225 59 228 65C240 28 276 -11 336 -11C439 -11 496 118 496 143C496 153 487 153 484 153C475 153 473 149 471 142C438 35 370 11 338 11C299 11 283 43 283 77C283 99 289 121 300 165L334 302C340 328 363 420 433 420C438 420 462 420 483 407C455 402 435 377 435 353C435 337 446 318 473 318C495 318 527 336 527 376Z" transform="scale(0.001 -0.001)"/><g transform="translate(0.849778 0)"><path d="M722 347C722 358 713 367 702 367H76C65 367 56 358 56 347C56 336 65 327 76 327H702C713 327 722 336 722 347ZM722 153C722 164 713 173 702 173H76C65 173 56 164 56 153C56 142 65 133 76 133H702C713 133 722 142 722 153Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(1.905556 0)"><g transform="translate(0.12 -0.677)"><path d="M722 250C722 261 713 270 702 270H76C65 270 56 261 56 250C56 239 65 230 76 230H702C713 230 722 239 722 250Z" transform="scale(0.001 -0.001)"/><g transform="translate(0.778 0)"><path d="M415 282C415 373 362 442 282 442C236 442 195 413 165 382L239 683C239 683 239 694 226 694C203 694 130 686 104 684C96 683 85 682 85 664C85 652 94 652 109 652C157 652 159 645 159 635C159 628 150 594 145 573L63 247C51 197 47 181 47 146C47 51 100 -11 174 -11C292 -11 415 138 415 282ZM343 326C343 267 310 152 292 114C259 47 213 11 174 11C140 11 107 38 107 112C107 131 107 150 123 213L145 305C151 327 151 329 160 340C209 405 254 420 280 420C316 420 343 390 343 326Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(1.443222 0)"><path d="M722 -64C722 -53 713 -44 702 -44H409V230H702C713 230 722 239 722 250C722 261 713 270 702 270H409V563C409 574 400 583 389 583C378 583 369 574 369 563V270H76C65 270 56 261 56 250C56 239 65 230 76 230H369V-44H76C65 -44 56 -53 56 -64C56 -75 65 -84 76 -84H702C713 -84 722 -75 722 -64Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(2.443444 0)"><g transform="translate(0 -0.8764)"><path d="M853 20C853 31 845 40 833 40C821 40 818 33 812 21L389 -855L211 -463C207 -455 205 -449 198 -449C195 -449 193 -449 184 -457L85 -532C74 -541 73 -542 73 -546C73 -553 77 -557 83 -557C86 -557 88 -557 97 -549L149 -510L347 -945C353 -959 355 -960 366 -960C382 -960 384 -956 391 -941L847 3C852 14 853 15 853 20Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(0.833 0)"><path d="M415 282C415 373 362 442 282 442C236 442 195 413 165 382L239 683C239 683 239 694 226 694C203 694 130 686 104 684C96 683 85 682 85 664C85 652 94 652 109 652C157 652 159 645 159 635C159 628 150 594 145 573L63 247C51 197 47 181 47 146C47 51 100 -11 174 -11C292 -11 415 138 415 282ZM343 326C343 267 310 152 292 114C259 47 213 11 174 11C140 11 107 38 107 112C107 131 107 150 123 213L145 305C151 327 151 329 160 340C209 405 254 420 280 420C316 420 343 390 343 326Z" transform="scale(0.001 -0.001)"/><g transform="translate(0.443 -0.289)"><path d="M505 182H471C468 160 458 101 445 91C437 85 360 85 346 85H162C267 178 302 206 362 253C436 312 505 374 505 469C505 590 399 664 271 664C147 664 63 577 63 485C63 434 106 429 116 429C140 429 169 446 169 482C169 500 162 535 110 535C141 606 209 628 256 628C356 628 408 550 408 469C408 382 346 313 314 277L73 39C63 30 63 28 63 0H475Z" transform="scale(0.0007 -0.0007)"/></g><g transform="translate(1.119522 0)"><path d="M722 250C722 261 713 270 702 270H76C65 270 56 261 56 250C56 239 65 230 76 230H702C713 230 722 239 722 250Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(2.119744 0)"><path d="M471 165V196H371V651C371 671 371 677 355 677C346 677 343 677 335 665L28 196V165H294V78C294 42 292 31 218 31H197V0C238 3 290 3 332 3C374 3 427 3 468 0V31H447C373 31 371 42 371 78V165ZM300 196H56L300 569Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(2.619744 0)"><path d="M498 143C498 153 489 153 486 153C476 153 475 149 472 135C455 70 437 11 396 11C369 11 366 37 366 57C366 79 368 87 379 131L401 221L437 361C444 389 444 391 444 395C444 412 432 422 415 422C391 422 376 400 373 378C355 415 326 442 281 442C164 442 40 295 40 149C40 55 95 -11 173 -11C193 -11 243 -7 303 64C311 22 346 -11 394 -11C429 -11 452 12 468 44C485 80 498 143 498 143ZM361 332C361 326 359 320 358 315L308 119C303 101 303 99 288 82C244 27 203 11 175 11C125 11 111 66 111 105C111 155 143 278 166 324C197 383 242 420 282 420C347 420 361 338 361 332Z" transform="scale(0.001 -0.001)"/></g><g transform="translate(3.148744 0)"><path d="M430 107C430 113 424 120 418 120C413 120 411 118 405 110C326 11 217 11 205 11C142 11 115 60 115 120C115 161 135 258 169 320C200 377 255 420 310 420C344 420 382 407 396 380C380 380 366 380 352 366C336 351 334 334 334 327C334 303 352 292 371 292C400 292 427 316 427 356C427 405 380 442 309 442C174 442 41 299 41 158C41 68 99 -11 203 -11C346 -11 430 95 430 107Z" transform="scale(0.001 -0.001)"/></g></g><g transform="translate(0.833 0)"><path data-math-rule="" d="M0 -0.9164H3.581744v0.04H0Z"/></g></g></g><g transform="translate(3.034594 0.686)"><path d="M449 174H424C419 144 412 100 402 85C395 77 329 77 307 77H127L233 180C389 318 449 372 449 472C449 586 359 666 237 666C124 666 50 574 50 485C50 429 100 429 103 429C120 429 155 441 155 482C155 508 137 534 102 534C94 534 92 534 89 533C112 598 166 635 224 635C315 635 358 554 358 472C358 392 308 313 253 251L61 37C50 26 50 24 50 0H421Z" transform="scale(0.001 -0.001)"/><g transform="translate(0.5 0)"><path d="M498 143C498 153 489 153 486 153C476 153 475 149 472 135C455 70 437 11 396 11C369 11 366 37 366 57C366 79 368 87 379 131L401 221L437 361C444 389 444 391 444 395C444 412 432 422 415 422C391 422 376 400 373 378C355 415 326 442 281 442C164 442 40 295 40 149C40 55 95 -11 173 -11C193 -11 243 -7 303 64C311 22 346 -11 394 -11C429 -11 452 12 468 44C485 80 498 143 498 143ZM361 332C361 326 359 320 358 315L308 119C303 101 303 99 288 82C244 27 203 11 175 11C125 11 111 66 111 105C111 155 143 278 166 324C197 383 242 420 282 420C347 420 361 338 361 332Z" transform="scale(0.001 -0.001)"/></g></g><g transform="translate(0.12 0)"><path data-math-rule="" d="M0 -0.27H6.858189v0.04H0Z"/></g></g></g></svg>
@@ -2,10 +2,10 @@
2
2
  "spdxVersion": "SPDX-2.3",
3
3
  "dataLicense": "CC0-1.0",
4
4
  "SPDXID": "SPDXRef-DOCUMENT",
5
- "name": "rapier-math-2.6.1",
6
- "documentNamespace": "https://rapier.website/spdx/rapier-math-2.6.1-c73ca97be7803c0bd369d4ac3e97a87ead5b1498204c7b88da0ab8938d3581c2",
5
+ "name": "rapier-math-3.0.0",
6
+ "documentNamespace": "https://rapier.website/spdx/rapier-math-3.0.0-2825714cd36ab23353d28c7947666e28dee9a9bdbf62b10fd0a8ab342e69ee47",
7
7
  "creationInfo": {
8
- "created": "2026-10-18T00:15:25.401Z",
8
+ "created": "2026-10-31T05:08:43.000Z",
9
9
  "creators": [
10
10
  "Tool: rapier-math-components",
11
11
  "Organization: rapier.website"
@@ -15,17 +15,17 @@
15
15
  {
16
16
  "name": "rapier-math",
17
17
  "SPDXID": "SPDXRef-rapier-math",
18
- "versionInfo": "2.6.1",
18
+ "versionInfo": "3.0.0",
19
19
  "downloadLocation": "NOASSERTION",
20
20
  "filesAnalyzed": false,
21
21
  "licenseConcluded": "MIT AND LicenseRef-GUST-Font-License",
22
22
  "licenseDeclared": "MIT AND LicenseRef-GUST-Font-License",
23
23
  "copyrightText": "NOASSERTION",
24
- "sourceInfo": "Verified current build inputs: math-resources.json (SHA-256 39fa112ad053cad4e5648125936623fb609d64f94e4bfa63d9432897a4ad6d2e).",
24
+ "sourceInfo": "Verified public build inputs: docs/math-resources.json (SHA-256 d5d9b6b5c5320d97caf82ea1a3415def25b3ddfe1bb9f1a58d5f28b55aaa0bf8).",
25
25
  "checksums": [
26
26
  {
27
27
  "algorithm": "SHA256",
28
- "checksumValue": "c73ca97be7803c0bd369d4ac3e97a87ead5b1498204c7b88da0ab8938d3581c2"
28
+ "checksumValue": "2825714cd36ab23353d28c7947666e28dee9a9bdbf62b10fd0a8ab342e69ee47"
29
29
  }
30
30
  ]
31
31
  },
@@ -61,7 +61,7 @@
61
61
  "checksumValue": "22deb6d3be3ffcb40b33f0e010afb256c677d97c2a2bdee1f5740cdc97751558"
62
62
  }
63
63
  ],
64
- "comment": "Monospace sharp s outline and advance; complete license in src/math/FONT-LICENSE.txt"
64
+ "comment": "Monospace text outlines and advances; complete license in src/math/FONT-LICENSE.txt"
65
65
  },
66
66
  {
67
67
  "name": "Latin Modern Math Italic10 Regular",
@@ -85,7 +85,7 @@
85
85
  {
86
86
  "licenseId": "LicenseRef-GUST-Font-License",
87
87
  "name": "GUST Font License",
88
- "extractedText": "Copyright 2012--2014 for Latin Modern Math OTF by B. Jackowski, P. Strzelczyk and P. Pianowski (on behalf of TeX users groups). This work is released under the GUST Font License -- see http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt for details.\n\nCopyright 2003, 2009 B. Jackowski and J. M. Nowacki (on behalf of TeX users groups). This work is released under the GUST Font License -- see http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt for details.\n\nCopyright 2003--2009 by B. Jackowski and J.M. Nowacki (on behalf of TeX USERS GROUPS).\n\nRapier math font data, derived from Latin Modern Math 1.959,\nthe sharp s of Latin Modern Mono 2.004, and one arrow hook\nfrom Latin Modern Math Italic 10 Regular 2.003.\nChanges: SVG outline conversion, character and MATH data extraction,\noptical-form closure and lossless path packing.\nOriginal outlines are unchanged. Hinting and text shaping tables are omitted.\nThe font authors do not maintain this conversion.\nComplete original work: https://mirrors.ctan.org/fonts/lm-math.zip\nMono and hook original work: https://mirrors.ctan.org/fonts/lm.zip\nConversion details: FONT-SOURCE.md.\n\n% This is a preliminary version (2006-09-30), barring acceptance from\n% the LaTeX Project Team and other feedback, of the GUST Font License.\n% (GUST is the Polish TeX Users Group, http://www.gust.org.pl)\n%\n% For the most recent version of this license see\n% http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt\n% or\n% http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt\n%\n% This work may be distributed and/or modified under the conditions\n% of the LaTeX Project Public License, either version 1.3c of this\n% license or (at your option) any later version.\n% \n% Please also observe the following clause:\n% 1) it is requested, but not legally required, that derived works be\n% distributed only after changing the names of the fonts comprising this\n% work and given in an accompanying \"manifest\", and that the\n% files comprising the Work, as listed in the manifest, also be given\n% new names. Any exceptions to this request are also given in the\n% manifest.\n% \n% We recommend the manifest be given in a separate file named\n% MANIFEST-<fontid>.txt, where <fontid> is some unique identification\n% of the font family. If a separate \"readme\" file accompanies the Work, \n% we recommend a name of the form README-<fontid>.txt.\n%\n% The latest version of the LaTeX Project Public License is in\n% http://www.latex-project.org/lppl.txt and version 1.3c or later\n% is part of all distributions of LaTeX version 2006/05/20 or later.\n\n\nThe LaTeX Project Public License\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n\nLPPL Version 1.3c 2008-05-04\n\nCopyright 1999 2002-2008 LaTeX3 Project\n Everyone is allowed to distribute verbatim copies of this\n license document, but modification of it is not allowed.\n\n\nPREAMBLE\n========\n\nThe LaTeX Project Public License (LPPL) is the primary license under\nwhich the LaTeX kernel and the base LaTeX packages are distributed.\n\nYou may use this license for any work of which you hold the copyright\nand which you wish to distribute. This license may be particularly\nsuitable if your work is TeX-related (such as a LaTeX package), but \nit is written in such a way that you can use it even if your work is \nunrelated to TeX.\n\nThe section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE',\nbelow, gives instructions, examples, and recommendations for authors\nwho are considering distributing their works under this license.\n\nThis license gives conditions under which a work may be distributed\nand modified, as well as conditions under which modified versions of\nthat work may be distributed.\n\nWe, the LaTeX3 Project, believe that the conditions below give you\nthe freedom to make and distribute modified versions of your work\nthat conform with whatever technical specifications you wish while\nmaintaining the availability, integrity, and reliability of\nthat work. If you do not see how to achieve your goal while\nmeeting these conditions, then read the document `cfgguide.tex'\nand `modguide.tex' in the base LaTeX distribution for suggestions.\n\n\nDEFINITIONS\n===========\n\nIn this license document the following terms are used:\n\n `Work'\n Any work being distributed under this License.\n \n `Derived Work'\n Any work that under any applicable law is derived from the Work.\n\n `Modification' \n Any procedure that produces a Derived Work under any applicable\n law -- for example, the production of a file containing an\n original file associated with the Work or a significant portion of\n such a file, either verbatim or with modifications and/or\n translated into another language.\n\n `Modify'\n To apply any procedure that produces a Derived Work under any\n applicable law.\n \n `Distribution'\n Making copies of the Work available from one person to another, in\n whole or in part. Distribution includes (but is not limited to)\n making any electronic components of the Work accessible by\n file transfer protocols such as FTP or HTTP or by shared file\n systems such as Sun's Network File System (NFS).\n\n `Compiled Work'\n A version of the Work that has been processed into a form where it\n is directly usable on a computer system. This processing may\n include using installation facilities provided by the Work,\n transformations of the Work, copying of components of the Work, or\n other activities. Note that modification of any installation\n facilities provided by the Work constitutes modification of the Work.\n\n `Current Maintainer'\n A person or persons nominated as such within the Work. If there is\n no such explicit nomination then it is the `Copyright Holder' under\n any applicable law.\n\n `Base Interpreter' \n A program or process that is normally needed for running or\n interpreting a part or the whole of the Work. \n\n A Base Interpreter may depend on external components but these\n are not considered part of the Base Interpreter provided that each\n external component clearly identifies itself whenever it is used\n interactively. Unless explicitly specified when applying the\n license to the Work, the only applicable Base Interpreter is a\n `LaTeX-Format' or in the case of files belonging to the \n `LaTeX-format' a program implementing the `TeX language'.\n\n\n\nCONDITIONS ON DISTRIBUTION AND MODIFICATION\n===========================================\n\n1. Activities other than distribution and/or modification of the Work\nare not covered by this license; they are outside its scope. In\nparticular, the act of running the Work is not restricted and no\nrequirements are made concerning any offers of support for the Work.\n\n2. You may distribute a complete, unmodified copy of the Work as you\nreceived it. Distribution of only part of the Work is considered\nmodification of the Work, and no right to distribute such a Derived\nWork may be assumed under the terms of this clause.\n\n3. You may distribute a Compiled Work that has been generated from a\ncomplete, unmodified copy of the Work as distributed under Clause 2\nabove, as long as that Compiled Work is distributed in such a way that\nthe recipients may install the Compiled Work on their system exactly\nas it would have been installed if they generated a Compiled Work\ndirectly from the Work.\n\n4. If you are the Current Maintainer of the Work, you may, without\nrestriction, modify the Work, thus creating a Derived Work. You may\nalso distribute the Derived Work without restriction, including\nCompiled Works generated from the Derived Work. Derived Works\ndistributed in this manner by the Current Maintainer are considered to\nbe updated versions of the Work.\n\n5. If you are not the Current Maintainer of the Work, you may modify\nyour copy of the Work, thus creating a Derived Work based on the Work,\nand compile this Derived Work, thus creating a Compiled Work based on\nthe Derived Work.\n\n6. If you are not the Current Maintainer of the Work, you may\ndistribute a Derived Work provided the following conditions are met\nfor every component of the Work unless that component clearly states\nin the copyright notice that it is exempt from that condition. Only\nthe Current Maintainer is allowed to add such statements of exemption \nto a component of the Work. \n\n a. If a component of this Derived Work can be a direct replacement\n for a component of the Work when that component is used with the\n Base Interpreter, then, wherever this component of the Work\n identifies itself to the user when used interactively with that\n Base Interpreter, the replacement component of this Derived Work\n clearly and unambiguously identifies itself as a modified version\n of this component to the user when used interactively with that\n Base Interpreter.\n \n b. Every component of the Derived Work contains prominent notices\n detailing the nature of the changes to that component, or a\n prominent reference to another file that is distributed as part\n of the Derived Work and that contains a complete and accurate log\n of the changes.\n \n c. No information in the Derived Work implies that any persons,\n including (but not limited to) the authors of the original version\n of the Work, provide any support, including (but not limited to)\n the reporting and handling of errors, to recipients of the\n Derived Work unless those persons have stated explicitly that\n they do provide such support for the Derived Work.\n\n d. You distribute at least one of the following with the Derived Work:\n\n 1. A complete, unmodified copy of the Work; \n if your distribution of a modified component is made by\n offering access to copy the modified component from a\n designated place, then offering equivalent access to copy\n the Work from the same or some similar place meets this\n condition, even though third parties are not compelled to\n copy the Work along with the modified component;\n\n 2. Information that is sufficient to obtain a complete,\n unmodified copy of the Work.\n\n7. If you are not the Current Maintainer of the Work, you may\ndistribute a Compiled Work generated from a Derived Work, as long as\nthe Derived Work is distributed to all recipients of the Compiled\nWork, and as long as the conditions of Clause 6, above, are met with\nregard to the Derived Work.\n\n8. The conditions above are not intended to prohibit, and hence do not\napply to, the modification, by any method, of any component so that it\nbecomes identical to an updated version of that component of the Work as\nit is distributed by the Current Maintainer under Clause 4, above.\n\n9. Distribution of the Work or any Derived Work in an alternative\nformat, where the Work or that Derived Work (in whole or in part) is\nthen produced by applying some process to that format, does not relax or\nnullify any sections of this license as they pertain to the results of\napplying that process.\n \n10. a. A Derived Work may be distributed under a different license\n provided that license itself honors the conditions listed in\n Clause 6 above, in regard to the Work, though it does not have\n to honor the rest of the conditions in this license.\n \n b. If a Derived Work is distributed under a different license, that\n Derived Work must provide sufficient documentation as part of\n itself to allow each recipient of that Derived Work to honor the \n restrictions in Clause 6 above, concerning changes from the Work.\n\n11. This license places no restrictions on works that are unrelated to\nthe Work, nor does this license place any restrictions on aggregating\nsuch works with the Work by any means.\n\n12. Nothing in this license is intended to, or may be used to, prevent\ncomplete compliance by all parties with all applicable laws.\n\n\nNO WARRANTY\n===========\n\nThere is no warranty for the Work. Except when otherwise stated in\nwriting, the Copyright Holder provides the Work `as is', without\nwarranty of any kind, either expressed or implied, including, but not\nlimited to, the implied warranties of merchantability and fitness for a\nparticular purpose. The entire risk as to the quality and performance\nof the Work is with you. Should the Work prove defective, you assume\nthe cost of all necessary servicing, repair, or correction.\n\nIn no event unless required by applicable law or agreed to in writing\nwill The Copyright Holder, or any author named in the components of the\nWork, or any other party who may distribute and/or modify the Work as\npermitted above, be liable to you for damages, including any general,\nspecial, incidental or consequential damages arising out of any use of\nthe Work or out of inability to use the Work (including, but not limited\nto, loss of data, data being rendered inaccurate, or losses sustained by\nanyone as a result of any failure of the Work to operate with any other\nprograms), even if the Copyright Holder or said author or said other\nparty has been advised of the possibility of such damages.\n\n\nMAINTENANCE OF THE WORK\n=======================\n\nThe Work has the status `author-maintained' if the Copyright Holder\nexplicitly and prominently states near the primary copyright notice in\nthe Work that the Work can only be maintained by the Copyright Holder\nor simply that it is `author-maintained'.\n\nThe Work has the status `maintained' if there is a Current Maintainer\nwho has indicated in the Work that they are willing to receive error\nreports for the Work (for example, by supplying a valid e-mail\naddress). It is not required for the Current Maintainer to acknowledge\nor act upon these error reports.\n\nThe Work changes from status `maintained' to `unmaintained' if there\nis no Current Maintainer, or the person stated to be Current\nMaintainer of the work cannot be reached through the indicated means\nof communication for a period of six months, and there are no other\nsignificant signs of active maintenance.\n\nYou can become the Current Maintainer of the Work by agreement with\nany existing Current Maintainer to take over this role.\n\nIf the Work is unmaintained, you can become the Current Maintainer of\nthe Work through the following steps:\n\n 1. Make a reasonable attempt to trace the Current Maintainer (and\n the Copyright Holder, if the two differ) through the means of\n an Internet or similar search.\n\n 2. If this search is successful, then enquire whether the Work\n is still maintained.\n\n a. If it is being maintained, then ask the Current Maintainer\n to update their communication data within one month.\n \n b. If the search is unsuccessful or no action to resume active\n maintenance is taken by the Current Maintainer, then announce\n within the pertinent community your intention to take over\n maintenance. (If the Work is a LaTeX work, this could be\n done, for example, by posting to comp.text.tex.)\n\n 3a. If the Current Maintainer is reachable and agrees to pass\n maintenance of the Work to you, then this takes effect\n immediately upon announcement.\n \n b. If the Current Maintainer is not reachable and the Copyright\n Holder agrees that maintenance of the Work be passed to you,\n then this takes effect immediately upon announcement. \n \n 4. If you make an `intention announcement' as described in 2b. above\n and after three months your intention is challenged neither by\n the Current Maintainer nor by the Copyright Holder nor by other\n people, then you may arrange for the Work to be changed so as\n to name you as the (new) Current Maintainer.\n \n 5. If the previously unreachable Current Maintainer becomes\n reachable once more within three months of a change completed\n under the terms of 3b) or 4), then that Current Maintainer must\n become or remain the Current Maintainer upon request provided\n they then update their communication data within one month.\n\nA change in the Current Maintainer does not, of itself, alter the fact\nthat the Work is distributed under the LPPL license.\n\nIf you become the Current Maintainer of the Work, you should\nimmediately provide, within the Work, a prominent and unambiguous\nstatement of your status as Current Maintainer. You should also\nannounce your new status to the same pertinent community as\nin 2b) above.\n\n\nWHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE\n======================================================\n\nThis section contains important instructions, examples, and\nrecommendations for authors who are considering distributing their\nworks under this license. These authors are addressed as `you' in\nthis section.\n\nChoosing This License or Another License\n----------------------------------------\n\nIf for any part of your work you want or need to use *distribution*\nconditions that differ significantly from those in this license, then\ndo not refer to this license anywhere in your work but, instead,\ndistribute your work under a different license. You may use the text\nof this license as a model for your own license, but your license\nshould not refer to the LPPL or otherwise give the impression that\nyour work is distributed under the LPPL.\n\nThe document `modguide.tex' in the base LaTeX distribution explains\nthe motivation behind the conditions of this license. It explains,\nfor example, why distributing LaTeX under the GNU General Public\nLicense (GPL) was considered inappropriate. Even if your work is\nunrelated to LaTeX, the discussion in `modguide.tex' may still be\nrelevant, and authors intending to distribute their works under any\nlicense are encouraged to read it.\n\nA Recommendation on Modification Without Distribution\n-----------------------------------------------------\n\nIt is wise never to modify a component of the Work, even for your own\npersonal use, without also meeting the above conditions for\ndistributing the modified component. While you might intend that such\nmodifications will never be distributed, often this will happen by\naccident -- you may forget that you have modified that component; or\nit may not occur to you when allowing others to access the modified\nversion that you are thus distributing it and violating the conditions\nof this license in ways that could have legal implications and, worse,\ncause problems for the community. It is therefore usually in your\nbest interest to keep your copy of the Work identical with the public\none. Many works provide ways to control the behavior of that work\nwithout altering any of its licensed components.\n\nHow to Use This License\n-----------------------\n\nTo use this license, place in each of the components of your work both\nan explicit copyright notice including your name and the year the work\nwas authored and/or last substantially modified. Include also a\nstatement that the distribution and/or modification of that\ncomponent is constrained by the conditions in this license.\n\nHere is an example of such a notice and statement:\n\n %% pig.dtx\n %% Copyright 2008 M. Y. Name\n %\n % This work may be distributed and/or modified under the\n % conditions of the LaTeX Project Public License, either version 1.3\n % of this license or (at your option) any later version.\n % The latest version of this license is in\n % https://www.latex-project.org/lppl.txt\n % and version 1.3c or later is part of all distributions of LaTeX\n % version 2008 or later.\n %\n % This work has the LPPL maintenance status `maintained'.\n % \n % The Current Maintainer of this work is M. Y. Name.\n %\n % This work consists of the files pig.dtx and pig.ins\n % and the derived file pig.sty.\n\nGiven such a notice and statement in a file, the conditions\ngiven in this license document would apply, with the `Work' referring\nto the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being\ngenerated from `pig.dtx' using `pig.ins'), the `Base Interpreter'\nreferring to any `LaTeX-Format', and both `Copyright Holder' and\n`Current Maintainer' referring to the person `M. Y. Name'.\n\nIf you do not want the Maintenance section of LPPL to apply to your\nWork, change `maintained' above into `author-maintained'. \nHowever, we recommend that you use `maintained', as the Maintenance\nsection was added in order to ensure that your Work remains useful to\nthe community even when you can no longer maintain and support it\nyourself.\n\nDerived Works That Are Not Replacements\n---------------------------------------\n\nSeveral clauses of the LPPL specify means to provide reliability and\nstability for the user community. They therefore concern themselves\nwith the case that a Derived Work is intended to be used as a\n(compatible or incompatible) replacement of the original Work. If\nthis is not the case (e.g., if a few lines of code are reused for a\ncompletely different task), then clauses 6b and 6d shall not apply.\n\n\nImportant Recommendations\n-------------------------\n\n Defining What Constitutes the Work\n\n The LPPL requires that distributions of the Work contain all the\n files of the Work. It is therefore important that you provide a\n way for the licensee to determine which files constitute the Work.\n This could, for example, be achieved by explicitly listing all the\n files of the Work near the copyright notice of each file or by\n using a line such as:\n\n % This work consists of all files listed in manifest.txt.\n \n in that place. In the absence of an unequivocal list it might be\n impossible for the licensee to determine what is considered by you\n to comprise the Work and, in such a case, the licensee would be\n entitled to make reasonable conjectures as to which files comprise\n the Work.\n\n",
88
+ "extractedText": "Copyright 2012--2014 for Latin Modern Math OTF by B. Jackowski, P. Strzelczyk and P. Pianowski (on behalf of TeX users groups). This work is released under the GUST Font License -- see http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt for details.\n\nCopyright 2003, 2009 B. Jackowski and J. M. Nowacki (on behalf of TeX users groups). This work is released under the GUST Font License -- see http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt for details.\n\nCopyright 2003--2009 by B. Jackowski and J.M. Nowacki (on behalf of TeX USERS GROUPS).\n\nRapier math font data, derived from Latin Modern Math 1.959,\ntext outlines from Latin Modern Mono 2.004, and one arrow hook\nfrom Latin Modern Math Italic 10 Regular 2.003.\nChanges: SVG outline conversion, character and MATH data extraction,\noptical-form closure and lossless path packing.\nOriginal outlines are unchanged. Hinting and text shaping tables are omitted.\nThe font authors do not maintain this conversion.\nComplete original work: https://mirrors.ctan.org/fonts/lm-math.zip\nMono and hook original work: https://mirrors.ctan.org/fonts/lm.zip\nConversion details: FONT-SOURCE.md.\n\n% This is a preliminary version (2006-09-30), barring acceptance from\n% the LaTeX Project Team and other feedback, of the GUST Font License.\n% (GUST is the Polish TeX Users Group, http://www.gust.org.pl)\n%\n% For the most recent version of this license see\n% http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt\n% or\n% http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt\n%\n% This work may be distributed and/or modified under the conditions\n% of the LaTeX Project Public License, either version 1.3c of this\n% license or (at your option) any later version.\n% \n% Please also observe the following clause:\n% 1) it is requested, but not legally required, that derived works be\n% distributed only after changing the names of the fonts comprising this\n% work and given in an accompanying \"manifest\", and that the\n% files comprising the Work, as listed in the manifest, also be given\n% new names. Any exceptions to this request are also given in the\n% manifest.\n% \n% We recommend the manifest be given in a separate file named\n% MANIFEST-<fontid>.txt, where <fontid> is some unique identification\n% of the font family. If a separate \"readme\" file accompanies the Work, \n% we recommend a name of the form README-<fontid>.txt.\n%\n% The latest version of the LaTeX Project Public License is in\n% http://www.latex-project.org/lppl.txt and version 1.3c or later\n% is part of all distributions of LaTeX version 2006/05/20 or later.\n\n\nThe LaTeX Project Public License\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n\nLPPL Version 1.3c 2008-05-04\n\nCopyright 1999 2002-2008 LaTeX3 Project\n Everyone is allowed to distribute verbatim copies of this\n license document, but modification of it is not allowed.\n\n\nPREAMBLE\n========\n\nThe LaTeX Project Public License (LPPL) is the primary license under\nwhich the LaTeX kernel and the base LaTeX packages are distributed.\n\nYou may use this license for any work of which you hold the copyright\nand which you wish to distribute. This license may be particularly\nsuitable if your work is TeX-related (such as a LaTeX package), but \nit is written in such a way that you can use it even if your work is \nunrelated to TeX.\n\nThe section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE',\nbelow, gives instructions, examples, and recommendations for authors\nwho are considering distributing their works under this license.\n\nThis license gives conditions under which a work may be distributed\nand modified, as well as conditions under which modified versions of\nthat work may be distributed.\n\nWe, the LaTeX3 Project, believe that the conditions below give you\nthe freedom to make and distribute modified versions of your work\nthat conform with whatever technical specifications you wish while\nmaintaining the availability, integrity, and reliability of\nthat work. If you do not see how to achieve your goal while\nmeeting these conditions, then read the document `cfgguide.tex'\nand `modguide.tex' in the base LaTeX distribution for suggestions.\n\n\nDEFINITIONS\n===========\n\nIn this license document the following terms are used:\n\n `Work'\n Any work being distributed under this License.\n \n `Derived Work'\n Any work that under any applicable law is derived from the Work.\n\n `Modification' \n Any procedure that produces a Derived Work under any applicable\n law -- for example, the production of a file containing an\n original file associated with the Work or a significant portion of\n such a file, either verbatim or with modifications and/or\n translated into another language.\n\n `Modify'\n To apply any procedure that produces a Derived Work under any\n applicable law.\n \n `Distribution'\n Making copies of the Work available from one person to another, in\n whole or in part. Distribution includes (but is not limited to)\n making any electronic components of the Work accessible by\n file transfer protocols such as FTP or HTTP or by shared file\n systems such as Sun's Network File System (NFS).\n\n `Compiled Work'\n A version of the Work that has been processed into a form where it\n is directly usable on a computer system. This processing may\n include using installation facilities provided by the Work,\n transformations of the Work, copying of components of the Work, or\n other activities. Note that modification of any installation\n facilities provided by the Work constitutes modification of the Work.\n\n `Current Maintainer'\n A person or persons nominated as such within the Work. If there is\n no such explicit nomination then it is the `Copyright Holder' under\n any applicable law.\n\n `Base Interpreter' \n A program or process that is normally needed for running or\n interpreting a part or the whole of the Work. \n\n A Base Interpreter may depend on external components but these\n are not considered part of the Base Interpreter provided that each\n external component clearly identifies itself whenever it is used\n interactively. Unless explicitly specified when applying the\n license to the Work, the only applicable Base Interpreter is a\n `LaTeX-Format' or in the case of files belonging to the \n `LaTeX-format' a program implementing the `TeX language'.\n\n\n\nCONDITIONS ON DISTRIBUTION AND MODIFICATION\n===========================================\n\n1. Activities other than distribution and/or modification of the Work\nare not covered by this license; they are outside its scope. In\nparticular, the act of running the Work is not restricted and no\nrequirements are made concerning any offers of support for the Work.\n\n2. You may distribute a complete, unmodified copy of the Work as you\nreceived it. Distribution of only part of the Work is considered\nmodification of the Work, and no right to distribute such a Derived\nWork may be assumed under the terms of this clause.\n\n3. You may distribute a Compiled Work that has been generated from a\ncomplete, unmodified copy of the Work as distributed under Clause 2\nabove, as long as that Compiled Work is distributed in such a way that\nthe recipients may install the Compiled Work on their system exactly\nas it would have been installed if they generated a Compiled Work\ndirectly from the Work.\n\n4. If you are the Current Maintainer of the Work, you may, without\nrestriction, modify the Work, thus creating a Derived Work. You may\nalso distribute the Derived Work without restriction, including\nCompiled Works generated from the Derived Work. Derived Works\ndistributed in this manner by the Current Maintainer are considered to\nbe updated versions of the Work.\n\n5. If you are not the Current Maintainer of the Work, you may modify\nyour copy of the Work, thus creating a Derived Work based on the Work,\nand compile this Derived Work, thus creating a Compiled Work based on\nthe Derived Work.\n\n6. If you are not the Current Maintainer of the Work, you may\ndistribute a Derived Work provided the following conditions are met\nfor every component of the Work unless that component clearly states\nin the copyright notice that it is exempt from that condition. Only\nthe Current Maintainer is allowed to add such statements of exemption \nto a component of the Work. \n\n a. If a component of this Derived Work can be a direct replacement\n for a component of the Work when that component is used with the\n Base Interpreter, then, wherever this component of the Work\n identifies itself to the user when used interactively with that\n Base Interpreter, the replacement component of this Derived Work\n clearly and unambiguously identifies itself as a modified version\n of this component to the user when used interactively with that\n Base Interpreter.\n \n b. Every component of the Derived Work contains prominent notices\n detailing the nature of the changes to that component, or a\n prominent reference to another file that is distributed as part\n of the Derived Work and that contains a complete and accurate log\n of the changes.\n \n c. No information in the Derived Work implies that any persons,\n including (but not limited to) the authors of the original version\n of the Work, provide any support, including (but not limited to)\n the reporting and handling of errors, to recipients of the\n Derived Work unless those persons have stated explicitly that\n they do provide such support for the Derived Work.\n\n d. You distribute at least one of the following with the Derived Work:\n\n 1. A complete, unmodified copy of the Work; \n if your distribution of a modified component is made by\n offering access to copy the modified component from a\n designated place, then offering equivalent access to copy\n the Work from the same or some similar place meets this\n condition, even though third parties are not compelled to\n copy the Work along with the modified component;\n\n 2. Information that is sufficient to obtain a complete,\n unmodified copy of the Work.\n\n7. If you are not the Current Maintainer of the Work, you may\ndistribute a Compiled Work generated from a Derived Work, as long as\nthe Derived Work is distributed to all recipients of the Compiled\nWork, and as long as the conditions of Clause 6, above, are met with\nregard to the Derived Work.\n\n8. The conditions above are not intended to prohibit, and hence do not\napply to, the modification, by any method, of any component so that it\nbecomes identical to an updated version of that component of the Work as\nit is distributed by the Current Maintainer under Clause 4, above.\n\n9. Distribution of the Work or any Derived Work in an alternative\nformat, where the Work or that Derived Work (in whole or in part) is\nthen produced by applying some process to that format, does not relax or\nnullify any sections of this license as they pertain to the results of\napplying that process.\n \n10. a. A Derived Work may be distributed under a different license\n provided that license itself honors the conditions listed in\n Clause 6 above, in regard to the Work, though it does not have\n to honor the rest of the conditions in this license.\n \n b. If a Derived Work is distributed under a different license, that\n Derived Work must provide sufficient documentation as part of\n itself to allow each recipient of that Derived Work to honor the \n restrictions in Clause 6 above, concerning changes from the Work.\n\n11. This license places no restrictions on works that are unrelated to\nthe Work, nor does this license place any restrictions on aggregating\nsuch works with the Work by any means.\n\n12. Nothing in this license is intended to, or may be used to, prevent\ncomplete compliance by all parties with all applicable laws.\n\n\nNO WARRANTY\n===========\n\nThere is no warranty for the Work. Except when otherwise stated in\nwriting, the Copyright Holder provides the Work `as is', without\nwarranty of any kind, either expressed or implied, including, but not\nlimited to, the implied warranties of merchantability and fitness for a\nparticular purpose. The entire risk as to the quality and performance\nof the Work is with you. Should the Work prove defective, you assume\nthe cost of all necessary servicing, repair, or correction.\n\nIn no event unless required by applicable law or agreed to in writing\nwill The Copyright Holder, or any author named in the components of the\nWork, or any other party who may distribute and/or modify the Work as\npermitted above, be liable to you for damages, including any general,\nspecial, incidental or consequential damages arising out of any use of\nthe Work or out of inability to use the Work (including, but not limited\nto, loss of data, data being rendered inaccurate, or losses sustained by\nanyone as a result of any failure of the Work to operate with any other\nprograms), even if the Copyright Holder or said author or said other\nparty has been advised of the possibility of such damages.\n\n\nMAINTENANCE OF THE WORK\n=======================\n\nThe Work has the status `author-maintained' if the Copyright Holder\nexplicitly and prominently states near the primary copyright notice in\nthe Work that the Work can only be maintained by the Copyright Holder\nor simply that it is `author-maintained'.\n\nThe Work has the status `maintained' if there is a Current Maintainer\nwho has indicated in the Work that they are willing to receive error\nreports for the Work (for example, by supplying a valid e-mail\naddress). It is not required for the Current Maintainer to acknowledge\nor act upon these error reports.\n\nThe Work changes from status `maintained' to `unmaintained' if there\nis no Current Maintainer, or the person stated to be Current\nMaintainer of the work cannot be reached through the indicated means\nof communication for a period of six months, and there are no other\nsignificant signs of active maintenance.\n\nYou can become the Current Maintainer of the Work by agreement with\nany existing Current Maintainer to take over this role.\n\nIf the Work is unmaintained, you can become the Current Maintainer of\nthe Work through the following steps:\n\n 1. Make a reasonable attempt to trace the Current Maintainer (and\n the Copyright Holder, if the two differ) through the means of\n an Internet or similar search.\n\n 2. If this search is successful, then enquire whether the Work\n is still maintained.\n\n a. If it is being maintained, then ask the Current Maintainer\n to update their communication data within one month.\n \n b. If the search is unsuccessful or no action to resume active\n maintenance is taken by the Current Maintainer, then announce\n within the pertinent community your intention to take over\n maintenance. (If the Work is a LaTeX work, this could be\n done, for example, by posting to comp.text.tex.)\n\n 3a. If the Current Maintainer is reachable and agrees to pass\n maintenance of the Work to you, then this takes effect\n immediately upon announcement.\n \n b. If the Current Maintainer is not reachable and the Copyright\n Holder agrees that maintenance of the Work be passed to you,\n then this takes effect immediately upon announcement. \n \n 4. If you make an `intention announcement' as described in 2b. above\n and after three months your intention is challenged neither by\n the Current Maintainer nor by the Copyright Holder nor by other\n people, then you may arrange for the Work to be changed so as\n to name you as the (new) Current Maintainer.\n \n 5. If the previously unreachable Current Maintainer becomes\n reachable once more within three months of a change completed\n under the terms of 3b) or 4), then that Current Maintainer must\n become or remain the Current Maintainer upon request provided\n they then update their communication data within one month.\n\nA change in the Current Maintainer does not, of itself, alter the fact\nthat the Work is distributed under the LPPL license.\n\nIf you become the Current Maintainer of the Work, you should\nimmediately provide, within the Work, a prominent and unambiguous\nstatement of your status as Current Maintainer. You should also\nannounce your new status to the same pertinent community as\nin 2b) above.\n\n\nWHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE\n======================================================\n\nThis section contains important instructions, examples, and\nrecommendations for authors who are considering distributing their\nworks under this license. These authors are addressed as `you' in\nthis section.\n\nChoosing This License or Another License\n----------------------------------------\n\nIf for any part of your work you want or need to use *distribution*\nconditions that differ significantly from those in this license, then\ndo not refer to this license anywhere in your work but, instead,\ndistribute your work under a different license. You may use the text\nof this license as a model for your own license, but your license\nshould not refer to the LPPL or otherwise give the impression that\nyour work is distributed under the LPPL.\n\nThe document `modguide.tex' in the base LaTeX distribution explains\nthe motivation behind the conditions of this license. It explains,\nfor example, why distributing LaTeX under the GNU General Public\nLicense (GPL) was considered inappropriate. Even if your work is\nunrelated to LaTeX, the discussion in `modguide.tex' may still be\nrelevant, and authors intending to distribute their works under any\nlicense are encouraged to read it.\n\nA Recommendation on Modification Without Distribution\n-----------------------------------------------------\n\nIt is wise never to modify a component of the Work, even for your own\npersonal use, without also meeting the above conditions for\ndistributing the modified component. While you might intend that such\nmodifications will never be distributed, often this will happen by\naccident -- you may forget that you have modified that component; or\nit may not occur to you when allowing others to access the modified\nversion that you are thus distributing it and violating the conditions\nof this license in ways that could have legal implications and, worse,\ncause problems for the community. It is therefore usually in your\nbest interest to keep your copy of the Work identical with the public\none. Many works provide ways to control the behavior of that work\nwithout altering any of its licensed components.\n\nHow to Use This License\n-----------------------\n\nTo use this license, place in each of the components of your work both\nan explicit copyright notice including your name and the year the work\nwas authored and/or last substantially modified. Include also a\nstatement that the distribution and/or modification of that\ncomponent is constrained by the conditions in this license.\n\nHere is an example of such a notice and statement:\n\n %% pig.dtx\n %% Copyright 2008 M. Y. Name\n %\n % This work may be distributed and/or modified under the\n % conditions of the LaTeX Project Public License, either version 1.3\n % of this license or (at your option) any later version.\n % The latest version of this license is in\n % https://www.latex-project.org/lppl.txt\n % and version 1.3c or later is part of all distributions of LaTeX\n % version 2008 or later.\n %\n % This work has the LPPL maintenance status `maintained'.\n % \n % The Current Maintainer of this work is M. Y. Name.\n %\n % This work consists of the files pig.dtx and pig.ins\n % and the derived file pig.sty.\n\nGiven such a notice and statement in a file, the conditions\ngiven in this license document would apply, with the `Work' referring\nto the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being\ngenerated from `pig.dtx' using `pig.ins'), the `Base Interpreter'\nreferring to any `LaTeX-Format', and both `Copyright Holder' and\n`Current Maintainer' referring to the person `M. Y. Name'.\n\nIf you do not want the Maintenance section of LPPL to apply to your\nWork, change `maintained' above into `author-maintained'. \nHowever, we recommend that you use `maintained', as the Maintenance\nsection was added in order to ensure that your Work remains useful to\nthe community even when you can no longer maintain and support it\nyourself.\n\nDerived Works That Are Not Replacements\n---------------------------------------\n\nSeveral clauses of the LPPL specify means to provide reliability and\nstability for the user community. They therefore concern themselves\nwith the case that a Derived Work is intended to be used as a\n(compatible or incompatible) replacement of the original Work. If\nthis is not the case (e.g., if a few lines of code are reused for a\ncompletely different task), then clauses 6b and 6d shall not apply.\n\n\nImportant Recommendations\n-------------------------\n\n Defining What Constitutes the Work\n\n The LPPL requires that distributions of the Work contain all the\n files of the Work. It is therefore important that you provide a\n way for the licensee to determine which files constitute the Work.\n This could, for example, be achieved by explicitly listing all the\n files of the Work near the copyright notice of each file or by\n using a line such as:\n\n % This work consists of all files listed in manifest.txt.\n \n in that place. In the absence of an unequivocal list it might be\n impossible for the licensee to determine what is considered by you\n to comprise the Work and, in such a case, the licensee would be\n entitled to make reasonable conjectures as to which files comprise\n the Work.\n\n",
89
89
  "seeAlsos": [
90
90
  "https://mirror.apps.cam.ac.uk/pub/tex-archive/fonts/lm-math/doc/GUST-FONT-LICENSE.txt"
91
91
  ]
@@ -1,18 +1,18 @@
1
1
  {
2
- "bundle": "rapier-math-2.6.1.js",
2
+ "bundle": "rapier-math-3.0.0.js",
3
3
  "packageBundle": "dist/rapier-math.js",
4
- "version": "2.6.1",
4
+ "version": "3.0.0",
5
5
  "license": "MIT AND LicenseRef-GUST-Font-License",
6
- "bytes": 733943,
7
- "gzipBytes": 418021,
8
- "sha256": "c73ca97be7803c0bd369d4ac3e97a87ead5b1498204c7b88da0ab8938d3581c2",
9
- "sha384": "c6Y4kudfuc16Hkmvfgr0MpdQcJs1jU4qbsKu2tUSduVuQdwLQ/38rR0GmQMatLsS",
6
+ "bytes": 742684,
7
+ "gzipBytes": 421701,
8
+ "sha256": "2825714cd36ab23353d28c7947666e28dee9a9bdbf62b10fd0a8ab342e69ee47",
9
+ "sha384": "t7kbxrkzF1YSQz1jItY5cbSBCUaO5aV0PPaQ3tgWvIXXS2jRL9Oq/6TLazcPCpJr",
10
10
  "sources": [
11
11
  {
12
12
  "file": "math/font.js",
13
13
  "packageFile": "src/math/font.js",
14
- "bytes": 443454,
15
- "sha256": "ce29ec9585a425f1c1f2f957ec2c2e3234f536945df73f2693b289561129050e"
14
+ "bytes": 446505,
15
+ "sha256": "5ee3578742901833510a218359eb54254a68d1cf737493aa65d49cecb437c2fb"
16
16
  },
17
17
  {
18
18
  "file": "math/symbols.js",
@@ -23,8 +23,8 @@
23
23
  {
24
24
  "file": "math/parser.js",
25
25
  "packageFile": "src/math/parser.js",
26
- "bytes": 122330,
27
- "sha256": "5068af3b5da410e53b00c4970bf297fe18eecd61c99bf57c2b60d5fb25e82104"
26
+ "bytes": 127337,
27
+ "sha256": "83bd49b4efe6d323bdcac45966e5248cf73abe3857a608d2277c313c7e720850"
28
28
  },
29
29
  {
30
30
  "file": "math/source.js",
@@ -41,8 +41,8 @@
41
41
  {
42
42
  "file": "math/layout.js",
43
43
  "packageFile": "src/math/layout.js",
44
- "bytes": 60441,
45
- "sha256": "f5e250c6ecc5c06064193008c3c5d7a213cde3bb3636c4e21d7f9131addfcdc6"
44
+ "bytes": 58681,
45
+ "sha256": "8ec4c3e25f65afc026d856e6f046e8822de1eae815456e967a39b9f4df61f99c"
46
46
  },
47
47
  {
48
48
  "file": "math/fallbacks.js",
@@ -71,8 +71,8 @@
71
71
  {
72
72
  "file": "math/mathml.js",
73
73
  "packageFile": "src/math/mathml.js",
74
- "bytes": 31958,
75
- "sha256": "5bb3858de500b53ee6c4b6f8335d4b6bea0cd6f5d8e9e4dee4cd68cd0c76c4f4"
74
+ "bytes": 34551,
75
+ "sha256": "271f46dbb28eae4204958e16c293a8f859ffe1877c3a1fc2a8cc6c45175e82cd"
76
76
  },
77
77
  {
78
78
  "file": "math/semantic-api.js",
@@ -90,33 +90,33 @@
90
90
  "file": "math/classic.js",
91
91
  "packageFile": "src/math/classic.js",
92
92
  "bytes": 269,
93
- "sha256": "2012615124199ccbe001c6299bc789c4e085e621173cca0d5da5c15417b3d7e3"
93
+ "sha256": "c4d5fcbf318dd8ecb10871f67826111c2a436ca17f9065491e462eb721229857"
94
94
  }
95
95
  ],
96
96
  "recipe": [
97
97
  {
98
98
  "file": "math/build-font.py",
99
99
  "packageFile": "src/math/build-font.py",
100
- "bytes": 31699,
101
- "sha256": "50f898a0f5f21d84b9593eaa3c1915afda18e98325ff2f8a95999531cd68ac0b"
100
+ "bytes": 32590,
101
+ "sha256": "f596533a50fe378c3c98478ff49b97e96c808065fbf20ee9597cfa7cf078f4bc"
102
102
  },
103
103
  {
104
104
  "file": "math/FONT-SOURCE.md",
105
105
  "packageFile": "docs/font-source.md",
106
- "bytes": 11554,
107
- "sha256": "c0aa2a8a14a97fa45d40334ea7c91281df7453d5fdb931b51b825d13d3d47793"
106
+ "bytes": 12641,
107
+ "sha256": "9827c9ab8e0b600f3b8646b0611819b68b52dc60b526aa39992a22111d9847eb"
108
108
  },
109
109
  {
110
110
  "file": "math/FONT-LICENSE.txt",
111
111
  "packageFile": "src/math/FONT-LICENSE.txt",
112
- "bytes": 21691,
113
- "sha256": "6fb288a3363cb44eb0e247ead8afefed55fbe9b00ff2d0d1c75a1176d38f4091"
112
+ "bytes": 21695,
113
+ "sha256": "fb1f153e363d003180781b4a043f34ab76d17f1c338de9229c40149b52cfdf2f"
114
114
  },
115
115
  {
116
116
  "file": "tools/build-math.mjs",
117
117
  "packageFile": "src/tools/build-math.mjs",
118
- "bytes": 10968,
119
- "sha256": "0eafb524ba760dc8585c269729baec233477377d4e177fcc208b118c9d6566e7"
118
+ "bytes": 11595,
119
+ "sha256": "fc9b00db8882ebcc4fa316efd8a8749dab444926fc0f994b1e4ec32ffcd9ae18"
120
120
  },
121
121
  {
122
122
  "file": "math/LICENSE-MIT",
@@ -139,26 +139,26 @@
139
139
  {
140
140
  "file": "math/package-readme.mjs",
141
141
  "packageFile": "src/math/package-readme.mjs",
142
- "bytes": 2458,
143
- "sha256": "ed03aa38d7ed3d01fbab6836d2827ee0b2565bca4e998af7172e2da940611495"
142
+ "bytes": 1949,
143
+ "sha256": "a852b158999d03ec6a4b2e479cb49bf246e9b8f14d4b54a86d67e32bf7b58bb1"
144
144
  },
145
145
  {
146
146
  "file": "math/README.md",
147
147
  "packageFile": "docs/api.md",
148
- "bytes": 24062,
149
- "sha256": "59963d4156549530b73d15d2dc66d4f7cec108e4767856785605e71fe1f6162a"
148
+ "bytes": 24187,
149
+ "sha256": "636243ac6b4f9a5687359eaaa95abdd79ecc145a11ca0f9b393ff82166777bb4"
150
150
  },
151
151
  {
152
152
  "file": "math/CHANGELOG.md",
153
153
  "packageFile": "CHANGELOG.md",
154
- "bytes": 389,
155
- "sha256": "621ffa760f4ebeb72c7882e46caf8c8cb815abde50cd98d123da5a34ea105397"
154
+ "bytes": 1024,
155
+ "sha256": "4adf7ef95a37ca26ea3adfd98a6b2bef77120fa4b0cb2c45ad6eaa6c9d53b345"
156
156
  },
157
157
  {
158
158
  "file": "math/SEMANTICS.md",
159
159
  "packageFile": "docs/semantics.md",
160
- "bytes": 18282,
161
- "sha256": "98984313665984aaa29fd816cc7b79691deac7450d5d76b8e7dc0f79b575e2cf"
160
+ "bytes": 18413,
161
+ "sha256": "e0cd9370ffe88a38658bd4de193002429ad202b772655a0e8c7104e426ba1519"
162
162
  }
163
163
  ],
164
164
  "components": [
@@ -177,7 +177,7 @@
177
177
  "source": "https://ftp.riken.jp/CTAN/fonts/lm/fonts/opentype/public/lm/lmmono10-regular.otf",
178
178
  "sha256": "22deb6d3be3ffcb40b33f0e010afb256c677d97c2a2bdee1f5740cdc97751558",
179
179
  "copyright": "Copyright 2003, 2009 B. Jackowski and J. M. Nowacki (on behalf of TeX users groups). This work is released under the GUST Font License -- see http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt for details.",
180
- "note": "Monospace sharp s outline and advance; complete license in math-font-LICENSE.txt"
180
+ "note": "Monospace text outlines and advances; complete license in math-font-LICENSE.txt"
181
181
  },
182
182
  {
183
183
  "name": "Latin Modern Math Italic10 Regular",
@@ -199,8 +199,8 @@
199
199
  "copyright": "Copyright 2012--2014 for Latin Modern Math OTF by B. Jackowski, P. Strzelczyk and P. Pianowski (on behalf of TeX users groups). This work is released under the GUST Font License -- see http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt for details.",
200
200
  "licenseSource": "https://mirror.apps.cam.ac.uk/pub/tex-archive/fonts/lm-math/doc/GUST-FONT-LICENSE.txt",
201
201
  "licenseFile": "math/FONT-LICENSE.txt",
202
- "licenseSha256": "6fb288a3363cb44eb0e247ead8afefed55fbe9b00ff2d0d1c75a1176d38f4091",
203
- "licenseBytes": 21691
202
+ "licenseSha256": "fb1f153e363d003180781b4a043f34ab76d17f1c338de9229c40149b52cfdf2f",
203
+ "licenseBytes": 21695
204
204
  },
205
205
  "adoption": [
206
206
  {
@@ -266,14 +266,14 @@
266
266
  {
267
267
  "file": "math/combined.d.ts",
268
268
  "packageFile": "dist/combined.d.ts",
269
- "bytes": 286,
270
- "sha256": "5f3837d9bb0c095365a387ce88ae0c4bccd538ba75d08152a2a540c51278d7d7"
269
+ "bytes": 313,
270
+ "sha256": "b48989c14ea7d290add0c98ad1758c223f6d0d6a0049170b4d7cff90d44f9698"
271
271
  },
272
272
  {
273
273
  "file": "math/accessible.d.ts",
274
274
  "packageFile": "dist/accessible.d.ts",
275
- "bytes": 582,
276
- "sha256": "d2d2285c084c19b87dae6c1a538b4711233dffd50098fa08bac3b8d41aa43cd3"
275
+ "bytes": 624,
276
+ "sha256": "9cef1d88ea6c2e3c44d3cc439fb49adca42726e3c7abfe5f24a684c02e12e56a"
277
277
  },
278
278
  {
279
279
  "file": "math/index.d.ts",
@@ -284,8 +284,8 @@
284
284
  {
285
285
  "file": "math/classic.d.ts",
286
286
  "packageFile": "dist/classic.d.ts",
287
- "bytes": 349,
288
- "sha256": "0415467509e356a5372caa0778586242de8cc0405aaa5b9db62b231d2f81de39"
287
+ "bytes": 347,
288
+ "sha256": "ce6c4d57a671e473a5a66c36a79b612f220954f49a624b22694311ca46a4be25"
289
289
  },
290
290
  {
291
291
  "file": "math/delimiters.d.ts",
@@ -296,20 +296,20 @@
296
296
  {
297
297
  "file": "math/integration.d.ts",
298
298
  "packageFile": "dist/integration.d.ts",
299
- "bytes": 1029,
300
- "sha256": "8f69318a973d37f8491799c12c28ce66e9512e7f1b09009fa0601be86bdea649"
299
+ "bytes": 1051,
300
+ "sha256": "c606cc0e2c693b42af5131c0fb59e6689ece569b7b51c920fe3e78ed56f6dd8f"
301
301
  },
302
302
  {
303
303
  "file": "math/markdown-it.d.ts",
304
304
  "packageFile": "dist/markdown-it.d.ts",
305
- "bytes": 693,
306
- "sha256": "b4bf25c7a72ebb30876b66a4ce21ce293eeae3f08b8ea7962c4589a1aa7f4b80"
305
+ "bytes": 814,
306
+ "sha256": "55059b5a4228edbfdb125f3e4c28c373bfe3b4feefb853dc34dc2299e05e734e"
307
307
  },
308
308
  {
309
309
  "file": "math/rehype.d.ts",
310
310
  "packageFile": "dist/rehype.d.ts",
311
- "bytes": 560,
312
- "sha256": "be3d05097c37c72cff12b46503cadfcf24efac396cb4398707136aa267f0a827"
311
+ "bytes": 561,
312
+ "sha256": "6cd2fc33830af68d4c995124977e64a6c07b073afcb680ab7d1dde96e2d9dc0c"
313
313
  },
314
314
  {
315
315
  "file": "math/stream.d.ts",
package/docs/semantics.md CHANGED
@@ -29,6 +29,9 @@ Unicode character absent from the embedded SVG font. A successful SVG does not t
29
29
  refusal into success. `renderToString` returns SVG. The complete classic `RapierMath` object
30
30
  also exposes `toMathML` and `renderWithMathML`.
31
31
 
32
+ `preview` and `caret` apply only to the SVG `render` and `renderToString` methods.
33
+ Combined and accessible rendering use the strict parse and never repair incomplete expressions.
34
+
32
35
  The font-free entry exports `parse` for inspection as well. Parse results are ordinary,
33
36
  detached data: changing a returned tree has no effect on subsequent renders. There is no
34
37
  public API accepting arbitrary or modified trees for serialization. Local macros are
@@ -223,6 +226,6 @@ These steps are manual acceptance, not an automated pass:
223
226
  explore the expression at different granularities and verify nested math within a link.
224
227
  Qualify macOS/Safari separately with its actual VoiceOver controls.
225
228
 
226
- Run `node tests/semantics.mjs` from the package for the focused structural/source corpus.
227
- This optional development check requires Python 3 with `lxml` for strict XML verification;
228
- the runtime package itself has no dependency on Python, `lxml` or an XML parser.
229
+ Run `node examples/semantic.mjs` from the installed package directory to inspect a formula's
230
+ MathML, parse tree, status and work counters. The runtime package has no dependency on Python,
231
+ `lxml` or an XML parser.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapier-math",
3
- "version": "2.6.1",
3
+ "version": "3.0.0",
4
4
  "description": "Self-contained offline LaTeX-to-SVG rendering with Latin Modern outlines, optional Markdown integrations and streaming helpers.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -5,7 +5,7 @@ Copyright 2003, 2009 B. Jackowski and J. M. Nowacki (on behalf of TeX users grou
5
5
  Copyright 2003--2009 by B. Jackowski and J.M. Nowacki (on behalf of TeX USERS GROUPS).
6
6
 
7
7
  Rapier math font data, derived from Latin Modern Math 1.959,
8
- the sharp s of Latin Modern Mono 2.004, and one arrow hook
8
+ text outlines from Latin Modern Mono 2.004, and one arrow hook
9
9
  from Latin Modern Math Italic 10 Regular 2.003.
10
10
  Changes: SVG outline conversion, character and MATH data extraction,
11
11
  optical-form closure and lossless path packing.