Parenthesise eqref for non-equation labels
\eqref on a section, figure or table label rendered the bare number because the section-reference pass shared the \ref replacement. It now wraps the value in parentheses, matching amsmath's equation form; equation labels already took the parenthesised path in the equation pass. A preview test labels a section and checks "See (1)." with no warnings.
This commit is contained in:
1 parent
263fa36fb5
commit
a50023691b
4 files changed
+35
-7
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). 1061 workspace tests are green and no oracle
|
||||
prefer route-D with a v1 fallback). 1062 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