Expand counter formatting commands
\arabic, \roman, \Roman, \alph, \Alph and \value with a counter name were unsupported and leaked into the text. The body pass now reads the braced counter name and replaces the command with its stored value in the requested form, using the same counter table that \setcounter/\stepcounter fill. A preview test sets section to 4 and checks "4 iv D 4." with no warnings.
This commit is contained in:
1 parent
1d1009395b
commit
8a5411af1d
4 files changed
+70
-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). 1045 workspace tests are green and no oracle
|
||||
prefer route-D with a v1 fallback). 1046 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