Resolve autoref on equation labels

\autoref{...} pointing at an equation fell through to "??" because equation
labels are resolved during the equation numbering pass and never reached the
section-reference kind table. That pass now also rewrites \autoref to
"Equation <n>" in both a math block and its equation rows.

A preview test labels an equation and checks "See Equation 1." with no
warnings.
This commit is contained in:
gloamxun committed 2026-10-27 03:28:22 +08:00
1 parent 4d713df3dd
commit a5871774ec
4 files changed
+37 -8

No files matched your search

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