Accept starred equation tags

\tag* was not parsed: the tag extraction only looked for \tag, so the starred
form stayed in the formula. Both the row pass and the block pass now try
\tag*{...} before \tag{...}, so the tag text is removed from the math and used
as the equation tag.

A preview test tags an equation with \tag*{A} and checks the glyph appears with
no warnings and no leaked command.
This commit is contained in:
gloamxun committed 2026-10-27 03:30:57 +08:00
1 parent a5871774ec
commit 3b28ea6693
4 files changed
+38 -8

No files matched your search

+2 -2
View File
@@ -14,12 +14,12 @@ cargo fmt --all -- --check
cargo test --workspace --offline
```
The workspace currently passes **1048 tests**:
The workspace currently passes **1049 tests**:
| Suite | Tests |
| --- | --- |
| route-D unit (engine) | 439 |
| engine binary unit | 418 |
| engine binary unit | 419 |
| server integration | 63 |
| v1 integration | 71 |
| pdfLaTeX oracle | 42 |