Skip to content

Exporters render through programs; Typst exports live - #156

Merged
thomasjm merged 6 commits into
latex-notebooksfrom
export-wrappers
Nov 11, 2026
Merged

thomasjm merged 6 commits into
latex-notebooksfrom
export-wrappers

Conversation

@thomasjm

@thomasjm thomasjm commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on latex-notebooks (#153), and that branch needs this one: it pins lsp-export-server 0.4.1.2, whose release is gone, so the pin moves to 0.1.0.0 here.

The export server no longer has LaTeX or pandoc backends, so each exporter supplies the program that renders: latex-render, pandoc-render, typst-render. A tweak to engine flags, pandoc writers or Slidy arguments is now a change here rather than a server release.

Typst gains a typst-export-server language server, so its PDF, PNG, SVG and HTML exports update as you type instead of waiting for the file-saver, the mount invalidation and the debounce. It was the last exporter still reading its input from disk. The tinymist live preview is unchanged.

A serve-mode smoke test per export server covers what each wrapper must do: write the output, report its dependencies, and set the epoch so unchanged input gives unchanged bytes.

Checked against an environment with all three exporters built from the 0.1.0.0 release: LaTeX, pandoc (slidy and pdf) and Typst (pdf, png, svg, html) each send a full render and then a diff after an edit, and the one-shot render path still works for every exporter.

@thomasjm
thomasjm marked this pull request as ready for review November 11, 2026 09:10
@thomasjm
thomasjm merged commit bba92af into latex-notebooks Nov 11, 2026
65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant