From b191f7d66cf4f65696b6d8f64041e30a9bcad75a Mon Sep 17 00:00:00 2001 From: GloamXun Date: Mon, 26 Oct 2026 04:52:57 +0800 Subject: [PATCH] Record the remaining compatibility gaps --- docs/TEX_CORE.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/TEX_CORE.md b/docs/TEX_CORE.md index 3b413df..0619bc3 100755 --- a/docs/TEX_CORE.md +++ b/docs/TEX_CORE.md @@ -495,3 +495,27 @@ deliberately open rather than approximated: `route_d_page_matches_pdftex_raster_geometry` lays out a 480pt CMR10 paragraph at the same scaled-point geometry the server uses, rasterizes the route-D PDF and a pdfTeX Letter page at 72 dpi, and asserts matching ink line count plus left/right/bottom edges. It skips on hosts without `pdflatex`/`pdftoppm`. Exact glyph-outline pixel equality is still open because the two paths use different font outlines. - `\middle` does not scale with its enclosing delimiter; math delimiters are scaled glyphs rather than TeX delimiter variants. + +## Remaining gaps at round 148 + +The suite currently stands at 928 passing tests, with the workspace clean and +route-D's default path still v1 behind `?engine=route-d`/`TEXRRA_ENGINE`. The +honest open items against the "feature-complete LaTeX compiler" objective are: + +- **Macro engine scope**: `\def`-style definitions, registers, conditionals, + `\csname`, `\expandafter`, delimited parameters and `\edef` are executed + textually, but there is no real group scoping, no catcode state (the `@` + letter assumption is unconditional), and no token stream. Class/package code + that relies on those semantics still degrades. +- **Boxes**: `\sbox`/`\savebox` store text, not a measured box; `\usebox` + re-flows content at the new location, and savebox width/height are not + frozen. +- **Tables**: `\multirow` keeps its text on the first row (no vertical + centring), `array` column modifiers `>{}`/`<{}` are ignored, nested tables + and the outer tabcolsep margins are unmodelled. +- **Fonts**: the twelve Computer Modern faces and four math faces are embedded + as Type1 with per-glyph Liberation fallback; arbitrary NFSS families, + font subsetting and broad Unicode coverage (including more than the current + Greek fallback) remain open. +- **Inline runs**: colour/link/size segments are only split for 10pt + paragraphs; larger base sizes keep the delimiters literal.