Attach math scripts across ignored spaces
TeX ignores spaces in math mode, but parse_sequence looked for _ or ^ at the
raw next index. Source such as \alpha _{i} therefore rendered the underscore
as a literal symbol at full size. Skip math spaces after the base before
checking for scripts.
The arXiv equation now has real subscripts and superscripts instead of literal
underscores. Test count is 1078.
This commit is contained in:
1 parent
742986e4dd
commit
d5de8b9fe6
6 files changed
+17
-9
No files matched your search
@@ -16,7 +16,7 @@ cargo test --workspace --offline
|
||||
|
||||
or run `./scripts/verify-route-d.sh`, which executes both.
|
||||
|
||||
The workspace currently passes **1077 tests**:
|
||||
The workspace currently passes **1078 tests**:
|
||||
|
||||
| Suite | Tests |
|
||||
| --- | --- |
|
||||
@@ -29,7 +29,7 @@ The workspace currently passes **1077 tests**:
|
||||
| engine/core unit | 4 + 1 |
|
||||
|
||||
Latest full run (web trial increment): `./scripts/verify-route-d.sh` passes
|
||||
with fmt clean and **1077 tests** green.
|
||||
with fmt clean and **1078 tests** green.
|
||||
|
||||
Latest live check (2026-10-27): the debug server served `examples/hello.tex`
|
||||
from `target/debug/texrra serve`; `POST /preview` answered 200 with
|
||||
|
||||
Reference in new issue
Block a user