Offset counters with stepcounter
\stepcounter and \refstepcounter were unsupported, so a document that advanced a
counter before its next heading kept the old number. The geometry pass consumes
both commands and bumps the named counter in the stored counter table (creating
it at one when it was absent); page counters keep their dedicated
\addtocounter page handling.
A unit test steps section before \section{Introduction} and checks the heading
renders as "2 Introduction".
This commit is contained in:
1 parent
4068366190
commit
1d1009395b
4 files changed
+40
-6
No files matched your search
@@ -14,12 +14,12 @@ cargo fmt --all -- --check
|
||||
cargo test --workspace --offline
|
||||
```
|
||||
|
||||
The workspace currently passes **1044 tests**:
|
||||
The workspace currently passes **1045 tests**:
|
||||
|
||||
| Suite | Tests |
|
||||
| --- | --- |
|
||||
| route-D unit (engine) | 439 |
|
||||
| engine binary unit | 414 |
|
||||
| engine binary unit | 415 |
|
||||
| server integration | 63 |
|
||||
| v1 integration | 71 |
|
||||
| pdfLaTeX oracle | 42 |
|
||||
|
||||
Reference in new issue
Block a user