@ai-matrx/print 0.8.5 → 0.8.6

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,11 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.6
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/print/v0.8.5..npm/print/v0.8.6 -- apps/shared/print`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.8.5
4
10
 
5
11
  - **Word tables use content-aware column widths** (the same rule as the PDF,
6
12
  now shared in `src/document/layout.ts`; fixed table layout). A 10-column
7
13
  landscape table no longer splits its width equally.
8
14
  - A `$$...$$` placeholder in prose prints as text (via content-ir's rule).
15
+ - **Fixed: one inline triple backtick turned off math for the rest of the
16
+ document** ("(in a ```python fence)" mid-sentence → 0 formulas). Print no
17
+ longer keeps its own fence/code/math detection: `extractMath` takes the
18
+ shared tokenizer's complete `math_block`/`math_inline` islands
19
+ (`tokenizeSource` + `listIslands` from `@ai-matrx/content-ir/source`), so
20
+ print, the renderer and the editor agree on what is math. Guard tests: inline
21
+ ```, ~~~, code spans holding ```, unmatched backticks, real/nested/unclosed
22
+ fences.
9
23
  - Consumer action: none — refresh to latest.
10
24
 
11
25
  ## 0.8.4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/print",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "description": "The AI Matrx print system: the BlockPrinter contract and print-window composition, the flashcards deck printer (duplex-mirrored cut sheets, Avery 5388, study sheets), QR generation with spec quiet zones and e-commerce payload builders, label-sheet printing on Avery and roll stock with custom label formats, and a complete markdown pipeline: a shipped markdown converter, two default print stylesheets, print windows, and markdown/DOM to PDF, and print-grade documents (cover, TOC, captions, cross-references, citations, sections) exported to PDF, DOCX, EPUB and HTML from one parsed tree.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",