Compile editor buffers without waiting for a save
Project preview accepts ?buffer=1 and reads the editor text from the POST body. The source is still expanded with project includes/packages/images, but the file on disk is not touched, so typing can drive layout immediately while the normal 450 ms save timer runs independently. Add a server test that previews buffer text, finds it in the SVG, and verifies hello.tex on disk was not rewritten. Roadmap notes that warm buffer previews are still ~430 ms (article) and ~2.1 s (arXiv), and that dirty-page streaming is the next latency step.
This commit is contained in:
1 parent
30f1df03ca
commit
e2e80e8728
7 files changed
+61
-10
No files matched your search
@@ -51,7 +51,7 @@ floats (`\floatsep`, `\textfloatsep`, `\intextsep`, `\topfraction`,
|
||||
absolute limits, splitting), marks, Rust output hook, multi-page PDF, and the
|
||||
route-D service endpoints (`/api/route-d/preview|pdf|edit`, project preview and
|
||||
PDF opt-in with `?engine=route-d`; flat `/preview` and project previews now
|
||||
prefer route-D with a v1 fallback). 1070 workspace tests are green and no oracle
|
||||
prefer route-D with a v1 fallback). 1071 workspace tests are green and no oracle
|
||||
fixture is ignored. Preview JSON also carries a `warnings` array naming
|
||||
environments route-D cannot lay out and control words that survived layout, so
|
||||
unsupported source is reported instead of being silently typeset.
|
||||
|
||||
Reference in new issue
Block a user