From d2f0fe97c59342f0e632f03b5f6333e3bb31022e Mon Sep 17 00:00:00 2001 From: GloamXun Date: Tue, 27 Oct 2026 22:56:24 +0800 Subject: [PATCH] Refresh the figure limitation notes --- docs/TEX_FIDELITY_ROADMAP.md | 6 ++++-- docs/WEB_ROUTE_D_EXPERIMENT.md | 14 ++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/docs/TEX_FIDELITY_ROADMAP.md b/docs/TEX_FIDELITY_ROADMAP.md index a117152..faac519 100644 --- a/docs/TEX_FIDELITY_ROADMAP.md +++ b/docs/TEX_FIDELITY_ROADMAP.md @@ -46,7 +46,8 @@ execution is not a goal. missing; - reference style is numeric, not natbib author-year; - display math is approximate; - - `\fbox`/rule figures, vector images and float placement differ. + - `\fbox`/rule figures now draw the rule body as a filled box; the fbox + frame and vector/PDF images are still missing, and float placement differs. - Incremental foundation exists: - `Engine::edit` + page hashes; - project-scoped sessions and changed-page reporting; @@ -143,7 +144,8 @@ Acceptance: - floats land on the same page as TeX for the corpus, or a warning explains why they cannot; - table cells typeset inline math instead of the ASCII fallback; -- `\fbox`/rule figure bodies draw a frame. +- `\fbox`/rule figure bodies draw the rule body; the surrounding fbox frame + is still missing. ### M4 — Incremental protocol diff --git a/docs/WEB_ROUTE_D_EXPERIMENT.md b/docs/WEB_ROUTE_D_EXPERIMENT.md index 60c2030..685b5b6 100644 --- a/docs/WEB_ROUTE_D_EXPERIMENT.md +++ b/docs/WEB_ROUTE_D_EXPERIMENT.md @@ -62,7 +62,7 @@ now means route-D. | `\parbox` wrapping | Partial | width argument does not wrap | | Raster images in the SVG preview | Placeholder | the SVG painter draws a grey rectangle; the PDF embeds the real image | | Inline math in table cells | Readable fallback | math commands are converted to plain text (`um`, `approx.`, `10**6`); not typeset as math | -| `\fbox`/rule-only figures | Not supported | the caption is kept, but the rule/frame body is not drawn | +| `\fbox`/rule-only figures | Partial | the rule body is drawn; the surrounding fbox frame is not | | Nested-table images, `\valign` alignments | Not supported/partial | documented engine limits | | Token stream/catcodes beyond `@`/`%` | Partial | textual expander, not a TeX token stream | @@ -118,7 +118,8 @@ Remaining visible gaps in this template: - the display equation is still a rough approximation of the printed formula; - the title rules, A Preprint undertitle and two-column author groups are now drawn; ORCID icons are still missing; -- the `\fbox{\rule...}` figure body is not drawn (only its caption survives); +- the `\fbox{\rule...}` figure body draws its rule as a filled box; the + surrounding fbox frame is still missing; - `orcid.pdf` is a vector image and stays unsupported; - the author block is concatenated and does not reproduce the class layout. @@ -146,7 +147,7 @@ PDF was rendered page-by-page next to the route-D output. | Abstract/keywords | small-caps heading, bold `Keywords`, `·` separators | bold heading, comma separators | | Citations | natbib author-year `(Kour and Saabne, 2014a; …)` | numeric `[1, 3]` | | Table | booktabs rules, `Size (µm)`, `~100`, `10^6` | readable ASCII fallback `Size (um)`, `approx. 100`, `10**6`; rough header | -| Figure | framed rule box above the caption | caption only; `\fbox`/rule body missing | +| Figure | framed rule box above the caption | filled rule body; fbox frame missing | | Display equation | fully typeset fraction/product/sum | approximate, visibly jumbled | | References | author-year, italic venue, DOI link | numeric `[1]`–`[3]`, plain venue text | | Float order | figure/table on page 3 with section 3.4 | figure/table float to page 2 top | @@ -173,7 +174,7 @@ float placement and the math engine — not another small patch. - **Go**, limited to text/table/math documents: Route-D is the faster default and handles accents that v1 rejects. - **Conditional go** for the supplied arXiv template's text, tables and simple - `.bib` references; **no-go** for complex equations, `\fbox`/rule figures, + `.bib` references; **no-go** for complex equations, the missing fbox frame, vector/PDF images and image-heavy previews until those gaps are fixed. - Keep the explicit v1 escape hatch: v1 is not a universal fallback (it failed the Unicode trial), so the UI must continue to show the actual engine and @@ -182,8 +183,9 @@ float placement and the math engine — not another small patch. ## Backlog after the trial - **P0**: SVG preview raster-image embedding; PDF/vector figure support; - complex-equation layout; `\fbox`/rule figure bodies; full BibTeX/BibLaTeX - coverage; visible capability warnings for unsupported content. + complex-equation layout; fbox frames around rule figures; full + BibTeX/BibLaTeX coverage; visible capability warnings for unsupported + content. - **P1**: two-column/multicols layout; fontspec/system-font loading; common TikZ/package execution; longtable page splitting. - **P2**: full catcode/token stream; nested-table images; per-page marks;