Advance native LaTeX execution and preview
This commit is contained in:
1 parent
91f9d76b16
commit
2741546ca8
414 files changed
+99872
-933
No files matched your search
@@ -1,5 +1,89 @@
|
||||
# Roadmap: remaining structural work
|
||||
|
||||
Latest acceptance, 2026-11-03: [W3-S5b actual paragraph traces, canonical-zero
|
||||
glue and owned ordinary side-script lists](NATIVE_PARAGRAPH_TRACE.md) passes
|
||||
**1384 workspace tests /0**, CLI48, optimized 138 core +20 CLI and all retained/new
|
||||
gates. Break traces observe the actual candidate/passive/selected path; real
|
||||
glue specification identity and script h/v lists drive print and paint. The
|
||||
8-job/32-page oracle has 24 exact reports /5436 pass-and-decision lines, zero
|
||||
word/raster differences and identical native PDF bytes across trace controls.
|
||||
All statistics/PK/PDF/device and 105-page object-stream gates remain accepted.
|
||||
Original full entry and direct kernel now stop at latex.ltx:657:3 tracinggroups;
|
||||
format_boot_passed=false. Full P2-M1 stays active/incomplete. Remaining real
|
||||
tracing consumers/insertions, compound math fields, format/NFSS/native image/
|
||||
article and sessions keep every original exit. No v1/source/template/font fallback.
|
||||
Dated planning/pause notes below are historical; see [progress](P2_M1_PROGRESS.md).
|
||||
|
||||
Current product direction (2026-11-01): Route-D is the sole target engine and
|
||||
will replace and remove v1. The active native-execution milestones are in
|
||||
[ROUTE_D_PLAN.md](ROUTE_D_PLAN.md). The feature notes below include historical
|
||||
semantic-renderer work; they do not authorize v1 fallback, a VM compatibility
|
||||
adapter, or new template-specific rules in Route-D.
|
||||
|
||||
Next complete stage (2026-11-02): [P2-M1](NATIVE_FORMAT_ARTICLE_STAGE.md)
|
||||
defines original pdfLaTeX format startup/native image loading and unmodified
|
||||
article corpus execution. W0 starts with pinned reference/resource closure and
|
||||
general file resolution; execution/font/page/PDF consumers precede actual
|
||||
format acceptance. Full-job sessions provide revision/dependency/performance
|
||||
baselines for later safe incremental reuse. The stage is planned, not passed;
|
||||
G1 remains paused and Web is only the frontend test interface.
|
||||
|
||||
Native bootstrap update, 2026-11-01: the owned execution core and explicit
|
||||
partial e-TeX bootstrap profile pass acceptance (1204 tests, 90 token probes,
|
||||
101 quantity probes, 12 filesystem byte comparisons and a shipout oracle).
|
||||
Real job time/date, streams, mathchardef, inputlineno and dimension/glue/mu
|
||||
registers and native paragraph construction are implemented. The paragraph
|
||||
slice passes 119 INITEX cases and a real PDF gate; see [scope](NATIVE_PARAGRAPHS.md).
|
||||
Native boxes/vpack pass 205 real INITEX cases; see [box scope](NATIVE_BOXES.md).
|
||||
Native inline math executes real tokens/noads/families, mu spacing and binop/rel
|
||||
penalties: 117 list/geometry and 88 paragraph-break comparisons plus a 100-word
|
||||
PDF gate pass; see [native math](NATIVE_MATH_EXECUTION.md).
|
||||
Native interline/club/widow/broken penalties feed actual page consumers: 100
|
||||
vlist and 64 page-ownership oracles plus a six-page PDF gate pass; see
|
||||
[interline evidence](NATIVE_INTERLINE_PENALTIES.md).
|
||||
Native unnumbered display transitions now consume display-widow/pre/post
|
||||
penalties, normal/short skips and actual baseline/depth/continuation state;
|
||||
58 vlist, 36 page and 24 state/pack comparisons plus a three-page PDF gate pass.
|
||||
See [display scope](NATIVE_DISPLAY_MATH.md). Native page glue packaging and the
|
||||
shared best-candidate fire_up path are validated together.
|
||||
Native font diagnostics now consume tracinglostchars/tracingonline using real
|
||||
TFM/Type1 slots and encodings, with actual iffontchar, log/terminal channels
|
||||
and fatal PDF protection: 2816 slot predicates + four font queries, 61
|
||||
diagnostic cases, 267 dimension/missing-count cases, a 25-word PDF gate and
|
||||
128-slot OT1 raster pass. See [font scope](NATIVE_FONT_DIAGNOSTICS.md).
|
||||
Native font integers and mathaccent now pass 438 actual DVI geometry and
|
||||
28 mutable-hyphen timing cases, a 54-word PDF gate and a complete-accent ink
|
||||
gate. Defaultskewchar is consumed on real first font loads; actual globally
|
||||
mutable skewchar/hyphenchar feed real consumers. See [scope](NATIVE_FONT_STATE_ACCENTS.md).
|
||||
Native delimiter fields/two-pass sizing, scoped delcodes and actual TFM
|
||||
variants/extensible recipes now pass 452 exact DVI cases, 256 default-code/nine
|
||||
state/seven group readbacks, a 61-word PDF gate and full-delimiter ink gate.
|
||||
See [delimiter scope](NATIVE_DELIMITERS.md). Generic odd-sp fraction/reboxing
|
||||
rounding is corrected without fitted offsets.
|
||||
[Native box/list diagnostics](NATIVE_BOX_DIAGNOSTICS.md) now retain original
|
||||
horizontal nodes, selected paragraph material and named vertical glue, with
|
||||
real breadth/depth traversal and log/terminal consumers. Four tests add 152
|
||||
exact INITEX recursive-list cases, 24 paragraph lists and 24 byte-printer cases;
|
||||
a CLI test verifies actual channels, show status 1 and continued PDF output.
|
||||
The five-show fixture has one page / 19 words within the unchanged 0.02bp gate.
|
||||
Compound math/glue diagnostic structure, showlists and full interaction/context
|
||||
printing remain open; unsupported inspection errors explicitly.
|
||||
[Native sfcode](NATIVE_SFCODE.md) now consumes a scoped byte code table in real
|
||||
character/factor/glue construction, including missing slots and named spacing
|
||||
nodes. Full workspace: 1204 passed / 0 failed; 256 default/eight state, 132 list,
|
||||
nine timing cases and a sentence-spacing PDF gate pass. G1 remains paused.
|
||||
Unchanged LaTeX stops at errorcontextlines (526:1); full startup is not passed.
|
||||
Next preserve actual input/macro expansion context and consume
|
||||
errorcontextlines in real error/context printing; no unused flag or fabricated
|
||||
backtrace. Continue untouched format source after independent INITEX oracles. Remaining math/font/page/output coverage stays open. Code tables,
|
||||
quantity expressions and further modes/lists with
|
||||
deferred shipout, fonts and format loading remain required. See
|
||||
[NATIVE_JOB_IO.md](NATIVE_JOB_IO.md).
|
||||
Quantity details: [NATIVE_QUANTITIES.md](NATIVE_QUANTITIES.md).
|
||||
Font/format differences are measured separately in
|
||||
[NATIVE_FONT_FORMAT_GAPS.md](NATIVE_FONT_FORMAT_GAPS.md).
|
||||
See [NATIVE_EXECUTION_CORE.md](NATIVE_EXECUTION_CORE.md) for scope and next work.
|
||||
|
||||
This file lists the concrete implementation plans for the foundational items that
|
||||
are still missing. Each item names the files/functions to touch.
|
||||
|
||||
|
||||
Reference in new issue
Block a user