Default project previews and PDFs to route-D
uses_route_d still treated v1 as the default unless TEXRRA_ENGINE=route-d was set, so only the flat /preview endpoint had switched. Make route-D the default there too: an explicit engine parameter still wins, TEXRRA_ENGINE=v1 forces the old pipeline, and a route-D error now falls through to the v1 compiler instead of answering 422 (both preview and PDF). Because route-D follows pdfLaTeX's Letter default for geometry-less documents, the two server tests that asserted the v1 A4 page now ask for ?engine=v1 or expect 215.9mm. A new test starts a server without the environment variable and checks a project preview uses route-D's italic math face with no literal $.
This commit is contained in:
1 parent
a56d441513
commit
371f05baaa
4 files changed
+48
-23
No files matched your search
@@ -48,8 +48,8 @@ floats (`\floatsep`, `\textfloatsep`, `\intextsep`, `\topfraction`,
|
||||
`\bottomnumber`, `\totalnumber`), insertion classes (`\skip`, fraction and
|
||||
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` now prefers route-D with a v1
|
||||
fallback). 993 workspace tests are green and no oracle
|
||||
PDF opt-in with `?engine=route-d`; flat `/preview` and project previews now
|
||||
prefer route-D with a v1 fallback). 994 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.
|
||||
@@ -492,9 +492,9 @@ Each goal keeps `cargo fmt`, `cargo test`, `cargo build --release` green, update
|
||||
## Handoff (round 150/150)
|
||||
|
||||
Route-D currently passes **928** workspace tests and is pushed at `b191f7d`.
|
||||
The flat `/preview` endpoint now tries route-D first and falls back to v1 (pass
|
||||
`?engine=v1` to force v1); project previews still select route-D with
|
||||
`?engine=route-d` or `TEXRRA_ENGINE=route-d`. To continue the programme:
|
||||
The flat `/preview` and project preview/PDF endpoints now try route-D first
|
||||
and fall back to v1 (pass `?engine=v1` or set `TEXRRA_ENGINE=v1` for the old
|
||||
pipeline). To continue the programme:
|
||||
|
||||
1. Run `cargo fmt --all -- --check` and `cargo test --workspace --offline`
|
||||
from `engine/` before every change; pdfLaTeX oracles skip automatically when
|
||||
|
||||
Reference in new issue
Block a user