Commit Graph
10 Commits
Author SHA1 Message Date
gloamxun 2741546ca8 Advance native LaTeX execution and preview 2026-11-18 22:17:21 +08:00
gloamxun 9231c3a7d6 Return dirty-page preview patches
Project previews accept ?patch=1 and only include pages listed in changedPages.
Cache hits return an empty patch list. The web client applies sparse patches by
page index instead of rebuilding every page.

Add a two-page server test that edits only the second page and checks that the
patched payload contains exactly the changed page indices. Measure the arXiv
heading edit: 2 of 3 pages still changed (315 KB vs 396 KB full, 2.66 s), so
dirty-page transfer is in place but incremental layout latency is not.

Test count is 1073 (67 server).
2026-10-27 21:18:39 +08:00
gloamxun 875f8a7600 Expose route-D pages through a preview endpoint 2026-10-20 21:15:35 +08:00
gloamxun 99dbb5ebb0 Start route D incremental TeX core with M0 checkpoint spike 2026-10-20 12:06:39 +08:00
gloamxun 4735d75c1f Compress embedded font streams in the PDF writer 2026-10-19 22:15:27 +08:00
gloamxun 3b270d749d Embed fonts and add PDF link annotations 2026-10-19 21:18:58 +08:00
gloamxun be6f8859c2 Paint rules and frames as native PDF rectangles 2026-10-19 14:04:02 +08:00
gloamxun ed1da06685 Add float placement and page headers/footers 2026-10-19 13:41:29 +08:00
gloamxun bad477fbee Add compiler and server regression tests
Expose the compiler session as a library target, run core as a workspace member, and add direct typeset tests plus end-to-end HTTP tests. Coverage: examples, arXiv fixture, starred headings, rectangles, errors, page-hash cache stability, static frontend assets, project API, preview/PDF, traversal rejection, and the legacy endpoint.
2026-10-19 12:31:05 +08:00
gloamxun bb1d9e0561 Initial texrra engine
Rename the crate, binary, core crate, font families, env vars, and internal commands from texcraft/tex-engine to texrra. Serve the separately versioned texrra-web frontend from TEXRRA_WEB_DIR, ../web, or ./web instead of embedding index.html. Add starred section heading support and an arXiv template conformance fixture.
2026-10-19 11:41:46 +08:00