Document live TeX priorities and verified publisher results

This commit is contained in:
gloamxun committed 2026-11-19 22:20:28 +08:00
1 parent 24ea6ef7ee
commit 50bd410574
4 files changed
+41 -20

No files matched your search

+19 -16
View File
@@ -1,18 +1,22 @@
# texrra engine
Rust-native, Typst-inspired incremental LaTeX engine with a live preview
server. Typesetting is implemented in Rust; the engine does not invoke XeLaTeX,
LuaLaTeX, or pdfLaTeX. The web frontend is a separate repository,
[`texrra-web`](https://git.iloveuulove.me/gloamxun/texrra-web), served by this
engine as static files.
Texrra is building a TeX engine for live editing of existing LaTeX projects.
It tracks inputs and compilation state, reuses eligible work after edits,
and publishes updated pages with source locations. The delivery targets are
a library, a CLI, and editor integration. The current Route-D implementation
is the development baseline. Upstream TeX components are candidates for reuse
where their state, file effects, and cancellation can be verified.
The [product goal](docs/NATIVE_PRODUCT_GOAL.md) defines compatibility and live
preview acceptance. The [publisher matrix](docs/PUBLISHER_TEMPLATE_MATRIX.md)
covers original journals, two-column journals, conferences, and arXiv.
## Native execution bootstrap
Route-D's native token/state kernel has a strict developer entry. Its target is
portable, complete LaTeX execution and real-time compilation; the web interface
is a test client. The full [P2-M1 stage](docs/NATIVE_FORMAT_ARTICLE_STAGE.md)
is active and incomplete; [current progress](docs/P2_M1_PROGRESS.md) records the
accepted components and remaining work.
The current Route-D entry is available through the developer CLI and the native
editor example. Its implementation and remaining work are tracked in the
[stage progress](docs/P2_M1_PROGRESS.md). The separate frontend repository
is [texrra-web](https://git.iloveuulove.me/gloamxun/texrra-web).
Native fonts come from an explicit resource World. For the checked-in examples,
configure the actual TFM/PFB directories and an installed font-map directory:
@@ -54,13 +58,12 @@ or source preprocessing. It now carries actual sized FontId resources through
text, math, geometry, SVG and PDF. Live fontdimen and em/ex affect their real
consumers; output uses actual map/encoding/PFB resources. See
[native font execution and boundaries](docs/NATIVE_FONT_EXECUTION.md).
HTTP/project routes still use the older implementation and have not migrated
to this kernel.
The native editor example exercises the shared compile session and page
updates. The production HTTP routes still use the older implementation.
Format boot, active compatibility gaps, and whole-project results are tracked
in the [stage progress](docs/P2_M1_PROGRESS.md).
The e-TeX profile remains partial. Unmodified latex.ltx currently stops at
657:3, tracinggroups, using the actual native job target; the complete
pdflatex.ini entry now enters latex.ltx and stops at the same boundary. Neither
is a successful format boot. [Streaming TFM keep/pass/boundary execution](docs/NATIVE_FONT_PROGRAMS.md) is
[Streaming TFM keep/pass/boundary execution](docs/NATIVE_FONT_PROGRAMS.md) is
connected to actual lists. [Owned discretionary branches and actual ligature
hyphenation/reconstitution](docs/NATIVE_DISCRETIONARIES.md) now feed line breaking,
packing, diagnostics and output. [Two-pass mathematical noad ligature/kern and