| 1 | # Deleting between equations |
| 2 | |
| 3 | `lab/` holds two COM reads of a disposable OneNote 2010 lab notebook. |
| 4 | `equation-seam.xml` is two equations typed with Alt+=, "aa+bb" and "cc+dd" in |
| 5 | paragraphs of their own, after a selection from "aa+|" into "cc|" was deleted: |
| 6 | OneNote joins them into one equation, `aa++dd`. `equation-per-paragraph.xml` is |
| 7 | Alt+= over a selection across two paragraphs: each paragraph's part becomes an |
| 8 | equation of its own. |
| 9 | |
| 10 | `candidate/` is the output of `deleting_between_equations_joins_them` in |
| 11 | `crates/canvas/tests/links_equations.rs` on the page of `corpus/link-edit/candidate`: |
| 12 | the same equations typed and the same selection deleted through the editor, whose |
| 13 | joined equation reads back as one. `cold/` is a fresh OneNote 2010 read of it, whose |
| 14 | MathML is OneNote's own. `tools/test_equation_join.py` checks this without a VM. |
| 15 | Regenerate with `CANVAS_EQUATION_JOIN_EXPORT` set to a new absolute directory while |
| 16 | running the test, then cold-open it with |
| 17 | `tools/native_runner.py OUTPUT COLD --expected-pages 1 --collect-notebook --screenshots`. |