Parenthesise tag text like LaTeX
\tag{B} stored the bare text and the renderer painted "B", while LaTeX draws
"(B)"; \tag* is the bare form. Tag extraction now wraps the non-starred argument
in parentheses and leaves the starred form alone, for both equation rows and
whole equations.
The existing tag tests expect "(B)"/"(C)", and a new preview test checks the
parentheses glyphs around "A" with no warnings.
This commit is contained in:
1 parent
3b28ea6693
commit
c3aa4e9dad
4 files changed
+34
-12
No files matched your search
@@ -14,12 +14,12 @@ cargo fmt --all -- --check
|
||||
cargo test --workspace --offline
|
||||
```
|
||||
|
||||
The workspace currently passes **1049 tests**:
|
||||
The workspace currently passes **1050 tests**:
|
||||
|
||||
| Suite | Tests |
|
||||
| --- | --- |
|
||||
| route-D unit (engine) | 439 |
|
||||
| engine binary unit | 419 |
|
||||
| engine binary unit | 420 |
|
||||
| server integration | 63 |
|
||||
| v1 integration | 71 |
|
||||
| pdfLaTeX oracle | 42 |
|
||||
|
||||
Reference in new issue
Block a user