Capture tabulars wrapped in resizebox
A \resizebox or \scalebox around a tabular left the wrapper in the body and the
tabular capture swallowed the caption and \end{table}, so scaled tables were
lost. A source pass now removes such wrappers when their content contains a
table, longtable or table environment (and clears a leading % comment), leaving
the tabular at top level where the existing capture sees it; wrappers around
ordinary text stay for the later text pass.
A preview test wraps a two-row tabular in \resizebox inside a table and checks
"Table 1: Resized" plus the cell text with no warnings.
This commit is contained in:
1 parent
e8f7e37cf7
commit
abf5e90578
4 files changed
+97
-6
No files matched your search
@@ -14,12 +14,12 @@ cargo fmt --all -- --check
|
||||
cargo test --workspace --offline
|
||||
```
|
||||
|
||||
The workspace currently passes **1039 tests**:
|
||||
The workspace currently passes **1040 tests**:
|
||||
|
||||
| Suite | Tests |
|
||||
| --- | --- |
|
||||
| route-D unit (engine) | 437 |
|
||||
| engine binary unit | 410 |
|
||||
| engine binary unit | 411 |
|
||||
| server integration | 63 |
|
||||
| v1 integration | 71 |
|
||||
| pdfLaTeX oracle | 42 |
|
||||
|
||||
Reference in new issue
Block a user