Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a browser based LaTeX renderer #248

Open
psychemedia opened this issue Dec 16, 2024 · 2 comments
Open

Add support for a browser based LaTeX renderer #248

psychemedia opened this issue Dec 16, 2024 · 2 comments

Comments

@psychemedia
Copy link

My understanding of jupyterlab-latex is that it currently requires access to a "desktop" Latex rendering application to render tex documents.

This adds to the complexity of setting up a JupyterLab environment by requiring the installation of additional operating system packages, and does not support the in-browser JupyterLite environment.

As JupyterLab/JupyherLite is a browser based environment, it would be useful if an in-browser dependency in the form of a wasm/js LaTeX renderer could be used to render LaTeX/TeX documents, rather than an operating system dependency.

@ktaletsk
Copy link
Collaborator

This sounds exciting! Are you aware of any existing examples of wasm/js latex renderers I can look at?

@psychemedia
Copy link
Author

I've just been doing a scout around (a quick demo would probably to be see if the package can be used as a mime-type renderer).

Possibilities might include:

  • latex.js (last maintained last year; there is an npm package but I couldn't import from it? Not packaged as a module?)
  • SwiftLaTeX (last maintained six months ago; no npm package?)
  • unified-latex (MyST seems to use this?)
  • busytex ("Programs from TexLive 2023 compiled with Emscripten into a single fully static binary (x86_64-linux / WASM)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants