-
Notifications
You must be signed in to change notification settings - Fork 4.7k
feat: LaTeX PDF preview pane using tectonic (no TeX Live required) #11068
Copy link
Copy link
Open
Labels
area:editor-notebooksEditors, notebooks, markdown rendering, LSP, and code display.Editors, notebooks, markdown rendering, LSP, and code display.area:ui-frameworkCore Warp UI framework, rendering, layout, and windowing infrastructure.Core Warp UI framework, rendering, layout, and windowing infrastructure.area:window-tabs-panesWindow, tab, pane, and workspace layout management.Window, tab, pane, and workspace layout management.enhancementNew feature or request.New feature or request.needs-mocksrepro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Metadata
Metadata
Assignees
Labels
area:editor-notebooksEditors, notebooks, markdown rendering, LSP, and code display.Editors, notebooks, markdown rendering, LSP, and code display.area:ui-frameworkCore Warp UI framework, rendering, layout, and windowing infrastructure.Core Warp UI framework, rendering, layout, and windowing infrastructure.area:window-tabs-panesWindow, tab, pane, and workspace layout management.Window, tab, pane, and workspace layout management.enhancementNew feature or request.New feature or request.needs-mocksrepro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Pre-submit Checks
Describe the solution you'd like?
Add a live PDF preview pane for
.texfiles in Warp. When editing a LaTeX document, a split pane shows the compiled PDF output and updates on every save — no external TeX Live installation required.The entire stack can be implemented using existing Rust crates:
tectonic— self-contained LaTeX engine written in Rust. Bundles its own TeX distribution, compiles.tex→.pdfwith a single crate dependency. Nopdflatexor TeX Live needed on the user's machine.pdfium-render— Rust bindings to Google's PDFium library. Converts PDF pages to pixel buffers that can be rendered via Warp's existingwgpupipeline.Proposed behaviour:
.texfile automatically shows a preview pane (dismissible)Proposed technical stack:
Is your feature request related to a problem?
LaTeX is the standard document format in academia, research, and technical writing. Currently, working on
.texfiles in Warp means constantly switching to an external app (Overleaf, TeXShop, VS Code + LaTeX Workshop) just to see what the compiled document looks like. There is no terminal today that offers native LaTeX preview — Warp would be the first.Additional context
The syntax highlighting foundation for LaTeX is already being added to Warp via arborium (see
bearcove/arborium#202). This feature would be the next natural step — from "LaTeX source is coloured" to "LaTeX source is live-compiled and previewed."Relevant prior art:
Operating system (OS)
Cross-platform
How important is this feature to you?
4