Handle parbox, orcidlink and a bare hrule

The last three corpus warnings: \parbox becomes an \mbox so the existing box
handling keeps its content (width wrapping is not modelled); \orcidlink{id}
becomes a hyperlink labelled ORCID; and a standalone \hrule becomes the same
here-float rule block as \rule, with the width left unset so the page builder
uses the current line width and a 0.4pt height.

The corpus sweep now reports 0 warnings for examples/hello.tex, boxes.tex,
compat.tex and the arXiv template.

A test previews parbox content, the ORCID link label and a bare hrule with no
warnings and no leaked commands.
This commit is contained in:
gloamxun committed 2026-10-27 01:30:37 +08:00
1 parent 93ecf76ea3
commit 65a132d7b1
3 files changed
+128 -7

No files matched your search

+1 -1
View File
@@ -49,7 +49,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). 1010 workspace tests are green and no oracle
prefer route-D with a v1 fallback). 1011 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.