@lofcz/tikz 0.3.0 → 0.3.1
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/README.md +5 -0
- package/dist/browser-worker.js +86 -83
- package/dist/worker.js +361 -49
- package/package.json +1 -1
- package/src/recover.js +255 -0
- package/src/source.js +60 -5
- package/src/tables.js +1 -1
package/README.md
CHANGED
|
@@ -68,6 +68,11 @@ preserves coordinate names, repairs bare math in labels, maps supported Unicode
|
|
|
68
68
|
colour names, and moves font colour switches into TikZ's `text=` key. Compiler
|
|
69
69
|
failures identify the offending command/key and show source context. Unknown
|
|
70
70
|
packages cannot be fetched at runtime; normalization reports them in diagnostics.
|
|
71
|
+
Generated-source repairs also handle explicitly declared variable names containing
|
|
72
|
+
digits/underscores, nested arrow options, coordinate expression/unit grouping,
|
|
73
|
+
omitted style handlers, quoted bold math, arithmetic number labels, and tkz
|
|
74
|
+
construction shorthand. Regression tests compare repaired SVGs with independently
|
|
75
|
+
written canonical TikZ. Repairs do not invent missing points or intersections.
|
|
71
76
|
This is a compatibility layer, not a general TeX interpreter or a check that the
|
|
72
77
|
geometry is correct. Missing fonts, arbitrary macros and malformed geometry can
|
|
73
78
|
still require source changes.
|