Keep the content of scaled box wrappers
\scalebox, \resizebox, \rotatebox and \raisebox were unsupported, so a wrapped graphic or table could leak its command text. A body pass now parses each wrapper's numeric/optional arguments and replaces the whole construct with its content, leaving the content at natural size and position because the engine has no display-list transform. A test wraps four fragments in the four commands and checks the visible text concatenates with no warnings and no leaked command names.
This commit is contained in:
1 parent
dc9428e87e
commit
7fbcb326d5
4 files changed
+113
-6
No files matched your search
@@ -51,7 +51,7 @@ floats (`\floatsep`, `\textfloatsep`, `\intextsep`, `\topfraction`,
|
||||
absolute limits, splitting), marks, Rust output hook, multi-page PDF, and the
|
||||
route-D service endpoints (`/api/route-d/preview|pdf|edit`, project preview and
|
||||
PDF opt-in with `?engine=route-d`; flat `/preview` and project previews now
|
||||
prefer route-D with a v1 fallback). 1038 workspace tests are green and no oracle
|
||||
prefer route-D with a v1 fallback). 1039 workspace tests are green and no oracle
|
||||
fixture is ignored. Preview JSON also carries a `warnings` array naming
|
||||
environments route-D cannot lay out and control words that survived layout, so
|
||||
unsupported source is reported instead of being silently typeset.
|
||||
|
||||
Reference in new issue
Block a user