Consume caption and numbering declarations
\captionsetup, \numberwithin and \DeclareCaption were unsupported and could leak into the body. The page-geometry pass now consumes those declaration lines (the caption styling and equation-number scoping are not modelled), in the preamble and in the body alike. A preview test declares \captionsetup (plain and with [figure]) and \numberwithin before and inside the document, then checks "Text." renders with no warnings and no leaked declarations.
This commit is contained in:
1 parent
ebb178bff5
commit
6139621653
4 files changed
+31
-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). 1022 workspace tests are green and no oracle
|
||||
prefer route-D with a v1 fallback). 1023 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