corpus/math-edit/README.md | 10 +++ corpus/math-edit/native-editor-3/before-read/environment.json | 7 ++ corpus/math-edit/native-editor-3/before-read/hierarchy.xml | 2 + corpus/math-edit/native-editor-3/before-read/page-000.xml | 3 + corpus/math-edit/native-editor-3/before-read/payloads.json | 3 + corpus/math-edit/native-editor-3/commands.jsonl | 6 ++ corpus/math-edit/native-editor-3/equations.ahk | 113 +++++++++++++++++++++++++ corpus/math-edit/native-editor-3/equations.json | 13 +++ corpus/math-edit/native-editor-3/equations.png | Bin 0 -> 40561 bytes corpus/math-edit/native-editor-3/machine.json | 1 + corpus/math-edit/native-editor-3/notebook/Open Notebook.onetoc2 | Bin 0 -> 3764 bytes corpus/math-edit/native-editor-3/notebook/links.one | Bin 0 -> 19696 bytes corpus/math-edit/native-editor-3/read/environment.json | 7 ++ corpus/math-edit/native-editor-3/read/hierarchy.xml | 2 + corpus/math-edit/native-editor-3/read/page-000.xml | 4 + corpus/math-edit/native-editor-3/read/payloads.json | 3 + corpus/math-edit/native-editor-3/run.json | 18 ++++ corpus/math-edit/native-editor-3/scripts/cold.ps1 | 27 ++++++ corpus/math-edit/native-editor-3/scripts/read.ps1 | 142 ++++++++++++++++++++++++++++++++ corpus/math-edit/native-editor-3/source.json | 14 ++++ corpus/math-edit/native-editor-3/teardown.json | 1 + crates/onestore/src/document.rs | 3 + crates/onestore/src/page/math.rs | 79 +++++++++++++++--- crates/onestore/src/page/write.rs | 3 + crates/onestore/tests/page_math.rs | 11 +++ tools/test_math_edit.py | 1 + 26 files changed, 463 insertions(+), 10 deletions(-)